]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
lisp/outline.el (outline-mode): Clean up docstring
[gnu-emacs] / lisp / ChangeLog
1 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2
3 * outline.el (outline-mode): Clean up docstring.
4 (font-lock-warning-face): Remove obsolete declaration.
5 (outline-font-lock-face): Remove obsolete comment.
6
7 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
8
9 * lisp/custom.el (defface): Set `indent' to 1.
10
11 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
12
13 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
14
15 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
16
17 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
18 is set, but user has just been asked whether they really want to
19 kill Emacs (for example with a ‘Modified buffers exist; exit
20 anyway?’ prompt), do not ask them for another confirmation.
21
22 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
23
24 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
25 (calc-convert-units): Check for missing units.
26 (math-consistent-units-p): Strengthen the test for consistent units.
27
28 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
29 `calc-convert-exact-units' and assign it a keybinding.
30
31 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
32 "un" keybinding.
33
34 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * emacs-lisp/cl.el (cl--function-convert): Simplify.
37
38 2015-01-28 Tassilo Horn <tsdh@gnu.org>
39
40 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
41 punctuation syntax since to allow bibtex fields with values such
42 as {Test 1) and 2)} (bug#19205, bug#19707).
43 (reftex--prepare-syntax-tables): New function.
44 (reftex-mode): Use it.
45
46 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
47
48 python.el: New non-global state dependent indentation engine.
49 (Bug#18319, Bug#19595)
50 * progmodes/python.el (python-syntax-comment-or-string-p):
51 Accept PPSS as argument.
52 (python-syntax-closing-paren-p): New function.
53 (python-indent-current-level)
54 (python-indent-levels): Mark obsolete.
55 (python-indent-context): Return more context cases.
56 (python-indent--calculate-indentation)
57 (python-indent--calculate-levels): New functions.
58 (python-indent-calculate-levels): Use them.
59 (python-indent-calculate-indentation, python-indent-line):
60 (python-indent-line-function): Rewritten to use new API.
61 (python-indent-dedent-line): Simplify logic.
62 (python-indent-dedent-line-backspace): Use `unless`.
63 (python-indent-toggle-levels): Delete function.
64
65 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
66
67 * subr.el (posnp): Correct docstring of `posnp'.
68 (posn-col-row): Make it work with all mouse position objects.
69 * textmodes/artist.el (artist-mouse-draw-continously):
70 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
71
72 2015-01-28 Eli Zaretskii <eliz@gnu.org>
73
74 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
75
76 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
77
78 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
79 Adapt docstring.
80 (file-notify--descriptor): New defun.
81 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
82 Adapt docstring. Handle multiple values for
83 `file-notify-descriptors' entries. (Bug#18880)
84
85 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
86 `file-notify-descriptors', the implementation has been changed.
87
88 2015-01-28 Eli Zaretskii <eliz@gnu.org>
89
90 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
91 On MS-Windows, bind coding-system-for-read to the console output
92 codepage. (Bug#19458)
93
94 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
95
96 Unbreak `mouse-action' property in text buttons.
97 * button.el (push-button): Fix regression from 2012-12-06.
98
99 2015-01-28 Glenn Morris <rgm@gnu.org>
100
101 * progmodes/sh-script.el (sh-mode): Doc fix.
102 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
103
104 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
105
106 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
107 * files.el (shell-quote-wildcard-pattern): Also quote "`".
108
109 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 Tighten up the tagcode used for eieio and cl-struct objects.
112 * loadup.el: Load cl-preloaded.
113 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
114 slot of the tag symbol to :quick-object-witness-check.
115 (eieio-object-p): Use :quick-object-witness-check.
116 (eieio--generic-tagcode): Use cl--generic-struct-tag.
117 * emacs-lisp/cl-preloaded.el: New file.
118 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
119 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
120 (cl--make-usage-args): Strip away &aux args.
121 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
122 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
123 (cl-defstruct): Use `declare' and cl-struct-define.
124 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
125 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
126
127 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
128
129 * emacs-lisp/cl.el (cl--function-convert):
130 Merge cache that cl--labels-convert adds (bug#19699).
131
132 2015-01-27 Ivan Shmakov <ivan@siamics.net>
133
134 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
135 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
136 (tar-header-serialize): New functions.
137 (tar-current-position): Split from tar-current-descriptor.
138 (tar-current-descriptor): Use it.
139 (tar-new-entry): New command.
140 (tar-mode-map): Bind it.
141
142 2015-01-27 Sam Steingold <sds@gnu.org>
143
144 * progmodes/python.el (python-check-custom-command): Buffer local
145 because it usually includes the buffer name.
146 (python-check-command): Set to epylint when pyflakes is not available.
147
148 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
149
150 * isearch.el (isearch-process-search-char): Add docstring.
151
152 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
153
154 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
155
156 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
157
158 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
159 for the case cl-flet or cl-labels form is wrapped with lexical-let
160 (bug#19613).
161
162 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
165 (cl--generic): The method-table is now a (list-of cl--generic-method).
166 (cl--generic-member-method): New function.
167 (cl-generic-define-method): Use it.
168 (cl--generic-build-combined-method, cl--generic-cache-miss):
169 Adapt to new method-table.
170 (cl--generic-no-next-method-function): Add `method' argument.
171 (cl-generic-call-method): Adapt to new method representation.
172 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
173 (cl-find-method, cl-method-qualifiers): New functions.
174 (cl--generic-method-info): Adapt to new method representation.
175 Return a string for the qualifiers.
176 (cl--generic-describe):
177 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
178 (eieio-all-generic-functions, eieio-method-documentation):
179 Adjust to new method representation.
180
181 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
182
183 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/cl-generic.el: Add a method-combination hook.
186 (cl-generic-method-combination-function): New var.
187 (cl--generic-lambda): Remove `with-cnm' arg.
188 (cl-defmethod): Change accordingly.
189 (cl-generic-define-method): Don't check qualifiers validity.
190 Preserve all qualifiers in `method-table'.
191 (cl-generic-call-method): New function.
192 (cl--generic-nest): Remove (morph into cl-generic-call-method).
193 (cl--generic-build-combined-method): Adjust to new format of method-table
194 and use cl-generic-method-combination-function.
195 (cl--generic-standard-method-combination): New function, extracted from
196 cl--generic-build-combined-method.
197 (cl--generic-cnm-sample): Adjust to new format of method-table.
198
199 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
200 instead of :primary.
201
202 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
203 Remove obsolete function.
204
205 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
206
207 * net/shr.el (shr-make-table-1): Fix colspan typo.
208 (shr-make-table-1): Add comments.
209 (shr-make-table-1): Make colspan display more sensibly.
210
211 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
212 slightly.
213
214 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
217 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
218 (bug#19672).
219 (cl--generic-typeof-types): Add support for `sequence'.
220 (cl-defmethod): Add non-keywords in the qualifiers.
221
222 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
223
224 * emacs-lisp/find-func.el (find-function-regexp): Don't match
225 `defgroup' (regression from the previous change here).
226
227 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
228
229 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
230 credentials error message.
231
232 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
233
234 * net/ldap.el (ldap-password-read): Validate password before
235 caching it.
236 (ldap-search-internal): Handle ldapsearch error conditions.
237
238 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
239
240 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
241
242 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
243
244 * net/eudc.el (eudc-expand-inline): Always restore former server
245 and protocol.
246
247 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
248
249 * net/eudcb-ldap.el: Don't nag the user in case a default base is
250 provided by the LDAP system configuration file.
251
252 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
253
254 * net/eudc.el (eudc-format-query): Preserve the
255 eudc-inline-query-format ordering of attributes in the returned list.
256 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
257 Append the LDAP wildcard character to the last attribute value.
258
259 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
260
261 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
262 Downcase field names of LDAP results.
263 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
264
265 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
266
267 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
268 (ldap-search-internal): Send password to ldapsearch through a pipe
269 instead of via the command line.
270
271 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
272
273 * net/ldap.el: Require password-cache.
274 (ldap-password-read): New function.
275 (ldap-search-internal): Call ldap-password-read when it is
276 configured to be called.
277
278 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
279
280 * net/eudc-vars.el (eudc-expansion-overwrites-query):
281 Change default to nil.
282
283 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
284
285 * net/eudc.el (eudc-expand-inline): Ignore text properties of
286 string-to-expand.
287
288 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
289
290 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
291 format that includes first name and surname.
292
293 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
294
295 * net/eudc-vars.el (eudc-inline-query-format): Change default to
296 query email and first name instead of surname.
297
298 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
299
300 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
301
302 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
303
304 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
305 eudc-server-hotlist.
306 (eudc-server-hotlist): Move from eudc.el and make defcustom.
307 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
308 (eudc-set-server): Allow setting protocol to nil.
309 (eudc-expand-inline): Support hotlist-only expansions when server
310 is not set.
311
312 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
315 (cl--generic-build-combined-method): Use it.
316
317 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
318
319 Don't downcase system diagnostics' first letters
320 * emacs-lisp/bytecomp.el (byte-compile-file):
321 * ffap.el (find-file-at-point):
322 * files.el (insert-file-1):
323 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
324 (ange-ftp-copy-file-internal):
325 * progmodes/etags.el (visit-tags-table):
326 Keep diagnostics consistent with system's.
327 * ffap.el (ffap-machine-p):
328 Ignore case while comparing diagnostics.
329
330 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
333 arg (bug#19645).
334 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
335 body with a docstring.
336
337 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
338
339 * progmodes/xref.el (xref-location-marker, xref-location-group):
340 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
341 counterparts.
342
343 * progmodes/etags.el (xref-location-marker): Same.
344
345 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
346 (xref--inhibit-mark-current): Rename from
347 `xref--inhibit-mark-selected'. Update the usages.
348 (xref-quit): Reword the docstring. Kill buffers after quitting
349 windows instead of before.
350 (xref--insert-xrefs): Tweak help-echo.
351 (xref--read-identifier-history, xref--read-pattern-history):
352 New variables.
353 (xref--read-identifier, xref-find-apropos): Use them.
354
355 2015-01-21 Ulrich Müller <ulm@gentoo.org>
356
357 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
358 Allow the 'update-game-score' helper program to run suid or sgid.
359
360 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/eieio.el: Use cl-defmethod.
363 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
364 (eieio-object-name-string): Declare as obsolete.
365
366 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
367 (eieio--specializers-apply-to-class-p): New function.
368 (eieio-all-generic-functions): Use it.
369 (eieio-method-documentation): Use it as well as cl--generic-method-info.
370 Change format of return value.
371 (eieio-help-class): Adapt accordingly.
372
373 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
374 errors when there's a `before' but no `primary' (bug#19645).
375 (next-method-p): Return nil rather than signal an error.
376 (eieio-defgeneric): Remove bogus (fboundp 'method).
377
378 * emacs-lisp/eieio-speedbar.el:
379 * emacs-lisp/eieio-datadebug.el:
380 * emacs-lisp/eieio-custom.el:
381 * emacs-lisp/eieio-base.el: Use cl-defmethod.
382
383 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
384 (cl--generic-setf-rewrite): Setup the setf expander right away.
385 (cl-defmethod): Make sure the setf expander is setup before we expand
386 the body.
387 (cl-defmethod): Silence byte-compiler warnings.
388 (cl-generic-define-method): Shuffle code to change return value.
389 (cl--generic-method-info): New function, extracted from
390 cl--generic-describe.
391 (cl--generic-describe): Use it.
392
393 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
394
395 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
396 the major mode. Remap `quit-window' to `xref-quit'.
397 (xref--xref-buffer-mode): Inherit from special-mode.
398
399 xref: Keep track of temporary buffers (bug#19466).
400 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
401 (xref--inhibit-mark-selected): New variables.
402 (xref--mark-selected): New function.
403 (xref--show-location): Maybe add the buffer to
404 `xref--temporary-buffers', add `xref--mark-selected' to
405 `buffer-list-update-hook' there.
406 (xref--window): Add docstring.
407 (xref-quit): Rename from `xref--quit'. Update both references.
408 Add KILL argument. When it's non-nil, kill the temporary buffers
409 that haven't been selected by the user.
410 (xref--show-xref-buffer): Change the second argument to alist,
411 extract the values for `xref--window' and
412 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
413 `buffer-list-update-hook' to each buffer in the list.
414 (xref--show-xrefs): Move the logic of calling `xref-find-function'
415 here. Save the difference between buffer lists before and after
416 it's called as "temporary buffers", and `pass it to
417 `xref-show-xrefs-function'.
418 (xref--find-definitions, xref-find-references)
419 (xref-find-apropos): Update accordingly.
420
421 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
422
423 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
424
425 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * emacs-lisp/eieio-generic.el: Remove.
428 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
429 * emacs-lisp/eieio-compat.el: New file.
430 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
431 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
432 Remove unused function.
433 (eieio-defclass): Move to eieio-compat.el.
434 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
435 (macroexp--expand-all): Use it.
436 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
437
438 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
439
440 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
441 major modes should use `add-function' to alter value of the variable.
442 * hexl.el (hexl-mode):
443 * ielm.el (inferior-emacs-lisp-mode):
444 * progmodes/cfengine.el (cfengine3-mode):
445 * progmodes/elisp-mode (emacs-lisp-mode):
446 * progmodes/octave.el (octave-mode):
447 * progmodes/python.el (python-mode):
448 * simple.el (read--expression): Set `eldoc-documentation-function'
449 using `add-function' so the default value is always used.
450
451 * descr-text.el (describe-char-eldoc): New function returning
452 basic Unicode codepoint information (e.g. name) about character
453 at point. It is meant to be used as a default value of the
454 `eldoc-documentation-function' variable.
455 (describe-char-eldoc--format, describe-char-eldoc--truncate):
456 New helper functions for `describe-char-eldoc' function.
457
458 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
459
460 * textmodes/paragraphs.el (sentence-end-base): Include an
461 ellipsis (…) and interrobang (‽) characters as end of a sentence,
462 and a closing single quote (’) as an end of a quote.
463
464 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
465
466 * textmodes/tildify.el (tildify-double-space-undos): A new
467 variable specifying whether pressing space in `tildify-mode' after
468 a space has been replaced with hard space undos the substitution.
469 (tildify-space): Add code branch for handling `tildify-doule-space'.
470
471 * textmodes/tildify.el (tildify-space): A new function
472 which can be used as a `post-self-insert-hook' to automatically
473 convert spaces into hard spaces.
474 (tildify-space-pattern): A new variable specifying pattern where
475 `tildify-space' should take effect.
476 (tildify-space-predicates): A new variable specifying list of
477 predicate functions that all must return non-nil for
478 `tildify-space' to take effect.
479 (tildify-space-region-predicate): A new functions meant to be
480 used as a predicate in `tildify-space-predicates' list.
481 (tildify-mode): A new minor mode enabling `tildify-space' as a
482 `post-self-insert-hook'
483
484 2015-01-20 Daniel Colascione <dancol@dancol.org>
485
486 * vc/vc-dir.el (vc-dir): Default to repository root, not
487 default-directory.
488
489 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
490
491 * progmodes/etags.el (xref-etags-location): New class.
492 (xref-make-etags-location): New function.
493 (etags--xref-find-definitions): Use it.
494 (xref-location-marker): New method implementation.
495
496 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
497 (xref--insert-xrefs): Expand help-echo string.
498
499 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
500
501 * ido.el: Update Customization instructions.
502
503 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
504
505 Define Ido keymaps once (bug#17000).
506 * ido.el (ido-common-completion-map)
507 (ido-file-dir-completion-map)
508 (ido-file-completion-map, ido-buffer-completion-map): Set up key
509 bindings when each variable is defined.
510 (ido-completion-map): Move definition.
511 (ido-init-completion-maps): Noop.
512 (ido-common-initialization): Don't call it.
513 (ido-setup-completion-map): Improve doc-string, cleanup.
514
515 2015-01-19 Ivan Shmakov <ivan@siamics.net>
516
517 * cus-dep.el (custom-make-dependencies): Ensure that
518 default-directory is interpreted as a directory (see bug#19140.)
519
520 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
521
522 * progmodes/xref.el (xref--display-position):
523 Set `other-window-scroll-buffer'.
524 (xref-goto-xref): Use `user-error'.
525
526 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
527
528 * progmodes/xref.el (xref--display-history): New variable.
529 (xref--window-configuration): Remove.
530 (xref--save-to-history): New function.
531 (xref--display-position): Use it. Add new argument.
532 (xref--restore-window-configuration): Remove.
533 (xref--show-location, xref-show-location-at-point):
534 Update accordingly.
535 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
536 (xref--quit): New command.
537 (xref-goto-xref): Use it.
538 (xref--xref-buffer-mode-map): Bind `q' to it.
539
540 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
541
542 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
543 indentation or at eol.
544
545 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
548 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
549 New functions.
550 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
551
552 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
553 `newname' argument.
554
555 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
556 introduction of a new dispatch argument.
557 (cl--generic-cache-miss): Handle dispatch on an argument which was not
558 considered as dispatchable for this method.
559 (cl-defmethod): Warn when adding a method to an obsolete generic function.
560 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
561
562 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
563
564 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
565
566 * emacs-lisp/package.el (package--append-to-alist): Rename from
567 `package--add-to-alist'
568 Updated docstring due to new name.
569
570 2015-01-18 Leo Liu <sdl.web@gmail.com>
571
572 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
573 multiple evaluation. (Bug#19519)
574
575 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
576 error. (Bug#19434)
577
578 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
581 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
582 New functions.
583 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
584
585 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
586 or print is nil.
587 (cl-struct-type-p): New function.
588
589 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
590 (cl-defmethod): Add edebug spec.
591 (cl--generic-build-combined-method): Fix call to
592 cl-no-applicable-method.
593 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
594 (cl--generic-isnot-nnm-p): New function.
595 (cl--generic-lambda): Use it to add support for cl-next-method-p.
596 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
597 (cl-next-method-p): New function.
598
599 2015-01-17 Ulrich Müller <ulm@gentoo.org>
600
601 * version.el (emacs-repository-get-version): Update docstring.
602
603 2015-01-17 Ivan Shmakov <ivan@siamics.net>
604
605 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
606 and print-level to nil to avoid writing a garbled list. (Bug#16805)
607
608 * files.el (find-file-other-window, find-file-other-frame):
609 Use mapc instead of mapcar. (Bug#18175)
610
611 * files.el (dir-locals-collect-variables): Use default-directory
612 in place of the file name while working on non-file buffers, just
613 like hack-dir-local-variables already does. (Bug#19140)
614
615 * textmodes/enriched.el (enriched-encode):
616 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
617 (Bug#18246)
618
619 * desktop.el (desktop-read): Do not call desktop-clear when no
620 desktop file is found. (Bug#18371)
621
622 * misearch.el (multi-isearch-unload-function): New function.
623 (misearch-unload-function): New alias. (Bug#19566)
624
625 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
628 class-constructor, and make it an alias for `identity'.
629 Update all callers.
630
631 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
632 argument here (bug#19620)...
633 (defclass): ...instead of in the constructor here.
634
635 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
636
637 * emacs-lisp/package.el (package-archive-priorities):
638 Specify correct type.
639
640 2015-01-17 Ulrich Müller <ulm@gentoo.org>
641
642 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
643 Remove.
644 (emacs-repository-get-version): Discard the Bazaar case.
645 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
646 emacs-bzr-version-dirstate and move from version.el to here.
647 (vc-bzr-working-revision): Use it.
648
649 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
652 eieio--scoped-class any more.
653
654 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
655 (eieio--scoped-class): Remove function.
656 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
657 (eieio--slot-name-index): Don't check the :protection anymore.
658 (eieio-initializing-object): Remove var.
659 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
660
661 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 Improve handling of doc-strings and describe-function for cl-generic.
664
665 * help-mode.el (help-function-def): Add optional arg `type'.
666
667 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
668 as it's a symbol.
669 (help-fns-short-filename): New function.
670 (describe-function-1): Use it. Use autoload-do-load.
671
672 * emacs-lisp/find-func.el: Use lexical-binding.
673 (find-function-regexp): Don't rule out `defgeneric'.
674 (find-function-regexp-alist): Document new possibility of including
675 a function instead of a regexp.
676 (find-function-search-for-symbol): Implement that new possibility.
677 (find-function-library): Don't assume that `function' is a symbol.
678 (find-function-do-it): Remove unused var `orig-buf'.
679
680 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
681 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
682 (eieio--method-optimize-primary): Don't mess with the docstring.
683 (defgeneric): Keep the `args' in the docstring.
684 (defmethod): Don't use the method's docstring for the generic
685 function's docstring.
686
687 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
688 (eieio-defclass-autoload): Don't record the superclasses any more.
689 (eieio-defclass-internal): Reuse the old class object if it was just an
690 autoload stub.
691 (eieio--class-precedence-list): Load the class if it's autoloaded.
692
693 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
694 override an autoload.
695 (cl-generic-current-method-specializers): Replace dyn-bind variable
696 with a lexically-scoped macro.
697 (cl--generic-lambda): Update accordingly.
698 (cl-generic-define-method): Record manually in the load-history with
699 type `cl-defmethod'.
700 (cl--generic-get-dispatcher): Minor optimization.
701 (cl--generic-search-method): New function.
702 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
703 (cl--generic-search-method): Add hyperlinks for methods. Merge the
704 specializers and the function's arguments.
705
706 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
707
708 * emacs-lisp/package.el (package--read-pkg-desc):
709 New function. Read a `define-package' form in current buffer.
710 Return the pkg-desc, with desc-kind set to KIND.
711 (package-dir-info): New function. Find package information for a
712 directory. The return result is a `package-desc'.
713 (package-install-from-buffer): Install packages from dired buffer.
714 (package-install-file): Install packages from directory.
715 (package-desc-suffix)
716 (package-install-from-archive)
717 * emacs-lisp/package-x.el (package-upload-buffer-internal):
718 Ensure all remaining instances of `package-desc-kind' handle the 'dir
719 value.
720
721 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
722
723 * emacs-lisp/package.el: Provide repository priorities.
724 (package-archive-priorities): New variable.
725 (package--add-to-alist): New function.
726 (package--add-to-archive-contents): Use it.
727 (package-menu--find-upgrades): Use it as well. Small clean up to
728 make the use of the package name here explicit.
729 (package-archive-priority): New function.
730 (package-desc-priority-version): New function.
731
732 2015-01-16 Daniel Colascione <dancol@dancol.org>
733
734 * cus-start.el (all): Make `ring-bell-function' customizable.
735
736 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
737
738 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
739 vc-svn-after-dir-status's second argument. (Bug#19429)
740
741 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
742
743 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
744 regardless of pcomplete-cycle-completions's value. (Bug#18950)
745
746 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
747
748 * dom.el (dom-strings): New function.
749
750 * files.el (directory-files-recursively): Don't use the word
751 "path" for a file name.
752
753 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
754
755 * calc/calc-units.el (math-units-in-expr-p)
756 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
757 (math-extract-units): Handle the `neg' operator. (Bug#19582)
758
759 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
762 (cl--labels-convert): Use it to ask the macro what is its replacement
763 in the #'f case.
764
765 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
766 Return the value of the primary rather than the after method.
767
768 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
769 (eieio--generic-tagcode): New function.
770 (cl-generic-tagcode-function): Use it.
771 (eieio--generic-tag-types): New function.
772 (cl-generic-tag-types-function): Use it.
773 (eieio-object-p): Tighten up the test.
774
775 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
776
777 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * emacs-lisp/cl-generic.el: New file.
780
781 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
782 (cl-load-time-value, cl-labels): Use closures rather than
783 backquoted lambdas.
784 (cl-macrolet): Use `eval' to create the function value, and support CL
785 style arguments in for the defined macros.
786
787 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * net/eww.el: Use lexical-binding.
790 (eww-links-at-point): Remove unused arg.
791 (eww-mode-map): Inherit from special-mode-map.
792 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
793
794 2015-01-13 Alan Mackenzie <acm@muc.de>
795
796 Allow compilation during loading of CC Mode-derived modes (bug#19206).
797 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
798 New function which walks the stack to discover whether we're compiling
799 or loading.
800 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
801 (cc-bytecomp-is-loading): New defsubst.
802 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
803 Use the above defsubsts.
804 (cc-require-when-compile, cc-bytecomp-defvar)
805 (cc-bytecomp-defun): Simplify conditionals.
806 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
807 "Borrow" this function from cc-bytecomp.el.
808 (c-get-current-file): Reformulate using the above.
809 (c-lang-defconst): Prevent duplicate entries of file names in a
810 symbol's 'source property.
811 (c-lang-const): Use cc-bytecomp-is-compiling.
812 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
813 Use cc-bytecomp-is-compiling.
814
815 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
818 (bug#19552).
819
820 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
821
822 * menu-bar.el (menu-bar-goto-menu): Before calling
823 `xref-marker-stack-empty-p', first check that `xref' is loaded.
824 (Bug#19554)
825
826 2015-01-12 Martin Rudalics <rudalics@gmx.at>
827
828 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
829 cookie (Bug#19554).
830
831 * frame.el (frame-notice-user-settings): Remove code dealing with
832 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
833 only if `window-system-frame-alist' or `default-frame-alist' ask
834 for it.
835 (make-frame): Update frame-adjust-size-history if needed.
836
837 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
838
839 Have 'make' output better GEN names
840 * Makefile.in (PHONY_EXTRAS): New macro.
841 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
842 relevant files' time stamps are ignored.
843 (custom-deps, $(lisp)/cus-load.el, finder-data)
844 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
845 (custom-deps, $(lisp)/cus-load.el, finder-data)
846 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
847 ($(lisp)/subdirs.el, update-subdirs):
848 Output more-accurate destination names with GEN.
849
850 Say "ELC foo.elc" instead of "GEN foo.elc"
851 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
852 New macros.
853 ($(THEFILE)c, .el.elc): Use them.
854
855 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
856
857 * files.el (directory-files-recursively): Do not include
858 superfluous remote file names.
859
860 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
861
862 * net/eww.el (eww): Interpret anything that looks like a protocol
863 designator as a full URL.
864
865 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
866
867 * net/shr.el (shr-urlify): Don't bother the user about
868 invalidly-encoded display strings.
869
870 2015-01-10 Ivan Shmakov <ivan@siamics.net>
871
872 * net/shr.el (shr-urlify): Decode URLs before using them as titles
873 (bug#19555).
874
875 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
876
877 * net/eww.el (eww): Always interpret URLs that start with https?:
878 as plain URLs, even if they have spaces in them (bug#19556).
879 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
880 software" as an URL.
881 (eww): Don't interpret "org/foo" as an URL.
882 (eww): Clear the title when loading so that we don't display
883 misleading information.
884
885 2015-01-10 Daniel Colascione <dancol@dancol.org>
886
887 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
888 by analogy with dired.
889
890 2015-01-09 Daniel Colascione <dancol@dancol.org>
891
892 * progmodes/js.el (js--function-heading-1-re)
893 (js--function-prologue-beginning): Parse ES6 generator function
894 declarations. (That is, "function* name()").
895
896 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
899 that creates functions, and most of the sanity checks.
900 Mark as obsolete the <class>-child-p function.
901 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
902 (eieio--class, eieio--object): Use cl-defstruct.
903 (eieio--object-num-slots): Define manually.
904 (eieio-defclass-autoload): Use eieio--class-make.
905 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
906 `(lambda...) definitions and most of the sanity checks to `defclass'.
907 Mark as obsolete the <class>-list-p function, the <class> variable and
908 the <initarg> variables. Use pcase-dolist.
909 (eieio-defclass): New compatibility function.
910 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
911 (eieio-class-speedbar): Don't use eieio-default-superclass var.
912
913 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * emacs-lisp/eieio-generic.el: New file.
916 * emacs-lisp/eieio-core.el: Move all generic function code to
917 eieio-generic.el.
918 (eieio--defmethod): Declare.
919
920 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
921 function code to eieio-generic.el.
922 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
923 eieio-generic.el.
924 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
925 to eieio--generic-call.
926 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
927 <class>-child type.
928
929 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
932 Don't use <class> as a variable.
933
934 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
935 (call-next-method): Simplify.
936 (clone): Obey eieio-backward-compatibility.
937
938 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
939 (eieio-read-generic): Use `generic-p' instead.
940
941 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
942 (eieio-defclass-autoload): Obey it.
943 (eieio--class-object): Improve error behavior.
944 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
945 every use site.
946 (eieio--defgeneric-form-primary-only): Rename from
947 eieio-defgeneric-form-primary-only; update all callers.
948 (eieio--defgeneric-form-primary-only-one): Rename from
949 eieio-defgeneric-form-primary-only-one; update all callers.
950 (eieio-defgeneric-reset-generic-form)
951 (eieio-defgeneric-reset-generic-form-primary-only)
952 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
953 (eieio--method-optimize-primary): New function to replace them.
954 (eieio--defmethod, eieio-defmethod): Use it.
955 (eieio--perform-slot-validation): Rename from
956 eieio-perform-slot-validation; update all callers.
957 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
958 Change `class' to be a class object. Update all callers.
959 (eieio--validate-class-slot-value): Rename from
960 eieio-validate-class-slot-value. Change `class' to be a class object.
961 Update all callers.
962 (eieio-oset-default): Accept class object as well.
963 (eieio--generic-call-primary-only): Rename from
964 eieio-generic-call-primary-only. Update all callers.
965
966 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
967 Improve error messages.
968 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
969 well as user-defined types. Emit errors for legacy types like
970 <class>-child and <class>-list, if not eieio-backward-compatibility.
971
972 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
975 (eieio--class-slot-initarg): Rename from class-slot-initarg.
976 Change `class' arg to be a class object. Update all callers.
977 (call-next-method): Adjust to new return value of `eieio-generic-form'.
978 (eieio-default-superclass): Set var to the class object.
979 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
980 Change print behavior to affect class objects rather than
981 class symbols.
982
983 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
984 (eieio-class-parents-fast): Remove macro.
985 (eieio--class-option-assoc): Rename from class-option-assoc.
986 Update all callers.
987 (eieio--class-option): Rename from class-option. Change `class' arg to
988 be a class object. Update all callers.
989 (eieio--class-method-invocation-order): Rename from
990 class-method-invocation-order. Change `class' arg to be a class
991 object. Update all callers.
992 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
993 a list of class objects rather than names.
994 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
995 for accessors to class allocated slots.
996 (eieio--perform-slot-validation-for-default): Rename from
997 eieio-perform-slot-validation-for-default. Update all callers.
998 (eieio--add-new-slot): Rename from eieio-add-new-slot.
999 Update all callers. Use push.
1000 (eieio-copy-parents-into-subclass): Adjust to new content of
1001 `parent' field. Use dolist.
1002 (eieio-oref): Remove support for providing a class rather than
1003 an object.
1004 (eieio-oref-default): Prefer class objects over class names.
1005 (eieio--slot-originating-class-p): Rename from
1006 eieio-slot-originating-class-p. Update all callers. Use `or'.
1007 (eieio--slot-name-index): Turn check into assertion.
1008 (eieio--class-slot-name-index): Rename from
1009 eieio-class-slot-name-index. Change `class' arg to be a class object.
1010 Update all callers.
1011 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
1012 (eieio--c3-candidate): Rename from eieio-c3-candidate.
1013 Update all callers.
1014 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
1015 Update all callers.
1016 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
1017 Update all callers.
1018 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
1019 Update all callers.
1020 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
1021 Update all callers. Adjust to new `parent' content.
1022 (eieio--class-precedence-list): Rename from -class-precedence-list.
1023 Update all callers.
1024 (eieio-generic-call): Use autoloadp and autoload-do-load.
1025 Slight simplification.
1026 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
1027 return value of `eieio-generic-form'.
1028 (eieiomt-add): Index the hashtable with class objects rather than
1029 class names.
1030 (eieio-generic-form): Accept class objects as well.
1031
1032 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
1033 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
1034 (eieio-persistent-validate/fix-slot-value):
1035 Change `class' arg to be a class object. Update all callers.
1036
1037 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
1040 additionally to class names.
1041
1042 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
1043 (object): Remove first (constant) slot; rename second to `class-tag'.
1044 (eieio--object-class-object, eieio--object-class-name): New funs
1045 to replace eieio--object-class.
1046 (eieio--class-object, eieio--class-p): New functions.
1047 (same-class-fast-p): Make it a defsubst, change its implementation
1048 to check the class objects rather than their names.
1049 (eieio-object-p): Rewrite.
1050 (eieio-defclass): Adjust the object initialization according to the new
1051 object layout.
1052 (eieio--scoped-class): Declare it returns a class object (not a class
1053 name any more). Adjust calls accordingly (along with calls to
1054 eieio--with-scoped-class).
1055 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
1056 its class arg to be a class object. Adjust callers accordingly.
1057 (eieio-slot-originating-class-p): Make its start-class arg a class
1058 object. Adjust all callers.
1059 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
1060 Make its `class' arg a class object. Adjust all callers.
1061
1062 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1063 Use eieio--slot-name-index rather than eieio-slot-name-index.
1064
1065 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
1068 name argument.
1069 (eieio-object-name): Use eieio-object-name-string.
1070 (eieio--object-names): New const.
1071 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
1072 using a hashtable rather than a built-in slot.
1073 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
1074 (clone): Don't mess with the object's "name".
1075
1076 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
1077 (eieio-object-value-get): Use eieio-object-set-name-string.
1078
1079 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
1080 (eieio--object): Remove `name' field.
1081 (eieio-defclass): Adjust to new convention where constructors don't
1082 take an "object name" any more.
1083 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
1084 (eieio-validate-slot-value, eieio-oset-default)
1085 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
1086 (eieio-generic-call-primary-only): Simplify.
1087
1088 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
1089 Use call-next-method.
1090 (eieio-constructor): Rename from `constructor'.
1091 (eieio-persistent-convert-list-to-object): Drop objname.
1092 (eieio-persistent-validate/fix-slot-value): Don't hardcode
1093 eieio--object-num-slots.
1094 (eieio-named): Use a normal slot.
1095 (slot-missing) <eieio-named>: Remove.
1096 (eieio-object-name-string, eieio-object-set-name-string, clone)
1097 <eieio-named>: New methods.
1098
1099 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
1102 (method-*): Add a "eieio--" prefix to those constants.
1103
1104 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
1105
1106 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
1107
1108 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
1111 `eieio-default-superclass'.
1112
1113 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
1114
1115 * emacs-lisp/eieio-custom.el: Use lexical-binding.
1116 (eieio-object-value-to-abstract): Simplify.
1117
1118 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
1119 (eieio-build-class-alist): Use dolist.
1120 (eieio-all-generic-functions): Adjust to use of hashtables.
1121
1122 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1123 symbol-hashtable. It contains a hashtable instead of an obarray.
1124 (generic-p): Use symbol property `eieio-method-hashtable' instead of
1125 `eieio-method-obarray'.
1126 (generic-primary-only-p, generic-primary-only-one-p):
1127 Slight optimization.
1128 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1129 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1130 (eieio-class-un-autoload): Use autoload-do-load.
1131 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1132 Use new cl-deftype-satisfies. Adjust to use of hashtables.
1133 Don't hardcode the value of eieio--object-num-slots.
1134 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1135 Use a closure rather than a backquoted lambda.
1136 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
1137 function-documentation property.
1138 (eieio-slot-originating-class-p, eieio-slot-name-index)
1139 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1140 (eieio-generic-form): Adjust to use of hashtables.
1141 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1142 additional class argument.
1143 (eieio-generic-call-methodname): Remove, unused.
1144
1145 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1146 Prefer \' to $.
1147
1148 2015-01-08 Eli Zaretskii <eliz@gnu.org>
1149
1150 * simple.el (line-move-visual): When converting X pixel coordinate
1151 to temporary-goal-column, adjust the value for right-to-left
1152 screen lines. This fixes vertical-motion, next/prev-line, etc.
1153
1154 2015-01-08 Glenn Morris <rgm@gnu.org>
1155
1156 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
1157
1158 2015-01-07 K. Handa <handa@gnu.org>
1159
1160 * international/ccl.el (define-ccl-program): Improve the docstring.
1161
1162 2015-01-06 Sam Steingold <sds@gnu.org>
1163
1164 * shell.el (shell-display-buffer-actions): Remove,
1165 use `display-buffer-alist' instead.
1166
1167 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
1168
1169 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1170 to the references.
1171
1172 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * minibuffer.el (completion-category-defaults): New var.
1175 Set unicode-name to use substring completion.
1176 (completion-category-defaults): Set it to nil.
1177
1178 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1179
1180 Add mouse interaction to xref.
1181 * progmodes/xref.el (xref--button-map): New variable.
1182 (xref--mouse-2): New command.
1183 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1184 the inserted references.
1185
1186 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
1187
1188 Less 'make' chatter for lisp dir
1189 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1190 to make it clearer that the caller must specify it.
1191 (compile-onefile): Remove, replacing by ...
1192 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
1193 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1194 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1195 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1196 Use AM_V_GEN to lessen 'make' chatter.
1197 (.el.elc): Omit duplicate comment.
1198
1199 Less 'make' chatter in batch mode
1200 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1201 * emacs-lisp/bytecomp.el (byte-compile-file):
1202 * files.el (save-buffer, basic-save-buffer):
1203 * international/quail.el (quail-update-leim-list-file):
1204 Don't output messages like "Generating ..." in batch mode.
1205
1206 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 Unbreak `mouse-action' property in text buttons.
1209 * button.el (push-button): Fix regression from 2012-12-06.
1210
1211 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1212
1213 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1214
1215 * menu-bar.el (menu-bar-goto-menu): Use it.
1216
1217 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1218
1219 * progmodes/xref.el (xref--window-configuration): New variable.
1220 (xref-show-location-at-point): New command.
1221 (xref--restore-window-configuration): New function.
1222 (xref-next-line, xref-prev-line): Delegate to
1223 `xref-show-location-at-point'.
1224 (xref--location-at-point): Don't signal the error.
1225 (xref-goto-xref): Do that here instead.
1226 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1227 to `pre-command-hook'.
1228 (xref--xref-buffer-mode-map): Don't remap `next-line' and
1229 `previous-line'. Additionally bind `xref-next-line' and
1230 `xref-prev-line' to `n' and `p' respectively.
1231 Bind `xref-show-location-at-point' to `C-o'.
1232
1233 2015-01-01 Eli Zaretskii <eliz@gnu.org>
1234
1235 * tool-bar.el (tool-bar-local-item)
1236 (tool-bar-local-item-from-menu): Call force-mode-line-update to
1237 make sure the tool-bar changes show on display.
1238
1239 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
1240
1241 Sync with Tramp 2.2.11.
1242
1243 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1244 Make an alias for `default-toplevel-value' if it doesn't exist.
1245
1246 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1247 Use `tramp-compat-delete-directory'.
1248
1249 * net/trampver.el: Update release number.
1250
1251 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
1252
1253 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1254 for remote files. (Bug#19449)
1255
1256 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1257
1258 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1259
1260 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
1261
1262 Less 'make' chatter in lisp directory
1263 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1264 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1265 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1266
1267 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
1268
1269 * info.el (info-display-manual): Limit the completion alternatives
1270 to currently visited manuals if prefix argument is non-nil.
1271
1272 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
1273
1274 * Makefile.in (semantic): Simplify.
1275
1276 2014-12-30 Juri Linkov <juri@linkov.net>
1277
1278 * net/eww.el (eww-isearch-next-buffer): New function.
1279 (eww-mode): Set multi-isearch-next-buffer-function to it.
1280
1281 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
1282
1283 * progmodes/xref.el (xref-find-definitions): Mention "no
1284 identifier at point" case in the docstring.
1285
1286 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1287 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1288 and `separator-tag-file' items.
1289
1290 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
1291
1292 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1293 This is instead of system-name, which is both wrong here and obsolete.
1294 * desktop.el (desktop-save-frameset):
1295 * dnd.el (dnd-get-local-file-uri):
1296 * nxml/rng-uri.el (rng-uri-file-name-1):
1297 Prefer (system-name) to system-name, and avoid naming
1298 locals 'system-name'.
1299 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
1300
1301 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1302
1303 * menu-bar.el (menu-bar-next-tag-other-window)
1304 (menu-bar-next-tag): Remove.
1305
1306 2014-12-29 K. Handa <handa@gnu.org>
1307
1308 * international/mule.el (make-translation-table-from-alist):
1309 Accept nil or zero-length vector for FROM and TO.
1310
1311 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
1312
1313 * net/eww.el (eww-mode): Truncate overlong lines for prettier
1314 display when resizing.
1315
1316 * net/shr.el (shr-width): Default to using the window width when
1317 rendering.
1318
1319 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1320
1321 Unbreak jumping to an alias's definition.
1322 * emacs-lisp/find-func.el (find-function-library): Return a pair
1323 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1324 (find-function-noselect): Use it.
1325 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1326 `elisp--xref-identifier-location', incorporate logic from
1327 `elisp--xref-find-definitions', use the changed
1328 `find-function-library' return value.
1329
1330 2014-12-29 Juri Linkov <juri@linkov.net>
1331
1332 * comint.el (comint-history-isearch-message): Use field-beginning
1333 instead of comint-line-beginning-position - that's more fixes for
1334 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1335 (comint-history-isearch-message): Fix args of isearch-message-prefix.
1336
1337 2014-12-29 Juri Linkov <juri@linkov.net>
1338
1339 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1340 (vc-dir-mode-map): Bind it to "\C-o".
1341 (vc-dir-menu-map): Add it to menu.
1342
1343 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1344
1345 * progmodes/etags.el (find-tag-other-window)
1346 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1347 (tags-apropos): Declare obsolete.
1348
1349 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1350 with xref ones.
1351
1352 2014-12-28 Eli Zaretskii <eliz@gnu.org>
1353
1354 * international/mule.el (define-coding-system): Fix typos in the
1355 doc string.
1356
1357 2014-12-28 Kenichi Handa <handa@gnu.org>
1358
1359 * international/mule.el (define-coding-system): Improve the doc
1360 string.
1361
1362 2014-12-28 Ivan Shmakov <ivan@siamics.net>
1363
1364 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1365 elements in tables (bug#19444).
1366
1367 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1368 (bug#19445).
1369
1370 2014-12-28 Juri Linkov <juri@linkov.net>
1371
1372 * vc/compare-w.el: Require diff-mode for diff faces.
1373 (compare-windows-removed, compare-windows-added): New faces
1374 inheriting from diff faces.
1375 (compare-windows): Define obsolete face alias.
1376 (compare-windows-highlight): Replace face `compare-windows' with
1377 new faces `compare-windows-added' and `compare-windows-removed'
1378 (bug#19451).
1379 (compare-windows-get-recent-window): Signal an error when
1380 no other window is found (bug#19170).
1381
1382 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1383
1384 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1385 Skip features that have no sources.
1386
1387 * simple.el (execute-extended-command):
1388 When `suggest-key-bindings' is nil, don't.
1389
1390 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1391
1392 python.el: Native readline completion.
1393 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1394 (python-shell-completion-native-enable)
1395 (python-shell-completion-native-output-timeout): New defcustoms.
1396 (python-shell-completion-native-interpreter-disabled-p)
1397 (python-shell-completion-native-try)
1398 (python-shell-completion-native-setup)
1399 (python-shell-completion-native-turn-off)
1400 (python-shell-completion-native-turn-on)
1401 (python-shell-completion-native-turn-on-maybe)
1402 (python-shell-completion-native-turn-on-maybe-with-msg)
1403 (python-shell-completion-native-toggle): New functions.
1404 (python-shell-completion-native-get-completions): New function.
1405 (python-shell-completion-at-point): Use it.
1406
1407 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1408
1409 python.el: Enhance shell user interaction and deprecate
1410 python-shell-get-or-create-process.
1411 * progmodes/python.el (python-shell-get-process-or-error):
1412 New function.
1413 (python-shell-with-shell-buffer): Use it.
1414 (python-shell-send-string, python-shell-send-region)
1415 (python-shell-send-buffer, python-shell-send-defun)
1416 (python-shell-send-file, python-shell-switch-to-shell): Use it.
1417 Add argument MSG to display user-friendly message when no process
1418 is running.
1419 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
1420 (python-shell-make-comint): Rename argument SHOW from POP.
1421 Use display-buffer instead of pop-to-buffer.
1422 (run-python): Doc fix. Return process.
1423 (python-shell-get-or-create-process): Make obsolete.
1424
1425 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1426
1427 * progmodes/python.el (python-shell-buffer-substring):
1428 Handle cornercase when region sent starts at point-min.
1429
1430 2014-12-27 Eli Zaretskii <eliz@gnu.org>
1431
1432 * language/misc-lang.el (composition-function-table): Add Syriac
1433 characters and also ZWJ/ZWNJ.
1434 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
1435 for the details.
1436
1437 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1438
1439 python.el: Fix message when sending region.
1440 * progmodes/python.el (python-shell-send-region): Rename argument
1441 send-main from nomain. Fix message.
1442 (python-shell-send-buffer): Rename argument send-main from arg.
1443
1444 python.el: Cleanup temp files even with eval errors.
1445 * progmodes/python.el (python-shell-send-file): Make file-name
1446 mandatory. Fix temp file removal in the majority of cases.
1447
1448 python.el: Handle file encoding for shell.
1449 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
1450 (python-shell--save-temp-file): Write file with proper encoding.
1451 (python-shell-buffer-substring): Add coding cookie for detected
1452 encoding to generated content. Fix blank lines when removing
1453 if-name-main block.
1454 (python-shell-send-file): Handle file encoding.
1455 (python-info-encoding-from-cookie)
1456 (python-info-encoding): New functions.
1457
1458 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1459
1460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1461 Use `tramp-rsh-end-of-line', it ought to be more robust.
1462
1463 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
1466 (bug#19397).
1467
1468 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1469
1470 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
1471
1472 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
1473 as end-of-line delimeter for passwords, when running on MS Windows.
1474
1475 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
1478 of indent-line-function (bug#19433).
1479
1480 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1481
1482 Fix line numbers on Python shell.
1483 * progmodes/python.el (python-shell--save-temp-file): Do not
1484 append coding cookie.
1485 (python-shell-send-string): Generalize for
1486 python-shell-send-region.
1487 (python--use-fake-loc): Delete var.
1488 (python-shell-buffer-substring): Cleanup fake-loc logic.
1489 (python-shell-send-region): Remove fake-loc logic, simplify.
1490
1491 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1492
1493 * progmodes/python.el (python-indent-post-self-insert-function):
1494 Make colon to re-indent only for dedenters, handling
1495 multiline-statements gracefully.
1496
1497 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1498
1499 * net/tramp.el (tramp-handle-insert-file-contents):
1500 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
1501
1502 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1503
1504 * net/tramp-sh.el (tramp-send-command-and-read): New optional
1505 arg MARKER.
1506 (tramp-get-remote-path): Use it.
1507
1508 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * subr.el (redisplay-dont-pause): Mark as obsolete.
1511
1512 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1513
1514 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
1515 (tramp-accept-process-output): Use nil as argument for
1516 `accept-process-output', when there is a gateway prepended.
1517
1518 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
1519 wrong debug buffer.
1520 (tramp-gw-open-connection): Set process coding system 'binary.
1521 (tramp-gw-open-network-stream): Handle HTTP error 403.
1522
1523 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
1524 wrong debug buffer.
1525 (tramp-maybe-open-connection): Set connection property "gateway".
1526
1527 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * subr.el (sit-for): Tweak docstring (bug#19381).
1530
1531 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
1534 stage to after `diff-index' (bug#19386).
1535
1536 2014-12-27 João Távora <joaotavora@gmail.com>
1537
1538 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
1539 `electric-pair-mode' (bug#19356).
1540
1541 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1542
1543 elisp-xref-find: Don't create buffers eagerly.
1544
1545 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
1546 into `elisp--company-location'.
1547 (elisp--identifier-completion-table): Rename to
1548 `elisp--identifier-completion-table', and do not include just any
1549 symbols with a property list.
1550 (elisp-completion-at-point): Revert the 2014-12-25 change.
1551 (elisp--xref-identifier-file): New function.
1552 (elisp--xref-find-definitions): Use it.
1553
1554 * emacs-lisp/find-func.el (find-function-library): New function,
1555 extracted from `find-function-noselect'.
1556
1557 * progmodes/xref.el (xref-elisp-location): New class.
1558 (xref-make-elisp-location): New function.
1559 (xref-location-marker): New implementation.
1560
1561 2014-12-27 Juri Linkov <juri@linkov.net>
1562
1563 * minibuffer.el (minibuffer-completion-help):
1564 Use shrink-window-if-larger-than-buffer in window-height
1565 when temp-buffer-resize-mode is nil.
1566
1567 * window.el (with-displayed-buffer-window): Remove window-height
1568 from the action alist in the temp-buffer-window-show call
1569 when window-height is handled explicitly afterwards (bug#19355).
1570
1571 2014-12-27 Juri Linkov <juri@linkov.net>
1572
1573 Support subdirectories when saving places in dired.
1574 * saveplace.el (toggle-save-place, save-place-to-alist)
1575 (save-places-to-alist, save-place-dired-hook):
1576 Use dired-current-directory instead of dired-directory (bug#19436).
1577 (save-place-dired-hook): Add check for alist to make the new
1578 format future-proof to allow other possible formats.
1579
1580 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1581
1582 python.el: Generate clearer shell buffer names.
1583 * progmodes/python.el (python-shell-get-process-name)
1584 (python-shell-internal-get-process-name): Use `buffer-name`.
1585 (python-shell-internal-get-or-create-process): Simplify.
1586
1587 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 Add basic xref apropos implementation to elisp-mode.
1590
1591 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
1592 Filter out nil results.
1593 (elisp--xref-find-apropos): New function.
1594 (elisp-xref-find): Use it.
1595
1596 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
1597
1598 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
1599
1600 * dired-aux.el (dired-maybe-insert-subdir):
1601 Make dired-maybe-insert-subdir always skip trivial files.
1602
1603 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
1604 Dmitry Gutov <dgutov@yandex.ru>
1605
1606 Consolidate cross-referencing commands.
1607
1608 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
1609 `C-x 5 .' from etags.el to xref.el.
1610
1611 * progmodes/xref.el: New file.
1612
1613 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
1614 (elisp--identifier-location): New function, extracted from
1615 `elisp--company-location'.
1616 (elisp--company-location): Use it.
1617 (elisp--identifier-completion-table): New variable.
1618 (elisp-completion-at-point): Use it.
1619 (emacs-lisp-mode): Set the local values of `xref-find-function'
1620 and `xref-identifier-completion-table-function'.
1621 (elisp-xref-find, elisp--xref-find-definitions)
1622 (elisp--xref-identifier-completion-table): New functions.
1623
1624 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
1625 favor of `xref--marker-ring'.
1626 (tags-lazy-completion-table): Autoload.
1627 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
1628 (find-tag-noselect): Use `xref-push-marker-stack'.
1629 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
1630 (etags--xref-limit): New constant.
1631 (etags-xref-find, etags--xref-find-definitions): New functions.
1632
1633 2014-12-25 Martin Rudalics <rudalics@gmx.at>
1634
1635 * cus-start.el (resize-mini-windows): Make it customizable.
1636
1637 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
1638
1639 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
1640 to (info "(emacs)Contributing"). (Bug#19299)
1641
1642 2014-12-24 Martin Rudalics <rudalics@gmx.at>
1643
1644 * window.el (mouse-autoselect-window-position-1): New variable.
1645 (mouse-autoselect-window-cancel)
1646 (mouse-autoselect-window-select, handle-select-window):
1647 With delayed autoselection select window only if mouse moves after
1648 selecting its frame.
1649
1650 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
1651
1652 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
1653 remote file names. (Bug#18782)
1654
1655 2014-12-23 Sam Steingold <sds@gnu.org>
1656
1657 * shell.el (shell-display-buffer-actions): New user option.
1658 (shell): Pass it to `pop-to-buffer' instead of hard-coding
1659 `pop-to-buffer-same-window'.
1660
1661 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
1664 (js-syntax-propertize-regexp): Use it to recognize "slash in
1665 a character class" (bug#19397).
1666
1667 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * completion.el: Use post-self-insert-hook (bug#19400).
1670 (completion-separator-self-insert-command)
1671 (completion-separator-self-insert-autofilling): Remove.
1672 (completion-separator-chars): New var.
1673 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
1674 of changing the keymap.
1675 (completion--post-self-insert): New function.
1676 (dynamic-completion-mode): Use it instead of rebinding keys.
1677 (cmpl--completion-string): Rename from completion-string.
1678 (add-completion-to-head, delete-completion): Let-bind it explicitly.
1679
1680 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
1681
1682 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
1683 by leveraging `syntax-ppss'.
1684
1685 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
1686
1687 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
1688
1689 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * net/tramp-sh.el (tramp-histfile-override): Add :version.
1692
1693 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
1694
1695 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
1696
1697 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
1698
1699 * let-alist.el (let-alist): Enable access to deeper alists by
1700 using dots inside the dotted symbols.
1701
1702 2014-12-19 Alan Mackenzie <acm@muc.de>
1703
1704 Make C++11 uniform init syntax work.
1705 New keywords "final" and "override".
1706 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
1707 New function.
1708 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
1709 new function.
1710 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
1711 carefully for "are we at a declarator?" using
1712 c-back-over-member-initializers.
1713 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
1714 and "override" in the C++ value.
1715
1716 2014-12-19 Martin Rudalics <rudalics@gmx.at>
1717
1718 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
1719
1720 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
1721
1722 * net/nsm.el (nsm-save-host): Don't save the host name twice
1723 (bug#19269).
1724
1725 2014-12-18 Sam Steingold <sds@gnu.org>
1726
1727 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
1728 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
1729 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
1730 * menu-bar.el (menu-bar-buffer-vector): Extract from
1731 `menu-bar-update-buffers'.
1732 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
1733 (buffer-menu-open): New user command, bound globally to C-f10,
1734 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
1735 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
1736 convert the value returned by `mouse-buffer-menu-map' to a list
1737 acceptable to `popup-menu' for `buffer-menu-open'.
1738
1739 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
1740
1741 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
1742
1743 2014-12-18 Sam Steingold <sds@gnu.org>
1744
1745 * emacs-lisp/package.el: Avoid compilation warning by declaring
1746 the `find-library-name' function.
1747 (package-activate-1): Fix the `with-demoted-errors' calls:
1748 the first argument must be a string literal.
1749
1750 2014-12-18 Martin Rudalics <rudalics@gmx.at>
1751
1752 Add code for "preserving" window sizes.
1753 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
1754 `preserve-size' t.
1755 (dired-mark-pop-up): Preserve size of window showing marked files.
1756 * electric.el (Electric-pop-up-window):
1757 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
1758 with `preserve-size' t.
1759 * minibuffer.el (minibuffer-completion-help):
1760 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
1761 (Bug#19355). Preserve size of completions window.
1762 * register.el (register-preview): Preserve size of register
1763 preview window.
1764 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
1765 with `preserve-size' t (Bug#1291).
1766 * window.el (with-displayed-buffer-window): Add calls to
1767 `window-preserve-size'.
1768 (window-min-pixel-size, window--preservable-size)
1769 (window-preserve-size, window-preserved-size)
1770 (window--preserve-size, window--min-size-ignore-p): New functions.
1771 (window-min-size, window-min-delta, window--resizable)
1772 (window--resize-this-window, split-window-below)
1773 (split-window-right): Amend doc-string.
1774 (window--min-size-1, window-sizable, window--size-fixed-1)
1775 (window-size-fixed-p, window--min-delta-1)
1776 (frame-windows-min-size, window--max-delta-1, window-resize)
1777 (window--resize-child-windows, window--resize-siblings)
1778 (enlarge-window, shrink-window, split-window): Handle preserving
1779 window sizes.
1780 (adjust-window-trailing-edge): Handle preserving window
1781 sizes. Signal user-error instead of an error when there's no
1782 window above or below.
1783 (window--state-put-2): Handle horizontal scroll bars.
1784 (window--display-buffer): Call `preserve-size' if asked for.
1785 (display-buffer): Mention `preserve-size' alist member in doc-string.
1786 (fit-window-to-buffer): New argument PRESERVE-SIZE.
1787 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
1788 scroll bar on ispell's windows. Don't count window lines and
1789 don't deal with dedicated windows.
1790 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
1791 do the window handling.
1792 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
1793 (ispell-display-buffer): New function to reuse, create and fit
1794 window to ispell's buffers. (Bug#3413)
1795
1796 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1797
1798 * emacs-lisp/package.el (package-activate): Do not re-activate or
1799 reload the dependencies (bug#19390).
1800
1801 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
1804 (c-update-modeline):
1805 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
1806 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
1807 (c-mode-base-map): Use c-subword-mode.
1808
1809 2014-12-18 Eli Zaretskii <eliz@gnu.org>
1810
1811 * international/mule-diag.el (describe-font-internal):
1812 Display additional info returned by font-info.
1813
1814 * linum.el (linum--face-width): Rename from linum--face-height,
1815 and use the new functionality of font-info.
1816 (linum-update-window): Use linum--face-width and frame-char-width,
1817 instead of approximating with height.
1818
1819 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1820
1821 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
1822 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
1823
1824 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
1825 and a docstring.
1826 (package-activate): Call itself on dependencies on PACKAGE with
1827 the same FORCE argument. Pass FORCE as RELOAD into
1828 `package-activate-1' (bug#19390).
1829
1830 2014-12-17 Sam Steingold <sds@gnu.org>
1831
1832 * emacs-lisp/package.el (package--list-loaded-files):
1833 Handle `(nil ...)' elements in `load-history'.
1834
1835 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
1836
1837 * net/tramp-sh.el (tramp-histfile-override): New variable.
1838 (tramp-open-shell, tramp-maybe-open-connection): Use it.
1839
1840 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * vc/vc.el: Improve `dir-status-files' description.
1843
1844 * emacs-lisp/package.el (package--list-loaded-files): Don't call
1845 file-truename on load-history elements (bug#19390).
1846
1847 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
1848
1849 * emacs-lisp/seq.el: New file.
1850
1851 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
1854 is 0 and there is no input pending.
1855
1856 2014-12-15 Juri Linkov <juri@linkov.net>
1857
1858 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
1859 only on the return value (bug#19383).
1860
1861 2014-12-15 Juri Linkov <juri@linkov.net>
1862
1863 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
1864 the wrapped search by the length of the search string to be able
1865 to lazy-highlight the whole search string at point (bug#19353).
1866
1867 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1868
1869 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
1870
1871 2014-12-14 Alan Mackenzie <acm@muc.de>
1872
1873 * cus-start.el (all): Add fast-but-imprecise-scrolling.
1874
1875 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
1876
1877 * let-alist.el: Add lexical binding.
1878
1879 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
1880
1881 * emacs-lisp/package.el (package-menu-mode): Use an extra column
1882 for the "Version" column, to accomodate date-and-time-based versions.
1883
1884 2014-12-14 Cameron Desautels <camdez@gmail.com>
1885
1886 * cus-edit.el (custom-unsaved-options): New function, extracted
1887 from `customize-unsaved'.
1888 (custom-unsaved): Use it.
1889 (custom-prompt-customize-unsaved-options): New function.
1890 (Bug#19328)
1891
1892 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1893
1894 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
1895
1896 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1897
1898 Move ASYNC argument to the `diff' VC command to the fifth
1899 position, for better compatibility with existing third-party code,
1900 and document it.
1901
1902 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
1903 backend `diff' command in the last position.
1904
1905 * vc/vc-svn.el (vc-svn-diff):
1906 * vc/vc-src.el (vc-src-diff):
1907 * vc/vc-sccs.el (vc-sccs-diff):
1908 * vc/vc-rcs.el (vc-rcs-diff):
1909 * vc/vc-mtn.el (vc-mtn-diff):
1910 * vc/vc-hg.el (vc-hg-diff):
1911 * vc/vc-git.el (vc-git-diff):
1912 * vc/vc-dav.el (vc-dav-diff):
1913 * vc/vc-cvs.el (vc-cvs-diff):
1914 * vc/vc-bzr.el (vc-bzr-diff):
1915 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
1916
1917 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
1918
1919 * emacs-lisp/cconv.el (cconv--analyze-use):
1920 Rename from cconv--analyse-use.
1921 (cconv--analyze-function): Rename from cconv--analyse-function.
1922 (cconv-analyze-form): Rename from cconv-analyse-form.
1923
1924 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
1925
1926 * net/shr.el (shr-next-link): Don't error out at eob.
1927
1928 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1929
1930 * isearch.el (isearch-open-necessary-overlays): Open overlay
1931 ending at point (bug#19333).
1932
1933 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1934
1935 * net/shr.el (shr-fold-text): New function.
1936 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
1937 alt/title texts.
1938 (shr-fold-text): Inhibit state from being altered.
1939
1940 * files.el (directory-files-recursively): Really check whether
1941 files are symlinks.
1942 (directory-name-p): New function.
1943 (directory-files-recursively): Use it.
1944
1945 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
1946
1947 * emacs-lisp/package.el (package--list-loaded-files): New function
1948 to list files in a given directory which correspond to already
1949 loaded files.
1950 (package-activate-1): Reload files given by `package--list-loaded-files'.
1951 Fix bug#10125, bug#18443, and bug#18448.
1952
1953 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
1954
1955 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
1956
1957 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * simple.el (password-word-equivalents): Add "passcode", used for
1960 numeric secrets like PINs or RSA tokens.
1961
1962 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
1965 order to determine `tramp-own-remote-path'.
1966
1967 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1968
1969 * progmodes/python.el (python-shell-parse-command):
1970 Quote `python-shell-interpreter`. (Bug#19289)
1971
1972 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
1975 (python-indent-levels): Document extra value.
1976 (python-indent-calculate-indentation): Return `noindent' in strings.
1977 (python-indent-post-self-insert-function)
1978 (python-indent-calculate-levels): Handle new value.
1979
1980 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1981
1982 * net/network-stream.el (network-stream-open-starttls): No need to
1983 check for the availability of `gnutls-available-p'.
1984
1985 * files.el (directory-files-recursively): Don't follow symlinks to
1986 other directories.
1987
1988 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
1989
1990 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
1991 * vc/vc.el: latest-on-branch-p is no longer a public method.
1992
1993 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
1994 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
1995 Remove `rollback' method, to be replaced in the future by uncommit.
1996
1997 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
1998
1999 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
2000 that there is empty output.
2001
2002 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2004 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
2005 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
2006
2007 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
2008
2009 * let-alist.el: Add new package and macro.
2010
2011 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
2012
2013 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
2014 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
2015 it's a shoot-self-in-foot archaism. Workfiles are always kept.
2016
2017 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
2018
2019 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
2020 trouble with ls over ftp. These flags result in ls returning no
2021 output, causing Tramp-breakage. (bug#19192)
2022
2023 2014-12-10 Andreas Schwab <schwab@suse.de>
2024
2025 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
2026
2027 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2028
2029 * files.el (directory-files-recursively):
2030 Use `file-name-all-completions' instead of `directory-files' for
2031 greater speed.
2032
2033 * net/shr.el (shr-tag-object): Don't bug out on text elements in
2034 <object>.
2035
2036 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
2037
2038 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
2039 and Puppetfile.
2040 (ruby-toggle-string-quotes): New command that allows you to quickly
2041 toggle between single-quoted and double-quoted string literals.
2042
2043 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
2044
2045 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
2046 list, avoids problems witt names containing hyphens.
2047
2048 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
2049
2050 Sync with upstream verilog-mode revision aa4b777.
2051 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2052 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
2053 (verilog-set-auto-endcomments): Automatically comment property/
2054 endproperty blocks to match other similar blocks like sequence/
2055 endsequence, function/endfunction, etc. Reported by Alex Reed.
2056 (verilog-set-auto-endcomments): Fix end comments for functions of
2057 type void, etc. Detect the function- or task-name when
2058 auto-commenting blocks that lack an explicit portlist.
2059 Reported by Alex Reed.
2060 (verilog-nameable-item-re): Fix nameable items that can have an
2061 end-identifier to include endchecker, endgroup, endprogram,
2062 endproperty, and endsequence. Reported by Alex Reed.
2063 (verilog-preprocessor-re, verilog-beg-of-statement):
2064 Fix indentation of property/endproperty around pre-processor
2065 directives. Reported by Alex Reed.
2066 (verilog-label-be): When auto-commenting a buffer, consider
2067 auto-comments on all known keywords (not just a subset thereof).
2068 Reported by Alex Reed.
2069 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
2070 Reported by Alex Reed.
2071 (verilog-beg-of-statement-1, verilog-at-constraint-p):
2072 Fix hanging with many curly-bracket pairs, bug663.
2073 (verilog-do-indent): Fix electric tab deleting form-feeds.
2074 Note caused by indent-line-to deleting tabls pre 24.5.
2075 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
2076 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
2077 (verilog-read-always-signals, verilog-auto-sense-sigs)
2078 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
2079 bug844. Reported by Greg Hilton.
2080
2081 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
2082
2083 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
2084 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
2085 'foreach', and 'do' keywords.
2086 (verilog-endcomment-reason-re, verilog-beg-of-statement):
2087 Fix labeling do-while blocks, bug842.
2088 (verilog-backward-token): Fix indenting sensitivity lists with
2089 named events, bug840.
2090
2091 2014-12-09 Reto Zimmermann <reto@gnu.org>
2092
2093 Sync with upstream vhdl mode v3.36.1.
2094 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2095 (vhdl-compiler-alist): Anchor all error regexps.
2096 (vhdl-compile-use-local-error-regexp): Change default to nil.
2097 (vhdl-asort, vhdl-anot-head-p): Remove.
2098 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
2099 Remove optional argument of vhdl-aget and update all callers.
2100 (vhdl-import-project): Also set `vhdl-compiler'.
2101
2102 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2103
2104 * files.el (find-files): New function.
2105
2106 * net/shr.el (shr-dom-print): Don't print comments.
2107 (shr-tag-svg): Give inline SVG images the right type.
2108
2109 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
2110 certificates in the header line.
2111 (eww-invalid-certificate, eww-valid-certificate): New faces.
2112
2113 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
2114
2115 * progmodes/python.el (inferior-python-mode):
2116 Set `comint-prompt-read-only` to `t` only locally.
2117
2118 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2119
2120 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2121 (nsm-format-certificate): Include more data about the connection.
2122 (nsm-query): Fill the text to that it looks nicer.
2123 (nsm-check-protocol): Also warn if using SSL3 or older.
2124
2125 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2128
2129 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2130
2131 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2132
2133 * info.el (Info-mode-map): Remove left-over binding.
2134
2135 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2136 (avl-tree--root): Remove redundant defsetf.
2137
2138 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2139
2140 * net/nsm.el (network-security-level): Remove the detailed
2141 description, which was already outdated, and refer the users to
2142 the manual.
2143 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2144 (bug#19153).
2145
2146 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
2147
2148 * net/eww.el (eww-buffers-mode): New major mode.
2149 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2150 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2151 New commands/functions (bug#19131).
2152
2153 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2154
2155 * net/gnutls.el (gnutls-negotiate): Ignore files found via
2156 'file-name-handler-alist' since the gnutls library can't use those
2157 (bug#15866).
2158
2159 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
2160
2161 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2162 when FILES is non-nil (bug#19304).
2163
2164 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
2165
2166 * vc/vc-arch.el: Move to obsolete directory so a test framework
2167 won't trip over bit-rot in it. There has been no Arch snapshot
2168 for nine years.
2169
2170 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2171
2172 * net/eww.el (eww-follow-link): Revert prefix behaviour to
2173 previous behavior.
2174 (eww-copy-page-url): Add doc string.
2175
2176 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2177
2178 * net/eww.el (eww): Move history recording here...
2179 (eww-browse-url): ... from here (bug#19253).
2180
2181 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2182 iterating over possible buffer names.)
2183
2184 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2185
2186 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2187 (eww-current-buffer): Compilation fix for bug#18550 patch.
2188
2189 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2190
2191 * net/eww.el (eww-list-histories): Restore the history in the
2192 correct buffer (bug#18550).
2193
2194 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2195
2196 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2197 displaying shortened titles first (bug#16398).
2198
2199 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
2200
2201 * progmodes/python.el: Recognize docstrings.
2202 (python-docstring-at-p, python-font-lock-syntactic-face-function):
2203 New functions.
2204 (python-mode): Use them.
2205
2206 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
2207
2208 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2209 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2210 (newsticker--treeview-create-groups-menu)
2211 (newsticker--treeview-create-tree-menu): Remove.
2212 (newsticker--treeview-tree-open-menu): New.
2213 (newsticker-treeview-tree-click): Pass event to
2214 `newsticker-treeview-tree-do-click'.
2215 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2216
2217 2014-12-05 Juri Linkov <juri@linkov.net>
2218
2219 * comint.el (comint-history-isearch-search)
2220 (comint-history-isearch-wrap): Use field-beginning instead of
2221 comint-line-beginning-position.
2222 (comint-send-input): Go to the end of the field instead of the end
2223 of the line to accept whole multi-line input.
2224 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2225
2226 2014-12-05 Juri Linkov <juri@linkov.net>
2227
2228 * minibuffer.el (minibuffer-completion-help):
2229 Compare selected-window with minibuffer-window to check whether
2230 completions should be displayed near the minibuffer. (Bug#17809)
2231 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2232
2233 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
2234
2235 * vc/vc-mtn.el (vc-mtn-root):
2236 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2237
2238 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2241 of the whole pipe when indenting an opening keyword after a |.
2242 Generalize this treatment to opening keywords like "while" (bug#18031).
2243
2244 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * simple.el (newline): Place the hook buffer-locally,
2247 to make sure it's first.
2248
2249 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2250 Fix handling of symbols with different syntax at beginning/end or with
2251 symbol rather than word syntax.
2252
2253 2014-12-05 Eli Zaretskii <eliz@gnu.org>
2254
2255 * simple.el (line-move): If noninteractive, call line-move-1, not
2256 forward-line, since the former is compatible with line-move-visual
2257 both in terms of the column to which it moves and the return
2258 value. (Bug#19211)
2259
2260 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * vc/ediff-init.el (ediff-odd-p): Remove.
2263 (ediff-background-face): Use cl-oddp instead.
2264 (ediff-buffer-live-p): Make it a defsubst.
2265
2266 * tooltip.el (tooltip-region-active-p): Remove.
2267
2268 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2269 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2270
2271 * fringe.el (fringe-bitmap-p): Make it a plain function.
2272
2273 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2274 (class-p, generic-p, eieio-object-p, class-abstract-p):
2275 Make them defsubst, so as to avoid corner case problems where
2276 the arg might be evaluated in the condition-case, or it can't be passed
2277 to higher-order functions like `cl-some'.
2278
2279 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2280
2281 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2282 and remove old menu-related code.
2283
2284 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2285
2286 * net/eww.el (eww-display-pdf): Let mailcap determine how to
2287 display PDF files (bug#19270).
2288
2289 2014-12-05 Juri Linkov <juri@linkov.net>
2290
2291 Compare with the most recent window by default.
2292 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2293 (compare-windows-get-recent-window)
2294 (compare-windows-get-next-window): New functions.
2295 (compare-windows, compare-windows-sync-default-function):
2296 Use `compare-windows-get-window-function' instead of `next-window'.
2297 (compare-windows): Add diff/match messages with region boundaries.
2298 (Bug#19170)
2299
2300 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2303
2304 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2305
2306 * net/shr.el (shr--extract-best-source): Ignore non-text children.
2307
2308 2014-12-04 Eli Zaretskii <eliz@gnu.org>
2309
2310 Implement copying of a buffer portion while preserving visual order.
2311 * simple.el (bidi-directional-controls-chars)
2312 (bidi-directional-non-controls-chars): New variables.
2313 (squeeze-bidi-context-1, squeeze-bidi-context)
2314 (line-substring-with-bidi-context)
2315 (buffer-substring-with-bidi-context): New functions.
2316
2317 * files.el (file-tree-walk): Doc fix.
2318
2319 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
2320 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2321
2322 * autoinsert.el (auto-insert-alist): Update C/C++ header and
2323 program support to match more extensions. Replace non-alnum
2324 characters when generating include guards (headers) and check for
2325 more extensions when generating includes (programs)
2326 (bug#19254).
2327
2328 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
2329
2330 * files.el (file-tree-walk): Fix docstring.
2331
2332 2014-12-03 Karl Fogel <kfogel@red-bean.com>
2333
2334 Fix bug whereby saving files hung in VC hook.
2335
2336 Saving a buffer visiting a file under SVN control would hang if
2337 the remote repository were unreachable, because the VC hooks tried
2338 to run "svn status -u" on the file, where the "-u" tells svn to
2339 get update information from the remote repository.
2340 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2341
2342 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2343 argument and always pass "-v" to "svn status", never "-u".
2344
2345 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/inline.el: Fix up copyright header.
2348 (inline-quote, inline-const-p, inline-const-val, inline-error):
2349 Silence compiler warnings.
2350 (inline-letevals): Fix edebug spec.
2351 (inline--testconst-p): Consider lambda expressions as const-p.
2352 (inline--getconst-val): Use inline--testconst-p.
2353
2354 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2355 and change default to stay in the minibuffer when called from
2356 the minibuffer (bug#19250).
2357 (lazy-completion-table): Use this new argument to preserve the
2358 old behavior.
2359
2360 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2361 incorrect lexical elements (bug#19250).
2362
2363 2014-12-03 A. N. Other <none@example.com>
2364
2365 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2366
2367 2014-12-02 Glenn Morris <rgm@gnu.org>
2368
2369 * whitespace.el (whitespace-big-indent-regexp): Add :version.
2370
2371 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2372
2373 * subr.el (filter): New macro. Because it's just silly for a Lisp
2374 not to have this in 2014. And VC needs it.
2375
2376 * vc.el: All backends: API simplification: Abolish dir-status.
2377 It's replaced by dir-status-files.
2378
2379 * vc.el: All backends: API simplification: Remove 4th
2380 'default-state' argument from vc-dir-status files and its backend
2381 methods - no backend method ever set it. It was used only in the
2382 fallback method to to set a default of 'up-to-date, though a
2383 convoluted call chain obscured this.
2384
2385 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2386
2387 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2388 improving behavior on directories using multiple file-oriented VCSes.
2389
2390 * vc/vc.el: All backends: API simplification; clear-headers
2391 is no longer a public method. It is now local to the one place
2392 it's used, in the RCS steal-lock method.
2393
2394 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2395
2396 * vc/vc.el: In all backends: API simplification; could-register
2397 is no longer a public method. (vc-cvs.el still has a private
2398 implementation.)
2399
2400 * vc/vc.el: In all backends: API cleanup; the backend diff method
2401 takes an explicit async flag. This eliminates a particularly ugly
2402 global.
2403
2404 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2405 VC randomly/unpredictably fails without it; cause not yet established.
2406
2407 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 Merge some of the differences from the standalone CC-mode.
2410 The main change is to only use the `category' text-property only when
2411 available. For that many calls are changed to use c-get-char-property,
2412 c-next-single-property-change, c-sc-scan-lists,
2413 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
2414
2415 * progmodes/cc-mode.el (c-just-done-before-change): New var.
2416 (c-basic-common-init): Initialize it.
2417 (c-common-init): Only use mode-require-final-newline when available.
2418 (c-before-change): Check and set c-just-done-before-change.
2419 (c-after-change): Re-set c-just-done-before-change.
2420 (c-advise-fl-for-region): New macro.
2421 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
2422 (font-lock-after-change-function, jit-lock-after-change):
2423 Advise if needed.
2424
2425 * progmodes/cc-langs.el (c-modified-constant): New lang var.
2426 (c-known-type-key): Don't make a list just to throw it away.
2427
2428 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
2429 Handle the case where categories are not available.
2430 (c-record-parse-state-state, c-replay-parse-state-state):
2431 Handle marker values.
2432 (c-before-change-check-<>-operators): Look for the `syntax-table'
2433 property rather than for the corresponding `category'.
2434 (c-looking-at-decl-block): Remove unused var
2435 `c-disallow-comma-in-<>-arglists'.
2436 (c-forward-<>-arglist-recur): Remove unused var
2437 `orig-record-found-types'.
2438
2439 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
2440 (c-use-category): New const.
2441 (c-next-single-property-change): New macro.
2442 (c-region-is-active-p): Prefer region-active-p when available.
2443 (c-search-backward-char-property): Fix old min/max typo; probably
2444 a copy/paste error.
2445 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
2446 Turn them into macros that obey c-use-category.
2447 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
2448 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
2449 (c-sc-scan-lists, c-sc-parse-partial-sexp)
2450 (c-looking-at-non-alphnumspace): New macros.
2451 (c-sc-parse-partial-sexp-no-category): New function.
2452 (c-emacs-features): Add `category-properties' element.
2453
2454 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2455 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
2456 not available.
2457 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
2458 (c-indent-line-or-region): Use c-region-is-active-p.
2459
2460 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
2461 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
2462 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
2463 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
2464 (cc-bytecomp-obsolete-fun): Delete unused functions.
2465
2466 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
2467
2468 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2469
2470 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
2471 dom.el changes.
2472
2473 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
2476 current "project" rather than just the current directory.
2477 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
2478 the file names make sense.
2479
2480 * vc/smerge-mode.el (smerge-swap): New command.
2481
2482 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
2483
2484 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
2485
2486 * net/newst-treeview.el (newsticker--treeview-item-show):
2487 Check window liveliness before measuring its width.
2488
2489 * net/newst-backend.el (newsticker--get-news-by-url-callback):
2490 Pass correct status to `newsticker--sentinel-work'.
2491 (newsticker--sentinel-work): Use "newsticker--download-error" as
2492 guid in order to prevent multiple "Could not download..."
2493 messages. Fixes bug#19166.
2494
2495 2014-12-01 Ivan Shmakov <ivan@siamics.net>
2496
2497 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
2498 correct buffer (bug#19225).
2499
2500 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2501
2502 * net/nsm.el (network-security-level): Change the default to `medium'.
2503
2504 * net/eww.el (eww): Leave point in a place that doesn't cause
2505 scrolling when displaying "Loading...".
2506
2507 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2508
2509 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
2510 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
2511 'merge-branch'. Prompting for merge revisions is pushed down to
2512 the back ends; this fixes a layering violation that caused bad
2513 behavior with SVN.
2514
2515 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2516 vc-stay-local-p and repository-hostname are no longer public
2517 methods. Only the CVS and SVN backends used these, and the SVN
2518 support was conditioned out because svn status -v is too slow.
2519 The CVS back end retains this machinery and the vc-stay-local
2520 configuration variable now only affects it.
2521
2522 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * emacs-lisp/inline.el: New file.
2525
2526 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2527
2528 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2529 vc-state-heuristic is no longer a public method, having been
2530 removed where it is redundant, unnecessary, or known buggy.
2531 This eliminated all backends except CVS. Eliminates bug#7850.
2532
2533 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
2534 Eliminate vc-mistrust-permissions. It was only relevant to the
2535 RCS and SCCS back ends and defaulted to t. Code now always
2536 mistrusts permissions - by actual measurement the effect on
2537 performance is negligible. As a side effect bug#11490 is now
2538 irrelevant.
2539
2540 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2541 vc-workfile-unchanged-p is no longer a public method (but the RCS
2542 and SCCS back ends retain it as a private method used in state
2543 computation). This method was redundant with vc-state and usually
2544 implemented as a trivial call to same. Fixes the failure mode
2545 described in bug#694.
2546
2547 * vc/vc.el: All backends: API simplification; init-revision is
2548 gone, and vc-registered functions no longer take an
2549 initial-revision argument.
2550
2551 2014-11-29 Glenn Morris <rgm@gnu.org>
2552
2553 * vc/vc-src.el (vc-src, vc-src-diff-switches)
2554 (vc-src-master-templates): Fix :version tags.
2555
2556 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
2557
2558 * outline.el (outline-move-subtree-down): Refactor and improve code.
2559
2560 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2561 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * outline.el (outline-move-subtree-down): Make sure we can move
2564 forward to find the end of the subtree and the insertion point
2565 (bug#19102).
2566
2567 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2568
2569 * progmodes/python.el (python-shell-completion-setup-code):
2570 Use __builtin__ module (or builtins in Python 3) and catch all errors
2571 when importing readline and rlcompleter.
2572
2573 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2574
2575 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
2576 (todo-revert-buffer): New function.
2577 (todo-modes-set-1): Use it as the buffer-local value of
2578 revert-buffer-function.
2579
2580 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2581
2582 * calendar/todo-mode.el (todo-mode): If called interactively, just
2583 display a message saying to call todo-show to enter Todo mode
2584 (Bug#19112).
2585
2586 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
2587
2588 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2589 (Bug#18579)
2590
2591 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
2592 files. (Bug#18579)
2593
2594 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2595
2596 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
2597 remote `buffer-file-name'.
2598
2599 2014-11-29 Leo Liu <sdl.web@gmail.com>
2600
2601 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2602
2603 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2604
2605 Set PYTHONUNBUFFERED on shell startup.
2606
2607 * progmodes/python.el (python-shell-unbuffered): New var.
2608 (python-shell-calculate-process-environment): Use it.
2609
2610 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2611
2612 * net/tramp.el (tramp-action-password): Clean password on subsequent
2613 attempts even if there was no wrong password indication. (Bug#19047)
2614
2615 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
2616 fallback.
2617 (tramp-open-connection-setup-interactive-shell): No need to check
2618 for nil as `tramp-get-remote-locale' return value.
2619
2620 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2621
2622 * vc/vc-git.el (vc-git-command, vc-git--call):
2623 Bind coding-system-for-read and coding-system-for-write to
2624 vc-git-commits-coding-system.
2625 (vc-git-previous-revision): Use "~1" instead of "^", since the
2626 latter is a special character for MS-Windows system shells.
2627
2628 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2629
2630 Improve XEmacs compatibility.
2631
2632 * net/tramp.el (tramp-autoload-file-name-handler):
2633 Wrap `temporary-file-directory' by `symbol-value', it doesn't
2634 exist in XEmacs.
2635 (tramp-read-passwd): Don't use `with-timeout-suspend' and
2636 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
2637 (tramp-time-less-p, tramp-time-subtract): Remove functions.
2638 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
2639 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
2640 * net/tramp-cache.el (tramp-get-file-property):
2641 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2642 Use `time-less-p' and `time-subtract, respectively.
2643
2644 * net/tramp-adb.el (top): Do not require time-date.el.
2645
2646 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
2647
2648 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2649 Check, whether `utf-8' is a valid coding system.
2650
2651 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2652
2653 * vc/vc.el (vc-retrieve-tag): Doc fix.
2654
2655 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
2658 (bug#19152).
2659
2660 2014-11-28 Martin Rudalics <rudalics@gmx.at>
2661
2662 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
2663 * help.el (help-window-old-frame): New variable.
2664 (help-window-select): Default to nil (Bug#11039).
2665 Rewrite doc-string.
2666 (help-window-setup): When the help window appears on another
2667 frame and `help-window-select' is non-nil, give that frame input
2668 focus too (Bug#19012).
2669 (with-help-window): Store selected frame in
2670 help-window-old-frame.
2671
2672 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
2673
2674 * net/newst-treeview.el (newsticker--treeview-load): Take care of
2675 nil value for `newsticker-groups-filename'.
2676
2677 2014-11-28 Daiki Ueno <ueno@gnu.org>
2678
2679 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2680 (epa-sign-region, epa-encrypt-region):
2681 Use `epg-context-set-{passphrase,progress}-callback', instead of
2682 `setf'. This partially reverts commit 9e48a95c (bug#19150).
2683 Reported by José A. Romero L.
2684
2685 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2686
2687 * net/eww.el (eww-restore-history):
2688 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
2689
2690 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2691
2692 * net/newst-backend.el (newsticker--parse-atom-1.0):
2693 Handle embedded (x)html in summary node.
2694
2695 2014-11-27 Sam Steingold <sds@gnu.org>
2696
2697 * menu-bar.el (menu-bar-open): When everything else fails,
2698 use (mouse-menu-bar-map).
2699
2700 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2701
2702 * net/newst-treeview.el (newsticker-groups-filename):
2703 Change default value to nil. Point out that variable is obsolete in doc
2704 string.
2705 (newsticker--treeview-load): Change wording of the questions the
2706 user is asked when `newsticker-groups-filename' is found to be
2707 used and we offer to read and remove the groups file. (Bug#19165)
2708
2709 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2710
2711 * net/eww.el (eww): Record the new URL immediately, so that if the
2712 HTTP fetch fails, we have the right URL in the buffer.
2713 (eww-process-text-input): Don't shorten the input field if
2714 deleting at the last character (bug#19085).
2715 (eww-restore-history): Inhibit change functions while restoring
2716 the history.
2717 (eww-process-text-input): Fix deletion at the start of the field, too.
2718 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
2719 (eww-process-text-input): Try to keep track of the size more reliably.
2720
2721 * dom.el (dom-pp): New function.
2722
2723 2014-11-27 Eli Zaretskii <eliz@gnu.org>
2724
2725 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
2726 Don't assume --long is the default for "bzr log", always specify
2727 it explicitly, in case the user defined an alias for 'log' that
2728 uses some other format.
2729
2730 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2731
2732 * progmodes/python.el (python-eldoc--get-doc-at-point):
2733 Strip shell output before returning. (bug#18794)
2734
2735 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
2736
2737 Fix indentation before `!=' and after `+='. Originally reported
2738 in https://github.com/mooz/js2-mode/issues/174.
2739 * progmodes/js.el (js--indent-operator-re): Make assignments and
2740 (in)equality operator a separate case.
2741 (js--continued-expression-p): Escape the second `+' in the regexp.
2742
2743 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
2746
2747 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2748
2749 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
2750 when querying about new certificates.
2751
2752 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
2753
2754 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
2755 can be strings.
2756 (dom-elements): Protect against non-text nodes.
2757 (dom-non-text-children): New function.
2758
2759 * net/eww.el (eww-tag-title): Use `dom-text'.
2760
2761 2014-11-26 Sam Steingold <sds@gnu.org>
2762
2763 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2764
2765 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2766
2767 * net/eww.el (eww-highest-readability): More dom.el fixes.
2768
2769 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
2770
2771 * net/newst-backend.el (newsticker--parse-generic-items):
2772 Take care of UIDs when adding elements to cache.
2773
2774 2014-11-26 Alan Mackenzie <acm@muc.de>
2775
2776 Remove spurious reference to symbol category_properties.
2777 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
2778
2779 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2780
2781 * net/eww.el: Use the new dom.el accessors throughout.
2782
2783 * net/shr.el: Ditto.
2784
2785 * dom.el: New file.
2786
2787 2014-11-26 Glenn Morris <rgm@gnu.org>
2788
2789 * arc-mode.el (archive-visit-single-files): Add :version.
2790
2791 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2792
2793 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
2794 elements.
2795 (nsm-warnings-ok-p): The new version of this function always
2796 returned nil when everything was OK.
2797
2798 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
2799
2800 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
2801
2802 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
2803 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
2804
2805 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2806
2807 * emacs-lisp/byte-run.el (function-put): Match argument names to
2808 docstring.
2809
2810 2014-11-24 Sam Steingold <sds@gnu.org>
2811
2812 * vc/vc-hooks.el (vc-directory-exclusion-list):
2813 Fix a trivial typo (bug#19171).
2814
2815 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * vc/vc-hooks.el (vc-state-base-face): Don't override
2818 mode-line-inactive.
2819
2820 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2821
2822 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
2823 (eww-process-text-input): Inhibit read only so that input fields
2824 don't get shortened (bug#19085).
2825
2826 2014-11-24 Leo Liu <sdl.web@gmail.com>
2827
2828 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
2829
2830 * window.el (with-temp-buffer-window)
2831 (with-current-buffer-window, with-displayed-buffer-window):
2832 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
2833 * emacs-lisp/cl-lib.el (substring):
2834 * emacs-lisp/cl-extra.el (cl-getf): Use it.
2835
2836 2014-11-24 Eli Zaretskii <eliz@gnu.org>
2837
2838 * isearch.el (isearch-update): Don't assume
2839 pos-visible-in-window-p will return nil when point is hscrolled
2840 out of view. (Bug#19157)
2841
2842 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
2843
2844 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
2845 (eww-follow-link): Follow in new buffer in case of prefix
2846 argument, open externally with double prefix (bug#19130).
2847
2848 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2849
2850 * net/eww.el (eww-display-html): Decode the document-defined charset.
2851 (eww): Pop to the *eww* buffer immediately after executing the
2852 `M-x eww' command to avoid having buffers pop up later.
2853 (eww-display-html): Don't pop the *eww* buffer.
2854 (eww-display-raw): Ditto.
2855 (eww-display-image): Ditto.
2856 (eww-follow-link): Make going to #targets in the page work again.
2857
2858 2014-11-23 Ivan Shmakov <ivan@siamics.net>
2859
2860 * net/eww.el (eww-suggest-uris): New variable.
2861 (eww-suggested-uris): New function.
2862 (eww): Default to URL under point.
2863 (eww-links-at-point): New function.
2864
2865 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2866
2867 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
2868
2869 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2870
2871 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
2872
2873 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2874
2875 * net/eww.el (eww-set-character-encoding): New command and keystroke.
2876 (eww-display-raw): Use it (bug#16225).
2877
2878 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2879
2880 * net/nsm.el (network-security-level): Rename from
2881 `nsm-security-level' and documented.
2882
2883 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
2884 we're sending a password.
2885
2886 * net/nsm.el: New file that implements a Network Security Manager.
2887
2888 * net/network-stream.el (open-network-stream): Add a new
2889 :warn-unless-encrypted parameter.
2890 (network-stream-open-plain): Allow warning unless encrypted.
2891 (network-stream-open-starttls): Call the Network Security Manager.
2892 (network-stream-open-tls): Ditto.
2893
2894 2014-11-23 Leo Liu <sdl.web@gmail.com>
2895
2896 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
2897 (calendar-chinese-to-absolute-for-diary)
2898 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
2899 Handle leap months in Chinese calendar. (Bug#18953)
2900
2901 2014-11-22 Alan Mackenzie <acm@muc.de>
2902
2903 Fix error with `mark-defun' and "protected:" in C++ Mode.
2904 Fixes: debbugs:19134.
2905
2906 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
2907 return code of (label) from c-beginning-of-decl-1.
2908
2909 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
2910
2911 * net/newst-backend.el (newsticker--sentinel-work):
2912 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
2913
2914 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
2917 (tramp-sh-handle-process-file): Propagate `process-environment'.
2918
2919 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
2920 Tramp propagates environment variables now.
2921
2922 2014-11-22 Eric S. Raymond <esr@snark>
2923
2924 * vc/vc-filewise.el: New file to isolate code used only by the
2925 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
2926 live in vc.el and certainly not in vc-hooks.el.
2927
2928 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
2929 This is preparatory to isolating all the 'master' functions
2930 used only by the file-oriented back ends. With this done first,
2931 the substantive diffs will be easier to read.
2932
2933 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2934
2935 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
2936 that is recognized by `help-mode'.
2937
2938 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * desktop.el (desktop-create-buffer): Use activate-mark to set
2941 `mark-active' (bug#19058).
2942
2943 2014-11-21 Eric S. Raymond <esr@snark>
2944
2945 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
2946 nil state.
2947
2948 2014-11-21 Eli Zaretskii <eliz@gnu.org>
2949
2950 * vc/vc.el (vc-deduce-fileset): Support invocation from
2951 *vc-change-log* buffer. (Bug#19084)
2952
2953 2014-11-13 Matthew Leach <matthew@mattleach.net>
2954
2955 * arc-mode.el (archive-visit-single-files): New.
2956 (archive-mode): Visit file if archive contains a single file.
2957 (Bug#1702)
2958
2959 2014-11-21 Ulrich Müller <ulm@gentoo.org>
2960
2961 * vc/vc.el: Fix a typo in the commentary.
2962
2963 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
2964
2965 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
2966 testing and a real log-view mode.
2967
2968 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
2969 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
2970 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
2971 checkout methods; where it matters (which is only in SCCS and RCS)
2972 files are always checked out editable. This may actually have
2973 been dynamically true already - it looks like the vc-next-action
2974 code evolved past visiting the other case. Tested with RCS.
2975
2976 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
2977 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
2978 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
2979 argument from the backend checkin methods. Only the RCS, SCCS,
2980 and CVS back ends tried to do anything with it, and that code was
2981 never exercised. Chiseling away the cruft of decades...
2982
2983 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2984
2985 * net/eww.el (eww-render): Remove a no-op :title setting.
2986
2987 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2988
2989 * net/eww.el (eww-history-limit): New variable.
2990 (eww-save-history): Use it (bug#19105).
2991 (eww-reload): Reload the page in the right buffer.
2992
2993 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2994
2995 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
2996
2997 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2998
2999 * net/eww.el (eww-desktop-remove-duplicates)
3000 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
3001 (eww-mode): Set up desktop mode (bug#18010).
3002 (eww-desktop-data-save, eww-desktop-data-1)
3003 (eww-desktop-history-duplicate, eww-desktop-misc-data)
3004 (eww-restore-desktop): New functions.
3005
3006 2014-11-19 Eli Zaretskii <eliz@gnu.org>
3007
3008 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
3009 correct buffer. (Bug#19101)
3010
3011 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3012
3013 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
3014 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
3015
3016 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
3017
3018 * ido.el (ido-bury-buffer-at-head): New command.
3019 (ido-buffer-completion-map): Bind it to C-S-b.
3020
3021 2014-11-18 Juri Linkov <juri@linkov.net>
3022
3023 * simple.el (next-line-or-history-element): Wrap next-line
3024 in with-no-warnings.
3025 (previous-line-or-history-element): Wrap previous-line
3026 in with-no-warnings.
3027
3028 2014-11-18 Juri Linkov <juri@linkov.net>
3029
3030 * progmodes/grep.el (grep-compute-defaults):
3031 Compute grep-highlight-matches before its use.
3032
3033 2014-11-18 Juri Linkov <juri@linkov.net>
3034
3035 * replace.el (query-replace-from-to-separator): Turn defvar into
3036 defcustom. Wrap char-displayable-p in ignore-errors because an
3037 attempt to autoload char-displayable-p fails during pre-loading.
3038 Move (propertize "\0" ... 'separator t) out of customizable part
3039 to query-replace-read-from.
3040 (query-replace-read-from): Call custom-reevaluate-setting on
3041 query-replace-from-to-separator to reevaluate the separator
3042 depending on the return value of char-displayable-p.
3043 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
3044
3045 2014-11-18 Juri Linkov <juri@linkov.net>
3046
3047 * bindings.el (minibuffer-local-map): Rebind [down] from
3048 next-history-element to next-line-or-history-element, and [up]
3049 from previous-history-element to previous-line-or-history-element.
3050
3051 * simple.el (next-line-or-history-element)
3052 (previous-line-or-history-element): New commands.
3053 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
3054
3055 2014-11-18 Leo Liu <sdl.web@gmail.com>
3056
3057 * emacs-lisp/nadvice.el (define-advice): New macro.
3058 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3059 Add define-advice.
3060 (lisp-font-lock-keywords-1): Add define-advice.
3061
3062 2014-11-18 Daiki Ueno <ueno@gnu.org>
3063
3064 * epg.el (epg-context): New slot EDIT-CALLBACK.
3065 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
3066 (epg-reset): Reset EDIT-CALLBACK of the context.
3067 (epg-start-edit-key): New function.
3068 (epg-edit-key): New function.
3069
3070 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
3071
3072 Port new time stamp handling to Emacs 23.2.
3073 This fix is for Gnus. Reported by Katsumi Yamaoka.
3074 * calendar/time-date.el (time-add, time-subtract, time-less-p):
3075 Use eval-and-compile, not eval-when-compile.
3076
3077 2014-11-18 Daiki Ueno <ueno@gnu.org>
3078
3079 * epg.el (epg-context-set-passphrase-callback)
3080 (epg-context-set-progress-callback): Check if the CALLBACK
3081 argument is a function, instead of a cons.
3082
3083 2014-11-18 Daiki Ueno <ueno@gnu.org>
3084
3085 * epa-file.el (epa-file-insert-file-contents)
3086 (epa-file-write-region): Remove redundant check of
3087 epa-pinentry-mode.
3088 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3089 (epa-sign-region, epa-encrypt-region): Remove redundant check of
3090 epa-pinentry-mode.
3091
3092 2014-11-18 Daiki Ueno <ueno@gnu.org>
3093
3094 * epa-file.el (epa-file-insert-file-contents): Don't show
3095 "*Error*" buffer if input file does not exist.
3096 Reported by Herbert J. Skuhra.
3097
3098 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
3099 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3100
3101 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
3102 An alternative version of the patch from bug#13871.
3103 (c-operators): Add "alignof".
3104 (c-primitive-type-kwds): Add "char16_t", "char32_t".
3105 (c-type-modifier-kwds): Add "constexpr", "noexcept".
3106 (c-modifier-kwds): Add "thread_local".
3107 (c-constant-kwds): Add "nullptr".
3108
3109 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
3110
3111 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
3112 New variables for specifying tildify pattern and representation of
3113 a hard space -- a no-break space by default -- respectively.
3114 Being buffer-local they are much easier to handle than
3115 `tildify-string-alist' and `tildify-pattern-alist' respectively
3116 that have been used so far. They also works better with derived
3117 modes.
3118 (tildify-foreach-region-function): New variable specifying
3119 a function determining portions of buffer that should be
3120 tildified. It allows major modes to create a filtering function
3121 more elaborate than a set of regular expressions. Initialised to
3122 `tildify--deprecated-ignore-evironments' by default to handle now
3123 deprecated `tildify-ignored-environments-alist' variable.
3124 (tildify--foreach-region): A new function that takes
3125 `tildify-foreach-region-function' into account and calls callback
3126 for regions of the buffer that should be tildified.
3127 (tildify-foreach-ignore-environments): A new function which can be
3128 partially applied and used as `tildify-foreach-region-function'.
3129 (tildify-ignored-environments-alist, tildify-pattern)
3130 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3131 (tildify--find-env): Rename from `tildify-find-env' and mark as
3132 obsolete.
3133 (tildify--deprecated-ignore-evironments): New function,
3134 immediately marked as obsolete, used to handle deprecated
3135 `tildify-ignored-environments-alist'.
3136
3137 * textmodes/tex-mode.el (tex-common-initialization):
3138 Set `tildify-space-string' and `tildify-foreach-region-function'
3139 variables in all variants of TeX mode since `tildify-string-alist'
3140 and `tildify-ignored-environments-alist' are now empty by default.
3141
3142 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3143 If encoding supports it use no-break space instead of character
3144 entity; this changes previous default which used a numeric
3145 reference.
3146
3147 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3148 If encoding does not support no-break space, use numeric reference;
3149 this changes previous default which used named entity (“&nbsp;”)
3150 in HTML mode.
3151
3152 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
3153
3154 * calendar/icalendar.el (icalendar-export-alarms):
3155 New customizable variable. (Bug#5433)
3156 (icalendar-export-region): Export alarms as specified in
3157 `icalendar-export-alarms'.
3158 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3159 New functions for exporting alarms.
3160
3161 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3162
3163 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3164
3165 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
3166
3167 Port new time stamp handling to old Emacs and to XEmacs.
3168 This is needed for Gnus, which copies time-date.el and which
3169 runs on older Emacs implementations.
3170 * calendar/time-date.el (with-decoded-time-value):
3171 Handle 'nil' and floating-point arg more compatibly with new Emacs.
3172 (encode-time-value, with-decoded-time-value):
3173 Obsolete only if new Emacs.
3174 (time-add, time-subtract, time-less-p): Define if not new Emacs.
3175
3176 Improve time stamp handling, and be more consistent about it.
3177 This implements a suggestion made in:
3178 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3179 Among other things, this means timer.el no longer needs to
3180 autoload the time-date module.
3181 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3182 * arc-mode.el (archive-ar-summarize):
3183 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3184 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3185 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3186 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3187 * proced.el (proced-time-lessp):
3188 * timezone.el (timezone-time-from-absolute):
3189 * type-break.el (type-break-schedule, type-break-time-sum):
3190 Simplify by using new functionality.
3191 * calendar/cal-dst.el (calendar-next-time-zone-transition):
3192 Do not return time values in obsolete and undocumented (HI . LO)
3193 format; use (HI LO) instead.
3194 * calendar/time-date.el (with-decoded-time-value):
3195 Treat 'nil' as current time. This is mostly for XEmacs.
3196 (encode-time-value, with-decoded-time-value): Obsolete.
3197 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3198 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
3199 * ldefs-boot.el: Update to match new time-date.el
3200 * proced.el: Do not require time-date.
3201
3202 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3203
3204 * net/eww.el (eww-mode): Make the buffer read-only.
3205 (eww-form-text): Inhibit read-only-ness in text input fields
3206 (bug#16476).
3207
3208 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * simple.el (execute-extended-command--shorter): Cut search here.
3211 (execute-extended-command): Instead of here.
3212
3213 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3214
3215 * progmodes/python.el (python-mode): Avoid use of set-local to
3216 keep Emacs 24.x compatibility.
3217
3218 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3219
3220 * net/shr.el (shr): Move to the new defgroup `web'.
3221
3222 * net/eww.el (eww): Ditto.
3223
3224 * simple.el (execute-extended-command): Don't show the help
3225 message if the binding isn't significantly shorter than the
3226 M-x command the user typed (bug#19013).
3227
3228 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
3229
3230 * calendar/icalendar.el (icalendar--convert-tz-offset):
3231 Return complete cons when offsets of standard time and daylight saving
3232 time are equal.
3233 (icalendar-export-region): Fix unbound variable warning.
3234
3235 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3236
3237 * progmodes/python.el (run-python): Allow CMD to be optional and
3238 default it to a safe command, even for Windows. (bug#18596)
3239
3240 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3241
3242 * progmodes/python.el (python-shell-calculate-command):
3243 Rename from python-shell-parse-command. Cleanup.
3244 (run-python, run-python-internal): Use it.
3245 (python-shell-calculate-pythonpath): Rename from
3246 python-new-pythonpath.
3247 (python-shell-calculate-process-environment): Use it.
3248 (python-shell-calculate-exec-path): Add comment.
3249
3250 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
3251
3252 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3253 for date handling.
3254
3255 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
3256
3257 * version.el (emacs-repository-get-version): Use git rev-parse
3258 instead of git log.
3259
3260 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3261
3262 * progmodes/python.el (python-indent-calculate-levels):
3263 Fix indentation behavior multiline dedenter statement. (Bug#18432)
3264
3265 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3266
3267 * progmodes/python.el (python-indent-region):
3268 Use python-indent-line and skip special cases. (Bug#18843)
3269
3270 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
3271
3272 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3273 envelope-from when reporting through sendmail (bug#19054).
3274
3275 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
3276
3277 Add faces for the VC modeline state indicator.
3278 * vc/vc-hooks.el:
3279 (vc-state-faces, vc-state-base-face)
3280 (vc-up-to-date-state, vc-needs-update-state)
3281 (vc-locked-state, vc-locally-added-state)
3282 (vc-conflict-state, vc-removed-state)
3283 (vc-missing-state, vc-edited-state):
3284 New faces.
3285 (vc-default-mode-line-string): Use them
3286
3287 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3290
3291 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3292
3293 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3294
3295 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
3296
3297 * progmodes/python.el (python-eldoc-setup-code): Enhance string
3298 type checks, simplify printing. (Bug#18962)
3299
3300 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
3301
3302 * progmodes/python.el (python-shell-font-lock-kill-buffer):
3303 (python-shell-font-lock-with-font-lock-buffer)
3304 (python-shell-get-buffer, python-ffap-module-path):
3305 Use `derived-mode-p' instead of equality test on `major-mode'.
3306
3307 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3308
3309 * progmodes/python.el (python-shell-virtualenv-root): Rename from
3310 python-shell-virtualenv-path.
3311 (python-shell-internal-get-process-name)
3312 (python-shell-calculate-process-environment)
3313 (python-shell-calculate-exec-path): Use it.
3314
3315 2014-11-14 Eli Zaretskii <eliz@gnu.org>
3316
3317 * bindings.el (search-map): Fix last change: don't use 'kbd' in
3318 bindings.el, since it is not yet loaded when bindings.el is
3319 preloaded.
3320
3321 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3322
3323 * progmodes/python.el (python-shell-completion-get-completions):
3324 Fix previous merge.
3325
3326 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3327
3328 * net/eww.el (eww-render): Don't set the title to the URL.
3329
3330 2014-11-13 Ulrich Müller <ulm@gentoo.org>
3331
3332 * version.el (emacs-repository-get-version): Call `git log'
3333 command with proper format argument (bug#19049).
3334
3335 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3336
3337 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3338
3339 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3340
3341 * net/eww.el (eww-search-words): New command (bug#16258).
3342
3343 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3344
3345 * net/shr.el (shr-inhibit-images): Add a doc string.
3346
3347 * net/eww.el (eww-after-render-hook): New variable.
3348 (eww-render): Use it.
3349
3350 * net/shr.el (shr-descend): Don't descend further than
3351 `max-specpdl-size' allows (bug#16587).
3352 (shr-depth): New variable.
3353 (shr-warning): New variable.
3354
3355 2014-11-13 Ivan Shmakov <ivan@siamics.net>
3356
3357 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3358 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3359
3360 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3361
3362 * net/eww.el (eww): Add comment to clarify.
3363
3364 * net/shr.el (shr-parse-image-data): Remove blocked bits from
3365 external SVG images.
3366 (shr-tag-object): Display images in <object> forms (bug#16244).
3367 (shr-tag-table): Also insert <objects> after the tables.
3368
3369 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
3370
3371 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
3372
3373 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3374
3375 * net/eww.el (eww-form-file): Fix version number.
3376
3377 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3378
3379 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3380
3381 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3382
3383 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3384 (eww-submit-file): New key map of file upload.
3385 (eww-form-file): New file upload button and file name context.
3386 (eww-select-file): Select file and display selected file name.
3387 (eww-tag-input): Handle input tag of file type.
3388 (eww-update-field): Add point offset.
3389 (eww-submit): Add submit with multipart/form-data.
3390
3391 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3392
3393 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3394 Allow taking a buffer to render data in. This allows using several
3395 eww buffers (bug#16211).
3396
3397 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
3398
3399 * net/eww.el (eww-download-callback): Save only the file contents,
3400 not the headers.
3401
3402 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3403
3404 * net/eww.el (eww-data): New plist to store all the data relevant
3405 to a single page, used throughout the file instead of the
3406 variables `eww-current-url', `eww-current-dom',
3407 `eww-current-source', and `eww-current-title'.
3408 (eww-readable): Copy over pertinent data from the parent page.
3409 (eww-save-history): Don't let the history grow infinitely.
3410
3411 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
3412 `eww-up-url', `eww-home-url', `eww-start-url' and
3413 `eww-contents-url' and put the data into the `eww-data' plist.
3414 This allow restoring these values after going back in the history.
3415
3416 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
3417
3418 Allow VTIMEZONE where daylight and standard time zones are equal.
3419 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
3420 * calendar/icalendar.el (icalendar--convert-tz-offset):
3421 Support timezone without daylight saving time.
3422
3423 2014-11-10 Glenn Morris <rgm@gnu.org>
3424
3425 * startup.el (command-line): Handle nil elements in load-path.
3426
3427 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * help.el (view-lossage): Include the actual commands run.
3430
3431 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
3432
3433 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
3434 no state is specified. (Bug#18964)
3435
3436 2014-11-09 Eric Ludlam <zappo@gnu.org>
3437
3438 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3439 Set eieio-cog (current group) to g, which is an improved form of input
3440 group.
3441
3442 2014-11-09 Juri Linkov <juri@jurta.org>
3443
3444 * isearch.el (isearch-message-prefix): Show "Multi-file" and
3445 "Multi-buffer" instead of "Multi". (Bug#13592)
3446
3447 * misearch.el (multi-isearch-file-list):
3448 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
3449 (multi-isearch-end): Reset multi-isearch-buffer-list and
3450 multi-isearch-file-list to nil.
3451
3452 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3455 Don't call byte-compile-preprocess since the result will go through
3456 cconv.
3457 (byte-compile-output-docform): Handle uninterned `name' correctly.
3458 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
3459 to circumvent byte-compiler bug.
3460
3461 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
3462 (macroexp--compiler-macro): Remove left-over debug code.
3463
3464 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
3465
3466 2014-11-08 Juri Linkov <juri@jurta.org>
3467
3468 * simple.el (shell-command): Use buffer-name when output-buffer is
3469 a buffer. (Bug#18096)
3470
3471 2014-11-08 Juri Linkov <juri@jurta.org>
3472
3473 * minibuffer.el (minibuffer-completion-help): Compare this-command
3474 with completion-at-point. (Bug#17809)
3475
3476 2014-11-08 Glenn Morris <rgm@gnu.org>
3477
3478 * emacs-lisp/bytecomp.el (byte-compile-report-error):
3479 Allow the argument to be a string. Due to the vague doc,
3480 it was already being used this way.
3481
3482 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3483
3484 * net/tramp.el (tramp-check-cached-permissions): Include hop in
3485 the constructed Tramp file name. (Bug#18943)
3486
3487 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3488
3489 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
3490 (bug#18952).
3491 (cua-set-mark, cua--post-command-handler-1):
3492 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
3493
3494 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * files.el (file-name-non-special): Wrap the call of
3497 `insert-file-contents' by `unwind-protect', in order to set the
3498 buffer's file name anyway. (Bug#18891)
3499
3500 2014-11-08 Alan Mackenzie <acm@muc.de>
3501
3502 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
3503 * progmodes/cc-fonts.el (c-font-lock-declarations):
3504 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
3505 the buffer is sometimes narrowed to less than "limit" (e.g., in
3506 the presence of macros).
3507
3508 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3509
3510 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
3511 only when message appeared in minibuffer. (Bug#18891)
3512
3513 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
3514 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
3515 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
3516 case of errors.
3517
3518 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3521 Don't compile before eval in `eval-and-compile'.
3522 (byte-compile-arglist-warn): Add check for defining macros after their
3523 first use. Check call use even if the function is fboundp.
3524
3525 2014-11-08 Richard Stallman <rms@gnu.org>
3526
3527 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
3528 Check more carefully for mime-part specified character set.
3529 Check for mime-part Content Transfer Encoding.
3530 Notify if no armor found.
3531
3532 2014-11-08 Martin Rudalics <rudalics@gmx.at>
3533
3534 * faces.el (face-set-after-frame-default): Enable running
3535 `window-configuration-change-hook'.
3536
3537 2014-11-07 Juri Linkov <juri@jurta.org>
3538
3539 * replace.el: History for query replace pairs.
3540 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
3541 (query-replace-from-to-separator): New variable.
3542 (query-replace-read-from): Let-bind query-replace-from-to-history
3543 to a list of FROM-TO strings created from query-replace-defaults
3544 and separated by query-replace-from-to-separator. Use it as
3545 the history while reading from the minibuffer. Split the returned
3546 string by the separator to get FROM and TO parts, and add them
3547 to the history variables.
3548 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
3549 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
3550 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
3551
3552 * isearch.el (isearch-text-char-description): Keep characters
3553 intact and put formatted strings with the `display' property.
3554
3555 2014-11-07 Martin Rudalics <rudalics@gmx.at>
3556
3557 * cus-start.el (frame-resize-pixelwise): Fix group.
3558 (frame-inhibit-implied-resize): Add entry.
3559
3560 2014-11-07 Daiki Ueno <ueno@gnu.org>
3561
3562 * epa.el (epa-pinentry-mode): New user option.
3563 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3564 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
3565 * epa-file.el (epa-file-insert-file-contents)
3566 (epa-file-write-region): Respect epa-pinentry-mode.
3567
3568 2014-11-07 Daiki Ueno <ueno@gnu.org>
3569
3570 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
3571 (bug#18979). Reported by Hideki Saito.
3572
3573 2014-11-06 Daiki Ueno <ueno@gnu.org>
3574
3575 * emacs-lisp/package.el (package--display-verify-error): New function.
3576 (package--check-signature): Use it to display output sent to stderr.
3577
3578 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * subr.el (pop): Don't call the getter twice (bug#18968).
3581
3582 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
3583 uses of `funcall'.
3584
3585 2014-11-06 Daiki Ueno <ueno@gnu.org>
3586
3587 * epa.el (epa-error-buffer): New variable.
3588 (epa-display-error): New function.
3589 (epa-decrypt-file, epa-verify-file, epa-verify-region)
3590 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
3591 (epa-sign-file, epa-sign-region, epa-encrypt-region)
3592 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
3593 Use setf instead of epg-context-set-*.
3594 * epa-file.el (epa-file-insert-file-contents):
3595 Use epa-display-error instead of epa-display-info. Mimic the behavior
3596 of jka-compr when decryption program is not found.
3597 (epa-file-write-region): Use epa-display-error instead of
3598 epa-display-info.
3599
3600 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * vc/vc.el (vc-region-history): New command.
3603 (vc-print-log-internal): Use cl-some.
3604
3605 * vc/vc-git.el (vc-git-region-history): New function.
3606 (vc-git-region-history-mode-map)
3607 (vc-git--log-view-long-font-lock-keywords)
3608 (vc-git-region-history-font-lock-keywords): New vars.
3609 (vc-git-region-history-font-lock): New function.
3610 (vc-git-region-history-mode): New major mode.
3611
3612 2014-11-05 Tassilo Horn <tsdh@gnu.org>
3613
3614 * net/eww.el (subr-x): Require subr-x at compile-time because eww
3615 uses string-trim.
3616
3617 2014-11-05 Daiki Ueno <ueno@gnu.org>
3618
3619 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
3620 (epg-error-output): New buffer-local variable.
3621 (epg--start): Initialize epg-error-output.
3622 (epg--process-filter): Record output lines sent to stderr, in
3623 epg-error-output.
3624 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
3625 slot of context.
3626 * epa-file.el (epa-file-insert-file-contents): On error, display
3627 output sent to stderr.
3628 (epa-file-write-region): Likewise.
3629
3630 2014-11-05 Eli Zaretskii <eliz@gnu.org>
3631
3632 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
3633 returned by load-average.
3634
3635 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
3636
3637 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
3638 a local copy; setting `inhibit-file-name-handlers' proper might be
3639 more performant. (Bug#18751)
3640
3641 2014-11-05 Glenn Morris <rgm@gnu.org>
3642
3643 * mail/emacsbug.el (report-emacs-bug): No longer include
3644 recent-keys in the report. (Bug#18900)
3645
3646 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
3647
3648 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
3649
3650 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3651
3652 * net/eww.el (eww): Trim URL with `string-trim'.
3653 Suggested by Vibhav Pant <vibhavp@gmail.com>.
3654
3655 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3656
3657 * net/eww.el (eww-score-readability): Don't count comments positively.
3658
3659 * net/shr.el (shr-retransform-dom): Typo fix.
3660
3661 * net/eww.el (eww-score-readability): Parse SVC images correctly.
3662 (eww-display-html): Don't leave point inside forms.
3663
3664 * net/shr.el: Ditto.
3665
3666 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
3669 edebug-prin1-to-string already handles circularity.
3670
3671 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
3672 autoloading when specified as a lambda.
3673
3674 * simple.el (execute-extended-command--last-typed): New var.
3675 (read-extended-command): Set it.
3676 Don't complete obsolete commands.
3677 (execute-extended-command--shorter-1)
3678 (execute-extended-command--shorter): New functions.
3679 (execute-extended-command): Use them to suggest shorter names.
3680 (indicate-copied-region, deactivate-mark): Use region-active-p.
3681
3682 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
3685 local copy of FILENAME, when it is remote. (Bug#18751)
3686
3687 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
3688 an error when the command fails; the return code must indicate.
3689 (tramp-adb-send-command-and-check): Fix docstring.
3690
3691 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3692
3693 * net/shr.el (shr-retransform-dom): Don't ignore elements that
3694 have no children like <br />.
3695
3696 * net/eww.el (eww-display-html): Clear `url-queue'.
3697 (eww-display-pdf): New function.
3698 (eww-render): Display PDFs with `doc-view'.
3699 (url-queue): Require `url-queue' to avoid compilation warning.
3700 (eww-colorize-region): Remove duplicate function.
3701 (eww-tag-body): Use `shr-colorize-region'.
3702
3703 2014-11-03 Yoni Rabkin <yrk@gnu.org>
3704
3705 * net/eww.el (eww-list-bookmarks): Autoload.
3706
3707 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3708
3709 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
3710
3711 * net/eww.el (eww-display-html): The charset is called `utf-8',
3712 not `utf8'.
3713 (eww-readable): Decode the saved text correctly.
3714 (eww-readable): Save the history before displaying so that we can
3715 go back to the non-readable version.
3716 (eww-display-html): Don't try to decode the text if we've been
3717 passed in a pre-parsed DOM.
3718 (eww-tag-title): Remove newlines and extra whitespace from the
3719 displayed title.
3720
3721 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3722
3723 * net/eww.el (eww-readable): New command and keystroke.
3724
3725 * net/shr.el (shr-retransform-dom): New function.
3726
3727 * net/eww.el (eww-display-html): Set `eww-current-source' in the
3728 correct buffer.
3729 (eww-view-source): Use it.
3730
3731 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3732
3733 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
3734 (Bug#18603).
3735
3736 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
3737
3738 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
3739
3740 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3741
3742 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
3743
3744 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3745
3746 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
3747 (Bug#18834).
3748
3749 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
3750
3751 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
3752 use as advice.
3753 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
3754
3755 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
3758 (bug#18821).
3759 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
3760
3761 2014-11-01 Michael R. Mauger <michael@mauger.com>
3762
3763 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
3764 syntax, add new keywords, and parse longer keywords first.
3765 (sql-redirect-one): Protect against empty command.
3766 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
3767 to SQL. (Bug#14759)
3768
3769 2014-11-01 Michael R. Mauger <michael@mauger.com>
3770
3771 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
3772 Bug#16814 with let-bind of comint-input-ring variables around read
3773 and save functions.
3774
3775 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * net/tramp-cache.el (tramp-get-file-property)
3778 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
3779 and `tramp-cache-set-count-*' are bound. Otherwise, there might
3780 be compiler warnings.
3781
3782 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
3783 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
3784
3785 2014-11-01 Eli Zaretskii <eliz@gnu.org>
3786
3787 * progmodes/compile.el (compilation-mode): Turn off deferred
3788 fontifications locally. (Bug#18856)
3789
3790 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
3791
3792 * net/tramp-sh.el (tramp-send-command): Fix the case where the
3793 remote-echo connection property is non-nil (bug#18858).
3794
3795 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * simple.el (newline): Add assertions to try and help catch bug#18913.
3798
3799 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
3800 (bug#18886).
3801 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
3802
3803 2014-11-01 Kim F. Storm <storm@cua.dk>
3804
3805 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
3806 * delsel.el (delete-selection-save-to-register)
3807 (delsel--replace-text-or-position): New vars.
3808 (delete-active-region): Use them.
3809 (delete-selection-repeat-replace-region): New command, moved from
3810 cua-base.el.
3811 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
3812 (cua-repeat-replace-region): Move command to delsel.el.
3813 (cua--init-keymaps): Update binding accordingly.
3814 (cua-mode): Set delete-selection-save-to-register.
3815
3816 2014-11-01 Alan Mackenzie <acm@muc.de>
3817
3818 Make blink-parens work with a closing template delimiter.
3819 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
3820 before calling blink-paren-function, so as to apply syntax-table
3821 properties to the ">".
3822
3823 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
3824
3825 * select.el (gui-get-selection): Comment: data-type ignored on NS.
3826
3827 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
3830 (macroexp--expand-all): Unrelated tweaks.
3831
3832 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
3833
3834 2014-10-30 Glenn Morris <rgm@gnu.org>
3835
3836 * startup.el (command-line): Remove pointless attempt to avoid
3837 statting the file-system (which expand-file-name doesn't do).
3838
3839 2014-10-30 Daniel Colascione <dancol@dancol.org>
3840
3841 Add "enum class" support to C++ mode.
3842 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
3843 (c-after-brace-list-key): New language consts/variables.
3844 * progmodes/cc-engine.el (c-looking-at-decl-block):
3845 Exclude spurious match of "enum struct" from decl-block recognition.
3846 (c-backward-colon-prefixed-type): New function.
3847 (c-backward-over-enum-header): Call above function to extend
3848 recognition of enum structure.
3849
3850 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
3853 (c-lang-defconst):
3854 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
3855
3856 2014-10-30 Eli Zaretskii <eliz@gnu.org>
3857
3858 * progmodes/compile.el (compilation-start):
3859 If compilation-scroll-output is non-nil, don't force window-start of
3860 the compilation buffer to be at beginning of buffer. (Bug#18874)
3861
3862 * startup.el (fancy-about-text): Read the entire tutorial, not
3863 just its first 256 bytes. (Bug#18760)
3864
3865 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
3868 * emacs-lisp/cl-extra.el: Add missing provide.
3869
3870 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
3871 all args are copyable (bug#18767).
3872 (=, <, >, <=, >=): Re-enable the optimization.
3873
3874 2014-10-29 Glenn Morris <rgm@gnu.org>
3875
3876 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
3877
3878 * version.el (emacs-bzr-version, emacs-bzr-get-version):
3879 Revert 2014-10-26 change.
3880
3881 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
3882
3883 Simplify use of current-time and friends.
3884 * allout-widgets.el (allout-widgets-hook-error-handler):
3885 * calendar/appt.el (appt-display-message):
3886 * calendar/icalendar.el (icalendar--convert-float-to-ical):
3887 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
3888 (timeclock-last-period, timeclock-day-base):
3889 * eshell/em-ls.el (eshell-ls-file):
3890 * eshell/esh-util.el (eshell-parse-ange-ls):
3891 * generic-x.el (named-database-print-serial):
3892 * net/newst-backend.el (newsticker--get-news-by-url-callback)
3893 (newsticker-get-news, newsticker--sentinel-work)
3894 (newsticker--image-get, newsticker--image-sentinel):
3895 * net/tramp-sh.el (tramp-get-remote-touch):
3896 * progmodes/opascal.el (opascal-debug-log):
3897 * textmodes/remember.el (remember-mail-date)
3898 (remember-store-in-files):
3899 * vc/vc-annotate.el (vc-annotate-display-autoscale)
3900 (vc-default-annotate-current-time):
3901 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
3902 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
3903 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
3904 Omit unnecessary call to current-time.
3905 * calendar/time-date.el (time-to-seconds) [!float-time]:
3906 * vc/vc-annotate.el (vc-annotate-convert-time):
3907 Use current time if arg is nil, to be compatible with float-time.
3908 (time-date--day-in-year): New function, with most of the guts of
3909 the old time-to-day-in-year.
3910 (time-to-day-in-year): Use it.
3911 (time-to-days): Use it, to avoid decoding the same time stamp twice.
3912 * calendar/timeclock.el (timeclock-time-to-date):
3913 Arg is now optional, like current-time-string.
3914 (timeclock-update-mode-line):
3915 Don't call current-time twice to get the current time stamp,
3916 as this can lead to inconsistent results.
3917 * completion.el (cmpl-hours-since-origin):
3918 * ido.el (ido-time-stamp):
3919 * vc/vc-annotate.el (vc-annotate-convert-time):
3920 Simplify by using float-time.
3921 * completion.el (save-completions-to-file):
3922 Rename local var to avoid confusion.
3923 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
3924 time-to-seconds now behaves like float-time with respect to nil arg.
3925 * subr.el (progress-reporter-do-update):
3926 Don't call float-time unless needed.
3927
3928 2014-10-29 Leo Liu <sdl.web@gmail.com>
3929
3930 * net/rcirc.el (rcirc-fill-column): Use function.
3931 (rcirc-markup-fill): Remove adjustment.
3932
3933 2014-10-28 Christopher Schmidt <ch@ristopher.com>
3934
3935 * calc/calc.el (quick-calc):
3936 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
3937
3938 2014-10-28 Sam Steingold <sds@gnu.org>
3939
3940 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
3941 the sake of `window-body-width' (in addition to `frame-width').
3942
3943 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
3944
3945 * version.el: Fix some fallback values to conform to the actual
3946 release number.
3947
3948 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
3949
3950 * Makefile.in: Change some production names so they're neutral
3951 about the repository type.
3952
3953 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
3954
3955 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
3956 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
3957 during initialization. (Bug#18774)
3958
3959 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
3960
3961 * ses.el (macroexp): Add require for this package, so that
3962 function `ses--cell' gets macroexp-quote --- this change was
3963 supposed to be in my previous commit, but left out by mistake.
3964 (ses--cell): Do not make formula a macroexp-quote of value when
3965 value, not formula, is *skip*.
3966
3967 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3968
3969 * ses.el (macroexp): Add require for this package, so that function
3970 `ses--cell gets macroexp-quote.
3971 (ses--cell): Makes formula a macroexp-quote of value when formula
3972 is nil. The rationale of this changr is to allow in the future
3973 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
3974 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
3975 reference list REFLIST would be re-computed after load --- thus
3976 trading off load time against file size.
3977
3978 * emacs-lisp/package.el (package--alist-to-plist-args):
3979 Use macroexp-quote instead of a lambda expression which has the same
3980 content as macroexp-quote.
3981 (macroexp): Add require for this package, so that function
3982 `package--alist-to-plist-args' gets macroexp-quote.
3983
3984 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
3985
3986 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * term/ns-win.el (ns-store-cut-buffer-internal)
3989 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
3990
3991 2014-10-24 Martin Rudalics <rudalics@gmx.at>
3992
3993 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
3994 Calculate increment from last position instead of window edge.
3995 Add right- and bottom-divider bindings to transient map.
3996
3997 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
4000 even if :predicate was nil, for the benefit of typep.
4001 Record the name of the predicate for typep's use.
4002 (cl--make-type-test): Use pcase. Obey new
4003 cl-deftype-satisfies property.
4004
4005 * epg.el: Use cl-defstruct.
4006 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
4007 (epg-data-string): Define via cl-defstruct.
4008 (epg--gv-nreverse): New macro.
4009 (epg-context--make): New constructor (provided vi cl-defstruct).
4010 (epg-make-context): Rewrite using it.
4011 (epg-context-protocol, epg-context-program)
4012 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
4013 (epg-context-include-certs, epg-context-cipher-algorithm)
4014 (epg-context-digest-algorithm, epg-context-compress-algorithm)
4015 (epg-context-passphrase-callback, epg-context-progress-callback)
4016 (epg-context-signers, epg-context-sig-notations, epg-context-process)
4017 (epg-context-output-file, epg-context-result, epg-context-operation)
4018 (epg-context-pinentry-mode): Define using cl-defstruct.
4019 (epg-context-set-protocol, epg-context-set-program)
4020 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
4021 (epg-context-set-digest-algorithm)
4022 (epg-context-set-sig-notations, epg-context-set-process)
4023 (epg-context-set-output-file, epg-context-set-result)
4024 (epg-context-set-operation, epg-context-set-pinentry-mode)
4025 (epg-context-set-compress-algorithm): Remove. Use setf instead.
4026 (epg-context-set-armor, epg-context-set-textmode)
4027 (epg-context-set-signers): Redefine using setf
4028 and declare as obsolete.
4029 (epg-context-set-passphrase-callback)
4030 (epg-context-set-progress-callback): Use setf.
4031 (epg-signature-notations): Rename from epg-sig-notations.
4032 (epg-make-signature, epg-signature-status, epg-signature-key-id)
4033 (epg-signature-validity, epg-signature-fingerprint)
4034 (epg-signature-creation-time, epg-signature-expiration-time)
4035 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
4036 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
4037 (epg-signature-set-status, epg-signature-set-key-id)
4038 (epg-signature-set-validity, epg-signature-set-fingerprint)
4039 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
4040 (epg-signature-set-pubkey-algorithm)
4041 (epg-signature-set-digest-algorithm, epg-signature-set-class)
4042 (epg-signature-set-version, epg-signature-set-notations): Remove.
4043 Use setf instead.
4044 (epg-make-new-signature, epg-new-signature-type)
4045 (epg-new-signature-pubkey-algorithm)
4046 (epg-new-signature-digest-algorithm, epg-new-signature-class)
4047 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
4048 Define using cl-defstruct.
4049 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
4050 (epg-key-user-id-list): Define using cl-defstruct.
4051 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
4052 Use setf instead.
4053 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
4054 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
4055 (epg-sub-key-id, epg-sub-key-creation-time)
4056 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
4057 cl-defstruct.
4058 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
4059 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
4060 (epg-user-id-signature-list): Define using cl-defstruct.
4061 (epg-user-id-set-signature-list): Remove. Use setf instead.
4062 (epg-make-key-signature, epg-key-signature-validity)
4063 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
4064 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
4065 (epg-key-signature-user-id, epg-key-signature-class)
4066 (epg-key-signature-exportable-p): Define using cl-defstruct.
4067 (epg-make-sig-notation, epg-sig-notation-name)
4068 (epg-sig-notation-value, epg-sig-notation-human-readable)
4069 (epg-sig-notation-critical): Define using cl-defstruct.
4070 (epg-sig-notation-set-value): Remove. Use setf instead.
4071 (epg-make-import-status, epg-import-status-fingerprint)
4072 (epg-import-status-reason, epg-import-status-new)
4073 (epg-import-status-user-id, epg-import-status-signature)
4074 (epg-import-status-sub-key, epg-import-status-secret): Define using
4075 cl-defstruct.
4076 (epg-make-import-result, epg-import-result-considered)
4077 (epg-import-result-no-user-id, epg-import-result-imported)
4078 (epg-import-result-imported-rsa, epg-import-result-unchanged)
4079 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
4080 (epg-import-result-new-signatures, epg-import-result-new-revocations)
4081 (epg-import-result-secret-read, epg-import-result-secret-imported)
4082 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
4083 (epg-import-result-imports): Define using cl-defstruct.
4084
4085 * emacs-lisp/package.el: Require EPG during macroexpansion.
4086 (package--check-signature, package-import-keyring): Use setf instead of
4087 epg-context-set-home-directory.
4088
4089 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
4092
4093 2014-10-23 Leo Liu <sdl.web@gmail.com>
4094
4095 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
4096 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
4097 (cfengine3-current-defun): New function.
4098 (cfengine3-mode): Set add-log-current-defun-function.
4099
4100 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * select.el: Use lexical-binding.
4103 (gui-set-selection): Provide an implementation for non-GUI frames
4104 (bug#18791).
4105 * term/x-win.el: Use lexical-binding.
4106 (x-clipboard-yank): Fix up missed renamings.
4107 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
4108 (w32--set-selection): Fix up var names.
4109 * term/pc-win.el: Use lexical-binding.
4110 (w16-selection-exists-p): Silence compiler warning.
4111 (w16-selection-owner-p): Fix up missed renamings.
4112
4113 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
4114
4115 * frame.el (frame-notice-user-settings): Fix excessive quoting.
4116
4117 2014-10-22 Tassilo Horn <tsdh@gnu.org>
4118
4119 * doc-view.el (doc-view-open-text): View the document's plain text
4120 in the current buffer instead of a new one.
4121 (doc-view-toggle-display): Handle the case where the current
4122 buffer contains the plain text contents of the document.
4123 (doc-view-initiate-display): Don't switch to fallback mode if the
4124 user wants to view the doc's plain text.
4125 (doc-view-set-doc-type): Use assoc-string instead of
4126 assoc-ignore-case.
4127
4128 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4129
4130 * subr.el (read-key): Fix clicks on the mode-line.
4131 (set-transient-map): Return exit function.
4132
4133 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4134 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4135 (mouse-yank-secondary): Use gui-get-selection.
4136 (mouse--down-1-maybe-follows-link): Use read-key.
4137
4138 * xt-mouse.el: Add `event-kind' property on the fly from
4139 xterm-mouse-translate-1 rather than statically at the outset.
4140
4141 2014-10-21 Daniel Colascione <dancol@dancol.org>
4142
4143 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4144 change window configuration when we turn it off.
4145
4146 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 Get rid of backend-dependent selection-handling functions for kill/yank
4149 and make it generic instead by relying on the lower-level selection
4150 management functions.
4151
4152 * select.el (select-enable-clipboard): Rename from
4153 gui-select-enable-clipboard.
4154 (select-enable-primary): Move from x-win.el and rename from
4155 x-select-enable-primary.
4156 (gui-last-selected-text): Remove.
4157 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4158 New vars.
4159 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4160 (gui-select-text-alist, gui-selection-value-alist): Remove.
4161 (x-select-request-type): Move from x-win.el.
4162 (gui--selection-value-internal): New function, taken from x-win's
4163 x-selection-value-internal.
4164 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4165 (gui-set-selection-alist): Rename from gui-own-selection-alist and
4166 extend it to handle a nil value as a "disown" request.
4167 (gui-disown-selection-alist): Remove.
4168 (xselect-convert-to-delete): Adjust accordingly.
4169 (gui-set-selection): Simplify accordingly as well. Use dotimes.
4170
4171 * term/x-win.el (x-last-selected-text-primary)
4172 (x-select-enable-primary): Remove (moved to select.el).
4173 (x-select-request-type): Move to select.el.
4174 (x-selection-value-internal, x--selection-value): Remove functions.
4175 (gui-selection-value, gui-select-text): Remove moethods.
4176 (gui-set-selection): Merge own and disown methods.
4177
4178 * term/w32-win.el (w32--select-text, w32--get-selection-value):
4179 Delete function (move functionality into w32--set-selection and
4180 w32--get-selection).
4181 (gui-select-text, gui-selection-value): Don't define methods.
4182 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4183 New functions.
4184 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4185 Use them.
4186 (gui-selection-exists-p): Adjust to new name of C primitive.
4187
4188 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4189 test of gui-select-enable-clipboard, to make it usable as
4190 a gui-get-selection method.
4191 (gui-selection-exists-p): Adjust to new name of C primitive.
4192 (gui-set-selection): Merge own and disown methods.
4193 (gui-select-text, gui-selection-value): Delete methods.
4194 (w16--select-text): Delete function.
4195
4196 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4197 (ns-selection-value): Remove functions.
4198 (gui-select-text, gui-selection-value): Don't define method any more.
4199 (gui-set-selection): Merge the old own and disown methods.
4200 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4201 underlying C primitive.
4202
4203 * startup.el (command-line): Adjust now that `gui-method' expects nil
4204 for ttys.
4205
4206 * frame.el (gui-method): Use window-system rather than framep.
4207 (gui-method-declare): The tty case is now nil rather than t.
4208 (make-frame): Adjust accordingly.
4209
4210 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * net/newst-reader.el (newsticker--image-read): Simplify.
4213 (newsticker--icon-read): Use dolist and fix free var error.
4214
4215 * imenu.el (imenu--menubar-keymap): New var.
4216 (imenu-add-to-menubar): Set it to remember the keymap we used.
4217 (imenu-update-menubar): Use it instead of asking lookup-key.
4218
4219 * obsolete/cc-compat.el: Make obsolete (bug#18561).
4220
4221 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4222
4223 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4224 case (bug#18767).
4225
4226 2014-10-21 Glenn Morris <rgm@gnu.org>
4227
4228 * Merge in all changes up to version 24.4 release.
4229
4230 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4233 case (bug#18767).
4234
4235 2014-10-20 Glenn Morris <rgm@gnu.org>
4236
4237 * Merge in all changes up to 24.4 release.
4238
4239 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
4240
4241 * net/newst-backend.el
4242 (newsticker--image-download-by-url-callback): Make this function
4243 actually work: Check status properly, then save image.
4244
4245 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4248 `this-event'.
4249 (mouse-drag-line): Unless there's no actual mouse, use the event's
4250 position info.
4251
4252 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * textmodes/css-mode.el (scss-mode): New major-mode.
4255 (css-mode-syntax-table): Use d style comment, to ease the scss case.
4256 (css-ident-re): Allow things like @-moz-keyframes.
4257 (scss--hash-re): New const.
4258 (css--font-lock-keywords): New function, extracted from
4259 css-font-lock-keywords.
4260
4261 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
4262
4263 * net/newst-backend.el: Require url-parse.
4264 (newsticker--get-news-by-wget): Store feed name as process property.
4265 (newsticker--sentinel): Read feed name from process property.
4266 (newsticker--sentinel-work): Rename argument name to feed-name.
4267 Rename variable imageurl to image-url. Pick icon url from Atom
4268 1.0 data. Launch download of feed icon.
4269 (newsticker--get-icon-url-atom-1.0): New.
4270 (newsticker--unxml)
4271 (newsticker--unxml-node)
4272 (newsticker--unxml-attribute): Documentation.
4273 (newsticker--icons-dir): New.
4274 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4275 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4276 (newsticker--image-download-by-wget): New. Use process properties
4277 for storing informations.
4278 (newsticker--image-sentinel): Read informations from process properties.
4279 (newsticker--image-save)
4280 (newsticker--image-remove)
4281 (newsticker--image-download-by-url)
4282 (newsticker--image-download-by-url-callback): New.
4283 (newsticker-opml-export): Handle url list entries containing a
4284 function instead of an url string.
4285
4286 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4287 (newsticker--print-extra-elements)
4288 (newsticker--do-print-extra-element):
4289 Documentation (newsticker--image-read): Optionally limit image height.
4290 Use imagemagick if possible.
4291 (newsticker--icon-read): New.
4292
4293 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4294 (newsticker--treeview-tree-expand): Use feed icons in treeview.
4295 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
4296 (newsticker--tree-widget-leaf-icon): Use feed icon.
4297
4298 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4301 Use help-function-arglist instead.
4302
4303 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4304 (eieio--with-scoped-class): Use `declare'.
4305 (eieio-defclass): Remove compatibility code.
4306 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4307 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4308
4309 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
4310
4311 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4312
4313 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4314 replacements to stock names before stock names in a list.
4315 Cdr may be a list, each name is tried in turn until one is found.
4316
4317 2014-10-18 Alan Mackenzie <acm@muc.de>
4318
4319 Check that a "macro" found near point-min isn't a ## operator.
4320 Fixes bug #18749.
4321 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4322 (c-beginning-of-macro): Use the above new function.
4323
4324 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
4325
4326 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4327 correct data to `gnutls-boot' (Bug#18664).
4328 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4329
4330 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
4331
4332 * whitespace.el (whitespace-style, whitespace-big-indent)
4333 (whitespace-big-indent-regexp, whitespace-style-value-list)
4334 (whitespace-toggle-option-alist, whitespace-interactive-char)
4335 (whitespace-toggle-options)
4336 (global-whitespace-toggle-options, whitespace-help-text)
4337 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4338 style to `whitespace-mode' to indicate that the line indentation
4339 is too deep. By default, 32 SPACEs or four TABs are considered
4340 too many but `whitespace-big-indent-regexp' can be configured.
4341
4342 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
4343
4344 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4345 tildify-mode-alist.
4346
4347 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4350 (defclass, defgeneric, defmethod): Add doc-string position.
4351 (with-slots): Require cl-lib.
4352
4353 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4354 (list-of): New type.
4355 (eieio--typep): Remove.
4356 (eieio-perform-slot-validation): Use cl-typep instead.
4357
4358 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4359
4360 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4361
4362 2014-10-16 Alan Mackenzie <acm@muc.de>
4363
4364 Trigger showing when point is in the "periphery" of a line or just
4365 inside a paren.
4366 * paren.el (show-paren-style, show-paren-delay)
4367 (show-paren-priority, show-paren-ring-bell-on-mismatch):
4368 Remove superfluous :group specifications.
4369 (show-paren-when-point-inside-paren)
4370 (show-paren-when-point-in-periphery): New customizable variables.
4371 (show-paren-highlight-openparen): Make into a defcustom.
4372 (show-paren--unescaped-p, show-paren--categorize-paren)
4373 (show-paren--locate-near-paren): New defuns.
4374 (show-paren--default): Refaactor and trigger on more paren
4375 positions.
4376 (show-paren-function): Small consequential changes.
4377
4378 2014-10-16 Tom Tromey <tom@tromey.com>
4379
4380 * files.el (auto-mode-alist): Use javascript-mode for .jsm
4381 (bug #18719).
4382
4383 2014-10-16 Eli Zaretskii <eliz@gnu.org>
4384
4385 * international/characters.el (bracket-type): Force pre-loading of
4386 uni-brackets.el.
4387
4388 2014-10-16 Alan Mackenzie <acm@muc.de>
4389
4390 * cus-edit.el (custom-command-apply): Specify the return value in
4391 the doc string.
4392 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4393 custom-command-apply has returned non-nil.
4394
4395 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4398 Remove incorrect handling of eldoc-print-after-edit.
4399 (eldoc-message-commands, eldoc-last-data): Use defvar.
4400 * loadup.el (emacs-lisp/eldoc): Load it.
4401
4402 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4403 (m4-mode): Use it.
4404 (m4--quoted-p): New function.
4405 (m4-font-lock-keywords): Don't handle #..\n comments any more.
4406 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4407 for most special characters.
4408
4409 * progmodes/compile.el (compilation--previous-directory): Simplify.
4410 (compilation-next-error): Ensure the parse before we look at
4411 compilation-message property.
4412
4413 2014-10-15 Eli Zaretskii <eliz@gnu.org>
4414
4415 * simple.el (what-cursor-position):
4416 * descr-text.el (describe-char): Update to support the new bidi
4417 characters.
4418
4419 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
4420 Force bidi-paragraph-direction to 'left-to-right'. This fixes
4421 buffer-menu display when the first buffer happens to start with
4422 R2L letter.
4423
4424 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * progmodes/elisp-mode.el (elisp--local-variables-1):
4427 Handle quoted expressions (bug#18688).
4428
4429 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
4430 Michael Albinus <michael.albinus@gmx.de>
4431
4432 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4433 Reduce the amount of set environment variable commands.
4434
4435 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4436
4437 Fix import completion. (Bug#18582)
4438 * progmodes/python.el (python-shell-completion-get-completions):
4439 Fix import case regexp.
4440
4441 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
4444 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
4445 * progmodes/prolog.el (prolog-electric--underscore): Same.
4446
4447 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
4448
4449 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
4450
4451 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4452
4453 * cus-start.el (all): Add missing ns and boolean to
4454 ns-use-fullscreen-animation.
4455
4456 2014-10-11 Leo Liu <sdl.web@gmail.com>
4457
4458 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
4459 Use strings.
4460 (cfengine3-create-imenu-index): New function.
4461 (cfengine3-mode): Use it for `imenu-create-index-function'.
4462 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
4463 buffer is empty.
4464
4465 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4466
4467 * cus-start.el (all): Add ns-use-fullscreen-animation.
4468
4469 2014-10-11 Glenn Morris <rgm@gnu.org>
4470
4471 * calendar/diary-lib.el (diary-display-function):
4472 Drop support for deprecated nil and list forms.
4473 (diary-list-entries): Update for the above.
4474 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
4475
4476 2014-10-10 Leo Liu <sdl.web@gmail.com>
4477
4478 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
4479 (Bug#18656)
4480
4481 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * select.el (gui-selection-exists-p-alist): New method.
4484 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
4485 * simple.el (deactivate-mark): Use it.
4486 * term/x-win.el (gui-selection-exists-p):
4487 * term/w32-win.el (gui-selection-exists-p):
4488 * term/pc-win.el (gui-selection-exists-p):
4489 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
4490
4491 2014-10-10 Glenn Morris <rgm@gnu.org>
4492
4493 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
4494 Fix :type. Allow t to mean no limit.
4495 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
4496
4497 2014-10-09 Glenn Morris <rgm@gnu.org>
4498
4499 * frame.el (display-monitor-attributes-list): Doc tweaks.
4500
4501 2014-10-09 Eli Zaretskii <eliz@gnu.org>
4502
4503 * faces.el (display-grayscale-p): Mention in the doc string that
4504 the argument can be either a display name or a frame.
4505
4506 * frame.el (display-pixel-height, display-pixel-width)
4507 (display-mm-height, display-mm-width, display-backing-store)
4508 (display-save-under, display-planes, display-color-cells)
4509 (display-visual-class, display-monitor-attributes-list)
4510 (display-screens): Mention in the doc string that the argument can
4511 be either a display name or a frame. Improve the docs of the
4512 monitor attributes. (Bug#18636)
4513
4514 2014-10-09 Martin Rudalics <rudalics@gmx.at>
4515
4516 * term.el (term-window-width): Subtract 1 from the width when
4517 any fringe has zero width, not just the right fringe. (Bug#18601)
4518
4519 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
4522
4523 2014-10-08 Leo Liu <sdl.web@gmail.com>
4524
4525 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
4526
4527 2014-10-08 Glenn Morris <rgm@gnu.org>
4528
4529 * calendar/cal-x.el (calendar-dedicate-diary):
4530 Drop support for recently deleted aliases.
4531
4532 2014-10-08 Leo Liu <sdl.web@gmail.com>
4533
4534 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
4535 Always return a syntax. Replace call-process-shell-command with
4536 process-file. Ensure cfengine-mode-syntax-functions-regex is
4537 always set. Ensure cache when cfengine-cf-promises fails.
4538 (Bug#18620)
4539
4540 2014-10-07 Glenn Morris <rgm@gnu.org>
4541
4542 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
4543
4544 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
4545
4546 Sync with upstream verilog-mode revision c075a492.
4547 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4548 (verilog-menu): Add AUTOINSERTLAST.
4549 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
4550 is nil, fix indenting initial/final to match always statements, bug825.
4551 Reported by Tim Clapp.
4552 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
4553 bug557. Reported by ZeDong Mao and Jason Forkey.
4554 (verilog-read-decls): Fix parsing typed interfaces.
4555 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
4556 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
4557 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
4558 Reported by Pierre-David Pfister.
4559 (verilog-auto-insert-lisp): Doc fix.
4560 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
4561 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
4562 (verilog-sk-ovm-class, verilog-sk-uvm-object)
4563 (verilog-sk-uvm-component): Fix missing string keyword in class
4564 skeletons, bug824. Reported by eldad faruhi.
4565
4566 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * term/w32-win.el: Move all code from 32-common-fns.el here.
4569 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
4570 console as well (bug#18629).
4571 * w32-common-fns.el: Remove.
4572 * loadup.el: Don't load w32-common-fns.el.
4573 * w32-fns.elc: Don't require w32-common-fns.
4574
4575 * icomplete.el: Move Iswitchb autoload here. Much simpler.
4576 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
4577 Remove redundant obsolescence thingy.
4578 * loadup.el: Don't load obsolete/loaddefs.el.
4579 * Makefile.in (obsolete-autoloads): Remove.
4580 (AUTOGENEL): Remove obsolete/loaddefs.el.
4581
4582 2014-10-06 Glenn Morris <rgm@gnu.org>
4583
4584 * Makefile.in (obsolete-autoloads): Write to a separate file,
4585 to workaround autoloads bug. (Bug#17407)
4586 (AUTOGENEL): Add obsolete/loaddefs.el.
4587 * loadup.el: Load obsolete/loaddefs.el if present.
4588 * subr.el (do-after-load-evaluation):
4589 Don't warn about obsolete/loaddefs.el.
4590
4591 * menu-bar.el (menu-bar-games-menu): Remove landmark.
4592 It has zero relationship to a game.
4593
4594 2014-10-06 Leo Liu <sdl.web@gmail.com>
4595
4596 * imenu.el (imenu): Re-write for clarity.
4597
4598 2014-10-06 Glenn Morris <rgm@gnu.org>
4599
4600 Remove calendar code obsolete since at least version 23.1.
4601 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
4602 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
4603 (calendar-goto-bahai-date, list-bahai-diary-entries)
4604 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
4605 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4606 (insert-yearly-bahai-diary-entry):
4607 * calendar/cal-china.el (chinese-calendar-time-zone)
4608 (chinese-calendar-location-name)
4609 (chinese-calendar-daylight-time-offset)
4610 (chinese-calendar-standard-time-zone-name)
4611 (chinese-calendar-daylight-time-zone-name)
4612 (chinese-calendar-daylight-savings-starts)
4613 (chinese-calendar-daylight-savings-ends)
4614 (chinese-calendar-daylight-savings-starts-time)
4615 (chinese-calendar-daylight-savings-ends-time)
4616 (chinese-calendar-celestial-stem)
4617 (chinese-calendar-terrestrial-branch)
4618 (calendar-absolute-from-chinese, calendar-print-chinese-date)
4619 (calendar-goto-chinese-date):
4620 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
4621 (calendar-print-coptic-date, coptic-prompt-for-date)
4622 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
4623 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
4624 * calendar/cal-french.el (calendar-absolute-from-french)
4625 (calendar-print-french-date, calendar-goto-french-date):
4626 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
4627 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
4628 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
4629 (holiday-rosh-hashanah-etc, holiday-hanukkah)
4630 (holiday-passover-etc, holiday-tisha-b-av-etc)
4631 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
4632 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
4633 (insert-monthly-hebrew-diary-entry)
4634 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
4635 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
4636 (diary-sabbath-candles):
4637 * calendar/cal-islam.el (calendar-absolute-from-islamic)
4638 (calendar-print-islamic-date, calendar-goto-islamic-date)
4639 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
4640 (mark-islamic-diary-entries, insert-islamic-diary-entry)
4641 (insert-monthly-islamic-diary-entry)
4642 (insert-yearly-islamic-diary-entry):
4643 * calendar/cal-iso.el (calendar-absolute-from-iso)
4644 (calendar-print-iso-date, calendar-iso-read-args)
4645 (calendar-goto-iso-date, calendar-goto-iso-week):
4646 * calendar/cal-julian.el (calendar-absolute-from-julian)
4647 (calendar-print-julian-date, calendar-goto-julian-date)
4648 (calendar-absolute-from-astro, calendar-print-astro-day-number)
4649 (calendar-goto-astro-day-number):
4650 * calendar/cal-mayan.el (calendar-print-mayan-date)
4651 (calendar-next-haab-date, calendar-previous-haab-date)
4652 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
4653 (calendar-next-calendar-round-date)
4654 (calendar-previous-calendar-round-date)
4655 (calendar-absolute-from-mayan-long-count)
4656 (calendar-goto-mayan-long-count-date):
4657 * calendar/cal-move.el (scroll-calendar-left)
4658 (scroll-calendar-right, scroll-calendar-left-three-months)
4659 (scroll-calendar-right-three-months):
4660 * calendar/cal-persia.el (calendar-absolute-from-persian)
4661 (calendar-print-persian-date, persian-prompt-for-date)
4662 (calendar-goto-persian-date):
4663 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
4664 * calendar/calendar.el (view-diary-entries-initially)
4665 (mark-diary-entries-in-calendar, calendar-today-face)
4666 (diary-face, holiday-face, view-calendar-holidays-initially)
4667 (mark-holidays-in-calendar, initial-calendar-window-hook)
4668 (today-visible-calendar-hook, today-invisible-calendar-hook)
4669 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
4670 (bahai-diary-entry-symbol, american-date-diary-pattern)
4671 (european-date-diary-pattern, european-calendar-display-form)
4672 (american-calendar-display-form, holidays-in-diary-buffer)
4673 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
4674 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
4675 (fancy-diary-buffer, increment-calendar-month)
4676 (extract-calendar-month, extract-calendar-day)
4677 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
4678 (mark-visible-calendar-date, calendar-version):
4679 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
4680 (diary-display-hook, list-diary-entries-hook)
4681 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
4682 (nongregorian-diary-marking-hook, print-diary-entries-hook)
4683 (abbreviated-calendar-year, number-of-diary-entries)
4684 (view-other-diary-entries, add-to-diary-list)
4685 (include-other-diary-files, simple-diary-display)
4686 (fancy-diary-display, print-diary-entries, mark-diary-entries)
4687 (mark-sexp-diary-entries, mark-included-diary-files)
4688 (mark-calendar-days-named, mark-calendar-month)
4689 (mark-calendar-date-pattern, sort-diary-entries)
4690 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
4691 (insert-weekly-diary-entry, insert-monthly-diary-entry)
4692 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
4693 (insert-block-diary-entry, insert-cyclic-diary-entry)
4694 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
4695 * calendar/holidays.el (general-holidays, oriental-holidays)
4696 (local-holidays, other-holidays, hebrew-holidays)
4697 (christian-holidays, islamic-holidays, bahai-holidays)
4698 (solar-holidays, list-calendar-holidays)
4699 (check-calendar-holidays, mark-calendar-holidays)
4700 (filter-visible-calendar-holidays):
4701 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
4702 (diary-phases-of-moon): Remove obsolete aliases.
4703 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
4704 * calendar/cal-x.el (calendar-one-frame-setup)
4705 (calendar-only-one-frame-setup, calendar-two-frame-setup):
4706 Remove obsolete functions.
4707 (cal-x-load-hook): Remove obsolete hook.
4708 * calendar/calendar.el (european-calendar-style):
4709 Remove obsolete variable.
4710 (calendar-date-style): No longer consult european-calendar-style.
4711 * calendar/calendar.el (european-calendar, american-calendar):
4712 Remove obsolete commands.
4713 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
4714 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
4715 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
4716 Use the face `diary' instead of the variable `diary-face'.
4717 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
4718 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
4719 * calendar/icalendar.el (icalendar--date-style): Remove function.
4720 Replace all uses with calendar-date-style.
4721 * textmodes/remember.el (calendar-date-style): Declare.
4722 (remember-diary-convert-entry):
4723 No longer consult european-calendar-style.
4724
4725 2014-10-05 Leo Liu <sdl.web@gmail.com>
4726
4727 * imenu.el (imenu-default-goto-function): Fix typo.
4728
4729 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4730
4731 * net/ntlm.el (ntlm-build-auth-request):
4732 Add NTLM2 Session support. (Bug#15603)
4733
4734 2014-10-04 Glenn Morris <rgm@gnu.org>
4735
4736 * apropos.el (apropos-symbols-internal):
4737 Avoid error with non-symbol properties. (Bug#18337#16)
4738
4739 * startup.el (command-line):
4740 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
4741
4742 2014-10-04 Martin Rudalics <rudalics@gmx.at>
4743
4744 * window.el (window-full-height-p): Make it behave correctly for
4745 minibuffer window.
4746 (window-current-scroll-bars): Fix code.
4747 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
4748 window-scroll-bars.
4749 * frame.el (frame-current-scroll-bars): Fix doc-string.
4750 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
4751
4752 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4753
4754 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
4755
4756 2014-10-04 Glenn Morris <rgm@gnu.org>
4757
4758 * frame.el (frame-monitor-attributes)
4759 (display-monitor-attributes-list): Doc fixes.
4760
4761 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 Merge trivially safe differences from standalone CC-mode.
4764 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
4765 just to then pass it to `symbol-value'.
4766 (prog-mode): Provide fallback definition, if needed.
4767 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
4768 Remove "cl-" prefix accordingly.
4769 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
4770 characterp depending on the type of characters.
4771 (c-font-lock-enum-tail): Remove unused var `start'.
4772 * progmodes/cc-engine.el: Load CL at compile-time.
4773 (c-declare-lang-variables): Use mapcan.
4774 (c-append-to-state-cache): Remove unused var `ce+1'.
4775 (c-parse-state-state): Make buffer-local.
4776 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
4777 (c-just-after-func-arglist-p): Remove unused var `end'.
4778 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
4779 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
4780 (c-make-keywords-re): Use delete-dups.
4781 (c-get-current-file): Avoid file-name-base.
4782 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
4783 `close-paren-inserted'.
4784 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
4785
4786 * progmodes/python.el: Avoid building unneeded markers.
4787 (python-font-lock-keywords, python-indent-dedent-line)
4788 (python-fill-paren, python-shell-completion-complete-or-indent):
4789 Prefer point over point-marker.
4790 (inferior-python-mode): Remove redundant completion settings.
4791
4792 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
4793
4794 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4795 (vc-svn-ignore): Use it. (Bug#18619)
4796
4797 2014-10-03 Martin Rudalics <rudalics@gmx.at>
4798
4799 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4800 In doc-string mention need to set `frame-resize-pixelwise'.
4801
4802 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
4805 similarly to Rogers's 2010-06-16 change for the remote case
4806 (bug#18605).
4807
4808 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 New gui-selection-value consolidating x-selection-value.
4811 * select.el (gui-selection-value-alist): New method.
4812 (gui-selection-value): New function.
4813 (x-selection-value): Make it an obsolete alias.
4814 * simple.el (interprogram-paste-function): Default to
4815 gui-selection-value.
4816 * w32-common-fns.el (w32-get-selection-value): Simplify.
4817 (x-selection-value): Remove alias.
4818 (interprogram-paste-function): Don't set.
4819 (gui-selection-value): Define for w32.
4820 * term/x-win.el (gui-selection-value): Define for x.
4821 (x--selection-value): Rename from x--selection-value.
4822 (interprogram-paste-function): Don't set.
4823 * term/pc-win.el (w16-get-selection-value): Simplify.
4824 (msdos-initialize-window-system): Don't set
4825 interprogram-paste-function.
4826 (gui-selection-value): Define for pc.
4827 * term/ns-win.el (x-selection-value): Remove.
4828 (gui-selection-value): Define for ns, instead.
4829 * term/common-win.el (x-setup-function-keys): Don't set
4830 interprogram-paste-function.
4831 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
4832 Use gui-selection-value.
4833
4834 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
4835
4836 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
4837
4838 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * obsolete/lucid.el (read-number): Remove, redundant.
4841 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
4842 Remove, broken.
4843
4844 2014-10-02 Glenn Morris <rgm@gnu.org>
4845
4846 * emacs-lisp/package.el (package-import-keyring):
4847 Create gnupg directory private. (Bug#17625#155)
4848
4849 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * progmodes/python.el (python-shell-completion-get-completions):
4852 Use python-shell--prompt-calculated-input-regexp from the
4853 process buffer (bug#18582).
4854 Don't assume that `line' comes from the process buffer.
4855
4856 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * frame.el: Use lexical-binding (bug#18598).
4859 (make-frame): Use t rather than nil for tty's window-system.
4860 * startup.el (command-line): Use gui-method.
4861
4862 Consolidate management/ownership of selections.
4863 * select.el (gui-get-selection-alist): New method.
4864 (gui-get-selection): Use it. Rename from x-get-selection.
4865 (x-get-selection): Define as obsolete alias.
4866 (x-get-clipboard): Mark obsolete.
4867 (gui-get-primary-selection): New function.
4868 (x-get-selection-value): Mark obsolete.
4869 (gui-own-selection-alist, gui-disown-selection-alist)
4870 (gui-selection-owner-p-alist): New methods.
4871 (gui-set-selection): Use them. Rename from x-set-selection.
4872 (x-set-selection): Define as obsolete alias.
4873 (gui--valid-simple-selection-p): Rename from
4874 x-valid-simple-selection-p.
4875 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
4876 (gui-selection-owner-p, gui-get-selection): Define for w32.
4877 (w32-get-selection-value): Rename from x-get-selection-value.
4878 Use the new gui-last-selected-text.
4879 * term/x-win.el (x-get-selection-value): Remove.
4880 (x-clipboard-yank): Declare obsolete.
4881 (gui-own-selection, gui-disown-selection, gui-get-selection)
4882 (gui-selection-owner-p): Define for x.
4883 * term/w32-win.el (w32-win-suspend-error): Rename from
4884 x-win-suspend-error.
4885 * term/pc-win.el (w16-get-selection-value): Rename from
4886 x-get-selection-value.
4887 (w16-selection-owner-p): Rename from x-selection-owner-p.
4888 (gui-own-selection, gui-disown-selection, gui-get-selection)
4889 (gui-selection-owner-p): Define for pc.
4890 (w16--select-text): New function.
4891 * term/ns-win.el (gui-own-selection, gui-disown-selection)
4892 (gui-get-selection, gui-selection-owner-p): Define for ns.
4893 * term.el (term-mouse-paste):
4894 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
4895
4896 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
4897
4898 * calc/calc-help.el (calc-describe-thing): Quote strings
4899 which could look like regexps.
4900
4901 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 Consolidate x-select-text.
4904 * frame.el (gui-method, gui-method-define, gui-method-declare)
4905 (gui-call): New macros.
4906 (gui-method--name): New function.
4907 (frame-creation-function-alist): Use gui-method-declare.
4908 (make-frame): Use gui-method.
4909 * select.el (gui-select-enable-clipboard): Rename from
4910 x-select-enable-clipboard and move here.
4911 (x-select-enable-clipboard): Define as obsolete alias.
4912 (gui-last-selected-text): New var, to replace x-last-selected-text.
4913 (gui-select-text): New GUI method.
4914 (gui-select-text): New function.
4915 (x-select-text): Define as obsolete alias.
4916 * term/common-win.el (x-select-enable-clipboard, x-select-text):
4917 Move to select.el.
4918 * simple.el (interprogram-cut-function): Change default to
4919 x-select-text.
4920 (interprogram-paste-function): Change default to `ignore'.
4921 * w32-common-fns.el (interprogram-cut-function): Don't modify.
4922 * term/x-win.el (interprogram-cut-function): Don't modify.
4923 (gui-select-text): Add method for x.
4924 * term/w32-win.el (gui-select-text): Add method for w32.
4925 * term/pc-win.el (x-last-selected-text): Remove, use
4926 gui-last-selected-text instead.
4927 (msdos-initialize-window-system): Don't set interprogram-cut-function.
4928 (gui-select-text): Add method for pc.
4929 * term/ns-win.el (ns-last-selected-text): Remove, use
4930 gui-last-selected-text instead.
4931 (gui-select-text): Add method for ns.
4932 (x-setup-function-keys): Don't change interprogram-cut-function.
4933 * loadup.el ("startup"): Load after "frame".
4934 * subr.el (package--builtin-versions, package--description-file):
4935 Move from startup.el.
4936 * startup.el (package--builtin-versions, package--description-file):
4937 Move to subr.el.
4938 (handle-args-function-alist, window-system-initialization-alist):
4939 Use gui-method-declare.
4940 (command-line): Use gui-method.
4941
4942 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * subr.el (alist-get): New accessor.
4945 * emacs-lisp/gv.el (alist-get): Provide expander.
4946 * winner.el (winner-remember):
4947 * tempo.el (tempo-use-tag-list):
4948 * progmodes/gud.el (minor-mode-map-alist):
4949 * international/mule-cmds.el (define-char-code-property):
4950 * frameset.el (frameset-filter-params):
4951 * files.el (dir-locals-set-class-variables):
4952 * register.el (get-register, set-register):
4953 * calc/calc-yank.el (calc-set-register): Use it.
4954 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
4955 * tooltip.el (tooltip-set-param): Mark as obsolete.
4956 (tooltip-show): Use alist-get instead.
4957 * ses.el (ses--alist-get): Remove. Use alist-get instead.
4958
4959 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
4960
4961 * net/newst-backend.el: Remove Time-stamp. Rename variable
4962 `newsticker--download-logos' to `newsticker-download-logos' and
4963 make it customizable.
4964 (newsticker--sentinel-work): Move xml-workarounds to function
4965 `newsticker--do-xml-workarounds', call unless libxml-parser is
4966 used. Allow single quote in regexp for encoding.
4967 Use libxml-parser if available, else fall back to `xml-parse-region'.
4968 Take care of possibly missing namespace prefixes (like "RDF"
4969 instead of "rdf:RDF") when checking xml nodes and attributes (as
4970 libxml correctly removes the prefixes). Always use Atom 1.0 as
4971 fallback feed type. Rename `newsticker--download-logos' to
4972 `newsticker-download-logos'
4973 (newsticker--unxml, newsticker--unxml-node)
4974 (newsticker--unxml-attribute): New.
4975 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
4976 HTML code has become part of the xml parse tree.
4977 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
4978 of possibly missing namespace prefixes.
4979 (newsticker--parse-generic-items): Code formatting. Typo.
4980 (newsticker--images-dir): Add trailing slash.
4981 (newsticker--image-get): Fix error message.
4982
4983 * net/newst-plainview.el: Remove Time-stamp.
4984
4985 * net/newst-reader.el: Remove Time-stamp.
4986 (newsticker-download-logos): Rename variable
4987 `newsticker--download-logos' to `newsticker-download-logos' and
4988 make it customizable.
4989 (newsticker--print-extra-elements): Add optional parameter
4990 'htmlish for using html markup. Amend list of ignored elements.
4991 (newsticker--do-print-extra-element): Add parameter 'htmlish for
4992 using html markup.
4993
4994 * net/newst-ticker.el: Remove Time-stamp.
4995
4996 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
4997 for formatting extra elements.
4998
4999 * net/newsticker.el: Remove Time-stamp, Version.
5000 (newsticker-version): Make obsolete.
5001
5002 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
5003
5004 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
5005 (bug#18462).
5006
5007 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * emacs-lisp/package.el (package-check-signature): Default to nil if
5010 GPG is not available.
5011 (package-refresh-contents): Don't mess with the keyring if we won't
5012 check the signatures anyway.
5013
5014 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
5017 (ses-center, ses-center-span): Use them.
5018 (ses-print-cell): Bind them while calling the printer.
5019 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
5020 (ses-dorange): Revert last change.
5021 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
5022 the formula.
5023 (ses-set-cell): Avoid `eval'.
5024 (ses--time-check): Rename it from ses-time-check and turn it into
5025 a macro.
5026
5027 * ses.el (ses-setup): Don't assume modifying the iteration var of
5028 dotimes affects the iteration (bug#18191).
5029
5030 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5031
5032 * ses.el (ses-calculate-cell): Bind row and col dynamically to
5033 their values with 'cl-progv'.
5034 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
5035 their values with 'cl-progv', also use non-interned symbols for
5036 row, minrow, maxrow, mincol and maxcol.
5037 (maxrow maxcol): New defvar, to make the compiler happy.
5038
5039 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
5042 completion functions.
5043
5044 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * ses.el (ses--letref): Quote value before it gets re-evaluated.
5047
5048 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
5049
5050 Font-lock `cl-flet*', too.
5051 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
5052 Add "flet*" to intermediate var `cl-lib-kw'.
5053
5054 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * epg-config.el (epg-gpg-program): Use the plain program names rather
5057 than their absolute file name.
5058
5059 * subr.el (track-mouse): New macro.
5060 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5061 Remove track-mouse case.
5062 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
5063
5064 2014-09-27 Leo Liu <sdl.web@gmail.com>
5065
5066 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
5067
5068 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
5069
5070 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
5073 Handle the case where `match' is :pcase--succeed or :pcase--fail
5074 (bug#18554).
5075
5076 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
5077 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
5078 (eldoc-schedule-timer): Obey it.
5079 (eldoc-documentation-function): Default to nil.
5080 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
5081 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
5082 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
5083 (eldoc-last-data-store, eldoc-docstring-first-line)
5084 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
5085 (eldoc-beginning-of-sexp, eldoc-current-symbol)
5086 (eldoc-function-argstring): Move to elisp-mode.el.
5087 (eldoc-symbol-function): Remove, unused.
5088 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
5089 (elisp-completion-at-point): Rename from lisp-completion-at-point.
5090 (elisp--preceding-sexp): Rename from preceding-sexp.
5091 * loadup.el: Load new file progmodes/elisp-mode.
5092 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
5093 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
5094 (lisp--local-variables-completion-table, lisp--expect-function-p)
5095 (lisp--form-quoted-p, lisp--company-doc-buffer)
5096 (lisp--company-doc-string, lisp--company-location)
5097 (lisp-completion-at-point): Move to elisp-mode.el.
5098 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
5099 extracted from emacs-lisp-mode-syntax-table.
5100 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
5101 elisp-mode.el.
5102 (lisp-imenu-generic-expression): Add comments to document what comes
5103 from which Lisp dialect.
5104 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
5105 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
5106 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
5107 (emacs-lisp-byte-code-comment)
5108 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
5109 (lisp-interaction-mode-map, lisp-interaction-mode)
5110 (eval-print-last-sexp, last-sexp-setup-props)
5111 (last-sexp-toggle-display, prin1-char, preceding-sexp)
5112 (eval-last-sexp-1, eval-last-sexp-print-value)
5113 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
5114 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
5115
5116 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
5117
5118 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
5119 Do not match file names that end in '/', as they cannot be 'grep'
5120 hits nowadays. This prevents confusion when 'grep -r' reports a
5121 match in a file whose basename is ':12345:'. Conversely, do not
5122 require exactly the same sequence of spaces and tabs after both
5123 colons, and allow spaces or tabs before the second colon, as per
5124 the POSIX spec for 'grep' output.
5125
5126 2014-09-26 Leo Liu <sdl.web@gmail.com>
5127
5128 Add cl-parse-integer based on parse-integer (Bug#18557)
5129 * calendar/parse-time.el (parse-time-digits): Remove.
5130 (digit-char-p, parse-integer) Moved to cl-lib.el.
5131 (parse-time-tokenize, parse-time-rules, parse-time-string):
5132 Use cl-parse-integer.
5133
5134 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5135
5136 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5137 (cl-digit-char-p): New function.
5138
5139 2014-09-25 Juri Linkov <juri@jurta.org>
5140
5141 * vc/add-log.el (change-log-next-buffer): Don't create an empty
5142 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5143 Return the current buffer if no files match the default pattern
5144 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
5145
5146 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5147
5148 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5149 the global vc-handled-backends (bug#18535).
5150
5151 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5154 Suggested by <lompik@voila.fr>.
5155
5156 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
5157
5158 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5159 Rename from `newsticker--treeview-do-get-node'.
5160 (newsticker--treeview-get-node-by-id):
5161 Rename from `newsticker--treeview-get-node'.
5162 (newsticker--treeview-buffer-init)
5163 (newsticker--treeview-buffer-init): Disable buffer undo.
5164 (newsticker--treeview-unfold-node): Adapt to modified
5165 `newsticker--group-find-parent-group'.
5166 (newsticker--group-do-find-group):
5167 Rename from `newsticker--group-do-find-group-for-feed'.
5168 Now works for both, groups and feeds.
5169 (newsticker--group-find-parent-group):
5170 Rename from `newsticker--group-find-group-for-feed'.
5171 Now works for both, groups and feeds.
5172 (newsticker--group-do-get-parent-group)
5173 (newsticker--group-get-parent-group): Remove.
5174 (newsticker-group-add-group): Change interactive prompts.
5175 (newsticker-group-add-group): Finally jump to added group.
5176 (newsticker-group-delete-group): Finally jump to current feed.
5177 (newsticker--group-do-rename-group, newsticker-group-rename-group)
5178 (newsticker--get-group-names, newsticker--group-names): New.
5179 (newsticker-group-move-feed): Finally jump to moved feed.
5180 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5181 (newsticker-group-shift-group-down)
5182 (newsticker-group-shift-group-up, newsticker--group-shift): New.
5183 (newsticker-treeview-mode-map): New keybindings for new shift commands.
5184
5185 * net/newst-backend.el (newsticker--item-list)
5186 (newsticker--item-position, newsticker--prev-message)
5187 (newsticker--scrollable-text): Move to newst-ticker.el.
5188
5189 * net/newst-ticker.el (newsticker--item-list)
5190 (newsticker--item-position, newsticker--prev-message)
5191 (newsticker--scrollable-text): Move from newst-backend.el.
5192
5193 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
5194
5195 * window.el (fit-window-to-buffer): When counting buffer width,
5196 count the whole visible buffer. Correctly convert the body-height
5197 to pixel size for window-text-pixel-size (Bug#18498).
5198
5199 2014-09-22 Sam Steingold <sds@gnu.org>
5200
5201 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5202 (sql-execute): Use `special-mode'.
5203
5204 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 Add pcase-defmacro, as well as `quote' and `app' patterns.
5207 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5208 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5209 (pcase--funcall, pcase--eval): New functions.
5210 (pcase--u1): Use them for guard, pred, let, and app.
5211 (\`): Use the new feature to generate better code for vector patterns.
5212 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5213 (pcase--upat): Remove.
5214 (pcase--macroexpand): Don't hardcode handling of `.
5215 (pcase--split-consp, pcase--split-vector): Remove.
5216 (pcase--split-equal): Disregard ` since it's expanded away.
5217 (pcase--split-member): Optimize for quote rather than for `.
5218 (pcase--split-pred): Optimize for quote rather than for `.
5219 (pcase--u1): Remove handling of ` (and of `or' and `and').
5220 Quote non-selfquoting values when passing them to `eq'.
5221 Drop `app's let-binding if the variable is not used.
5222 (pcase--q1): Remove.
5223 (`): Define as a pattern macro.
5224 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5225 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5226 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5227 quote patterns.
5228 (pcase--split-match): Don't hoist or/and here any more.
5229 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5230 (pcase--flip): New helper macro.
5231 (pcase--u1): Optimize the memq case directly.
5232 Don't handle neither self-quoting nor and/or patterns any more.
5233 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5234 (pcase--macroexpand): New function.
5235 (pcase--expand): Use it.
5236 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5237 New optimization functions.
5238 (pcase--u1): Add support for `quote' and `app'.
5239 (pcase): Document them in the docstring.
5240
5241 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 Use lexical-bindin in Ibuffer.
5244 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5245 (ibuffer-compile-format): Simplify.
5246 (ibuffer-clear-summary-columns): Simplify.
5247 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5248 elem of dotimes when we don't refer to the iteration var from it.
5249 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5250 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5251 Silence byte-compiler.
5252
5253 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5256 expression for a list.
5257
5258 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5259 for functions with no arguments.
5260
5261 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5262 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5263
5264 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
5265
5266 * simple.el (clone-indirect-buffer): Mention the return value
5267 (bug#18478).
5268
5269 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5270 Text mode in docstring (bug#18464).
5271
5272 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5275 Accept underscores in identifiers after "sub" (bug#18502).
5276
5277 2014-09-21 Tassilo Horn <tsdh@gnu.org>
5278
5279 * textmodes/reftex-sel.el (reftex-select-label-mode)
5280 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5281 from special-mode (instead of fundamental-mode) and propertize
5282 with font-lock-face instead of just face. (Bug#18496)
5283
5284 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5285
5286 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5287
5288 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5289 `table-etc' when `end' is non-nil.
5290 (lisp-completion-at-point): Move `end' back if it's after quote.
5291 If in comment or string, only complete when after backquote.
5292 (Bug#18265)
5293 (lisp-completion-at-point): Don't use
5294 `lisp--local-variables-completion-table' in the
5295 `lisp--form-quoted-p' case.
5296
5297 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5298
5299 * emacs-lisp/lisp.el (lisp--expect-function-p)
5300 (lisp--form-quoted-p): New functions.
5301 (lisp-completion-at-point): Use them to see if we're completing a
5302 variable reference, a function name, or just any symbol.
5303 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5304
5305 2014-09-18 Ivan Kanis <ivan@kanis.fr>
5306
5307 * net/shr.el, net/eww.el: Don't override `shr-width', but
5308 introduce a new variable `shr-internal-width'. This allows users
5309 to specify a width themselves.
5310
5311 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5312
5313 * image-mode.el (image-toggle-display-image): If we have a
5314 `fit-width' or a `fit-height', don't limit the size of the image
5315 to the window size, because that doesn't preserve the aspect ratio.
5316 * image-mode.el: Move defvars earlier to avoid a byte-compilation
5317 warning.
5318
5319 2014-09-17 Reuben Thomas <rrt@sc3d.org>
5320
5321 * progmodes/js.el: Add interpreter-mode-alist support for various
5322 JavaScript interpreters.
5323
5324 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
5325
5326 Don't assume 'grep' supports GREP_OPTIONS.
5327 The GREP_OPTIONS environment variable is planned to be marked
5328 obsolescent in GNU grep, due to problems in its use, so stop
5329 relying on it.
5330 * progmodes/grep.el (grep-highlight-matches): Document this.
5331 (grep-process-setup): Do not set GREP_OPTIONS.
5332 (grep-compute-defaults): Use an explicit --color option if supported.
5333
5334 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5335
5336 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5337 Don't add outdated key-shortcut cache (bug#18482).
5338
5339 2014-09-15 Glenn Morris <rgm@gnu.org>
5340
5341 * image.el (image-multi-frame-p): Fix thinko - do not force
5342 a delay if none was specified. (Bug#18334)
5343
5344 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
5345
5346 * window.el (fit-window-to-buffer): Doc fix.
5347
5348 2014-09-15 Ivan Shmakov <ivan@siamics.net>
5349
5350 * desktop.el (desktop-create-buffer): Check that buffers are still live
5351 before burying them (bug#18373).
5352
5353 2014-09-15 Glenn Morris <rgm@gnu.org>
5354
5355 * calendar/diary-lib.el (diary-list-entries):
5356 Restore 24.3 display behavior. (Bug#18381)
5357
5358 2014-09-15 Eli Zaretskii <eliz@gnu.org>
5359
5360 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5361 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
5362 discrepancy between window-pixel-edges and mouse events, and
5363 avoids moving mode line up when the mouse click is on the modeline
5364 and no drag is attempted.
5365
5366 2014-09-14 Daniel Colascione <dancol@dancol.org>
5367
5368 * register.el (insert-register): Change default interactive
5369 insertion mode.
5370
5371 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
5372
5373 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5374 Suppress debug messages.
5375
5376 * net/tramp.el (tramp-file-name-handler):
5377 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5378 appropriate.
5379
5380 2014-09-13 Christopher Schmidt <ch@ristopher.com>
5381
5382 * calendar/calendar.el (calendar-update-mode-line):
5383 Do not overwrite mode-line-format if calendar-mode-line-format is
5384 nil. (Bug#18467)
5385
5386 2014-09-13 Leo Liu <sdl.web@gmail.com>
5387
5388 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5389 (pcase--expand): Use it.
5390 (pcase-exhaustive): New macro. (Bug#16567)
5391
5392 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5393 Add pcase-exhaustive.
5394
5395 2014-09-13 Eli Zaretskii <eliz@gnu.org>
5396
5397 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5398 using the specified transfer-encoding, if any, or 'undecided'.
5399 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5400 broken at the window margin.
5401
5402 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
5403
5404 Support rendering of HTML parts in Rmail (bug#4258).
5405 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5406 separately from other text/ types. Suppress tagline for
5407 multipart body.
5408 (rmail-mime-parse): Don't change visibility of tagline here.
5409 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5410 Handle text/html specially.
5411 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
5412 (rmail-mime-insert-html, rmail-mime-render-html-shr)
5413 (rmail-mime-render-html-lynx): New functions.
5414 (rmail-mime-fix-inserted-faces): New function.
5415 (rmail-mime-process-multipart): Find the best part to show
5416 following rmail-mime-prefer-html if set.
5417 (rmail-mime-searching): New variable.
5418 (rmail-search-mime-message): Bind rmail-mime-searching to
5419 suppress rendering while searching.
5420
5421 2014-09-12 Sam Steingold <sds@gnu.org>
5422
5423 * progmodes/sql.el (sql-product-alist): Add vertica.
5424 (sql-vertica-program, sql-vertica-options)
5425 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
5426 New functions and variables to support Vertica.
5427 Inspired by code by Roman Scherer <roman@burningswell.com>.
5428
5429 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
5430
5431 * ses.el (ses-file-format-extend-parameter-list): Rename from
5432 ses-file-format-extend-paramter-list, to correct a misspelling.
5433 All uses changed.
5434
5435 2014-09-10 Alan Mackenzie <acm@muc.de>
5436
5437 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
5438 gets loaded at run-time).
5439 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
5440 c-lang-const to c-make-no-parens-syntax-table and correct the
5441 logic.
5442 (c-no-parens-syntax-table): Correct the logic of the
5443 c-lang-defvar.
5444
5445 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
5448 plus misc cleanup.
5449 * progmodes/cc-mode.el (c-basic-common-init):
5450 Set open-paren-in-column-0-is-defun-start.
5451 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
5452 Remove declarations, unused.
5453 (run-mode-hooks): Remove declaration.
5454 (font-lock-defaults): Use plain `defvar' to declare.
5455 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
5456 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
5457 (c-make-mode-syntax-table): Don't micro-optimize.
5458 (c-keywords, c-keyword-member-alist): Simplify.
5459 (c-kwds-lang-consts): Don't eval at compile-time.
5460 (c-primary-expr-regexp): Comment out unused vars.
5461 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
5462 (c-font-byte-compile): New var.
5463 (c--compile): New function. Use it instead of `byte-compile'.
5464 (c-cpp-matchers): Quote the value returned by
5465 `c-make-syntactic-matcher' in case it's not self-evaluating.
5466 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
5467 parentheses instead (in case MATCHER happens to be a list).
5468 (c-font-lock-enum-tail): Remove unused var `start'.
5469 (c-font-lock-objc-methods): Silence byte-compiler warnings.
5470 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
5471 test into an argument.
5472 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
5473 (c-get-char-property): Don't use `eval' just to unquote a constant.
5474 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
5475 more efficiently.
5476 (c-put-char-property-fun): Don't call `byte-compile' by hand.
5477 (c-clear-char-property, c-clear-char-properties): Check that `property'
5478 is a quoted constant.
5479 (c-emacs-features): Remove `infodock', `syntax-properties', and
5480 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
5481 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
5482 changing buffer, so we don't have to setq them again afterwards.
5483 (c-lang-const): Remove redundant symbolp assertions.
5484 (c-find-assignment-for-mode): Use `or'.
5485 * Makefile.in (compile-one-process): Remove cc-mode dependency.
5486
5487 2014-09-09 Sam Steingold <sds@gnu.org>
5488
5489 * progmodes/sql.el (sql-default-directory): Fix type annotation.
5490
5491 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
5494 Change doc comments into docstrings.
5495 * Makefile.in: Remove cc-awk dependency.
5496
5497 2014-09-08 Sam Steingold <sds@gnu.org>
5498
5499 * progmodes/sql.el (sql-send-line-and-next): New command,
5500 bound to C-c C-n.
5501 (sql-show-sqli-buffer): Display the buffer instead of its name and
5502 bind the command to C-c C-z.
5503 (sql-default-directory): New user option.
5504 (sql-product-interactive): Bind `default-directory' to it to
5505 enable remote connections using Tramp.
5506 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
5507 suitable buffer is available.
5508
5509 2014-09-08 Glenn Morris <rgm@gnu.org>
5510
5511 * calendar/calendar.el (calendar-basic-setup):
5512 Fix calendar-view-holidays-initially-flag and fancy display.
5513 * calendar/diary-lib.el (diary-live-p): Doc fix.
5514
5515 * calendar/calendar.el (calendar-basic-setup):
5516 Avoid clobbering calendar with diary. (Bug#18381)
5517
5518 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
5521
5522 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
5523
5524 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
5525 as well (bug#18400).
5526
5527 2014-09-08 Eli Zaretskii <eliz@gnu.org>
5528
5529 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
5530
5531 2014-09-06 Leo Liu <sdl.web@gmail.com>
5532
5533 * emacs-lisp/pcase.el (pcase): Doc fix.
5534 (pcase--split-vector): New function.
5535 (pcase--q1): Support vector qpattern. (Bug#18327)
5536
5537 2014-09-05 Sam Steingold <sds@gnu.org>
5538
5539 * textmodes/tex-mode.el (tex-print-file-extension): New user
5540 option.
5541 (tex-print): Use it instead of the hard-coded string.
5542
5543 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
5544
5545 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5546 Expand `default-directory'.
5547
5548 2014-09-05 Martin Rudalics <rudalics@gmx.at>
5549
5550 * scroll-bar.el (horizontal-scroll-bars-available-p):
5551 New function.
5552 (horizontal-scroll-bar-mode): Rewrite using
5553 horizontal-scroll-bars-available-p.
5554 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
5555 horizontal-scroll-bars-available-p.
5556
5557 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * subr.el (call-process-shell-command, process-file-shell-command):
5560 Make the `args' obsolete (bug#18409).
5561 (start-process-shell-command, start-file-process-shell-command):
5562 Use `declare'.
5563
5564 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
5565
5566 * calc/calc-forms.el (math-normalize-hms): Do a better check for
5567 "negative" hms forms.
5568
5569 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
5570
5571 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
5572 returns nil (bug#18391).
5573
5574 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
5577 terminating paren (bug#18352).
5578 (eldoc-last-data-store): Return cached data.
5579 (eldoc-get-var-docstring): Avoid setq.
5580 (eldoc-get-fnsym-args-string): Clarify data flow.
5581
5582 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5583
5584 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
5585 case where we're currently providing part of the &rest arg after some
5586 &key args, as in define-ibuffer-op (bug#18048).
5587
5588 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
5591 buffer-local setting of which-func-mode.
5592 (which-func-mode): Use defvar-local.
5593 (which-function-mode): Don't reset which-func-mode in each buffer since
5594 it might have been set by someone else.
5595 (which-func-update-ediff-windows): Check which-function-mode.
5596
5597 2014-09-03 Martin Rudalics <rudalics@gmx.at>
5598
5599 * frame.el (frame-initialize): Remove horizontal-scroll-bars
5600 from frame-initial-frame-alist.
5601 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
5602 (horizontal-scroll-bar-mode-explicit)
5603 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
5604 (toggle-horizontal-scroll-bar): Remove.
5605 (horizontal-scroll-bar-mode): Remove defcustom.
5606 (horizontal-scroll-bar-mode): Fix doc-string.
5607 (scroll-bar-toolkit-scroll)
5608 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
5609
5610 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * emacs-lisp/package.el (package-generate-description-file):
5613 Properly quote the arguments (bug#18332). Change second arg.
5614 (package--alist-to-plist-args): Rename from package--alist-to-plist and
5615 quote the elements.
5616 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
5617 the *-pkg.el file. Adjust to new calling convention of
5618 package-generate-description-file.
5619
5620 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
5621 (gud-gdb-completions): Remove obsolete workaround.
5622
5623 2014-09-03 Eli Zaretskii <eliz@gnu.org>
5624
5625 * subr.el (posn-col-row): Revert the change from commit
5626 2010-11-13T21:07:58Z!eliz@gnu.org, which
5627 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
5628 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
5629 introduced an off-by-one error in the reported row when there is a
5630 header line. (Bug#18384)
5631
5632 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5633
5634 * progmodes/python.el (python-indent-post-self-insert-function):
5635 Avoid electric colon at beginning-of-defun. (Bug#18228)
5636
5637 2014-09-03 Glenn Morris <rgm@gnu.org>
5638
5639 * tutorial.el (tutorial--display-changes):
5640 Fix 2014-08-01 change. (Bug#18382)
5641
5642 2014-09-03 Ken Brown <kbrown@cornell.edu>
5643
5644 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
5645 the Cygwin-w32 build. (Bug#18347)
5646
5647 2014-09-03 Glenn Morris <rgm@gnu.org>
5648
5649 * tar-mode.el (tar--extract, tar-extract):
5650 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
5651
5652 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
5655 handle multiline elements (bug#18380).
5656
5657 2014-09-01 Eli Zaretskii <eliz@gnu.org>
5658
5659 * ls-lisp.el (ls-lisp-use-string-collate)
5660 (ls-lisp-UCA-like-collation): New defcustoms.
5661 (ls-lisp-string-lessp): Use them to control sorting by file
5662 names. (Bug#18051)
5663 (ls-lisp-version-lessp): New function.
5664 (ls-lisp-handle-switches): Use it to implement the -v switch of
5665 GNU ls.
5666 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
5667
5668 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
5669
5670 * ibuffer.el: Replace mode-specific quit function with
5671 `quit-window' via `special-mode'.
5672 (ibuffer-mode-map): Use keybindings from special-mode-map instead
5673 of local overrides.
5674 (ibuffer): Don't store previous windows configuration.
5675 Let `quit-window' handle restoring.
5676 (ibuffer-quit): Remove function. Use `quit-window' instead.
5677 (ibuffer-restore-window-config-on-quit): Remove variable.
5678 (ibuffer-prev-window-config): Remove variable.
5679
5680 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
5681
5682 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
5683 name instead of variable name in hook docstring. (Bug#18349)
5684
5685 2014-08-29 Martin Rudalics <rudalics@gmx.at>
5686
5687 * window.el (display-buffer-at-bottom): Prefer bottom-left
5688 window to other bottom windows. Reuse a bottom window if it
5689 shows the buffer already. Suggested by Juri Linkov
5690 <juri@jurta.org> in discussion of (Bug#18181).
5691
5692 2014-08-29 Leo Liu <sdl.web@gmail.com>
5693
5694 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
5695 append to minibuffer-setup-hook. (Bug#18341)
5696
5697 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
5700 byte-compiler.
5701 (lookup-syntax-properties): Silence byte-compiler.
5702 (c-lang-defconst): Quote the code with `lambda' rather than with
5703 `quote'.
5704 (c-lang-const): Avoid unneeded setq.
5705 (c-lang-constants-under-evaluation): Add docstring.
5706 (c-lang--novalue): New constant.
5707 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
5708 (c-get-lang-constant): Same here.
5709 Get the mode's value using `funcall' now that the code is quoted
5710 with `lambda'.
5711
5712 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5713
5714 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
5715 (Bug#18326)
5716
5717 2014-08-28 Martin Rudalics <rudalics@gmx.at>
5718
5719 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
5720 interpretation of `portion-whole'.
5721
5722 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5723
5724 * net/tramp-adb.el: Spell author name correctly.
5725
5726 2014-08-28 João Távora <joaotavora@gmail.com>
5727
5728 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
5729 use url-expand-file-name. (Bug#18310)
5730
5731 2014-08-28 Glenn Morris <rgm@gnu.org>
5732
5733 * emulation/cua-rect.el (cua--highlight-rectangle):
5734 Avoid error at point-min. (Bug#18309)
5735
5736 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
5739 executable-find (bug#18244).
5740
5741 * simple.el (self-insert-uses-region-functions): Defvar.
5742
5743 2014-08-28 Glenn Morris <rgm@gnu.org>
5744
5745 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
5746
5747 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
5748
5749 * startup.el (normal-top-level): Now use internal--top-level-message.
5750
5751 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
5752
5753 * startup.el (normal-top-level): Use top-level-message.
5754
5755 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5756
5757 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
5758 URLs containing spaces and the like.
5759
5760 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5761
5762 * subr.el (remq): Fix docstring (Bug#18253).
5763
5764 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5765
5766 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
5767
5768 2014-08-24 Alan Mackenzie <acm@muc.de>
5769
5770 Handle C++11's "auto" and "decltype" constructions.
5771 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
5772 and return 'decltype.
5773 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
5774 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
5775 keyword.
5776 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
5777 "decltype" keyword.
5778 (c-font-lock-c++-new): Handle "decltype" constructions.
5779 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
5780 New c-lang-defconsts/defvars.
5781 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
5782 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
5783 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
5784 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
5785
5786 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
5787 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
5788 off from c->-op-cont-re.
5789 (c->-op-cont-tokens): Change to use the above.
5790 (c->-op-without->-cont-regexp): New lang-const.
5791 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
5792 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
5793
5794
5795 2014-08-23 Alan Mackenzie <acm@muc.de>
5796
5797 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
5798 loop, bug #18306. The bug was introduced on 2014-08-02.
5799
5800 2014-08-21 Eli Zaretskii <eliz@gnu.org>
5801
5802 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
5803 Don't recognize a Top node if there are other sectioning commands
5804 earlier in the Texinfo file. This fixes a bug in
5805 texinfo-make-menu and avoids inflooping in
5806 texinfo-all-menus-update when they are invoked on texinfo.texi.
5807
5808 2014-08-21 Martin Rudalics <rudalics@gmx.at>
5809
5810 * window.el (window--side-window-p): New function.
5811 (split-window, window-splittable-p): Use window--side-window-p to
5812 determine whether WINDOW can be split (Bug#18304).
5813 * calendar/calendar.el (calendar-basic-setup): Fix one call of
5814 `window-splittable-p' and add another (Bug#18304).
5815
5816 2014-08-20 Sam Steingold <sds@gnu.org>
5817
5818 * progmodes/python.el (python-new-pythonpath): Extract from
5819 `python-shell-calculate-process-environment'.
5820
5821 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5822
5823 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
5824 for &key args (bug#18048).
5825
5826 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
5829 (eldoc-function-argstring-format): Remove.
5830 (eldoc-function-argstring): Always return upcase args.
5831 Use help-make-usage. Don't add parens.
5832 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
5833 it's too late to do it right (bug#18048).
5834
5835 2014-08-18 Eli Zaretskii <eliz@gnu.org>
5836
5837 * scroll-bar.el (scroll-bar-horizontal-drag-1)
5838 (scroll-bar-toolkit-horizontal-scroll): When determining the
5839 paragraph direction, use the buffer of the window designated in
5840 the event.
5841
5842 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
5843
5844 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
5845 context of unified diff.
5846
5847 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
5848
5849 Add dependencies to fix loaddefs race during parallel builds.
5850 Without this, for example, 'make -j bootstrap' can fail and report
5851 "Opening input file: no such file or directory,
5852 .../lisp/calendar/diary-loaddefs.el ... recipe for target
5853 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
5854 got confused because diary-loaddefs.el was being built in parallel.
5855 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
5856 Depend on $(CAL_DIR)/cal-loaddefs.el.
5857 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
5858
5859 2014-08-16 Martin Rudalics <rudalics@gmx.at>
5860
5861 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
5862 portion-whole for scrolling right-to-left text.
5863
5864 2014-08-15 Leo Liu <sdl.web@gmail.com>
5865
5866 * speedbar.el (speedbar-generic-list-tag-p): Allow special
5867 elements from imenu.
5868
5869 2014-08-15 Glenn Morris <rgm@gnu.org>
5870
5871 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
5872
5873 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5874
5875 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5876 Add Guile regexpses.
5877
5878 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5879
5880 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
5881 add Guile debugger support for GUD.
5882
5883 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
5886 (mouse-sel--ignore): New function.
5887 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
5888 (mouse-sel-original-interprogram-cut-function)
5889 (mouse-sel-original-interprogram-paste-function): Remove.
5890
5891 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
5892
5893 * vc/vc-git.el (vc-git-resolve-when-done): New function.
5894 Call "git add" when there are no longer conflict markers.
5895
5896 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5897
5898 * vc/vc-git.el (vc-git-find-file-hook): New function.
5899 Adds support for calling smerge (and resolve) on a conflicted file.
5900 (vc-git-conflicted-files): New function.
5901 Useful in itself and a step towards better smerge support.
5902
5903 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
5906 to the first part if they're the same as the selection.
5907
5908 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909
5910 * image-mode.el (image-transform-reset): New command and menu item.
5911 (image-mode-map): Rearrange the menu items to put presumably more
5912 obscure items at the end.
5913
5914 2014-08-12 Juri Linkov <juri@jurta.org>
5915
5916 * vc/vc-annotate.el (vc-annotate-background-mode):
5917 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
5918
5919 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * files.el (out-of-memory-warning-percentage): Turn it off by default.
5922
5923 2014-08-11 Sam Steingold <sds@gnu.org>
5924
5925 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
5926 the presence of known validators (tidy, (o)nsgmls).
5927
5928 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
5929
5930 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
5931 * net/newst-treeview.el (newsticker-treeview-date-format): New.
5932 (newsticker--treeview-list-add-item):
5933 Use `newsticker-treeview-date-format'.
5934
5935 2014-08-11 Glenn Morris <rgm@gnu.org>
5936
5937 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
5938 chose coding system for writing before backing up, since it causes
5939 a more serious problem than the one it solves. (Closes Bug#18141,
5940 reopens Bug#13522.)
5941
5942 2014-08-11 Martin Rudalics <rudalics@gmx.at>
5943
5944 * window.el (window-total-size): Make doc-string more self-contained.
5945
5946 * window.el (display-buffer-below-selected): Restore original
5947 behavior if buffer is already displayed in the window below the
5948 selected one (Bug#18181).
5949
5950 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
5953 event (bug#18212).
5954
5955 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5956
5957 * info.el (info): Doc fix.
5958
5959 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * info.el (Info-mode-map): Override a global down-mouse-2 binding
5962 (bug#18212).
5963
5964 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5965
5966 * simple.el (default-line-height): A floating-point value of
5967 line-spacing means a fraction of the default frame font's height,
5968 not of the font currently used by the 'default' face.
5969 Truncate the pixel value, like the display engine does.
5970 (window-screen-lines): Use window-inside-pixel-edges for
5971 determining the window height in pixels. (Bug#18195)
5972
5973 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
5974
5975 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
5976
5977 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
5978
5979 Enumerate evaluated sexp diary entries (Bug#7911).
5980 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
5981 (icalendar-export-sexp-enumeration-days): New.
5982 (icalendar-export-region): Now `icalendar--convert-to-ical'
5983 returns a cons cell or a list of cons cells.
5984 (icalendar--convert-to-ical): Take care of
5985 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
5986 (icalendar--convert-ordinary-to-ical)
5987 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5988 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
5989 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
5990 (icalendar--convert-anniversary-to-ical): Return cons cell.
5991 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
5992 entries. Return (list of) cons cells.
5993
5994 2014-08-09 Juri Linkov <juri@jurta.org>
5995
5996 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
5997 to reevaluate `vc-annotate-color-map'. (Bug#18189)
5998
5999 2014-08-09 Alan Mackenzie <acm@muc.de>
6000
6001 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
6002 for top-level that can cause unacceptable slow-down in scrolling.
6003 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
6004 Antipov from 2013-10-14 in emacs-devel.
6005
6006 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6007
6008 * ibuffer.el (ibuffer-mode-map): Use toggle button for
6009 `ibuffer-auto-mode' menu entry.
6010 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
6011
6012 2014-08-08 Matthias Meulien <orontee@gmail.com>
6013
6014 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
6015 (Bug#16394)
6016
6017 2014-08-07 Martin Rudalics <rudalics@gmx.at>
6018
6019 * window.el (window--min-size-1): Explicitly set WINDOW arg in
6020 calls of window-min-pixel-height and window-min-pixel-width.
6021
6022 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6023
6024 * progmodes/ada-mode.el:
6025 * net/tramp.el (tramp-handle-file-symlink-p):
6026 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
6027 about VMS, which we no longer support.
6028 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
6029 and fix a FIXME, using convert-standard-filename in place of
6030 removed ada-convert-file-name.
6031
6032 2014-08-07 Eli Zaretskii <eliz@gnu.org>
6033
6034 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
6035
6036 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6037
6038 Refer to MS-DOS using the same name everywhere.
6039 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
6040 ``msdog'' become ``MS-DOS''.
6041
6042 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6045 Use cached "remote-copy-args" value, if available. (Bug#18199)
6046
6047 2014-08-07 Leo Liu <sdl.web@gmail.com>
6048
6049 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
6050 Revert change on 2014-03-22.
6051
6052 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
6053
6054 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
6055 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
6056 (Bug#13750).
6057
6058
6059 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6060
6061 * image-mode.el (image-toggle-display-image): Always rescale images
6062 to not be bigger than the current window.
6063
6064 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
6065
6066 * net/eww.el (eww-bookmarks-directory): New variable.
6067 (eww-write-bookmarks): Use it.
6068 (eww-read-bookmarks): Ditto.
6069
6070 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6071
6072 * net/shr.el (shr-copy-url): Also copy the image URL.
6073
6074 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
6075
6076 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
6077 also for Tramp working buffers.
6078
6079 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6080
6081 * progmodes/python.el: Fix completions inside (i)pdb.
6082 (python-shell-completion-pdb-string-code): Make obsolete.
6083 (python-shell-completion-get-completions):
6084 Use python-shell-completion-string-code resending setup code
6085 continuously for (i)pdb.
6086
6087 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
6088
6089 * rect.el (rectangle--default-line-number-format): Rename
6090 from misspelled rectange--default-line-number-format (Bug#18045).
6091 All uses changed.
6092
6093 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
6094
6095 Don't mishandle year-9999 dates (Bug#18176).
6096 * calendar/parse-time.el (parse-time-rules):
6097 Allow years up to most-positive-fixnum.
6098 * calendar/time-date.el (date-to-time):
6099 Pass "Specified time is not representable" errors through.
6100
6101 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6102
6103 * progmodes/python.el: Completion code cleanups.
6104 (python-shell-completion-get-completions): Detect and send import
6105 statements directly to completion function.
6106 (python-shell-completion-at-point): Simplify prompt calculation
6107 and import vs input completion logic.
6108
6109 2014-08-02 Alan Mackenzie <acm@muc.de>
6110
6111 Fix confusion in C++ file caused by comma in "= {1,2},".
6112 Bug #17756.
6113 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
6114 for a statement boundary marked by "}", check there's no "="
6115 before the "{".
6116 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
6117 non-nil `comma-delim' argument.
6118 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
6119 initializer expression more accurately.
6120
6121 Correct loop termination condition in c-syntactic-skip-backward.
6122 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6123 the situation where, after moving back out of a literal,
6124 skip-chars-backward doesn't move further, yet checks have still to
6125 be done.
6126
6127 2014-08-01 Eli Zaretskii <eliz@gnu.org>
6128
6129 * tutorial.el (tutorial--display-changes): Accept punctuation
6130 characters before the key binding. (Bug#18146)
6131
6132 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
6133
6134 * progmodes/python.el: Shell output capture enhancements.
6135 (python-shell-accept-process-output): New function.
6136 (inferior-python-mode)
6137 (python-shell-send-setup-code): Use it.
6138
6139 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
6140
6141 * calendar/icalendar.el (icalendar--decode-isodatetime):
6142 Use actual current-time-zone when converting to local time. (Bug#15408)
6143
6144 2014-07-29 Martin Rudalics <rudalics@gmx.at>
6145
6146 * window.el (window--state-put-2): Handle horizontal scroll
6147 bars, if present.
6148
6149 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6150
6151 * menu-bar.el (menu-bar-update-buffers): Update item list format
6152 in `buffers-menu' to confirm with changes to `get_keyelt'
6153 (r117463). (Bug#18016)
6154
6155 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6156
6157 * progmodes/python.el (inferior-python-mode): Make input prompts
6158 read-only.
6159
6160 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
6161
6162 * net/tramp-sh.el (tramp-get-remote-python): Also search for
6163 executables named "python2" or "python3".
6164 (tramp-get-remote-uid-with-python): Use parentheses around
6165 arguments to `print' to make it compatible with Python 3.
6166 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
6167
6168 2014-07-28 Eli Zaretskii <eliz@gnu.org>
6169
6170 * window.el (window--pixel-to-total): Use FRAME's root window, not
6171 that of the selected frame. (Bug#18112, Bug#16674)
6172
6173 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
6174
6175 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6176 (Bug#18117)
6177
6178 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6179
6180 * progmodes/python.el (inferior-python-mode): Doc fix.
6181
6182 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6183
6184 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6185 not a character, ignore it instead of raising an error.
6186
6187 * calendar/todo-mode.el: Fix handling of marked items and make
6188 minor code improvements.
6189 (todo-edit-item): If there are marked items, ensure user can only
6190 invoke editing commands that work with marked items.
6191 (todo-edit-item--text): When there are marked items, make it a
6192 noop if invoked with point not on an item; otherwise, ensure it
6193 applies only to item at point.
6194 (todo-item-undone): If there are marked not-done items, return
6195 point to its original position before signaling user error.
6196 (todo--user-error-if-marked-done-item): New function.
6197 (todo-edit-item--header, todo-edit-item--diary-inclusion)
6198 (todo-item-done): Use it.
6199
6200 2014-07-28 Glenn Morris <rgm@gnu.org>
6201
6202 * files.el (toggle-read-only): Re-add basic doc-string.
6203 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6204
6205 * progmodes/prolog.el (prolog-mode-keybindings-edit):
6206 Replace missing `switch-to-prolog' with `run-prolog'.
6207 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6208
6209 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6210
6211 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6212 of file-wide setting when changing category-wide setting.
6213
6214 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6215
6216 * doc-view.el (doc-view-open-text): Don't require that the
6217 document is saved in a file (e.g., email attachment).
6218
6219 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6220
6221 Parse completion input in a iPython friendly way. (Bug#18084)
6222 * progmodes/python.el
6223 (python-shell-completion-at-point): Rename from
6224 python-shell-completion-complete-at-point.
6225 (inferior-python-mode): Use it.
6226 (python-completion-at-point): Rename from
6227 python-completion-complete-at-point. Parse input up to first
6228 backward occurrence of whitespace, open-paren, close-paren or
6229 string delimiter.
6230 (python-mode): Use it.
6231
6232 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6233
6234 * progmodes/python.el
6235 (python-shell-with-shell-buffer): New macro.
6236 (python-shell-font-lock-get-or-create-buffer)
6237 (python-shell-font-lock-kill-buffer)
6238 (python-shell-font-lock-with-font-lock-buffer)
6239 (python-shell-font-lock-cleanup-buffer)
6240 (python-shell-font-lock-toggle): Use it.
6241 (python-shell-font-lock-turn-on)
6242 (python-shell-font-lock-turn-off): Use it. Make command.
6243
6244 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6245
6246 Grab all Python process output before inferior-python-mode hooks.
6247 * progmodes/python.el (inferior-python-mode):
6248 Call accept-process-output and sit-for to ensure all output for process
6249 has been received before running hooks.
6250 (python-shell-internal-get-or-create-process):
6251 Cleanup accept-process-output and sit-for calls.
6252
6253 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6254
6255 More robust shell startup and code setup.
6256 * progmodes/python.el (python-shell-make-comint):
6257 Remove accept-process-output call.
6258 (python-shell-get-buffer): Return current buffer if major-mode is
6259 inferior-python-mode.
6260 (python-shell-get-or-create-process): Use it.
6261 (python-shell-send-setup-code): Send all setup code in one string,
6262 output success message and accept-process-output.
6263
6264 2014-07-27 Eli Zaretskii <eliz@gnu.org>
6265
6266 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6267 Add rudimentary support for bidirectional text.
6268
6269 2014-07-27 Martin Rudalics <rudalics@gmx.at>
6270
6271 * frame.el (frame-notice-user-settings): Rewrite using
6272 frame-initial-frame-tool-bar-height.
6273 * menu-bar.el (menu-bar-horizontal-scroll-bar)
6274 (menu-bar-no-horizontal-scroll-bar): New functions.
6275 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6276 scroll bars.
6277 * scroll-bar.el (scroll-bar-lines)
6278 (set-horizontal-scroll-bar-mode)
6279 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6280 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6281 (scroll-bar-toolkit-horizontal-scroll): New functions.
6282 (horizontal-scroll-bar-mode)
6283 (previous-horizontal-scroll-bar-mode)
6284 (horizontal-scroll-bar-mode-explicit): New variables.
6285 (horizontal-scroll-bar-mode): New option.
6286 (toggle-horizontal-scroll-bar): Do something.
6287 (top-level): Bind horizontal-scroll-bar mouse-1.
6288 * startup.el (tool-bar-originally-present): Remove variable.
6289 (command-line): Don't set tool-bar-originally-present.
6290 * window.el (window-min-height): Update doc-string.
6291 (window--dump-frame): Dump horizontal scroll bar values.
6292 (window--min-size-1): Handle minibuffer window separately.
6293 Count in margins and horizontal scroll bar. Return safe value
6294 iff IGNORE equals 'safe.
6295 (frame-windows-min-size): New function (used by frame resizing
6296 routines).
6297 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6298 scroll bars.
6299 (window--sanitize-window-sizes): New function.
6300 (window-split-min-size): Remove.
6301 (split-window): Count divider-width. Don't use
6302 `window-split-min-size' any more. Reword error messages.
6303 Sanitize windows sizes after splitting.
6304
6305 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
6306
6307 Use `defvar-local' more.
6308 * progmodes/hideshow.el
6309 (hs-c-start-regexp, hs-block-start-regexp)
6310 (hs-block-start-mdata-select, hs-block-end-regexp)
6311 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6312 remove corresponding `make-variable-buffer-local' top-level calls.
6313
6314 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6315
6316 Cleanup error signals. (Bug#18067)
6317 * progmodes/python.el
6318 (python-indent-shift-left): Use user-error instead.
6319 (python-shell-prompt-detect): Use lwarn with python group.
6320 (python-completion-complete-at-point)
6321 (python-eldoc--get-doc-at-point): Don't signal error.
6322
6323 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6324
6325 Support for packages in Python shell. (Bug#13570)
6326 * progmodes/python.el (python-shell--package-depth): New var.
6327 (python-shell-package-enable): New command.
6328 (python-util-list-directories, python-util-list-files)
6329 (python-util-list-packages): New functions.
6330
6331 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6332
6333 Faster comint output. (Bug#16875)
6334 * progmodes/python.el:
6335 (python-comint-output-filter-function): Make obsolete.
6336 (python-comint-postoutput-scroll-to-bottom): New function.
6337 (inferior-python-mode): Set comint-output-filter-functions to a
6338 minimum.
6339
6340 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6341
6342 * progmodes/python.el (python-shell-font-lock-post-command-hook):
6343 Safeguard current point and undo history.
6344
6345 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6346
6347 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
6348 * progmodes/python.el:
6349 (python-shell-prompt-input-regexps): Add iPython block prompt.
6350 (python-shell-output-syntax-table): Delete var.
6351 (python-shell-font-lock-with-font-lock-buffer): New macro.
6352 (python-shell-font-lock-get-or-create-buffer)
6353 (python-shell-font-lock-kill-buffer)
6354 (python-shell-font-lock-cleanup-buffer)
6355 (python-shell-font-lock-post-command-hook)
6356 (python-shell-font-lock-turn-off): New functions.
6357 (python-shell-font-lock-turn-on): New function.
6358 (inferior-python-mode): Use it.
6359 (python-shell-font-lock-toggle): New command.
6360 (python-shell-font-lock-enable): Rename from
6361 python-shell-enable-font-lock.
6362 (run-python-internal): Use it.
6363 (python-shell-font-lock-comint-output-filter-function): New function.
6364 (python-shell-comint-end-of-output-p): New function.
6365 (python-shell-output-filter): Use it.
6366 (python-util-comint-last-prompt): New function.
6367 (python-util-text-properties-replace-name): New function.
6368
6369 2014-07-25 Glenn Morris <rgm@gnu.org>
6370
6371 * vc/ediff-init.el (ediff-toggle-read-only-function):
6372 * vc/ediff-util.el (ediff-toggle-read-only):
6373 Replace obsolete toggle-read-only with read-only-mode.
6374
6375 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
6376
6377 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6378 with `save-match-data'. (Bug#18095)
6379
6380 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
6381
6382 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6383 order to ensure that row and col are lexically bound inside the
6384 evaluated sexp.
6385
6386 2014-07-21 Glenn Morris <rgm@gnu.org>
6387
6388 * progmodes/hideif.el (hide-ifdef-mode-submap):
6389 Also substitute read-only-mode.
6390 * bindings.el (mode-line-toggle-read-only):
6391 * bs.el (bs-toggle-readonly):
6392 * buff-menu.el (Buffer-menu-toggle-read-only):
6393 * dired.el (dired-toggle-read-only):
6394 * files.el (view-read-only, find-file-read-only)
6395 (find-file-read-only-other-window)
6396 (find-file-read-only-other-frame):
6397 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6398 Doc fixes re toggle-read-only.
6399
6400 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6401
6402 * progmodes/python.el: Add comment about pipe buffering and
6403 solutions for missing/delayed output in inferior Python shells.
6404 (Bug#17304)
6405
6406 * progmodes/python.el (python-mode): Don't set
6407 mode-require-final-newline. (Bug#17990)
6408
6409 Make python.el work with IPython automatically. (Bug#15510)
6410 * progmodes/python.el:
6411 (python-shell-completion-setup-code): New value supporting iPython.
6412 (python-shell-completion-string-code): New value supporting iPython.
6413 (python-shell-completion-get-completions): Use them.
6414 (python-shell-completion-module-string-code): Make obsolete.
6415 (python-shell-prompt-input-regexps)
6416 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
6417 (python-shell-output-filter): Fix comment typo.
6418
6419 Fix Python shell prompts detection for remote hosts.
6420 * progmodes/python.el (python-shell-prompt-detect):
6421 Replace call-process with process-file and make it more robust.
6422
6423 Autodetect Python shell prompts. (Bug#17370)
6424 * progmodes/python.el:
6425 (python-shell-interpreter-interactive-arg)
6426 (python-shell-prompt-detect-enabled)
6427 (python-shell-prompt-detect-failure-warning)
6428 (python-shell-prompt-input-regexps)
6429 (python-shell-prompt-output-regexps): New vars.
6430 (python-shell-prompt-calculated-input-regexp)
6431 (python-shell-prompt-calculated-output-regexp): New vars.
6432 (python-shell-get-process-name)
6433 (python-shell-internal-get-process-name)
6434 (python-shell-output-filter)
6435 (python-shell-completion-get-completions): Use them.
6436 (python-shell-prompt-detect)
6437 (python-shell-prompt-validate-regexps): New functions.
6438 (python-shell-prompt-set-calculated-regexps): New function.
6439 (inferior-python-mode): Use it. Also honor overriden
6440 python-shell-interpreter and python-shell-interpreter-args.
6441 (python-shell-make-comint): Honor overriden
6442 python-shell-interpreter and python-shell-interpreter-args.
6443 (python-shell-get-or-create-process): Make it testable by allowing
6444 to call run-python non-interactively.
6445 (python-util-valid-regexp-p): New function.
6446 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
6447 (python-shell-prompt-output-regexp)
6448 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
6449
6450 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/smie.el (smie-config--guess-1): Split from
6453 smie-config--guess.
6454 (smie-config--guess): Use it.
6455
6456 * emacs-lisp/edebug.el: Use nadvice.
6457 (edebug-original-read): Remove.
6458 (edebug--read): Rename from edebug-read and add `orig' arg.
6459 (edebug-uninstall-read-eval-functions)
6460 (edebug-install-read-eval-functions): Use nadvice.
6461 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
6462 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
6463 (edebug-read-string, edebug-read-function): Use just `read'.
6464 (edebug-original-debug-on-entry): Remove.
6465 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
6466 `orig' arg.
6467 (debug-on-entry): Override with nadvice.
6468
6469 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
6470 it also makes sense to bind it to a non-mouse event.
6471
6472 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
6473
6474 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
6477 (bug#18015).
6478
6479 * rect.el (rectangle--string-preview): Don't assume there
6480 a non-nil default (bug#17984).
6481
6482 2014-07-16 Glenn Morris <rgm@gnu.org>
6483
6484 * desktop.el (after-init-hook): Disable startup frame restoration
6485 in non-graphical situations. (Bug#17693)
6486
6487 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
6488 if it was "empty", or used for a different set of files. (Bug#17884)
6489
6490 2014-07-16 Eli Zaretskii <eliz@gnu.org>
6491
6492 * bindings.el (mode-line-remote): If default-directory is not a
6493 string, don't call file-remote-p on it; instead state in the
6494 help-echo that it is nil. (Bug#17986)
6495
6496 2014-07-14 Daniel Colascione <dancol@dancol.org>
6497
6498 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
6499 to `macroexpand-all'
6500
6501 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
6502 Use `macroexpand-all' instead of `cl-macroexpand-all'.
6503
6504 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
6505
6506 Fix bug: C-x v v discarded existing log message (Bug#17884).
6507 * vc/vc-dispatcher.el (vc-log-edit):
6508 Don't clobber an already-existing log message.
6509
6510 2014-07-12 Glenn Morris <rgm@gnu.org>
6511
6512 * vc/log-edit.el (log-edit-changelog-entries):
6513 Check for a visited-but-never-saved ChangeLog.
6514
6515 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
6518 a non-existing file (bug#17970).
6519
6520 * faces.el (face-name): Undo last change.
6521 (x-resolve-font-name): Don't call face-name (bug#17956).
6522
6523 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6524
6525 Fix dedenters and electric colon handling. (Bug#15163)
6526 * progmodes/python.el
6527 (python-rx-constituents): Add dedenter and block-ender.
6528 (python-indent-dedenters, python-indent-block-enders): Delete.
6529 (python-indent-context): Return new case for dedenter-statement.
6530 (python-indent-calculate-indentation): Handle new case.
6531 (python-indent-calculate-levels): Fix levels calculation for
6532 dedenter statements.
6533 (python-indent-post-self-insert-function): Fix colon handling.
6534 (python-info-dedenter-opening-block-message): New function.
6535 (python-indent-line): Use it.
6536 (python-info-closing-block)
6537 (python-info-closing-block-message): Remove.
6538 (python-info-dedenter-opening-block-position)
6539 (python-info-dedenter-opening-block-positions)
6540 (python-info-dedenter-statement-p): New functions.
6541
6542 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
6543
6544 * files.el (out-of-memory-warning-percentage): New defcustom.
6545 (warn-maybe-out-of-memory): Use it.
6546
6547 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
6548
6549 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
6550 when calling `read-string'. (Bug#17839)
6551
6552 2014-07-10 Eli Zaretskii <eliz@gnu.org>
6553
6554 * files.el (warn-maybe-out-of-memory): Fix the wording of the
6555 warning.
6556
6557 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
6558
6559 * files.el (warn-maybe-out-of-memory): New function.
6560 (find-file-noselect): Use it.
6561
6562 2014-07-09 Sam Steingold <sds@gnu.org>
6563
6564 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
6565 `constant' like `bless', `return' &c
6566
6567 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * rect.el (apply-on-rectangle): Check forward-line really moved to the
6570 next line.
6571
6572 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
6575 the middle of a line (bug#17896).
6576
6577 2014-07-09 Juri Linkov <juri@jurta.org>
6578
6579 * startup.el (command-line): Append displaying the warning about
6580 the errors in the init file to the end of `after-init-hook'.
6581 (Bug#17927)
6582
6583 * faces.el (face-name): Return input arg `face' as-is
6584 when it's not a symbol.
6585 (x-resolve-font-name): Don't check if the face is a symbol.
6586 (Bug#17956)
6587
6588 * facemenu.el (list-colors-print): In help-echo format use %.2f
6589 instead of %d because now HSV values are floating-point components
6590 between 0.0 and 1.0.
6591
6592 2014-07-09 Glenn Morris <rgm@gnu.org>
6593
6594 * emulation/cua-rect.el (cua--activate-rectangle):
6595 Avoid setting cua--rectangle to nil. (Bug#17877)
6596
6597 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6598
6599 * calendar/todo-mode.el: Fix wrong-type-argument error when
6600 marking multiple consecutive items.
6601 (todo-toggle-mark-item): Don't try to mark the empty lines at the
6602 end of the todo and done items sections. Note in doc string that
6603 items marked by passing a numeric prefix argument can include the
6604 last todo and first done items.
6605 (todo-mark-category): Don't try to mark the empty line between the
6606 todo and done items sections.
6607
6608 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
6611 proper Lisp quoting (bug#17934).
6612
6613 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
6614 require-final-newline since prog-mode already took care of it (bug#17947).
6615
6616 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6617
6618 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
6619 refer to the Todo mode Info manual. Update the comment on
6620 requiring cl-lib.
6621 (todo-find-filtered-items-file): Add todo-prefix overlays.
6622 (todo-filter-items): Reorder a let-bound variable to avoid a
6623 wrong-type-argument error on canceling the file choice dialog.
6624
6625 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * progmodes/octave.el (inferior-octave-mode):
6628 Set comint-input-ring-size to a number (bug#17912).
6629
6630 2014-07-09 Juri Linkov <juri@jurta.org>
6631
6632 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
6633 and `isearch-mode' associated with nil. (Bug#17849)
6634
6635 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * linum.el (linum--face-height): New function (bug#17813).
6638 (linum-update-window): Use it to adjust margin to linum's width.
6639
6640 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
6641 * eshell/em-smart.el (eshell-smart-scroll-window):
6642 Use with-selected-window.
6643
6644 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
6645 Remove also pointless window&mark manipulation.
6646
6647 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
6648 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
6649 (perl-continuation-line-p): Don't skip over anything else than labels.
6650 Return the previous char.
6651 (perl-calculate-indent): Use syntax-ppss instead of parse-start
6652 and update callers accordingly. For continuation lines, check the
6653 the case of array hashes.
6654 (perl-backward-to-noncomment): Make it non-interactive.
6655 (perl-backward-to-start-of-continued-exp): Rewrite.
6656
6657 2014-07-08 Sam Steingold <sds@gnu.org>
6658
6659 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
6660 New user commands.
6661
6662 2014-07-08 Juri Linkov <juri@jurta.org>
6663
6664 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
6665 (vc-annotate-color-map): Use less saturated colors (20%) for
6666 background-mode.
6667 (vc-annotate-very-old-color): Add default value for background-mode.
6668 (vc-annotate-background): Set default value to nil since now text on
6669 the default backgrounds should be legible in light and dark modes.
6670 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
6671 (Bug#17808)
6672
6673 2014-07-08 Juri Linkov <juri@jurta.org>
6674
6675 * simple.el (transpose-chars): Don't move point into read-only area.
6676 (Bug#17829)
6677
6678 2014-07-08 Juri Linkov <juri@jurta.org>
6679
6680 * window.el (with-displayed-buffer-window): New macro.
6681 (with-temp-buffer-window, with-current-buffer-window):
6682 Use `macroexp-let2' to evaluate and bind variables
6683 in the same order as macro arguments.
6684 (display-buffer--action-function-custom-type):
6685 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
6686
6687 * minibuffer.el (minibuffer-completion-help): Replace
6688 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
6689 with actions that display *Completions* at-bottom when called
6690 from the minibuffer, or below-selected in a normal buffer.
6691 Associate `window-height' with `fit-window-to-buffer'.
6692 Let-bind `pop-up-windows' to nil.
6693
6694 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
6695 instead of `with-current-buffer-window'. (Bug#17809)
6696
6697 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
6698
6699 * progmodes/hideif.el (hide-ifdef-env): Change to global.
6700 (hide-ifdef-env-backup): New variable.
6701 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
6702 New customizable variables.
6703 (hif-clear-all-ifdef-defined): New defun.
6704 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
6705 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
6706 (hif-tokenize): Fix for MS-DOS/Win EOL style.
6707 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
6708 Fix bug to hide the correct #elif region(s).
6709 (hif-range-elif): New defun.
6710 (hif-recurse-level): New var.
6711 (hif-evaluate-region, hif-evaluate-macro): New defun.
6712 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
6713 fully hidden.
6714 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
6715 Better interaction.
6716
6717 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/dbus.el (dbus-peer-handler): New defun.
6720 (dbus-register-service): Register it. (Bug#17858)
6721 (dbus-managed-objects-handler): Fix docstring.
6722
6723 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
6724
6725 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
6726 (narrow-to-defun): New arg include-comments, defaulting to it
6727 (bug#16328).
6728
6729 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
6732 different calling convention to rectangle--unhighlight-for-redisplay.
6733
6734 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * net/tramp.el (tramp-call-process): Handle error strings.
6737
6738 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
6739
6740 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
6741 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
6742
6743 * net/trampver.el: Update release number.
6744
6745 2014-07-03 Juri Linkov <juri@jurta.org>
6746
6747 * desktop.el (desktop-save): Rename arg `auto-save' to
6748 `only-if-changed'. Doc fix. (Bug#17873)
6749
6750 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6753 Use insert-for-yank (bug#17271).
6754
6755 2014-07-03 Leo Liu <sdl.web@gmail.com>
6756
6757 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
6758 Support lexical-binding.
6759
6760 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * vc/log-edit.el (log-edit-goto-eoh): New function.
6763 (log-edit--match-first-line): Use it (bug#17861).
6764
6765 2014-07-03 Glenn Morris <rgm@gnu.org>
6766
6767 * vc/log-edit.el (log-edit-hook): Add missing :version.
6768
6769 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6770
6771 * progmodes/python.el (python-indent-post-self-insert-function):
6772 Enhancements to electric indentation behavior inside
6773 parens. (Bug#17658)
6774
6775 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
6778 buffer-invisibility-spec (bug#17867).
6779
6780 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
6781
6782 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
6783 pass "-a".
6784
6785 2014-07-03 Glenn Morris <rgm@gnu.org>
6786
6787 * cus-edit.el (help):
6788 * finder.el (finder-known-keywords):
6789 * help.el (help-for-help-internal):
6790 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
6791 (ediff-redraw-registry-buffer):
6792 * vc/ediff-ptch.el (ediff-patch-file-internal):
6793 Doc fixes re "online" help. (Bug#17803)
6794
6795 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
6796 (idlwave-mode): Doc URL update.
6797
6798 2014-07-01 Juri Linkov <juri@jurta.org>
6799
6800 * man.el: Display man pages immediately and use process-filter
6801 to format them asynchronously.
6802 (Man-width): Doc fix.
6803 (man): Doc fix.
6804 (Man-start-calling): Use `with-selected-window' to get
6805 `frame-width' and `window-width'.
6806 (Man-getpage-in-background): Call `Man-notify-when-ready'
6807 immediately after creating a new buffer. Call `Man-mode' and set
6808 `mode-line-process' in the created buffer. Set process-filter to
6809 `Man-bgproc-filter' in start-process branch. In call-process branch
6810 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
6811 Use `Man-start-calling' inside `with-current-buffer'.
6812 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
6813 (Man-cleanup-manpage): Don't print messages.
6814 (Man-bgproc-filter): New function.
6815 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
6816 user moved it during asynchronous formatting. Move calls of
6817 `Man-fontify-manpage' and `Man-cleanup-manpage' to
6818 `Man-bgproc-filter'. Move the call of `Man-mode' to
6819 `Man-getpage-in-background'. Use `quit-restore-window'
6820 instead of `kill-buffer'. Use `message' instead of `error'
6821 because errors are caught by process sentinel.
6822 (Man-mode): Move calls of `Man-build-page-list',
6823 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
6824 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
6825
6826 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
6827 for the message about the man page cleaned up.
6828
6829 2014-07-01 Mario Lang <mlang@delysid.org>
6830
6831 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
6832 cosutomization option `gnutls-verify-error'.
6833
6834 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
6837 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
6838
6839 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
6840 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
6841 is suspended (bug#17857).
6842
6843 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
6844
6845 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6846 Prefer utf-8 coding. (Bug#17859)
6847
6848 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6849
6850 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
6851 for `reverse'.
6852
6853 2014-06-30 Glenn Morris <rgm@gnu.org>
6854
6855 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
6856 (autoload-ensure-default-file): Maybe make existing output writable.
6857 * Makefile.in (AUTOGEN_VCS): Remove.
6858 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
6859
6860 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6861
6862 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
6863
6864 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6865
6866 New if-let, when-let, thread-first and thread-last macros.
6867
6868 * emacs-lisp/subr-x.el
6869 (internal--listify, internal--check-binding)
6870 (internal--build-binding-value-form, internal--build-binding)
6871 (internal--build-bindings): New functions.
6872 (internal--thread-argument, thread-first, thread-last)
6873 (if-let, when-let): New macros.
6874
6875 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
6876
6877 * net/rcirc.el (rcirc-buffer-process): Restore previous
6878 behaviour. (Bug#17772)
6879
6880 2014-06-29 Alan Mackenzie <acm@muc.de>
6881
6882 Don't call c-parse-state when c++-template-syntax-table is active.
6883 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
6884 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
6885 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
6886
6887 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6888
6889 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
6890 account for file-wide setting of todo-top-priorities-overrides.
6891 Make code a bit cleaner.
6892
6893 2014-06-28 Glenn Morris <rgm@gnu.org>
6894
6895 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
6896
6897 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6898
6899 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
6900 category-wide setting of todo-top-priorities-overrides, check for
6901 a file-wide setting and fontify accordingly.
6902
6903 2014-06-28 Glenn Morris <rgm@gnu.org>
6904
6905 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
6906
6907 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
6910
6911 2014-06-28 K. Handa <handa@gnu.org>
6912
6913 Fix Bug#17739.
6914
6915 * composite.el: Setup composition-function-table for dotted circle.
6916 (compose-gstring-for-dotted-circle): New function.
6917
6918 * international/characters.el: Add category "^" to all
6919 non-spacing characters.
6920
6921 2014-06-28 Glenn Morris <rgm@gnu.org>
6922
6923 * Makefile.in (doit): Remove force rule.
6924 (custom-deps, finder-data, autoloads, update-subdirs)
6925 (compile-one-process): PHONY targets do not need force rules.
6926
6927 * Makefile.in (compile-main, compile, compile-always):
6928 No need to explicitly pass variables to ourself in recursive calls.
6929
6930 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
6933
6934 2014-06-26 Glenn Morris <rgm@gnu.org>
6935
6936 * Makefile.in (update-authors): Update for moved authors.el.
6937
6938 2014-06-26 Leo Liu <sdl.web@gmail.com>
6939
6940 * skeleton.el (skeleton-end-hook): Default to nil and move the
6941 work to skeleton-insert. (Bug#17850)
6942
6943 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
6944
6945 * calc/calc-alg.el (math-beforep):
6946 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
6947 Simplify because string-lessp can accept symbols as args.
6948
6949 2014-06-26 Daiki Ueno <ueno@gnu.org>
6950
6951 * emacs-lisp/package.el (package--check-signature):
6952 If package-check-signature is allow-unsigned, don't signal error when
6953 we can't verify signature because of missing public key
6954 (bug#17625).
6955
6956 2014-06-26 Glenn Morris <rgm@gnu.org>
6957
6958 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
6959 Remove outdated declaration.
6960
6961 * emacs-lisp/authors.el (authors-valid-file-names)
6962 (authors-renamed-files-alist): Additions.
6963
6964 2014-06-26 Leo Liu <sdl.web@gmail.com>
6965
6966 * textmodes/picture.el (picture-set-tab-stops):
6967 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
6968 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
6969
6970 * progmodes/asm-mode.el (asm-calculate-indentation):
6971 Use indent-next-tab-stop.
6972
6973 * indent.el (indent-accumulate-tab-stops): New function.
6974
6975 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
6978 (package-desc-status): Obey it.
6979
6980 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
6981
6982 * calendar/todo-mode.el: Fix two bugs.
6983 (todo-insert-item--basic): If user cancels item insertion to
6984 another category before setting priority, show original category
6985 whether it is in the same or a different file.
6986 (todo-set-item-priority): After selecting category, instead of
6987 moving point to top, which extends an active region, restore it.
6988
6989 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * help-fns.el (describe-function-1): Check file-name is a string before
6992 calling help-fns--autoloaded-p (bug#17564).
6993
6994 2014-06-26 Juri Linkov <juri@jurta.org>
6995
6996 * desktop.el (desktop-auto-save-enable)
6997 (desktop-auto-save-disable): New functions.
6998 (desktop-save-mode, desktop-auto-save-timeout): Use them.
6999 (desktop-read): Disable the autosave before loading the desktop,
7000 and enable afterwards. (Bug#17351)
7001
7002 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 Fix some indentation problem with \; and pipes (bug#17842).
7005 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
7006 (sh-smie--default-forward-token, sh-smie--default-backward-token):
7007 New functions.
7008 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
7009 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
7010 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
7011
7012 2014-06-26 Glenn Morris <rgm@gnu.org>
7013
7014 * emacs-lisp/find-func.el (find-function-C-source-directory):
7015 Use file-accessible-directory-p.
7016
7017 * ps-samp.el: Make it slightly less awful.
7018 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
7019 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
7020 Only set local values.
7021 (ps-article-subject, ps-article-author): Use standard functions
7022 like mail-fetch-field.
7023 (ps-info-file, ps-info-node): Use match-string.
7024 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
7025 (ps-samp-ps-setup): ... new function.
7026
7027 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
7028 Optimize away code unneeded on any modern Emacs.
7029
7030 * emacs-lisp/authors.el: Move to ../admin.
7031
7032 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
7033
7034 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
7035
7036 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
7037 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
7038 performance enhancements.
7039 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
7040 expansion.
7041 (hif-factor, hif-string-concatenation, intern-safe): Support string
7042 concatenation and argumented macro expansion.
7043 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
7044 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
7045 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
7046 (hif-canonicalize-tokens, hif-place-macro-invocation)
7047 (hif-parse-macro-arglist): Mostly new functions for supporting
7048 argumented macro expansion.
7049 (hif-string-concatenation, hif-stringify, hif-token-concat)
7050 (hif-token-stringification, hif-token-concatenation):
7051 Stringification and concatenation.
7052 (hif-find-next-relevant): Fix comments.
7053 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
7054 some cases involving #elif.
7055 (hif-find-define, hif-add-new-defines): New functions for automatically
7056 scanning of defined symbols.
7057 (hide-ifdef-guts): Fix for defined symbol auto scanning.
7058 (hide-ifdef-undef): Fix behavior to match CPP.
7059
7060 2014-06-25 Glenn Morris <rgm@gnu.org>
7061
7062 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
7063 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
7064 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
7065 files. They are not relevant to the original issue (bug#1004),
7066 and cause unnecessary recompilation (bug#2151).
7067
7068 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * play/landmark.el: Use lexical-binding and avoid `intangible'.
7071 (landmark--last-pos): New var.
7072 (landmark--intangible-chars): New const.
7073 (landmark--intangible): New function.
7074 (landmark-mode, landmark-move): Use it.
7075 (landmark-mode): Remove properties.
7076 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
7077 (landmark-cross-qtuple):
7078 Don't worry about `intangible' any more.
7079 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
7080 (landmark-init-display): Don't set `intangible' and `point-entered'.
7081 (square): Remove. Inline it instead.
7082 (landmark--distance): Rename from `distance'.
7083 (landmark-calc-distance-of-robot-from): Rename from
7084 calc-distance-of-robot-from.
7085 (landmark-calc-smell-internal): Rename from calc-smell-internal.
7086
7087 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
7088
7089 * files.el (dir-locals-find-file, file-relative-name):
7090 * info.el (Info-complete-menu-item):
7091 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
7092 to compare-strings to avoid out-of-range errors.
7093 * subr.el (string-prefix-p): Adjust to match strict range
7094 checking in compare-strings.
7095
7096 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
7097
7098 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
7099 for comment lines non-greedy and stopping at newlines to fix stack
7100 overflows with large files.
7101
7102 2014-06-24 Eli Barzilay <eli@barzilay.org>
7103
7104 * calculator.el (calculator-last-input): Drop 'ascii-character property
7105 lookup.
7106
7107 2014-06-24 Leo Liu <sdl.web@gmail.com>
7108
7109 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
7110 tab-stop-list to nil. (Bug#16381)
7111
7112 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
7113 (indent-rigidly-left-to-tab-stop)
7114 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
7115 (move-to-tab-stop): Change callers.
7116
7117 2014-06-24 Eli Zaretskii <eliz@gnu.org>
7118
7119 * skeleton.el (skeleton-insert): Yet another fix of the doc string
7120 wrt behavior of \n as the first/last element of a skeleton.
7121
7122 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
7123
7124 * net/tramp-adb.el (tramp-adb-handle-process-file):
7125 * net/tramp-sh.el (tramp-sh-handle-process-file):
7126 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7127 the output buffer when DISPLAY is non-nil. (Bug#17815)
7128
7129 2014-06-24 Glenn Morris <rgm@gnu.org>
7130
7131 * play/landmark.el (landmark-move-down, landmark-move-up):
7132 Fix 2007-10-20 change - preserve horizontal position.
7133
7134 2014-06-23 Sam Steingold <sds@gnu.org>
7135
7136 * simple.el (kill-append): Remove undo boundary depending on ...
7137 (kill-append-merge-undo): New user option.
7138
7139 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7140
7141 * simple.el (handle-shift-selection, exchange-point-and-mark)
7142 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7143 (transient-mark-mode): Use&set the global value.
7144 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7145 * emulation/edt.el (edt-emulation-off): Save&restore the global
7146 transient-mark-mode setting.
7147 * obsolete/pc-select.el (pc-selection-mode): Use the
7148 transient-mark-mode function.
7149
7150 2014-06-23 Eli Zaretskii <eliz@gnu.org>
7151
7152 * international/fontset.el (script-representative-chars):
7153 Add representative characters for scripts added in Unicode 7.0.
7154 (otf-script-alist): Synchronize with the latest registry of OTF
7155 script tags.
7156
7157 * international/characters.el (char-script-table): Update for
7158 scripts added and codepoint ranges changed in Unicode 7.0.
7159
7160 2014-06-23 Eli Barzilay <eli@barzilay.org>
7161
7162 * calculator.el (calculator-standard-displayer): Fix bug in use of
7163 `calculator-groupize-number'.
7164 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7165 `eval' code, so it works in v24.3.1 too.
7166 (calculator-last-input): Comment to clarify purpose.
7167
7168 2014-06-22 Mario Lang <mlang@delysid.org>
7169
7170 * textmodes/rst.el (rst-comment-region): From from -> from.
7171
7172 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7173
7174 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
7175
7176 * electric.el (electric-layout-post-self-insert-function):
7177 * emacs-lisp/ert.el (ert--insert-infos):
7178 * obsolete/vi.el (vi-set-mark):
7179 * term.el (term-handle-scroll):
7180 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7181 * wid-edit.el (widget-editable-list-value-create):
7182 Prefer point-marker to copy-marker of point.
7183
7184 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7185
7186 Fix completion retrieval parsing (bug#17209).
7187 * progmodes/python.el (python-mode):
7188 (python-util-strip-string): New function.
7189 (python-shell-completion-get-completions): Use it.
7190
7191 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7192
7193 * skeleton.el (skeleton-insert): Fix last change.
7194
7195 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7196
7197 Enhancements for outline integration (bug#17796).
7198 * progmodes/python.el (python-mode): Properly set
7199 outline-heading-end-regexp so that comments after colons for
7200 defuns are supported.
7201
7202 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7203
7204 * skeleton.el (skeleton-insert): Doc fix.
7205
7206 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7209 (smie-config-guess): Use smie-config-local so the rules are obeyed
7210 (bug#17818).
7211
7212 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7213 since it's already done inside the loop (bug#17819).
7214
7215 2014-06-21 Martin Rudalics <rudalics@gmx.at>
7216
7217 * mouse.el (mouse-drag-line): Re-remove code initially removed
7218 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7219 (Bug#17819).
7220
7221 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7224 align with the surrounding parent (bug#17721).
7225
7226 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7227
7228 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7229 locally to nil.
7230 (texinfo-insert-block, texinfo-insert-@end)
7231 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7232 local setting of skeleton-end-newline by adding an explicit \n to
7233 the skeletons where appropriate. (Bug#17801)
7234
7235 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7238 (smie-indent--hanging-p): Use it.
7239 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7240
7241 2014-06-21 Leo Liu <sdl.web@gmail.com>
7242
7243 * simple.el (read-quoted-char): Don't let help chars pop up help
7244 buffer. (Bug#16617)
7245
7246 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7249 for | (bug#17621).
7250
7251 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7252 Drop unknown events instead of burping.
7253
7254 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7255
7256 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7257 and later. (Bug#17790)
7258
7259 2014-06-21 Juri Linkov <juri@jurta.org>
7260
7261 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7262 to `soft'. (Bug#17554)
7263
7264 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7267 (bug#17737).
7268
7269 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
7270
7271 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7272 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
7273
7274 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
7275
7276 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7277 `unread-command-events'.
7278
7279 2014-06-19 William Xu <william.xwl@gmail.com>
7280
7281 * progmodes/hideif.el (hif-string-to-number): Don't return float for
7282 hex integer constants (bug#17807).
7283
7284 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * international/mule-util.el (truncate-string-ellipsis): New var.
7287 (truncate-string-to-width): Use it.
7288
7289 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
7290
7291 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7292 (lisp-string-in-doc-position-p): New function, extracted from
7293 lisp-font-lock-syntactic-face-function.
7294 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7295
7296 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
7297
7298 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
7299
7300 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7303 (bubbles--game-over): Don't add `intangible' properties since they
7304 didn't work anyway.
7305
7306 2014-06-18 Juri Linkov <juri@jurta.org>
7307
7308 * vc/ediff-init.el (ediff-current-diff-Ancestor)
7309 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7310 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7311 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7312 Add `min-colors 88' version with removed black/white foregrounds.
7313 (Bug#10181)
7314
7315 2014-06-18 Juri Linkov <juri@jurta.org>
7316
7317 * vc/diff-mode.el (diff-changed): Empty face definition to use
7318 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
7319 (diff-context): Use darker color on light background and
7320 lighter color on dark background.
7321
7322 2014-06-18 Juri Linkov <juri@jurta.org>
7323
7324 * vc/diff-mode.el (diff-refine-changed): Rename from
7325 `diff-refine-change' for consistency with `diff-changed'.
7326 (diff-refine-change): Add obsolete face alias. (Bug#10181)
7327
7328 * vc/smerge-mode.el (smerge-refined-changed): Rename from
7329 `smerge-refined-change'.
7330 (smerge-refined-change): Add obsolete face alias.
7331
7332 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * rect.el (rectangle-preview): New custom.
7335 (rectangle): New group.
7336 (rectangle--pos-cols): Add `window' argument.
7337 (rectangle--string-preview-state, rectangle--string-preview-window):
7338 New vars.
7339 (rectangle--string-flush-preview, rectangle--string-erase-preview)
7340 (rectangle--space-to, rectangle--string-preview): New functions.
7341 (string-rectangle): Use them.
7342 (rectangle--inhibit-region-highlight): New var.
7343 (rectangle--highlight-for-redisplay): Obey it. Make sure
7344 `apply-on-region' uses the point-crutches of the right window.
7345 Use :align-to rather than multiple spaces.
7346
7347 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
7348
7349 * ruler-mode.el (ruler-mode-window-col)
7350 (ruler-mode-mouse-set-left-margin)
7351 (ruler-mode-mouse-set-right-margin): Fix calculation of column
7352 from mouse position (Bug#17768).
7353
7354 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
7355
7356 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7357 without varname or rhs causes crash.
7358 (dun-ftp): Fix bug where blank ftp password is allowed, making it
7359 impossible to win endgame.
7360 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7361 rlogin is anymore.
7362 (dun-help): Bump version number; update contact info.
7363
7364 2014-06-15 Eli Barzilay <eli@barzilay.org>
7365
7366 * calculator.el (calculator-prompt, calculator-remove-zeros)
7367 (calculator-mode-hook, calculator-operators, calculator-stack)
7368 (calculator-mode): Tweak docstring.
7369 (calculator-user-operators): Tweak docstring, fix a bug in the last
7370 example.
7371 (calculator-displayer): `std' case has an optional boolean.
7372 (calculator-displayers): Use the new boolean to group in decimal mode.
7373 (calculator-mode-map, calculator, calculator-message)
7374 (calculator-op-arity, calculator-add-operators)
7375 (calculator-string-to-number, calculator-displayer-prev)
7376 (calculator-displayer-next, calculator-remove-zeros)
7377 (calculator-eng-display, calculator-number-to-string)
7378 (calculator-update-display, calculator-last-input)
7379 (calculator-clear-fragile, calculator-digit, calculator-decimal)
7380 (calculator-exp, calculator-saved-move, calculator-clear)
7381 (calculator-copy, calculator-put-value, calculator-help)
7382 (calculator-expt, calculator-truncate): Minor code improvements.
7383 (calculator-need-3-lines): New function pulling out code from
7384 `calculator'.
7385 (calculator-get-display): Rename from `calculator-get-prompt', and
7386 improved.
7387 (calculator-push-curnum): Rename from `calculator-curnum-value', and
7388 extended for all uses of it. All callers changed.
7389 (calculator-groupize-number): New utility for splitting a number into
7390 groups.
7391 (calculator-standard-displayer): Improve code, new optional argument to
7392 use comma-split groups, make second argument optional too to use with
7393 'left/'right inputs. All callers changed.
7394 (calculator-reduce-stack-once): New utility, doing the meat of what
7395 `calculator-reduce-stack' used to do, much improved (mostly using
7396 `pcase' for conciseness and clarity).
7397 (calculator-reduce-stack): Now doing just the reduction loop using
7398 `calculator-reduce-stack-once'.
7399 (calculator-funcall): Improve code, make it work in v24.3.1 too.
7400 (calculator-last-input): Improve code, remove some old cruft.
7401 (calculator-quit): Kill `calculator-buffer' in electric mode too.
7402 (calculator-integer-p): Remove.
7403 (calculator-fact): Improve code, make it work on non-integer values
7404 too (using truncated numbers).
7405
7406 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
7407
7408 Sync with Tramp 2.2.10.
7409
7410 * net/tramp.el (tramp-methods): Tweak docstring.
7411 (tramp-handle-file-accessible-directory-p): Check for
7412 `file-readable-p' instead of `file-executable-p'.
7413 (tramp-check-cached-permissions):
7414 Use `tramp-compat-file-attributes'.
7415 (tramp-call-process): Add new argument VEC. Adapt callees in all
7416 tramp*.el files.
7417
7418 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
7419 (tramp-adb-maybe-open-connection): Don't set
7420 `tramp-current-*' variables.
7421
7422 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
7423 file properties of temporary buffers.
7424
7425 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
7426
7427 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
7428 (tramp-gvfs-handle-delete-file): Flush file
7429 properties, not directory properties.
7430 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
7431 reading "unix::mode".
7432 (tramp-gvfs-handle-file-name-all-completions):
7433 Use "-h" option for "gvfs-ls".
7434 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
7435 (tramp-gvfs-send-command): Simplify traces.
7436
7437 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
7438 (vc-git-program, vc-hg-program): Declare.
7439 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
7440 (tramp-methods) <nc>: Add new method.
7441 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
7442 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
7443 `tramp-login-args'.
7444 (tramp-default-user-alist): Add "nc".
7445 (top): Remove completion function for "sftp". Add completion
7446 functions for "nc" and "psftp".
7447 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
7448 Implement support for "nc" method.
7449 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
7450 (tramp-remote-coding-commands, tramp-call-local-coding-command):
7451 Tweak docstring.
7452 (tramp-sh-handle-write-region): Tweak error message.
7453 (tramp-sh-handle-vc-registered): Remove backends when the remote
7454 binary does not exist.
7455 (tramp-find-inline-encoding): Do not raise an error.
7456 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
7457 the "nc" case. Quote result also locally.
7458
7459 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7460 (tramp-smb-handle-set-file-acl): Use `start-process'.
7461 (tramp-smb-handle-insert-directory): Use progress reporter.
7462 (tramp-smb-handle-rename-file): Flush also file properties of
7463 FILENAME.
7464
7465 * net/trampver.el: Update release number.
7466
7467 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
7470 add-to-list.
7471 (ses-localvars): Remove ses--local-printer-list, unused.
7472 (ses--metaprogramming): New macro. Use it to defvar variables.
7473 (ses-set-localvars): Simplify.
7474 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
7475 property-list into an alist.
7476 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7477 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
7478 Remove; use defstruct accessors/setters instead.
7479 (ses-cell-formula-aset, ses-cell-printer-aset)
7480 (ses-cell-references-aset): Remove, use setf instead.
7481 (ses--alist-get): New function.
7482 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
7483 Use an alist instead of a plist and don't do move-to-front since the
7484 list is always short.
7485 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
7486 (ses-cell-property-set-fun, ses-cell-property-set)
7487 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
7488 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
7489 (ses--letref): New macro.
7490 (ses-cell-property-pop): Rewrite.
7491 (ses--cell): Rename from ses-cell and make it into a function.
7492 Make `formula' fallback on `value' if nil.
7493 (ses--local-printer): Rename from ses-local-printer and make it into
7494 a function.
7495 (ses-set-cell): Turn it into a macro so finding the accessor from the
7496 field name is done at compile time.
7497 (ses-repair-cell-reference-all): Test presence of `sym' rather than
7498 `ref' before adding `sym' to :ses-repair-reference.
7499 (ses-calculate-cell): Use ses--letref rather than
7500 ses-cell-property-get-handle.
7501 (ses-write-cells): Use a single prin1-to-string.
7502 (ses-setter-with-undo): New function.
7503 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
7504 (ses-unset-with-undo): Remove.
7505 (ses-load): Prefer apply' over `eval'.
7506 (ses-read-printer, ses-set-column-width): Use standard "(default
7507 foo)" format.
7508
7509 2014-06-15 Glenn Morris <rgm@gnu.org>
7510
7511 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
7512
7513 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
7514 Replace delete-duplicates and mapcan by cl- versions throughout.
7515 And cl-macroexpand-all by macroexpand-all.
7516 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
7517
7518 2014-06-15 Eli Zaretskii <eliz@gnu.org>
7519
7520 * subr.el (posn-col-row): Doc fix. (Bug#17768)
7521
7522 2014-06-15 Juri Linkov <juri@jurta.org>
7523
7524 * bindings.el: Put `ascii-character' property on keypad keys
7525 mapped to characters. (Bug#17759)
7526
7527 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
7530 bumping forward into a closing paren (bug#17761).
7531
7532 * term/xterm.el (xterm--version-handler): Work around for OSX
7533 Terminal.app (bug#17607).
7534
7535 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
7536
7537 * play/dunnet.el (dun-describe-room, dun-mode):
7538 If a lamp is in the room, you won't be eaten by a grue.
7539
7540 2014-06-13 Glenn Morris <rgm@gnu.org>
7541
7542 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
7543 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
7544 (compile-always): GNU make automatically passes
7545 command-line arguments to sub-makes.
7546
7547 * calendar/calendar.el (calendar-generate-window):
7548 Remove pointless call to font-lock-fontify-buffer.
7549
7550 2014-06-13 Matthias Meulien <orontee@gmail.com>
7551
7552 * simple.el (completion-list-mode-map): Navigate with tab and backtab
7553 (bug#17767).
7554
7555 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * simple.el (set-mark-command): Simplify a bit.
7558
7559 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7560
7561 * help.el (help--key-binding-keymap): New function.
7562 (help--binding-locus): New function.
7563 (describe-key): Mention the keymap in which the binding was
7564 found. (bug#13948)
7565
7566 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * hippie-exp.el (he--all-buffers): New function.
7569 (try-expand-line-all-buffers, try-expand-list-all-buffers)
7570 (try-expand-dabbrev-all-buffers): Use it.
7571
7572 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
7573
7574 * hippie-exp.el (try-expand-line-all-buffers)
7575 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
7576 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
7577 original buffer, in case they're buffer-local.
7578
7579 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
7580
7581 * ses.el (ses-initial-global-parameters-re): New defconst, a
7582 specific regexp is needed now that ses.el can handle both
7583 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
7584 local printers.
7585 (ses-localvars): Add local variables needed for local printer handling.
7586 (ses-set-localvars): Handle hashmap initialisation.
7587 (ses-paramlines-plist): Add param-line for number of local printers.
7588 (ses-paramfmt-plist): New defconst, needed for code factorization
7589 between functions `ses-set-parameter' and
7590 `ses-file-format-extend-paramter-list'
7591 (ses-make-local-printer-info): New defsubst.
7592 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7593 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
7594 (ses-cell-printer-aset): New defmacro.
7595 (ses-local-printer-compile): New defun.
7596 (ses-local-printer): New defmacro.
7597 (ses-printer-validate, ses-call-printer): Add support for local
7598 printer functions.
7599 (ses-file-format-extend-paramter-list): New defun.
7600 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
7601 factorization.
7602 (ses-load): Add support for local printer functions.
7603 (ses-read-printer): Update docstring and add support for local printer
7604 functions.
7605 (ses-refresh-local-printer, ses-define-local-printer): New defun.
7606 (ses-safe-printer): Add support for local printer functions.
7607
7608 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
7609
7610 * ffap.el (ffap-lax-url): New var (bug#17723).
7611 (ffap-url-at-point): Use it.
7612 (ffap-file-at-point): Avoid returning just "/".
7613
7614 2014-06-12 Matthias Meulien <orontee@gmail.com>
7615
7616 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
7617 (python-mode-map): Bind it.
7618
7619 * progmodes/python.el (class skeleton): Don't erase last char of class
7620 name (bug#17683).
7621
7622 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
7623
7624 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
7625
7626 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
7627
7628 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
7629 (bug#17745).
7630
7631 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * international/mule-cmds.el: Use lexical-binding.
7634 (ucs-names): Simplify.
7635
7636 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
7637
7638 * progmodes/python.el (run-python): Use read-shell-command.
7639
7640 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * rect.el: Make it possible to move bounds past EOL or into TABs.
7643 (operate-on-rectangle): Use apply-on-rectangle.
7644 (rectangle--mark-crutches): New var.
7645 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
7646 (rectangle--crutches, rectangle--reset-crutches): New functions.
7647 (apply-on-rectangle): Obey crutches. Avoid setq.
7648 Fix missing final iteration if end is at EOB&BOL.
7649 (rectangle-mark-mode-map): Add remap bindings for
7650 exchange-point-and-mark and char/line movements.
7651 (rectangle--*-char): New function.
7652 (rectangle-exchange-point-and-mark, rectangle-right-char)
7653 (rectangle-left-char, rectangle-forward-char)
7654 (rectangle-backward-char, rectangle-next-line)
7655 (rectangle-previous-line): New commands.
7656 (rectangle--place-cursor): New function.
7657 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
7658
7659 2014-06-08 Glenn Morris <rgm@gnu.org>
7660
7661 * startup.el (initial-buffer-choice): Doc fix.
7662 Reset :version (adding an option does not merit a :version bump).
7663
7664 * bookmark.el (bookmark-load):
7665 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
7666
7667 2014-06-08 Juri Linkov <juri@jurta.org>
7668
7669 * desktop.el: Activate auto-saving on window configuration changes.
7670 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
7671 `desktop-auto-save-set-timer' to/from
7672 `window-configuration-change-hook'.
7673 (desktop-auto-save-set-timer): Change REPEAT arg of
7674 `run-with-idle-timer' from t to nil.
7675 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
7676
7677 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
7678
7679 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
7680 vc-hg-command (bug#17570).
7681
7682 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * international/mule-cmds.el (ucs-names): Add special entry for BEL
7685 (bug#17702).
7686
7687 2014-06-08 Glenn Morris <rgm@gnu.org>
7688
7689 * startup.el (window-setup-hook): Doc fix.
7690
7691 * emacs-lisp/package.el (package-check-signature)
7692 (package-unsigned-archives): Doc fixes.
7693
7694 2014-06-08 Martin Rudalics <rudalics@gmx.at>
7695
7696 * window.el (display-buffer-use-some-window): Don't make window
7697 used smaller than it was before (Bug#17671).
7698
7699 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7700
7701 * menu-bar.el (menu-bar-open): Fix last change: use the PC
7702 'redisplay' instead of '(sit-for 0)'.
7703
7704 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
7705
7706 * net/tramp.el (tramp-ssh-controlmaster-options):
7707 Improve search regexp. (Bug#17653)
7708
7709 2014-06-08 Glenn Morris <rgm@gnu.org>
7710
7711 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
7712
7713 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7714
7715 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
7716
7717 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
7718
7719 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
7720 (bug#17586).
7721
7722 * vc/vc-hg.el (vc-hg-log-graph): New var.
7723 (vc-hg-print-log): Use it.
7724 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
7725 graph output (bug#17515).
7726
7727 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * mouse.el (mouse-posn-property): Ignore buffer position info when the
7730 even happened elsewhere.
7731
7732 2014-06-06 Mario Lang <mlang@delysid.org>
7733
7734 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
7735 `recenter' if `current-buffer' is equal to `window-buffer'.
7736
7737 2014-06-05 Leo Liu <sdl.web@gmail.com>
7738
7739 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
7740
7741 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
7742
7743 * textmodes/tildify.el (tildify-foreach-region-outside-env):
7744 New function which calls a callback on portions of the buffer that are
7745 outside of ignored environments.
7746 (tildify-build-regexp): Remove function since it is now
7747 incorporated in `tildify-foreach-region-outside-env' where it is
7748 optimized and simplified by the use of `mapconcat'.
7749 (tildify-tildify): Return number of substitutions made so that…
7750 (tildify-count): …can be removed.
7751 (tildify-find-env): Accept a new PAIRS argument which was
7752 previously looked up in `tildify-ignored-environments-alist' each
7753 time the function was called. With this change, the lookup is
7754 performed only once in `tildify-foreach-region-outside-env'.
7755 (tildify-region): Greatly simplify the function since now most of
7756 the work is done by `tildify-foreach-region-outside-env'.
7757 (tildify-mode-alist): Simplify slightly by avoiding if and setq
7758 and instead using or.
7759
7760 * textmodes/tildify.el (tildify-ignored-environments-alist):
7761 Optimize environments regexes
7762
7763 Each time beginning of an environment to ignore is found,
7764 `tildify-find-env' needs to identify regexp for the ending
7765 of the environment. This is done by trying all the opening
7766 regexes on matched text in a loop, so to speed that up, this
7767 loop should have fewer things to match, which can be done by
7768 using alternatives in the opening regexes.
7769
7770 Coincidentally, this should make matching of the opening
7771 regexp faster as well thanks to the use of `regexp-opt' and
7772 having common prefix pulled from many regexes.
7773
7774 * textmodes/tildify.el (tildify-string-alist)
7775 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
7776 of supported modes since `xml-mode' is no longer a thing but just
7777 an alias to the former. Also include comments and insides of tags
7778 in `tildify-ignored-environments-alist' for XML modes. Finally,
7779 since XML does not define “&nbsp;”[1], use a numeric reference for
7780 a no-break space (namely “&#160;”)
7781
7782 [1] XML specification defines only a handful of predefined entities.
7783 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
7784 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
7785 >, &, ' and " respectively). This is in contrast to HTML and even
7786 XHTML which defined a whole bunch of entities including “&nbsp;”.
7787
7788 * textmodes/tildify.el (tildify-pattern-alist)
7789 (tildify-string-alist, tildify-ignored-environments-alist):
7790 Improve defcustom's types by adding more tags explaining what each
7791 value means and replace “sexp” used in
7792 `tildify-ignored-environments-alist' with a full type declaration.
7793
7794 * textmodes/tildify.el (tildify-find-env): Fix matched group
7795 indexes in end-regex building
7796
7797 When looking for a start of an ignore-environment, the regex is built
7798 by concatenating regexes of all the environments configured in
7799 `tildify-ignored-environments-alist'. So for example, the following
7800 list could be used to match TeX's \verb and \verb* commands:
7801
7802 (("\\\\verb\\(.\\)" . (1))
7803 ("\\\\verb\\*\\(.\\)" . (1)))
7804
7805 This would result in the following regex being used to find the start
7806 of any of the variants of the \verb command:
7807
7808 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
7809
7810 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
7811 won't match anything, and thus (match-string 1) will be nil, which
7812 will cause building of the end-matching regex to fail.
7813
7814 Fix this by using capture groups from the time when the opening
7815 regexes are matched individually.
7816
7817 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
7818 in `tildify-find-env'
7819
7820 The `tildify-ignored-environments-alist' allows the end-regex to
7821 be provided not as a static string but mix of strings and indexes
7822 of groups matched the begin-regex. For example, the “\verb!…!”
7823 TeX-command (where “!” is an arbitrary character) is handled
7824 using:
7825
7826 ("\\\\verb\\*?\\(.\\)" . (1))
7827
7828 In the same way, the following should be supported as well:
7829
7830 ("open-\\(.\\)" . ("end-" 1))
7831
7832 However the tildify-find-env function fails at
7833
7834 (concat result
7835 (if (stringp (setq aux (car expression)))
7836 expression ; BUG: expression is a list
7837 (regexp-quote (match-string aux))))
7838
7839 where the string part is handled incorrectly.
7840
7841 The most trivial fix would be to replace `expression' in the
7842 true-part of the if-statement with `aux', but instead, this commit
7843 optimizes `tildify-find-env' by changing it to use `mapconcat'
7844 rather than open-coded while-loop.
7845
7846 2014-06-05 Mario Lang <mlang@delysid.org>
7847
7848 * woman.el (woman-mapcan): Remove.
7849 (woman-parse-colon-path): Use cl-mapcan instead.
7850
7851 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7852
7853 * register.el: Add link to Emacs manual in Commentary.
7854
7855 2014-06-02 Sam Steingold <sds@gnu.org>
7856
7857 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
7858 (popup-menu): ...here.
7859 (menu-bar-open): Use it to avoid an error when `lookup-key'
7860 returns a number.
7861
7862 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
7863
7864 * net/tramp.el (tramp-call-process): Add traces.
7865 (tramp-handle-unhandled-file-name-directory): Return "/".
7866
7867 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
7868
7869 Sync with upstream verilog-mode revision 3cd8144.
7870 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
7871 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
7872 (verilog-type-font-keywords): Add nor.
7873 (verilog-batch-execute-func): Force reading of Local Variables.
7874 Fix printing "no changes to be saved" with verilog-batch.
7875 (verilog-auto-arg-ports): Doc fix.
7876 Add verilog-auto-arg-format to support newlines in AUTOARG.
7877 (verilog-auto-arg): Doc fix.
7878
7879 2014-06-02 Glenn Morris <rgm@gnu.org>
7880
7881 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
7882 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
7883 * emulation/ws-mode.el: Move to obsolete/.
7884 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
7885
7886 2014-06-02 Eli Zaretskii <eliz@gnu.org>
7887
7888 * simple.el (keyboard-quit): Force update of mode lines, to remove
7889 the "Def" indicator, if we were defining a macro. (Bug#17615)
7890
7891 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * minibuffer.el (minibuffer-force-complete-and-exit):
7894 Obey minibuffer-default (bug#17545).
7895
7896 * progmodes/js.el (js-indent-line): Don't mix columns and chars
7897 (bug#17619).
7898
7899 * subr.el (set-transient-map): Don't wait for some "nested"
7900 transient-map to finish if we're only supposed to be active for
7901 the next command (bug#17642).
7902
7903 2014-06-02 Leo Liu <sdl.web@gmail.com>
7904
7905 * emacs-lisp/gv.el (window-buffer, window-display-table)
7906 (window-dedicated-p, window-hscroll, window-point, window-start):
7907 Fix gv-expander. (Bug#17630)
7908
7909 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
7912 clicks (bug#17633).
7913
7914 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
7915 for the single comma, since ", " is *very* common in normal French text
7916 (bug#17643).
7917
7918 2014-06-02 Glenn Morris <rgm@gnu.org>
7919
7920 * emacs-lisp/package.el (package-check-signature)
7921 (package-unsigned-archives): Fix :version.
7922
7923 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * subr.el (sit-for): Don't run input-methods (bug#15614).
7926
7927 2014-06-02 Glenn Morris <rgm@gnu.org>
7928
7929 * cus-start.el: Fix some :version numbers.
7930
7931 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * simple.el (deactivate-mark): Set mark-active to nil even if
7934 deactivation is done via setting transient-mark-mode to nil,
7935 since one is buffer-local and the other is global.
7936
7937 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
7938 there can't be more than 2 arguments (bug#17584).
7939
7940 2014-06-02 Glenn Morris <rgm@gnu.org>
7941
7942 * simple.el (filter-buffer-substring-functions)
7943 (filter-buffer-substring-function, buffer-substring-filters)
7944 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
7945
7946 * minibuffer.el (completion-in-region-functions, completion-in-region)
7947 (completion--in-region): Doc fixes.
7948
7949 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
7950 (expand-abbrev, abbrev--default-expand): Doc fixes.
7951
7952 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
7953
7954 Include sources used to create macuvs.h.
7955 * international/README: Refer to the Unicode Terms of Use rather
7956 than copying it bodily here, as that simplifies maintenance.
7957
7958 2014-06-01 Glenn Morris <rgm@gnu.org>
7959
7960 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
7961
7962 2014-05-31 Glenn Morris <rgm@gnu.org>
7963
7964 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
7965
7966 2014-05-30 Glenn Morris <rgm@gnu.org>
7967
7968 * loadup.el: Treat `command-line-args' more flexibly.
7969
7970 2014-05-30 Alan Mackenzie <acm@muc.de>
7971
7972 Guard (looking-at "\\s!") from XEmacs.
7973 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
7974
7975 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
7976
7977 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
7978 The argument COUNT is now optional, to be more backward-compatible.
7979 Doc fix. (Bug#17560)
7980
7981 2014-05-29 Reuben Thomas <rrt@sc3d.org>
7982
7983 * whitespace.el (whitespace-report-region):
7984 Simplify documentation.
7985 (whitespace-report-region): Allow report-if-bogus to take the
7986 value `never', for non-interactive use.
7987 (whitespace-report): Refer to whitespace-report-region's
7988 documentation.
7989
7990 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * whitespace.el: Use font-lock-flush. Minimize refontifications.
7993 Side benefit: it works without jit-lock.
7994 (whitespace-point--used): New buffer-local var.
7995 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
7996 (whitespace-color-off): Use font-lock-flush.
7997 (whitespace-point--used, whitespace-point--flush-used): New functions.
7998 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
7999 (whitespace-empty-at-eob-regexp): Use them.
8000 (whitespace-post-command-hook): Rewrite.
8001
8002 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
8003 (font-lock-fontify-buffer): Mark interactive-only.
8004 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
8005 Make buffer-local.
8006 (font-lock-specified-p): Remove redundant boundp check.
8007 (font-lock-flush-function, font-lock-ensure-function): New vars.
8008 (font-lock-turn-on-thing-lock): Set them.
8009 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
8010 (font-lock-after-change-function): Make `old-len' optional.
8011 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
8012 Call font-lock-flush, just in case.
8013 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
8014 recent Emacsen.
8015 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
8016 (vera-mode-map, vera-mode-menu): Remove bindings to it.
8017 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
8018 and with-syntax-table.
8019 * textmodes/conf-mode.el (conf-quote-normal):
8020 * progmodes/sh-script.el (sh-set-shell):
8021 * progmodes/prog-mode.el (prettify-symbols-mode):
8022 * progmodes/f90.el (f90-font-lock-n):
8023 * progmodes/cwarn.el (cwarn-mode):
8024 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
8025 * progmodes/compile.el (compilation-setup, compilation--unsetup):
8026 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
8027 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
8028 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
8029 font-lock-fontify-buffer-function and
8030 font-lock-unfontify-buffer-function.
8031 (rmail-unfontify-buffer-function, rmail-fontify-message):
8032 Use with-silent-modifications.
8033 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
8034 and font-lock-ensure.
8035 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
8036
8037 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
8038
8039 * emacs-lisp/package.el (package-generate-autoloads):
8040 Inhibit backup files.
8041
8042 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
8045 (bug#17608).
8046
8047 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
8048
8049 * textmodes/tildify.el (tildify-buffer, tildify-region):
8050 Add dont-ask option.
8051
8052 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
8055 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
8056
8057 * subr.el (internal--funcall-interactively): New.
8058 (internal--call-interactively): Remove.
8059 (called-interactively-p): Detect funcall-interactively instead of
8060 call-interactively.
8061 * simple.el (repeat-complex-command): Use funcall-interactively.
8062 (repeat-complex-command--called-interactively-skip): Remove.
8063
8064 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * register.el (register-read-with-preview): Don't burp on
8067 frame switches (e.g. due to the frame we just popped).
8068
8069 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
8070 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
8071
8072 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
8073
8074 * cus-face.el (custom-face-attributes): Add :distant-foreground.
8075
8076 2014-05-26 Martin Rudalics <rudalics@gmx.at>
8077
8078 * window.el (window--dump-frame): Remove interactive specification.
8079
8080 2014-05-26 Glenn Morris <rgm@gnu.org>
8081
8082 * hippie-exp.el (he-line-search-regexp):
8083 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
8084
8085 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8086
8087 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
8088 to avoid errors when trying to create or visit a file foo.todo
8089 located outside to todo-directory, and to allow having such files
8090 without them being tied to Todo mode (bug#17482).
8091 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
8092 (todo-archive-done-item, todo-find-filtered-items-file)
8093 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
8094 (todo-category-completions, todo-read-category): When visiting a
8095 Todo file, make sure we're in the right mode and the buffer local
8096 variables are set.
8097 (todo-make-categories-list, todo-reset-nondiary-marker)
8098 (todo-reset-done-string, todo-reset-comment-string):
8099 After processing all Todo files, kill the buffers of those files that
8100 weren't being visited before the processing.
8101 (todo-display-as-todo-file, todo-add-to-buffer-list)
8102 (todo-visit-files-commands): Comment out.
8103 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
8104 (auto-mode-alist): Remove add-to-list calls making Todo file
8105 extensions unrestrictedly tied to Todo modes.
8106
8107 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
8110 (advice-function-member-p): Tell it to check both names and functions
8111 (bug#17531).
8112 (advice--add-function): Adjust call accordingly.
8113
8114 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8115
8116 * calendar/todo-mode.el: Miscellaneous bug fixes.
8117 (todo-delete-file): When deleting an archive but not its todo
8118 file, make sure to update the todo file's category sexp.
8119 (todo-move-category): Keep the moved category's name unless the
8120 file moved to already has a category with that name. If the
8121 numerically last category of the source file was moved, make the
8122 first category current to avoid selecting a nonexisting category.
8123 (todo-merge-category): Fix implementation to make merging to a
8124 category in another file work as documented. Eliminate now
8125 insufficient and unnecessary renaming of archive category, correct
8126 document string accordingly, and clarify it. If the numerically
8127 last category of the source file was merged, make the first
8128 category current to avoid selecting a nonexisting category.
8129 (todo-archive-done-item): When there are marked items and point
8130 happens to be on an unmarked item, ignore the latter. Don't leave
8131 point below last item after archiving marked items.
8132 (todo-unarchive-items): Fix logic to ensure unarchiving an item
8133 from an archive with only one category deletes the archive only
8134 when the category is empty after unarchiving. Make sure the todo
8135 file's category sexp is updated.
8136 (todo-read-file-name): Allow an existing file name even when it is
8137 not required (todo-move-category needs this to work as documented).
8138 (todo-add-file): Call todo-validate-name to reject the name of an
8139 existing todo file (needed due to fix in todo-read-file-name).
8140 (todo-reset-nondiary-marker): Also reset in filtered items files.
8141 (todo-reset-done-string, todo-reset-comment-string): Also reset in
8142 regexp filtered items files.
8143 (todo-reset-highlight-item): Also reset in filtered items files.
8144 Fix incorrect variable reference in document string.
8145
8146 2014-05-26 Glenn Morris <rgm@gnu.org>
8147
8148 * window.el (window--dump-frame): Avoid error in --without-x builds.
8149
8150 2014-05-26 Glenn Morris <rgm@gnu.org>
8151
8152 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8153
8154 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8155
8156 * frame.el (set-frame-font): Doc fix.
8157
8158 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
8159
8160 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
8161
8162 * emacs-lisp/package.el (package--download-one-archive):
8163 Use `write-region' instead of `save-buffer' to avoid running various
8164 hooks. (Bug#17155)
8165 (describe-package-1): Same. Insert newline at the end of the
8166 buffer if appropriate.
8167
8168 2014-05-26 Juri Linkov <juri@jurta.org>
8169
8170 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8171 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8172 Add more modifiers: meta, control, shift, hyper, super, alt.
8173 (Bug#17439)
8174
8175 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8176 to allow changing its value with `set-variable'.
8177
8178 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8181 #; comments.
8182 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8183 New functions.
8184 (scheme-mode-variables): Set syntax-propertize-function instead of
8185 font-lock-syntactic-face-function.
8186 (scheme-font-lock-syntactic-face-function): Delete.
8187
8188 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8189
8190 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8191 (bug#17392).
8192
8193 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8194
8195 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8196 for a temporary file name.
8197
8198 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8199
8200 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
8201
8202 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8203
8204 * net/dbus.el (dbus-init-bus, dbus-call-method)
8205 (dbus-call-method-asynchronously, dbus-send-signal)
8206 (dbus-method-return-internal, dbus-method-error-internal):
8207 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
8208
8209 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8210
8211 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8212 methods which do not have a doc string. (Bug#17490)
8213
8214 2014-05-25 Tassilo Horn <tsdh@gnu.org>
8215
8216 * textmodes/reftex-ref.el (reftex-format-special): Make it work
8217 also for AMS Math's \eqref macro.
8218
8219 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8220
8221 Arrange to never byte-compile the generated -pkg.el file.
8222
8223 * emacs-lisp/package.el (package-generate-description-file):
8224 Output first-line comment to set buffer-local var `no-byte-compile'.
8225 Suggested by Dmitry Gutov:
8226 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8227
8228 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8229
8230 Fix bug: Properly quote args to generated -pkg.el `define-package'.
8231
8232 * emacs-lisp/package.el (package-generate-description-file):
8233 Inline `package--alist-to-plist'; rewrite to selectively
8234 quote alist values that are not self-quoting.
8235 (package--alist-to-plist): Delete func.
8236
8237 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
8238
8239 * term/xterm.el (xterm-function-map): Add mapping for shifted
8240 keypad keys.
8241
8242 2014-05-24 Daniel Colascione <dancol@dancol.org>
8243
8244 * progmodes/subword.el (subword-find-word-boundary): Move point to
8245 correct spot before search. (Bug#17580)
8246
8247 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8248 breaking the build.
8249
8250 2014-05-24 Leo Liu <sdl.web@gmail.com>
8251
8252 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
8253
8254 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * minibuffer.el (completion--sreverse): Remove.
8257 (completion--common-suffix): Use `reverse' instead.
8258 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8259
8260 2014-05-22 Glenn Morris <rgm@gnu.org>
8261
8262 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8263
8264 2014-05-21 Daniel Colascione <dancol@dancol.org>
8265
8266 * files.el (interpreter-mode-alist): Add mksh.
8267
8268 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8269 derivative.
8270 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8271 mksh. Improve custom spec; allow regular expressions.
8272 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8273 (sh-after-hack-local-variables): New function.
8274 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
8275 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8276 the normalization.
8277 (sh-canonicalize-shell): Rewrite to support regexes.
8278
8279 2014-05-21 Leo Liu <sdl.web@gmail.com>
8280
8281 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8282
8283 2014-05-19 Leo Liu <sdl.web@gmail.com>
8284
8285 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8286
8287 2014-05-18 Glenn Morris <rgm@gnu.org>
8288
8289 * loadup.el:
8290 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8291
8292 2014-05-14 Sam Steingold <sds@gnu.org>
8293
8294 * progmodes/python.el (python-shell-get-or-create-process):
8295 Do not bind `current-prefix-arg' so that C-c C-z does not talk
8296 back unless requested.
8297
8298 2014-05-14 Glenn Morris <rgm@gnu.org>
8299
8300 * subr.el (with-file-modes): New macro.
8301 * printing.el (pr-save-file-modes): Make obsolete.
8302 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8303 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8304 Add with-file-modes.
8305 * doc-view.el (doc-view-make-safe-dir):
8306 * epg.el (epg--start):
8307 * files.el (locate-user-emacs-file, make-temp-file)
8308 (backup-buffer-copy, move-file-to-trash):
8309 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8310 * eshell/esh-util.el (eshell-with-private-file-modes)
8311 (eshell-make-private-directory):
8312 * net/browse-url.el (browse-url-mosaic):
8313 * obsolete/mailpost.el (post-mail-send-it):
8314 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8315 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8316 Use with-file-modes.
8317
8318 * vc/emerge.el (emerge-make-temp-file): Simplify.
8319
8320 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
8321 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8324 suffix (bug#15419).
8325
8326 2014-05-14 Glenn Morris <rgm@gnu.org>
8327
8328 * vc/emerge.el (emerge-temp-file-prefix):
8329 Make pointless option obsolete.
8330 (emerge-temp-file-mode): Make non-functional option obsolete.
8331
8332 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
8333
8334 * net/browse-url.el (browse-url):
8335 Use `unhandled-file-name-directory' when setting `default-directory',
8336 in order to circumvent stalled remote connections. (Bug#17425)
8337
8338 2014-05-14 Glenn Morris <rgm@gnu.org>
8339
8340 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8341 Optimize on Emacs, which has the relevant functions for ages.
8342
8343 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * simple.el (undo-make-selective-list): Obey undo-no-redo.
8346
8347 2014-05-12 Sam Steingold <sds@gnu.org>
8348
8349 * calendar/time-date.el (seconds-to-string): New function to
8350 pretty print time delay in seconds.
8351
8352 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * mpc.el (mpc-format): Trim Date to the year.
8355 (mpc-songs-hashcons): Shorten the Date field.
8356
8357 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8358 into autoloading just because of a silly indirection.
8359
8360 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
8361
8362 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
8363
8364 2014-05-12 Glenn Morris <rgm@gnu.org>
8365
8366 * emacs-lisp/find-gc.el: Move to ../admin.
8367
8368 * printing.el (pr-version):
8369 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8370
8371 * net/browse-url.el (browse-url-mosaic):
8372 Create /tmp/Mosaic.PID as a private file.
8373
8374 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8377 (advice--member-p): If name is given, only compare the name.
8378 (advice--remove-function): Don't stop at the first match.
8379 (advice--normalize-place): New function.
8380 (add-function, remove-function): Use it.
8381 (advice--add-function): Pass the name, if any, to
8382 advice--remove-function.
8383
8384 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
8385
8386 * electric.el (electric-indent-post-self-insert-function): Don't use
8387 `pos' after modifying the buffer (bug#17449).
8388
8389 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
8390
8391 * calendar/todo-mode.el (todo-insert-item-from-calendar):
8392 Correct argument list to conform to todo-insert-item--basic.
8393
8394 2014-05-12 Glenn Morris <rgm@gnu.org>
8395
8396 * files.el (cd-absolute): Test if directory is accessible
8397 rather than executable. (Bug#17330)
8398
8399 * progmodes/compile.el (recompile):
8400 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
8401
8402 * net/browse-url.el (browse-url-mosaic):
8403 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
8404 This is CVE-2014-3423.
8405
8406 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * mouse.el: Use the normal toplevel loop while dragging.
8409 (mouse-set-point): Handle multi-clicks.
8410 (mouse-set-region): Handle multi-clicks for drags.
8411 (mouse-drag-region): Update call accordingly.
8412 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8413 Use the normal event loop instead of a local while/read-event loop.
8414 (global-map): Remove redundant bindings for double/triple-mouse-1.
8415 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
8416 Generate synthetic down events when the protocol only sends up events.
8417 (xterm-mouse-last): Remove.
8418 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
8419 terminal parameter instead.
8420 (xterm-mouse--set-click-count): New function.
8421 (xterm-mouse-event): Detect/generate double/triple clicks.
8422 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
8423
8424 * info.el (Info-quoted): New face.
8425 (Info-mode-font-lock-keywords): New var.
8426 (Info-mode): Use it.
8427
8428 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
8429 are a hindrance for C-x C-e.
8430
8431 2014-05-11 Leo Liu <sdl.web@gmail.com>
8432
8433 * net/rcirc.el (rcirc-sentinel): Fix last change.
8434
8435 2014-05-08 Sam Steingold <sds@gnu.org>
8436
8437 * net/rcirc.el (rcirc-reconnect-delay): New user option.
8438 (rcirc-sentinel): Auto-reconnect to the server if
8439 `rcirc-reconnect-delay' is non-0 (but not more often than its
8440 value in case the host is off-line).
8441
8442 2014-05-09 Eli Zaretskii <eliz@gnu.org>
8443
8444 * progmodes/grep.el (lgrep): Fix a typo in last commit.
8445
8446 2014-05-09 Glenn Morris <rgm@gnu.org>
8447
8448 * files.el (file-expand-wildcards):
8449 * man.el (Man-support-local-filenames):
8450 * printing.el (pr-i-directory, pr-interface-directory):
8451 * progmodes/grep.el (lgrep, rgrep):
8452 * textmodes/ispell.el (ispell-call-process)
8453 (ispell-call-process-region, ispell-start-process)
8454 (ispell-init-process): Use file-accessible-directory-p.
8455
8456 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
8459 (xterm-mouse--read-event-sequence-1000): Return nil if something
8460 looks fishy.
8461 (xterm-mouse-event): Propagate it.
8462 (xterm-mouse-translate-1): Handle it.
8463
8464 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
8465
8466 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
8467 four slots of the parameter list are filled, make sure to pass it
8468 to the argument list of todo-insert-item--basic.
8469
8470 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
8473 Add optional `seen' argument to detect and break infinite loops.
8474
8475 2014-05-08 Eli Zaretskii <eliz@gnu.org>
8476
8477 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
8478 (trace-unsafe, trace-use-tree): Make parentheses style be
8479 according to Emacs style.
8480
8481 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
8482
8483 * net/tramp-sh.el (tramp-remote-process-environment):
8484 Remove HISTFILE and HISTSIZE; it's too late to set them here.
8485 Add :version entry.
8486 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
8487 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
8488 extra "PSx=..." commands.
8489 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
8490 (Bug#17295)
8491
8492 (tramp-uudecode): Replace the hard-coded temporary file name by a
8493 format specifier.
8494 (tramp-remote-coding-commands): Enhance docstring.
8495 (tramp-find-inline-encoding): Replace "%t" by a temporary file
8496 name. (Bug#17415)
8497 This is CVE-2014-3424.
8498
8499 2014-05-08 Glenn Morris <rgm@gnu.org>
8500
8501 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
8502 (find-gc-source-files): Update some names.
8503 (trace-call-tree): Simplify and update.
8504 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
8505 This is CVE-2014-3422.
8506
8507 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * minibuffer.el (completion--try-word-completion): Revert fix for
8510 Bug#15980 (bug#17375).
8511
8512 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
8513 Always store button numbers in the same way in xterm-mouse-last;
8514 Don't burp is xterm-mouse-last is not set as expected.
8515 Never return negative indices.
8516
8517 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
8518
8519 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8520 Backtrack one char if the global/char-literal var matcher hits
8521 inside a string. The next char could be the beginning of an
8522 expression expansion.
8523
8524 2014-05-08 Glenn Morris <rgm@gnu.org>
8525
8526 * help-fns.el (describe-function-1): Test for an autoload before a
8527 macro, since `macrop' works on autoloads. (Bug#17410)
8528
8529 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * electric.el (electric-indent-functions-without-reindent): Add yaml.
8532
8533 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
8534 Make sure the new point we return is within the new string (bug#17239).
8535
8536 2014-05-05 Daniel Colascione <dancol@dancol.org>
8537
8538 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8539 Port `gnu' pattern to rx.
8540
8541 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
8542
8543 Remove unneeded prompt when closing a buffer with active
8544 emacsclient ("Buffer ... still has clients"), #16548.
8545 * server.el (server-start): Remove the only call to:
8546 (server-kill-buffer-query-function): Remove.
8547
8548 2014-05-04 Leo Liu <sdl.web@gmail.com>
8549
8550 * calendar/diary-lib.el (calendar-chinese-month-name-array):
8551 Defvar to pacify compiler.
8552
8553 2014-05-04 Eli Zaretskii <eliz@gnu.org>
8554
8555 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
8556
8557 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8560 Use nil rather than `default' for the "default" appearance (bug#17388).
8561 * vc/ediff-util.el (ediff-inferior-compare-regions)
8562 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
8563 a misleading `default' value when it's really a boolean.
8564 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
8565 overlay is not visible.
8566
8567 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8568
8569 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
8570 (todo-menu): Uncomment and update.
8571
8572 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8573
8574 * calendar/todo-mode.el: Reimplement item editing to have the same
8575 basic user interface as item insertion, and make small UI and
8576 larger internal improvements to the latter.
8577 (todo-insert-item): Add reference to the Todo mode user manual to
8578 the documentation string.
8579 (todo-insert-item--basic): Rename from todo-basic-insert-item and
8580 adjust all callers. Change signature to combine diary and
8581 nonmarking arguments. Incorporate functionality of deleted item
8582 copying command and add error checking. Remove detailed
8583 descriptions of the arguments from the documentation string, since
8584 this is treated in the Todo mode user manual.
8585 (todo-copy-item, todo-edit-multiline-item)
8586 (todo-edit-done-item-comment, todo-edit-item-header)
8587 (todo-edit-item-time, todo-edit-item-date-from-calendar)
8588 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
8589 (todo-edit-item-date-year, todo-edit-item-date-month)
8590 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
8591 Remove.
8592 (todo-edit-item): Reimplement as wrapper command for
8593 todo-edit-item--next-key and make it distinguish done and not done
8594 todo items.
8595 (todo-edit-item--text): New function, replacing old command
8596 todo-edit-item and incorporating deleted commands
8597 todo-edit-multiline-item and todo-edit-done-item-comment.
8598 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
8599 Use only numeric value of prefix argument. Remove detailed
8600 descriptions of the arguments from the documentation string, since
8601 this is treated in the Todo mode user manual.
8602 (todo-edit-item--diary-inclusion): New function, replacing old
8603 command todo-edit-item-diary-inclusion and incorporating and fixing
8604 functionality of deleted command todo-edit-item-diary-nonmarking,
8605 making sure to remove todo-nondiary-marker when adding
8606 diary-nonmarking-symbol.
8607 (todo-edit-category-diary-inclusion): Make sure to delete
8608 diary-nonmarking-symbol when adding todo-nondiary-marker.
8609 (todo-edit-category-diary-nonmarking): Fix indentation.
8610 (todo-insert-item--parameters): Group diary and nonmarking
8611 parameters together.
8612 (todo-insert-item--apply-args): Adjust to signature of
8613 todo-insert-item--basic and incorporate copy parameter.
8614 Make small code improvements.
8615 (todo-insert-item--next-param): Improve prompt and adjust it to
8616 new parameter grouping. Remove obsolete code.
8617 (todo-edit-item--param-key-alist)
8618 (todo-edit-item--date-param-key-alist)
8619 (todo-edit-done-item--param-key-alist): New defconsts.
8620 (todo-edit-item--prompt): New variable.
8621 (todo-edit-item--next-key): New function.
8622 (todo-key-bindings-t): Bind "e" to todo-edit-item.
8623 Remove bindings of deleted commands.
8624
8625 2014-05-04 Leo Liu <sdl.web@gmail.com>
8626
8627 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
8628
8629 2014-05-04 Glenn Morris <rgm@gnu.org>
8630
8631 * allout-widgets.el (allout-widgets-tally)
8632 (allout-decorate-item-guides):
8633 * menu-bar.el (menu-bar-positive-p):
8634 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8635 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
8636 * progmodes/js.el (js--inside-param-list-p)
8637 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
8638 * progmodes/prolog.el (region-exists-p):
8639 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
8640 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
8641 Doc fixes (replace `iff').
8642
8643 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
8646
8647 2014-05-04 Leo Liu <sdl.web@gmail.com>
8648
8649 Support Chinese diary entries in calendar and diary. (Bug#17393)
8650 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
8651 (calendar-chinese-from-absolute-for-diary)
8652 (calendar-chinese-to-absolute-for-diary)
8653 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8654 (diary-chinese-list-entries): New functions to list and mark
8655 Chinese diary entries in the calendar window.
8656 (diary-chinese-anniversary)
8657 (diary-chinese-insert-anniversary-entry)
8658 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
8659 (diary-chinese-insert-yearly-entry): New commands to insert
8660 Chinese diary entries.
8661
8662 * calendar/diary-lib.el (diary-font-lock-keywords):
8663 Support font-locking Chinese dates.
8664
8665 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
8666 inserting Chinese diary entries.
8667
8668 * calendar/calendar.el (diary-chinese-entry-symbol):
8669 New customizable variable.
8670 (calendar-mode-map): Add bindings for inserting Chinese diary
8671 entries.
8672
8673 2014-05-03 Juri Linkov <juri@jurta.org>
8674
8675 * dired.el (dired-check-switches, dired-switches-recursive-p):
8676 New functions. (Bug#17218)
8677 (dired-switches-escape-p, dired-move-to-end-of-filename):
8678 Use `dired-check-switches'.
8679 (dired-insert-old-subdirs, dired-build-subdir-alist)
8680 (dired-sort-R-check): Use `dired-switches-recursive-p'.
8681
8682 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
8683
8684 * simple.el (undo-make-selective-list): New algorithm fixes
8685 incorrectness of position adjustments when undoing in region.
8686 (Bug#17235)
8687 (undo-elt-crosses-region): Make obsolete.
8688 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
8689 New functions to adjust positions using undo-deltas.
8690
8691 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
8694 the last consecutive closing paren (bug#17345).
8695
8696 2014-04-30 Reuben Thomas <rrt@sc3d.org>
8697
8698 * dired.el (dired-mode): make terminology for eXpunge command
8699 consistent. (Bug#17276)
8700
8701 2014-04-30 Eli Zaretskii <eliz@gnu.org>
8702
8703 * dired.el (dired-initial-position-hook, dired-initial-position):
8704 Doc string fixes.
8705
8706 2014-04-30 Glenn Morris <rgm@gnu.org>
8707
8708 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
8709
8710 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
8711
8712 * faces.el (face-spec-recalc): Apply X resources only after the
8713 defface spec has been applied. Thus, X resources are no longer
8714 overriden by the defface spec which also fixes issues on win32 where
8715 the toolbar coloring was wrong because it is set through X resources
8716 and was (wrongfully) overriden. (Bug#16694)
8717
8718 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * textmodes/rst.el (electric-pair-pairs): Declare.
8721 (rst-mode): Set it (bug#17131).
8722
8723 2014-04-30 Juri Linkov <juri@jurta.org>
8724
8725 * desktop.el (desktop-value-to-string): Let-bind `print-length'
8726 and `print-level' to nil. (Bug#17351)
8727
8728 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8729
8730 * battery.el (battery-update): Handle the case where battery
8731 status is "N/A" (bug#17319).
8732
8733 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8734
8735 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
8736 to syntax-propertize.
8737 (ps-mode-auto-indent): Mark as obsolete.
8738 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
8739 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
8740 word regexp operators.
8741 (ps-mode-map): Move initialization into declaration. Remove binding
8742 for TAB, RET, >, ], and }.
8743 (ps-mode-syntax-table): Move initialization into declaration.
8744 Don't give word syntax to non-word chars.
8745 (ps-run-mode-map): Move initialization into declaration.
8746 (ps-mode-menu-main): Remove auto-indent entry.
8747 (ps-mode-smie-rules): New function.
8748 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
8749 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
8750 (ps-mode--string-syntax-table): New const.
8751 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
8752 New functions.
8753 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
8754 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
8755
8756 2014-04-27 Daniel Colascione <dancol@dancol.org>
8757
8758 * term/xterm.el (xterm-paste): Use large finite timeout when
8759 reading event to avoid putting keys in this-command-keys.
8760
8761 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
8764 (perl-syntax-propertize-function): Use it. Extend handling of
8765 here-docs to the unquoted case.
8766
8767 2014-04-25 Eli Zaretskii <eliz@gnu.org>
8768
8769 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
8770 Use equal-including-properties to compare help-echo strings (bug#17331).
8771
8772 2014-04-25 Leo Liu <sdl.web@gmail.com>
8773
8774 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8775 Fix syntax for @. (Bug#17325)
8776
8777 2014-04-25 Daniel Colascione <dancol@dancol.org>
8778
8779 * emacs-lisp/cl.el (gv): Require gv early to break eager
8780 macro-expansion cycles.
8781
8782 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * simple.el (region-active-p): Check there's a mark (bug#17324).
8785
8786 * simple.el (completion-list-mode-map): Use choose-completion for the
8787 mouse binding as well (bug#17302).
8788 (completion-list-mode, completion-setup-function): Adjust docstring and
8789 echo area message accordingly.
8790 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
8791 calling convention of choose-completion.
8792 * comint.el (comint-dynamic-list-completions):
8793 * term.el (term-dynamic-list-completions): Accept choose-completion.
8794
8795 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
8796 &, |, +, - and * can't be a division (bug#17317).
8797
8798 * term/xterm.el (xterm--version-handler): Don't use modern xterm
8799 features on gnome-terminal (bug#16988).
8800
8801 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
8802
8803 Improve Scheme font-locking for (define ((foo ...) ...) ...).
8804
8805 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
8806 the declared object, ignore zero or more parens, not zero or one.
8807
8808 2014-04-24 Leo Liu <sdl.web@gmail.com>
8809
8810 * progmodes/xscheme.el (xscheme-expressions-ring)
8811 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
8812 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
8813 (xscheme-allow-output-p, xscheme-prompt)
8814 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
8815
8816 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
8817 Comment out unused functions.
8818
8819 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * info.el: Use lexical-binding and cl-lib.
8822 Use defvar-local and setq-local instead of make-local-variable.
8823 (Info-apropos-matches): Avoid add-to-list.
8824 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
8825
8826 2014-04-24 Daniel Colascione <dancol@dancol.org>
8827
8828 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
8829
8830 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
8833
8834 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
8835
8836 * dired.el (dired-insert-set-properties): Do not consider
8837 subdirectory headings and empty lines to be information that
8838 `dired-hide-details-mode' should hide. (Bug#17228)
8839
8840 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8841
8842 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8843 Remove test messages.
8844 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
8845 and `target' twice.
8846
8847 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
8850 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
8851
8852 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
8853
8854 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8855
8856 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8857 Set "IFS=" when using read builtin, in order to preserve spaces in
8858 the file name. Add test messages for hunting a bug on hydra.
8859 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
8860
8861 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
8864 Don't prettify a word within a symbol.
8865
8866 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8867
8868 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
8869 possible.
8870
8871 2014-04-22 Daniel Colascione <dancol@dancol.org>
8872
8873 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
8874 use defun to define `function-put'.
8875
8876 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
8879 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
8880 (lisp-mode-variables): Set font-lock-extra-managed-props.
8881
8882 * emacs-lisp/byte-run.el (function-put): New function.
8883 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
8884 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
8885 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
8886 Use them.
8887
8888 2014-04-22 Daniel Colascione <dancol@dancol.org>
8889
8890 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
8891 Add `full-p' parameter; when nil, call `macroexpand' instead of
8892 `macroexpand-all'.
8893
8894 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
8895 Improve docstrings.
8896
8897 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8898 Use lambda function values, not quoted lambdas.
8899 (byte-compile-recurse-toplevel): Remove extraneous &optional.
8900
8901 * emacs-lisp/cl-macs.el
8902 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
8903 (cl-struct-slot-value): Conditionally use aref or nth so that the
8904 compiler produces optimal code.
8905
8906 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
8909 (inline): Don't inline cl--set-elt.
8910 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
8911 Define as inlinable instead.
8912 (cl-struct-set-slot-value): Remove.
8913
8914 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
8915 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
8916 Use setf instead.
8917
8918 2014-04-21 Daniel Colascione <dancol@dancol.org>
8919
8920 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
8921 last two parameters after all.
8922 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
8923 (cl--compiler-macro-assoc,cl-struct-slot-value)
8924 (cl-struct-set-slot-value): Stop using them.
8925
8926 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
8929 entry in image-mode-winprops-alist.
8930
8931 2014-04-21 Daniel Colascione <dancol@dancol.org>
8932
8933 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
8934 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
8935 (byte-compile-toplevel-file-form): Use it.
8936
8937 * emacs-lisp/cl-macs.el:
8938 (cl--loop-let): Properly destructure `while' clauses.
8939
8940 2014-04-20 Daniel Colascione <dancol@dancol.org>
8941
8942 * vc/vc.el (vc-root-dir): New public autoloaded function for
8943 generically finding the current VC root.
8944 * vc/vc-hooks.el (vc-not-supported): New error.
8945 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
8946
8947 2014-04-20 Daniel Colascione <dancol@dancol.org>
8948
8949 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
8950 argument.
8951 (cl--const-expr-val): cl--const-expr-val should macroexpand its
8952 argument in case we're inside a symbol-macrolet.
8953 (cl--do-arglist, cl--compiler-macro-typep)
8954 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
8955 environment to `cl--const-expr-val'.
8956 (cl-struct-sequence-type,cl-struct-slot-info)
8957 (cl-struct-slot-offset, cl-struct-slot-value)
8958 (cl-struct-set-slot-value): New functions.
8959
8960 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
8963 assignments such as "case=hello" (bug#17297).
8964
8965 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
8966
8967 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
8968 Do not autoload.
8969 (tramp-file-name-handler, tramp-completion-file-name-handler):
8970 Revert patch from 2014-04-10, it isn't necessary anymore.
8971 (tramp-autoload-file-name-handler)
8972 (tramp-register-autoload-file-name-handlers): New defuns.
8973 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
8974 (tramp-register-file-name-handlers): Remove also
8975 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
8976 Do not autoload its invocation, but eval it after loading of 'tramp.
8977
8978 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
8979
8980 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
8981
8982 2014-04-17 Daniel Colascione <dancol@dancol.org>
8983
8984 Add support for bracketed paste mode; add infrastructure for
8985 managing terminal mode enabling and disabling automatically.
8986
8987 * xt-mouse.el:
8988 (xterm-mouse-mode): Simplify.
8989 (xterm-mouse-tracking-enable-sequence)
8990 (xterm-mouse-tracking-disable-sequence): New constants.
8991 (turn-on-xterm-mouse-tracking-on-terminal)
8992 (turn-off-xterm-mouse-tracking-on-terminal):
8993 Use tty-mode-set-strings and tty-mode-reset-strings terminal
8994 parameters instead of random hooks.
8995 (turn-on-xterm-mouse-tracking)
8996 (turn-off-xterm-mouse-tracking): Delete.
8997
8998 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
8999 (xterm-paste-ending-sequence): New constant.
9000 (xterm-paste): New command used for bracketed paste support.
9001
9002 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
9003 (terminal-init-xterm-bracketed-paste-mode): New function.
9004 (terminal-init-xterm): Call it.
9005 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
9006 and tty-mode-reset-strings instead of random hooks.
9007 (xterm-turn-on-modify-other-keys)
9008 (xterm-turn-off-modify-other-keys)
9009 (xterm-remove-modify-other-keys): Delete obsolete functions.
9010
9011 * term/screen.el: Rewrite to just use the xterm code.
9012 Add copyright notice. Mention tmux.
9013
9014 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
9015
9016 * image-mode.el (image-mode-window-put): Also update the property of
9017 the "default window".
9018 * doc-view.el (doc-view-new-window-function): If no window
9019 exists, move to the last known page.
9020
9021 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
9024 here-documents (bug#17262).
9025
9026 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9027
9028 * term/pc-win.el (x-list-fonts, x-get-selection-value):
9029 Provide doc strings, as required by snarf-documentation.
9030
9031 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
9034 arg of overlays-at. Use `invisible-p'.
9035
9036 * obsolete/lucid.el (extent-at):
9037 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
9038 overlays-at.
9039 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
9040
9041 2014-04-16 João Távora <joaotavora@gmail.com>
9042
9043 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
9044 links. (Bug#17217).
9045
9046 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9047
9048 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9049 Use mapc to loop over a vector. (Bug#17257).
9050
9051 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
9054 patch, there are new problems with file names containing spaces.
9055 Get rid of backticks. (Bug#17238)
9056
9057 2014-04-16 João Távora <joaotavora@gmail.com>
9058
9059 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
9060 possible bug.
9061
9062 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9063
9064 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
9065 (blink-cursor-mode): Mention customization variables and the
9066 effect of 'blink-cursor-blinks'.
9067
9068 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
9069
9070 * simple.el (undo): Prevent insertion of identity mapping into
9071 undo-equiv-table so as undo-only does not inf loop in the presence
9072 of consecutive nils in undo list.
9073
9074 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
9075
9076 * faces.el (make-face): Deprecate optional argument as it is no
9077 longer needed/used since the conditional X resources handling
9078 has been pushed down to make-face-x-resource-internal itself.
9079 (make-empty-face): Don't pass optional argument to make-face.
9080
9081 2014-04-16 Karl Fogel <kfogel@red-bean.com>
9082
9083 * savehist.el (savehist-save): Remove workaround for a read-passwd
9084 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
9085 noticing that the shim was still present.
9086
9087 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
9090
9091 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
9092
9093 * faces.el (face-set-after-frame-default): Remove unused local variable.
9094
9095 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * progmodes/grep.el: Use lexical-binding.
9098 (grep-expand-template): Pass explicit lexical env to `eval'.
9099 (zrgrep): Let-bind grep-find-template explicitly.
9100
9101 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
9102 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
9103
9104 2014-04-12 Eli Zaretskii <eliz@gnu.org>
9105
9106 * international/characters.el <standard-case-table>: Add entries
9107 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
9108 Set category of Coptic characters be 'g' (Greek).
9109
9110 2014-04-12 Leo Liu <sdl.web@gmail.com>
9111
9112 * progmodes/octave.el (completion-table-with-cache):
9113 Define if not available.
9114 (octave-goto-function-definition, octave-sync-function-file-names)
9115 (octave-find-definition-default-filename):
9116 Backquote upattern for compatibility.
9117
9118 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
9119
9120 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9121 name twice due to backticks. (Bug#17238)
9122
9123 2014-04-12 Glenn Morris <rgm@gnu.org>
9124
9125 * term/w32-win.el (x-win-suspend-error):
9126 * term/x-win.el (x-win-suspend-error): Sync docs.
9127
9128 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
9129
9130 * faces.el (make-face): Remove deprecated optional argument.
9131 The conditional application of X resources is handled directly by
9132 make-face-x-resource-internal since Emacs 24.4.
9133 (make-empty-face): Don't pass optional argument to make-face.
9134
9135 2014-04-11 Glenn Morris <rgm@gnu.org>
9136
9137 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
9138
9139 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 Ediff's overlay priorities cause more trouble than they solve.
9142 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9143 (ediff-highest-priority): Remove function (bug#17234).
9144 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9145 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9146 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9147 overlay priorities.
9148
9149 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
9150
9151 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9152 entry; use symbol boundaries to avoid mis-matches.
9153
9154 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
9155
9156 * net/tramp.el (tramp-file-name-handler)
9157 (tramp-completion-file-name-handler): Avoid recursive loading.
9158
9159 * net/tramp-sh.el (tramp-make-copy-program-file-name):
9160 Quote result also locally.
9161
9162 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9165 Remove left-over code.
9166
9167 * newcomment.el (comment-indent-new-line): Sink code where it's used.
9168 Reuse the previous comment's indentation unconditionally if it's on its
9169 own line.
9170
9171 2014-04-09 Daniel Colascione <dancol@dancol.org>
9172
9173 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9174 `no-syntax-crossing' arguments. Forward to `up-list'.
9175 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9176 Implement logic for escaping from strings. Use narrowing to deal
9177 with corner cases.
9178
9179 2014-04-09 Leo Liu <sdl.web@gmail.com>
9180
9181 * net/rcirc.el (rcirc-connection-info): New variable.
9182 (rcirc-connect): Use it to store connection info.
9183 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9184 for killed process.
9185 (rcirc-cmd-reconnect): New command. (Bug#17045)
9186 (rcirc-mode, set-rcirc-encode-coding-system)
9187 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9188
9189 2014-04-09 Daniel Colascione <dancol@dancol.org>
9190
9191 * emacs-lisp/cl-indent.el: Add comment claiming
9192 facility is also good for elisp.
9193 (lisp-indent-find-method): New function.
9194 (common-lisp-indent-function): Recognize cl-loop.
9195 (common-lisp-indent-function-1): Recognize cl constructs; use
9196 `lisp-indent-find-method' instead of `get' directly.
9197 (if): Use else-body style for elisp.
9198
9199 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
9200
9201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9202 Module methods. (Bug#17216)
9203
9204 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 * help.el (describe-bindings): Fix buffer handling (bug#17210).
9207 (describe-bindings-internal): Mark obsolete.
9208
9209 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9212 buffer-file-name, and buffer-file-truename any more.
9213
9214 2014-04-08 Leo Liu <sdl.web@gmail.com>
9215
9216 Use lexical-binding and require cl-lib.
9217 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9218 (rcirc-handler-generic, rcirc-fill-paragraph)
9219 (rcirc-format-response-string, rcirc-target-buffer)
9220 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9221 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9222 (rcirc-ctcp-sender-PING, rcirc-browse-url)
9223 (rcirc-markup-timestamp, rcirc-markup-attributes)
9224 (rcirc-markup-my-nick, rcirc-markup-urls)
9225 (rcirc-markup-bright-nicks, rcirc-markup-fill)
9226 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9227 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9228 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9229 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9230 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9231 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9232 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9233 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9234 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9235 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9236 use cl-lib.
9237
9238 2014-04-07 João Távora <joaotavora@gmail.com>
9239
9240 * elec-pair.el (electric-pair--syntax-ppss):
9241 When inside comments parse from comment beginning.
9242 (electric-pair--balance-info): Fix typo in comment.
9243 (electric-pair--in-unterminated-string-p): Delete.
9244 (electric-pair--unbalanced-strings-p): New function.
9245 (electric-pair-string-bound-function): New var.
9246 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9247 according to `electric-pair--in-unterminated-string-p'
9248
9249 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9250 Inhibit quote pairing if point-max is inside an unterminated string.
9251 (electric-pair--looking-at-unterminated-string-p): Delete.
9252 (electric-pair--in-unterminated-string-p): New function.
9253
9254 2014-04-07 Glenn Morris <rgm@gnu.org>
9255
9256 * shell.el (shell-directory-tracker):
9257 Go back to just ignoring failures. (Bug#17159)
9258
9259 2014-04-07 João Távora <joaotavora@gmail.com>
9260
9261 Fix `electric-pair-delete-adjacent-pairs' in modes binding
9262 backspace. (Bug#16981)
9263 * elec-pair.el (electric-pair-backward-delete-char): Delete.
9264 (electric-pair-backward-delete-char-untabify): Delete.
9265 (electric-pair-mode-map): Bind backspace to a menu item filtering
9266 a new `electric-pair-delete-pair' command.
9267 (electric-pair-delete-pair): New command.
9268
9269 * progmodes/python.el (python-electric-pair-string-delimiter):
9270 Fix triple-quoting electricity. (Bug#17192)
9271
9272 * elec-pair.el (electric-pair-post-self-insert-function):
9273 Don't skip whitespace when `electric-pair-text-pairs' and
9274 `electric-pair-pairs' were used. syntax to
9275 electric-pair--skip-whitespace. (Bug#17183)
9276
9277 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9278
9279 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9280 "<F>". (Bug#17199)
9281
9282 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9285 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9286
9287 2014-04-07 Glenn Morris <rgm@gnu.org>
9288
9289 * help.el (view-lossage): Doc tweak.
9290
9291 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
9292
9293 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9294 only when inhibit-x-resources is nil, and do that earlier in the
9295 function. Doc fix. (Bug#16694)
9296 (face-spec-choose): Accept additional optional argument, whose
9297 value is returned if no matching attributes are found.
9298 (face-spec-recalc): Use the new optional argument when calling
9299 face-spec-choose. (Bug#16378)
9300 (make-face-x-resource-internal): Do nothing when
9301 inhibit-x-resources is non-nil. Don't touch the default face if
9302 reversed video is given--as was done in previous versions of Emacs.
9303 (face-set-after-frame-default): Don't call
9304 make-face-x-resource-internal here. (Bug#16434)
9305
9306 2014-04-07 Tassilo Horn <tsdh@gnu.org>
9307
9308 * doc-view.el (doc-view-bookmark-jump):
9309 Use `bookmark-after-jump-hook' to jump to the right page after the
9310 buffer is shown in a window. (bug#16090)
9311
9312 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9313
9314 * international/characters.el (mirroring): Fix last change:
9315 instead of loading uni-mirrored.el explicitly, do that implicitly
9316 by creating the 'mirroring' uniprop table. This avoids announcing
9317 the loading of uni-mirrored.el.
9318
9319 2014-04-07 Glenn Morris <rgm@gnu.org>
9320
9321 * files.el (buffer-stale--default-function)
9322 (buffer-stale-function, revert-buffer--default):
9323 * autorevert.el (auto-revert-buffers): Doc tweaks.
9324
9325 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9326
9327 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
9328
9329 2014-04-07 Glenn Morris <rgm@gnu.org>
9330
9331 * files.el (make-backup-file-name-function)
9332 (make-backup-file-name, make-backup-file-name--default-function)
9333 (make-backup-file-name-1, find-backup-file-name)
9334 (revert-buffer-function, revert-buffer-insert-file-contents-function)
9335 (buffer-stale--default-function, buffer-stale-function)
9336 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9337 (revert-buffer, revert-buffer--default)
9338 (revert-buffer-insert-file-contents--default-function):
9339 Doc fixes related to defaults no longer being nil.
9340 (make-backup-file-name-function): Bump :version.
9341 Restore nil as a valid but deprecated custom type.
9342
9343 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9346 Handle $' used as a variable (bug#17174).
9347
9348 * progmodes/perl-mode.el (perl-indent-new-calculate):
9349 Handle forward-sexp failure (bug#16985).
9350 (perl-syntax-propertize-function): Add "foreach" and "for" statement
9351 modifiers introducing expressions (bug#17116).
9352
9353 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9356
9357 2014-04-05 Leo Liu <sdl.web@gmail.com>
9358
9359 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9360 Add define-compilation-mode.
9361
9362 2014-04-04 João Távora <joaotavora@gmail.com>
9363
9364 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9365 parse from comment beginning.
9366 (electric-pair--balance-info): Fix typo in comment.
9367 (electric-pair--in-unterminated-string-p): Delete.
9368 (electric-pair--unbalanced-strings-p): New function.
9369 (electric-pair-string-bound-function): New var.
9370 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9371 according to `electric-pair--in-unterminated-string-p'.
9372
9373 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9374
9375 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9376 Move declaration before first use.
9377 (reftex-move-to-next-arg): Silence compiler warning.
9378
9379 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
9380
9381 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9382 Use `window-total-width' instead of `window-width'.
9383
9384 2014-04-03 Daniel Colascione <dancol@dancol.org>
9385
9386 * subr.el (set-transient-map): Remove rms's workaround entirely;
9387 use new `suspicious-object' subr to mark our lambda for closer
9388 scrutiny during gc.
9389
9390 2014-04-02 Richard Stallman <rms@gnu.org>
9391
9392 * subr.el (set-transient-map): Comment out previous change.
9393
9394 2014-04-02 Glenn Morris <rgm@gnu.org>
9395
9396 * menu-bar.el (menu-bar-file-menu):
9397 * vc/ediff.el (ediff-current-file):
9398 Update for revert-buffer-function no longer being nil by default.
9399
9400 * simple.el (command-execute): Respect nil disabled-command-function.
9401
9402 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9403
9404 * simple.el (command-execute): Do not execute the command when it
9405 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
9406
9407 2014-04-02 Juri Linkov <juri@jurta.org>
9408
9409 * dired-aux.el (dired-compress-file): Don't use string-match-p
9410 because its match data is used afterwards.
9411
9412 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
9415 0 like nil.
9416
9417 2014-04-02 João Távora <joaotavora@gmail.com>
9418
9419 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9420 Inhibit quote pairing if point-max is inside an unterminated string.
9421 (electric-pair--looking-at-unterminated-string-p):
9422 Delete.
9423 (electric-pair--in-unterminated-string-p): New function.
9424
9425 2014-04-01 Daniel Colascione <dancol@dancol.org>
9426
9427 * minibuffer.el (minibuffer-complete): Prevent assertion failure
9428 when trying to complete the prompt.
9429
9430 2014-03-31 Leo Liu <sdl.web@gmail.com>
9431
9432 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9433 Refactor out eldoc-documentation-function-default.
9434 (eldoc-documentation-function-default): New function.
9435 (eldoc-documentation-function): Change value.
9436
9437 2014-03-31 Glenn Morris <rgm@gnu.org>
9438
9439 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
9440
9441 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
9442 (vhdl-compose-components-package, vhdl-compose-configuration):
9443 Abbreviate default-directory (missing from some previous upstream sync).
9444
9445 2014-03-31 Reto Zimmermann <reto@gnu.org>
9446
9447 Sync with upstream vhdl mode v3.35.2.
9448 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9449 (top-level): No longer require assoc.
9450 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
9451 New functions. Use throughout to replace aget etc.
9452 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
9453 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
9454 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
9455 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
9456 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
9457 except `vhdl-compiler'.
9458 (vhdl-error-regexp-add-emacs): Remove all other compilers,
9459 when appropriate.
9460
9461 2014-03-31 Glenn Morris <rgm@gnu.org>
9462
9463 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
9464 Revert 2014-03-26 merge goof; go back to using defalias.
9465
9466 2014-03-30 Daniel Colascione <dancol@dancol.org>
9467
9468 * comint.el (comint-send-input):
9469 Deactivate completion-in-region-mode before we send comint input.
9470 (Bug#17139).
9471
9472 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
9473 on keyboard-quit.
9474
9475 2014-03-29 Glenn Morris <rgm@gnu.org>
9476
9477 * textmodes/reftex.el: Manage most autoloads automatically.
9478 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
9479 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
9480 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
9481 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
9482 * textmodes/reftex-toc.el: Set generated-autoload-file,
9483 and add autoload cookies for reftex.el.
9484 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
9485
9486 2014-03-28 Glenn Morris <rgm@gnu.org>
9487
9488 * cus-start.el (report-emacs-bug-address): Set custom properties.
9489 * mail/emacsbug.el (report-emacs-bug-address):
9490 Variable is now defined in emacs.c.
9491
9492 * mail/emacsbug.el (report-emacs-bug):
9493 Include system-configuration-features.
9494
9495 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
9496
9497 * simple.el (cycle-spacing): Never delete spaces on first run by
9498 default, but do so in a new 'fast mode and if there are already
9499 N spaces (the previous behavior).
9500 Compare N with its value in previous invocation so that changing
9501 prefix argument restarts `cycle-spacing' sequence.
9502 The idea is that with this change, binding M-SPC to
9503 `cycle-spacing' should not introduce any changes in behavior of
9504 the binding so long as users do not type M-SPC twice in a raw with
9505 the same prefix argument or lack thereof.
9506
9507 2014-03-28 Glenn Morris <rgm@gnu.org>
9508
9509 * faces.el (term-file-aliases): New variable.
9510 (tty-run-terminal-initialization): Respect term-file-aliases.
9511 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
9512 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
9513 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
9514
9515 2014-03-27 Glenn Morris <rgm@gnu.org>
9516
9517 * startup.el (inhibit-startup-hooks): Doc tweak.
9518 (normal-top-level): Simplify running of hooks.
9519 For window-setup-hook, respect inhibit-startup-hooks.
9520 (command-line-1): Don't set window-setup-hook to nil.
9521
9522 Allow selective autoloading from obsolete/ directory.
9523 * Makefile.in (obsolete-autoloads): New rule.
9524 (autoloads): Run obsolete-autoloads.
9525 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
9526 * simple.el (iswitchb-mode): Remove hand-written autoloads.
9527
9528 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
9529
9530 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9531 Highlight special globals with font-lock-builtin-face. (Bug#17057)
9532
9533 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9534 Don't propertize `?' or `!' as symbol constituent when after
9535 colon. (Bug#17097)
9536
9537 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
9538
9539 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
9540 which is no longer needed and causes trouble in GTK builds (bug#17046).
9541
9542 * emacs-lisp/package-x.el (package--archive-contents-from-url):
9543 Use url-insert-file-contents; package-handle-response no longer exists.
9544
9545 2014-03-26 Daniel Colascione <dancol@dancol.org>
9546
9547 * simple.el (process-menu-mode-map): New variable.
9548 (process-menu-delete-process): New command.
9549
9550 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9551
9552 * emacs-lisp/package.el: Fix bug#16733 (again).
9553 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
9554 (url-http-target-url): Remove unused declarations.
9555 (package-handle-response): Remove.
9556 (package--with-work-buffer): Use url-insert-file-contents and simplify.
9557 (package--download-one-archive): Use current-buffer instead of
9558 dynamic binding of `buffer'.
9559 (describe-package-1): Do not decode readme-string.
9560
9561 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
9562
9563 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
9564
9565 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
9566 from 2014-03-07, it decreases performance unnecessarily. Let-bind
9567 `remote-file-name-inhibit-cache' to nil in the second pass.
9568 (tramp-find-executable): Do not call "which" on SunOS.
9569 (tramp-send-command-and-check): Fix docstring.
9570 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
9571 check whether source directory has set the sticky bit.
9572
9573 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
9574
9575 * simple.el (primitive-undo): Only process marker adjustments
9576 validated against their corresponding (TEXT . POS). Issue warning
9577 for lone marker adjustments in undo history. (Bug#16818)
9578 (undo-make-selective-list): Add marker adjustments to selective
9579 undo list based on whether their corresponding (TEXT . POS) is in
9580 the region. Remove variable adjusted-markers, which was unused
9581 and only non nil during undo-make-selective-list.
9582 (undo-elt-in-region): Return nil when passed a marker adjustment
9583 and explain in function doc.
9584
9585 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9586
9587 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
9588
9589 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9590
9591 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
9592 Match special global variables without curlies, too.
9593 (ruby-font-lock-keywords): Simplify the matcher for special global
9594 variables. Don't require a non-word character after the variable.
9595 (Bug#17057)
9596
9597 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * simple.el (redisplay-highlight-region-function): Increase priority of
9600 overlay to make sure boundaries are visible (bug#15899).
9601
9602 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9603
9604 * frameset.el (frameset--initial-params): Fix typo in parameter name.
9605 (frameset-restore): Compare display strings with equal.
9606
9607 * frame.el (make-frame): Don't quote display name in error message,
9608 it is already a string.
9609
9610 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9611
9612 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
9613 the password.
9614
9615 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9616
9617 * emacs-lisp/package.el (package--add-to-archive-contents):
9618 Include already installed and built-in packages in
9619 `package-archive-contents'.
9620 (package-install): Don't include already installed packages in the
9621 options during interactive invocation. (Bug#16762)
9622 (package-show-package-list): If the buffer is already displayed in
9623 another window, switch to that window.
9624
9625 2014-03-26 Reto Zimmermann <reto@gnu.org>
9626
9627 Sync with upstream vhdl mode v3.35.1.
9628 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9629 (vhdl-compiler-alist): Doc fix.
9630 (vhdl-goto-line): Remove.
9631 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
9632 (vhdl-mode) <paragraph-start>: Fix value.
9633 (vhdl-fix-statement-region): Not `for' in wait-statement.
9634 (vhdl-beautify-region): Also (un)tabify.
9635 (vhdl-get-visible-signals):
9636 Scan declarative part of generate statements.
9637 (vhdl-template-record): Fix indentation for record type declaration.
9638 (vhdl-expand-abbrev, vhdl-expand-paren):
9639 Revert to using fset again rather than defalias.
9640 (vhdl-scan-directory-contents): Tweak.
9641 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
9642 (vhdl-compose-components-package):
9643 Replace vhdl-goto-line with forward-line.
9644 (top-level): Tweak speedbar frame selection.
9645 (vhdl-generate-makefile-1): Support for compilers with no
9646 unit-to-file name mapping (create directory with dummy files).
9647
9648 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
9649
9650 Sync with upstream verilog-mode revision 702457d.
9651 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9652 (create-lockfiles): Declare.
9653 (verilog-read-decls): Fix module header imports, bug709.
9654 Reported by Victor Lau.
9655 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
9656 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9657 interface-only modules, bug721. Reported by Dean Hoyt.
9658
9659 2014-03-26 Glenn Morris <rgm@gnu.org>
9660
9661 * obsolete/gulp.el: Move here from emacs-lisp/.
9662
9663 * files.el (lock-buffer, unlock-buffer, file-locked-p):
9664 Remove fallback aliases, since they are always defined now.
9665
9666 2014-03-24 Daniel Colascione <dancol@dancol.org>
9667
9668 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9669 instead of cl-loop search function.
9670
9671 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9672
9673 * calendar/parse-time.el (parse-time-iso8601-regexp)
9674 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
9675 it more generally.
9676
9677 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9678
9679 * net/dns.el (network-interface-list): Define for XEmacs.
9680
9681 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
9682
9683 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
9684 the network interfaces changed.
9685 (dns-query): Use it to flush the data.
9686
9687 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
9688
9689 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
9690
9691 2014-03-23 Daniel Colascione <dancol@dancol.org>
9692
9693 Change subword-mode to use `find-word-boundary-function-table' and
9694 replace `capitalized-words-mode'. Also, convert to lexical binding.
9695 * progmodes/cap-words.el: Delete now-obsolete file.
9696 * progmodes/subword.el: Reimplement using
9697 `find-word-boundary-function-table'.
9698 (subword-mode-map): Hollow out.
9699 (capitalized-words-mode): Define as obsolete alias for
9700 `subword-mode'.
9701 (subword-mode, superword-mode): Tweak documentation to reflect new
9702 implementation; call `subword-setup-buffer'.
9703 (subword-forward, subword-capitalize): Add underscore to indicate
9704 unused variable.
9705 (subword-find-word-boundary-function-table): New constant.
9706 (subword-empty-char-table): New constant.
9707 (subword-setup-buffer): New function.
9708 (subword-find-word-boundary): New function.
9709
9710 2014-03-23 Daniel Colascione <dancol@dancol.org>
9711
9712 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9713 list to look for keyword arguments instead of `memq', fixing
9714 (Bug#3647) --- unfortunately, only for freshly-compiled code.
9715 Please make bootstrap.
9716
9717 2014-03-22 Glenn Morris <rgm@gnu.org>
9718
9719 * dired.el (dired-read-regexp): Make obsolete.
9720 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
9721 (dired-flag-files-regexp):
9722 * dired-aux.el (dired-mark-read-regexp):
9723 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9724
9725 * startup.el (fancy-startup-text):
9726 * help.el (describe-gnu-project): Visit online info about GNU project.
9727
9728 * help-fns.el (help-fns--interactive-only): New function.
9729 (help-fns-describe-function-functions): Add the above function.
9730 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
9731 (next-line, previous-line): Remove hand-written interactive-only
9732 information from doc strings, it is auto-generated now.
9733 * bookmark.el (bookmark-write):
9734 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
9735 (epa-mail-import-keys): Mark interactive-only,
9736 and remove hand-written interactive-only information from doc strings.
9737 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
9738 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
9739 * files.el (not-modified):
9740 * simple.el (mark-whole-buffer): Mark interactive-only.
9741
9742 * emacs-lisp/byte-run.el (defun-declarations-alist):
9743 Add interactive-only. Doc tweak.
9744 (macro-declarations-alist): Doc tweak.
9745 * subr.el (declare): Doc tweak (add xref to manual).
9746 * comint.el (comint-run):
9747 * files.el (insert-file-literally, insert-file):
9748 * replace.el (replace-string, replace-regexp):
9749 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9750 (delete-forward-char, goto-line, insert-buffer, next-line)
9751 (previous-line): Set interactive-only via declare.
9752
9753 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
9754
9755 * emacs-lisp/package.el (package-desc): Use the contents of the
9756 quoted form, not its cdr. (Bug#16873)
9757
9758 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
9761 benefit of doc.c; change parameter profile to match the X function.
9762
9763 2014-03-22 Leo Liu <sdl.web@gmail.com>
9764
9765 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
9766 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
9767
9768 2014-03-21 Richard Stallman <rms@gnu.org>
9769
9770 * battery.el (battery-linux-sysfs): Search for each field
9771 from the beginning of the buffer.
9772
9773 * subr.el (set-transient-map): Clear out function and value
9774 of the temporary symbol when we're done with it.
9775
9776 * mail/rmailsum.el (rmail-summary-delete-forward):
9777 Optimize case of reaching end and handling count.
9778 (rmail-summary-mark-deleted): Optimize when N is current msg.
9779 Don't create new summary line.
9780 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
9781 (rmail-summary-undelete-many): Rewrite for speed.
9782 (rmail-summary-msg-number): New function.
9783
9784 * mail/rmail.el (rmail-delete-message): Update summary.
9785 (rmail-undelete-previous-message): Handle repeat count arg.
9786 (rmail-delete-backward, rmail-delete-forward): Likewise.
9787
9788 2014-03-21 Daniel Colascione <dancol@dancol.org>
9789
9790 * mail/emacsbug.el (report-emacs-bug): Include memory usage
9791 information in bug reports.
9792
9793 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
9794
9795 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
9796 and `tramp-copy-env'.
9797
9798 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
9799 (tramp-maybe-open-connection): Handle `tramp-login-env'.
9800
9801 2014-03-21 Glenn Morris <rgm@gnu.org>
9802
9803 * electric.el (electric-indent-post-self-insert-function): Add doc.
9804
9805 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
9806
9807 * emacs-lisp/package.el (package-compute-transaction):
9808 Use `version-list-<=' to compare the requirement version against
9809 the version of package already to be installed. Update the error
9810 message. (Bug#16826)
9811
9812 * progmodes/ruby-mode.el (ruby-smie-rules):
9813 Add indentation rule for ` @ '. (Bug#17050)
9814
9815 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9816
9817 * align.el (align-regexp): Remove superfluous backslash.
9818
9819 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
9820 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
9821 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
9822 Fix docstring typos.
9823 (ffap-next): Use C-u in docstring.
9824 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
9825 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
9826 Remove superfluous backslashes.
9827 (ffap-string-at-point): Reflow docstring.
9828
9829 * server.el (server-host): Reflow docstring.
9830 (server-unload-function): Fix docstring typo.
9831 (server-eval-at): Remove superfluous backslash.
9832
9833 * skeleton.el (skeleton-insert): Remove superfluous backslash.
9834 (skeleton-insert): Doc fix.
9835 (skeleton-insert): Reflow docstring.
9836
9837 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
9838 (tty-color-approximate, tty-color-by-index, tty-color-values)
9839 (tty-color-desc): Remove superfluous backslashes.
9840
9841 2014-03-21 Glenn Morris <rgm@gnu.org>
9842
9843 * cus-start.el (history-length): Bump :version.
9844
9845 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9846 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9847 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9848 Don't set `make-backup-files'.
9849
9850 * info.el (info--prettify-description): New function,
9851 to give info-finder descriptions consistent case, punctuation.
9852 (Info-finder-find-node): Use it. Sort packages.
9853 Refer to "description" rather than "commentary".
9854
9855 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9856
9857 * frameset.el (frameset--print-register): New function.
9858 (frameset-to-register): Use it.
9859
9860 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * progmodes/hideif.el (hif-string-to-number): New function.
9863 (hif-tokenize): Use it to understand non-decimal floats.
9864
9865 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
9866
9867 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
9868
9869 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * electric.el (electric-newline-and-maybe-indent): New command.
9872 Bind it globally to C-j.
9873 (electric-indent-mode): Don't mess with the global map any more.
9874 Don't drop the post-self-insert-hook is some buffer is still using it
9875 (bug#16770).
9876
9877 * bindings.el (global-map): Remove C-j binding.
9878
9879 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
9880 the docstring of functions advised before dumping (bug#16993).
9881
9882 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
9883
9884 * ps-print.el (ps-generate-postscript-with-faces):
9885 Explicitly deactivate the mark (bug#16866).
9886 * simple.el (deactivate-mark): Update region highlight.
9887
9888 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
9889
9890 * emacs-lisp/package.el (describe-package-1):
9891 Decode commentary (bug#16733).
9892
9893 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
9894
9895 * custom.el (defcustom): Doc fix: recommend avoiding destructive
9896 modification of the value argument of :set (bug#16755).
9897
9898 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * simple.el (newline-and-indent): Do autofill (bug#17031).
9901
9902 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
9903
9904 * newcomment.el (comment-normalize-vars): Only add escaping check
9905 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
9906 (comment-beginning): Use `narrow-to-region' instead of moving back
9907 one character.
9908 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
9909 (comment-start-skip): Update the docstring.
9910
9911 2014-03-18 Richard Stallman <rms@gnu.org>
9912
9913 * dired.el (dired-display-file): Force use of other window.
9914
9915 2014-03-18 Daniel Colascione <dancol@dancol.org>
9916
9917 * startup.el (tty-handle-args): Remove debug message from 2007.
9918
9919 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
9922 (advice--make-interactive-form): Use it to avoid (auto)loading function.
9923 (advice--make-1, advice-add, advice-remove):
9924 Remove braindead :advice-pending hack.
9925
9926 2014-03-17 Glenn Morris <rgm@gnu.org>
9927
9928 * calendar/calendar.el (calendar-generate-month): Apply weekend
9929 face to the right days; fixes 2013-08-06 change. (Bug#17028)
9930
9931 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
9932
9933 * net/tramp.el (tramp-action-out-of-band): Read pending output.
9934 (tramp-call-process): Trace also DESTINATION.
9935
9936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9937 Quote file names when they are local. Remove superfluous trace.
9938
9939 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
9940
9941 * newcomment.el (comment-beginning): If `comment-start-skip'
9942 doesn't match, move back one char and try again. (Bug#16971)
9943
9944 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9945 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
9946 Set `comment-start-skip' to a simpler value that doesn't try to
9947 check if the semicolon is escaped (this is handled by
9948 `syntax-ppss' now). (Bug#16971)
9949
9950 * progmodes/scheme.el (scheme-mode-variables): Same.
9951
9952 2014-03-16 Martin Rudalics <rudalics@gmx.at>
9953
9954 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
9955 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
9956 current (Bug#16816, Bug#17007).
9957 (with-current-buffer-window): New macro doing the same as
9958 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
9959 * help.el (help-print-return-message): Warn in doc-string to not
9960 use this in `with-help-window'.
9961 (describe-bindings-internal): Call `describe-buffer-bindings'
9962 from within help buffer. See Juanma's scenario in (Bug#16816).
9963 (with-help-window): Update doc-string.
9964 * dired.el (dired-mark-pop-up):
9965 * files.el (save-buffers-kill-emacs):
9966 * register.el (register-preview): Use `with-current-buffer-window'
9967 instead of `with-temp-buffer-window'.
9968
9969 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
9970
9971 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
9972 Implement inserting into current buffer, documented in their docstrings.
9973 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
9974 (rst-section-tree-point, rst-forward-section, rst-indent)
9975 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
9976 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
9977 (rst-font-lock-handle-adornment-pre-match-form)
9978 (rst-repeat-last-character): Reflow docstrings.
9979 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
9980 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
9981 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
9982 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
9983 Fix docstring typos.
9984 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
9985 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
9986 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
9987
9988 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
9989
9990 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
9991 for compatibility with other ports.
9992 (ns-initialize-window-system): Use it. It is set in term/common-win.el
9993 from the -xrm command line argument, but in the Nextstep port its value
9994 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
9995
9996 * progmodes/python.el (defconst, python-syntax-count-quotes)
9997 (python-indent-region, python-indent-shift-right)
9998 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
9999 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
10000 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
10001 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
10002 (inferior-python-mode, python-shell-make-comint, run-python-internal)
10003 (python-shell-buffer-substring, python-shell-send-buffer)
10004 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
10005 (python-completion-complete-at-point, python-fill-docstring-style)
10006 (python-eldoc-function, python-imenu-format-item-label)
10007 (python-imenu-format-parent-item-label)
10008 (python-imenu-format-parent-item-jump-label)
10009 (python-imenu--build-tree, python-imenu-create-index)
10010 (python-imenu-create-flat-index): Fix docstring typos.
10011 (python-indent-context, python-shell-prompt-regexp, run-python):
10012 Remove superfluous backslashes.
10013 (python-indent-line, python-nav-beginning-of-defun)
10014 (python-shell-get-buffer, python-shell-get-process)
10015 (python-info-current-defun, python-info-current-line-comment-p)
10016 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
10017 (python-indent-post-self-insert-function, python-shell-send-file)
10018 (python-shell-completion-get-completions)
10019 (python-shell-completion-complete-or-indent)
10020 (python-eldoc--get-doc-at-point): Reflow docstrings.
10021
10022 2014-03-14 Glenn Morris <rgm@gnu.org>
10023
10024 * emacs-lisp/package.el (package-menu-mode-map):
10025 Replace use of obsolete function alias. Tweak menu item text.
10026
10027 * info.el (Info-finder-find-node):
10028 Ignore the `emacs' metapackage. (Bug#10813)
10029
10030 * finder.el (finder-list-matches): Include unversioned packages
10031 in the result of a keyword search.
10032
10033 * finder.el (finder--builtins-descriptions): New constant.
10034 (finder-compile-keywords): Use finder--builtins-descriptions.
10035
10036 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
10037
10038 * simple.el (blink-matching-paren): Describe the new value,
10039 `jump', enabling the old behavior.
10040 (blink-matching-open): Use that value. (Bug#17008)
10041
10042 2014-03-14 Glenn Morris <rgm@gnu.org>
10043
10044 * finder.el (finder-no-scan-regexp): Add leim-list.
10045 (finder-compile-keywords):
10046 Don't skip files with same basename. (Bug#14010)
10047 * Makefile.in (setwins_finder): New, excluding leim.
10048 (finder-data): Use setwins_finder.
10049
10050 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
10051 (help-function-arglist, help-make-usage): Move from here...
10052 * help.el (help-split-fundoc, help-add-fundoc-usage)
10053 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
10054 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
10055
10056 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
10057
10058 * net/socks.el (socks, socks-override-functions)
10059 (socks-find-services-entry):
10060 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
10061 (hif-find-ifdef-block):
10062 * progmodes/modula2.el (m2-indent): Fix docstring typos.
10063
10064 * net/tls.el (tls-program): Reflow docstring.
10065
10066 * progmodes/pascal.el (pascal-mode-abbrev-table)
10067 (pascal-imenu-generic-expression, pascal-auto-endcomments)
10068 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
10069 (pascal-outline-mode): Fix docstring typos.
10070 (pascal-mode): Let define-derived-mode document mode hook.
10071 (pascal-uncomment-area): Reflow.
10072 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
10073
10074 * progmodes/opascal.el (opascal-compound-block-indent)
10075 (opascal-case-label-indent): Fix docstring typos.
10076 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
10077
10078 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
10079
10080 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10081 Fontify multiple adjacent negation chars. (Bug#17004)
10082
10083 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
10084
10085 * emacs-lisp/package.el (package--prepare-dependencies):
10086 Accept requirements without explicit version (bug#14941).
10087
10088 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * register.el (register-separator, copy-to-register): Doc fixes.
10091 (register-preview-default): Remove unnecessary call to concat.
10092
10093 * frameset.el (frameset-restore): When checking for a visible frame,
10094 use the action map instead of calling visible-frame-list.
10095
10096 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
10097
10098 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
10099
10100 2014-03-12 Martin Rudalics <rudalics@gmx.at>
10101
10102 * window.el (fit-frame-to-buffer): Get maximum width from
10103 display's width instead of height.
10104
10105 2014-03-12 Glenn Morris <rgm@gnu.org>
10106
10107 * desktop.el (desktop-restore-frames)
10108 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
10109 (desktop-restore-reuses-frames): Doc tweaks.
10110
10111 * electric.el (electric-indent-mode): Doc fix.
10112
10113 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10114
10115 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
10116 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
10117 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
10118 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
10119 (cvs-dired-use-hook): Fix docstring typos.
10120 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10121 Doc fixes.
10122
10123 * vc/pcvs-defs.el (cvs-auto-remove-handled)
10124 (cvs-auto-remove-directories, cvs-default-ignore-marks)
10125 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10126 (cvs-execute-single-dir): Fix docstring typos.
10127
10128 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10129 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10130
10131 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10132
10133 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10134 Fix docstring typos.
10135
10136 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10137
10138 * frameset.el (frameset--jump-to-register): Add autoload; it could be
10139 called from jump-to-register after unloading the frameset package.
10140
10141 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10144 (bug#16975). Deactivate the mark before setting it to nil.
10145 (activate-mark): Do nothing if region is already active.
10146
10147 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10148
10149 * frameset.el (frameset--target-display): Remove definition; declare.
10150 (frameset-save, frameset-restore): Let-bind frameset--target-display.
10151
10152 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10155 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10156 when the advice is pending.
10157 (advice-remove): Remove this marker when not needed any more.
10158
10159 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10160
10161 * frameset.el: Separate options for reusing frames and cleaning up.
10162 (frameset--reuse-list): Remove definition; declare.
10163 (frameset--action-map): Declare.
10164 (frameset--find-frame-if): Doc fix.
10165 (frameset--restore-frame): Cache frame action.
10166 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10167 how to clean up the frame list after restoring. Remove cleaning
10168 options from REUSE-FRAMES. Change all keyword values to symbols.
10169 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10170
10171 * desktop.el (desktop-restore-forces-onscreen)
10172 (desktop-restore-reuses-frames): Use non-keyword values.
10173 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10174
10175 2014-03-10 Glenn Morris <rgm@gnu.org>
10176
10177 * files.el (find-file): Doc fix: update info node name.
10178
10179 * emacs-lisp/advice.el (ad-add-advice, defadvice):
10180 Doc fix: remove references to deleted info nodes.
10181
10182 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
10183
10184 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10185 Do not add nil to the environment, when there's no remote `locale'.
10186 (tramp-find-inline-encoding): Check, that the remote host has
10187 installed perl, before sending scripts.
10188
10189 2014-03-10 Leo Liu <sdl.web@gmail.com>
10190
10191 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10192 Clear eldoc-last-message. (Bug#16920)
10193
10194 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10197 (bug#14430).
10198
10199 2014-03-09 Juri Linkov <juri@jurta.org>
10200
10201 * ansi-color.el (ansi-color-names-vector): Copy default colors
10202 from `xterm-standard-colors' that look well on the default white
10203 background (and also on the black background) to avoid illegible
10204 color combinations like yellow-on-white and white-on-white.
10205 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10206
10207 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
10208
10209 * frameset.el (frameset-restore): When no frame is visible, do not
10210 generate a list of frames, just make visible the selected one.
10211
10212 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
10213
10214 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10215 it only contains the repository root. (Bug#16897)
10216
10217 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10220 only when `remote-file-name-inhibit-cache' is nil.
10221 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
10222
10223 2014-03-06 Martin Rudalics <rudalics@gmx.at>
10224
10225 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10226 Fix doc-strings.
10227 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
10228 fit-frame-to-buffer variable. Fix doc-string.
10229 (fit-window-to-buffer): Set ONLY argument in call of
10230 fit-frame-to-buffer. Fix doc-string.
10231
10232 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
10233
10234 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10235 (tramp-action-password): Clear password cache if needed.
10236 (tramp-read-passwd): Do not clear password cache.
10237
10238 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10239 cache unless it is the first password request.
10240
10241 2014-03-06 Glenn Morris <rgm@gnu.org>
10242
10243 * simple.el (newline): Doc tweak.
10244
10245 * emacs-lisp/shadow.el (load-path-shadows-find):
10246 Ignore dir-locals. (Bug#12357)
10247
10248 2014-03-05 Glenn Morris <rgm@gnu.org>
10249
10250 * files.el (interpreter-mode-alist):
10251 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
10252
10253 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * frameset.el (frameset--initial-params): Filter out null entries.
10256
10257 2014-03-05 Martin Rudalics <rudalics@gmx.at>
10258
10259 * window.el (window-min-height, window-min-width):
10260 Rewrite doc-strings.
10261 (window-body-size): Add PIXELWISE argument to make it consistent
10262 with its callees.
10263
10264 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * finder.el (finder-mode-map, finder-mode-syntax-table):
10267 Revert part of 2014-02-28 change.
10268
10269 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
10270
10271 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10272 (eww-setup-buffer): Clear next/prev/etc more reliably.
10273 (eww-textarea-map): [tab] doesn't work on tty.
10274 Reported by Mario Lang.
10275
10276 * net/shr.el (shr-map): Ditto.
10277
10278 2014-03-04 Glenn Morris <rgm@gnu.org>
10279
10280 * minibuffer.el (completion-hilit-commonality):
10281 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10282
10283 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10284
10285 * hilit-chg.el (hilit-chg-unload-function): New function.
10286 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10287 (hilit-chg-map-changes): Prefer cardinal number to digit.
10288 (hilit-chg-display-changes): Reflow docstring.
10289 (highlight-changes-rotate-faces): Remove superfluous backslash.
10290
10291 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
10292
10293 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10294 `tramp-send-command-and-check'.
10295
10296 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10297
10298 * hexl.el (hexl-address-region, hexl-ascii-region)
10299 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10300 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10301 (hexl-forward-word, hexl-previous-line, hexl-next-line):
10302 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10303 (hexl-mode): Doc fix.
10304 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10305 (hexl-mode-ruler): Fix typos in docstrings.
10306
10307 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10308 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10309 Remove superfluous backslashes.
10310 (strokes-last-stroke, strokes-global-map, strokes-mode):
10311 Reflow docstrings.
10312 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10313 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10314 (strokes-distance-squared, strokes-global-set-stroke)
10315 (strokes-global-set-stroke-string): Doc fixes.
10316 (strokes-help): Fix typos; reflow docstring.
10317
10318 2014-03-04 Martin Rudalics <rudalics@gmx.at>
10319
10320 * window.el (window-in-direction): Fix doc-string.
10321
10322 2014-03-04 Glenn Morris <rgm@gnu.org>
10323
10324 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10325 Explicit error if no grammar.
10326 (smie-config-save): Doc fix. Fix quote typo.
10327
10328 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10331 electric-indent-mode-hook if we obey electric-indent-mode.
10332 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10333 decide whether we obey electric-indent-mode.
10334 (c-change-set-fl-decl-start, c-extend-after-change-region):
10335 Silence warnings.
10336 (c-electric-indent-mode-hook): Assume we do want to obey
10337 electric-indent-mode.
10338
10339 * electric.el (electric-indent-mode-has-been-called): Remove.
10340 (electric-indent-mode): Fix accordingly.
10341
10342 * files.el (hack-local-variables): Mention file name in warning.
10343
10344 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10345
10346 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
10347
10348 * bindings.el: Add comment describing why C-d binds to `delete-char'.
10349 * simple.el (delete-forward-char): Mark as interactive-only.
10350
10351 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
10352
10353 * icomplete.el (icomplete-completions):
10354 Follow-up to 2014-03-01 change.
10355
10356 * icomplete.el: Miscellaneous doc fixes.
10357 Use Icomplete everywhere instead of icomplete for consistency.
10358 (icomplete-max-delay-chars): Fix typo.
10359 (icomplete-mode): Use \[].
10360 (icomplete-tidy, icomplete-exhibit): Reflow.
10361 (icomplete-minibuffer-setup-hook, icomplete-completions):
10362 Remove superfluous backlashes.
10363
10364 * ido.el: Miscellaneous doc fixes.
10365 Use Ido everywhere instead of ido or `ido' for consistency.
10366 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10367 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10368 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10369 (ido-separator): Extract obsolescence info from docstring and declare
10370 with make-obsolete-variable.
10371 (ido-minibuffer-setup-hook): Simplify example.
10372 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10373 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10374 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10375 (ido-everywhere): Reflow docstring.
10376 (ido-toggle-vc): Doc fix.
10377 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10378 of long list of keybindings.
10379
10380 2014-03-03 Glenn Morris <rgm@gnu.org>
10381
10382 * frame.el (display-pixel-height, display-pixel-width)
10383 (display-mm-dimensions-alist, display-mm-height)
10384 (display-mm-width): Doc tweaks.
10385
10386 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
10387
10388 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10389 case of undo in region.
10390
10391 2014-03-02 Martin Rudalics <rudalics@gmx.at>
10392
10393 * window.el (fit-window-to-buffer): Fix argument in window-size
10394 call when window is horizontally combined.
10395
10396 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
10397
10398 * icomplete.el (icomplete-completions): Use string-width.
10399 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10400
10401 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
10402
10403 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10404 Highlight regexp options. (Bug#16914)
10405
10406 2014-03-01 Martin Rudalics <rudalics@gmx.at>
10407
10408 * window.el (window--max-delta-1): Round down when calculating
10409 how many lines/columns we can get from a window.
10410
10411 2014-03-01 Glenn Morris <rgm@gnu.org>
10412
10413 * isearch.el (search-invisible): Doc fix.
10414
10415 * minibuffer.el (completion-hilit-commonality):
10416 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
10417 * comint.el (comint-dynamic-list-completions): Doc fix.
10418 * comint.el (comint-dynamic-list-completions):
10419 * filecache.el (file-cache-minibuffer-complete):
10420 * tempo.el (tempo-display-completions):
10421 * eshell/em-hist.el (eshell-list-history):
10422 Replace use of obsolete argument of display-completion-list.
10423
10424 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * icomplete.el (icomplete-completions):
10427 Revert back to using "..." when ?… cannot be displayed.
10428
10429 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10430
10431 * finder.el (finder-unload-function): New function.
10432
10433 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10434
10435 * dframe.el (dframe-detach):
10436 * find-dired.el (find-dired, find-name-dired):
10437 * finder.el (finder-mode-map, finder-mode-syntax-table)
10438 (finder-headmark, finder-select, finder-mouse-select):
10439 Fix docstring typos.
10440
10441 2014-02-28 Martin Rudalics <rudalics@gmx.at>
10442
10443 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
10444 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
10445 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10446 Fix doc-string based on a suggestion by Nicolas Richard
10447 <theonewiththeevillook@yahoo.fr>.
10448 * help.el (with-help-window): Fix doc-string.
10449
10450 2014-02-28 Ivan Kanis <ivan@kanis.fr>
10451
10452 * net/shr.el (shr-image-animate): New option.
10453 (shr-put-image): Respect shr-image-animate.
10454
10455 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
10456
10457 * net/tramp-adb.el (tramp-adb-parse-device-names):
10458 Use `accept-process-output'.
10459 (tramp-adb-handle-file-truename): Cache the localname only.
10460 (tramp-adb-handle-make-directory)
10461 (tramp-adb-handle-delete-directory): Flush file properties correctly.
10462 (tramp-adb-handle-set-file-modes): Do not raise an error when file
10463 modes cannot be changed.
10464
10465 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
10466 file properties of symlinks.
10467
10468 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
10469
10470 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
10471 required/optional fields to match development biblatex. (Bug#16781)
10472
10473 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
10474
10475 * saveplace.el (toggle-save-place):
10476 Fix argument handling. (Bug#16673)
10477
10478 2014-02-28 Glenn Morris <rgm@gnu.org>
10479
10480 * minibuffer.el (completions-first-difference)
10481 (completions-common-part, completion-hilit-commonality): Doc fixes.
10482
10483 2014-02-28 Karl Berry <karl@gnu.org>
10484
10485 * info.el (Info-mode-map): Add H for describe-mode,
10486 to synchronize with standalone Info.
10487
10488 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
10489
10490 * progmodes/sql.el (sql-interactive-mode):
10491 Avoid setting global comint-input-ring-separator. (Bug#16814)
10492
10493 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10494
10495 * net/dbus.el (dbus--init-bus): Declare function.
10496 (dbus-path-local, dbus-interface-local): New defconst.
10497 (dbus-init-bus): Use them.
10498 (dbus-return-values-table): Extend doc.
10499 (dbus-handle-bus-disconnect): Extend error message.
10500
10501 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
10502
10503 * subr.el (y-or-n-p): Fix double space issue in message.
10504
10505 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * net/tramp.el (tramp-call-process): Improve trace message.
10508 (tramp-handle-insert-file-contents): Trace error case.
10509
10510 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10511 <insert-directory>: Use `tramp-handle-insert-directory'.
10512 (tramp-adb-handle-insert-directory): Remove function.
10513 (tramp-adb-send-command-and-check): New defun, replacing
10514 `tramp-adb-command-exit-status'. Change all callees.
10515 (tramp-adb-handle-file-attributes)
10516 (tramp-adb-handle-directory-files-and-attributes): Use it.
10517 (tramp-adb-ls-output-name-less-p):
10518 Use `directory-listing-before-filename-regexp'.
10519 (tramp-adb-handle-delete-directory): Flush also file properties of
10520 the truename of directory.
10521 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
10522 (tramp-adb-handle-file-local-copy): Make the local copy readable.
10523 (tramp-adb-handle-write-region): Implement APPEND.
10524 (tramp-adb-handle-rename-file): Make it more robust. Flush file
10525 properties correctly.
10526 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
10527 variables. Check for connected devices only when needed.
10528
10529 2014-02-27 Glenn Morris <rgm@gnu.org>
10530
10531 * minibuffer.el (completion-table-dynamic)
10532 (completion-table-with-cache): Doc fixes.
10533
10534 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
10535 (completing-read-multiple): Doc fixes.
10536
10537 2014-02-27 Daniel Colascione <dancol@dancol.org>
10538
10539 * minibuffer.el (completion--nth-completion): Fix indentation.
10540
10541 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
10542 explicit tramp path is empty.
10543
10544 2014-02-27 Glenn Morris <rgm@gnu.org>
10545
10546 * emacs-lisp/crm.el (completing-read-multiple):
10547 Empower help-enable-auto-load.
10548
10549 2014-02-26 Glenn Morris <rgm@gnu.org>
10550
10551 * startup.el (command-line): Don't init the tty in daemon mode.
10552
10553 Avoid calling tty-setup-hook twice, eg if a term file
10554 explicitly calls tty-run-terminal-initialization. (Bug#16859)
10555 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
10556 (tty-create-frame-with-faces): Use it.
10557 * startup.el (command-line): Pass run-hook argument
10558 to tty-run-terminal-initialization.
10559
10560 * dired.el (dired-restore-desktop-buffer): Demote errors;
10561 eg in case a glob match fails. (Bug#16884)
10562
10563 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
10564
10565 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
10566 error from `read-from-string'. (Bug#16850)
10567
10568 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
10569 result of `completing-read' in the interactive form. (Bug#16854)
10570
10571 2014-02-25 Glenn Morris <rgm@gnu.org>
10572
10573 * image.el (image-animate, image-animate-timeout):
10574 Stop animating images in dead buffers. (Bug#16878)
10575
10576 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
10577
10578 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
10579 Doc fixes.
10580 * startup.el (term-setup-hook): Doc fix. Make obsolete.
10581 * term/sun.el (sun-raw-prefix-hooks):
10582 Use tty-setup-hook instead of term-setup-hook.
10583 (terminal-init-sun): Construct message from bytecomp plist.
10584 * term/wyse50.el (enable-arrow-keys): Doc fix.
10585
10586 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10587
10588 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
10589 Fix docstring typos.
10590
10591 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
10592
10593 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
10594
10595 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10596
10597 * minibuffer.el (completion--try-word-completion):
10598 Fix error when completing M-x commands (bug#16808).
10599
10600 2014-02-24 Leo Liu <sdl.web@gmail.com>
10601
10602 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10603
10604 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10605
10606 * apropos.el (apropos-print): Avoid formatting error when
10607 apropos-do-all and apropos-compact-layout are both t.
10608
10609 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10610
10611 * apropos.el (apropos-property, apropos-all-words-regexp)
10612 (apropos-true-hit, apropos-variable, apropos-print):
10613 Fix docstring typos, and remove obsolete comment.
10614
10615 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
10616
10617 * net/tramp-sh.el (tramp-sh-handle-file-truename):
10618 Preserve trailing "/". (Bug#16851)
10619
10620 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
10621
10622 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
10623 after `=>' (bug#16811).
10624 (ruby-smie-rules): Handle the inconsistent second element of the
10625 list returned by `smie-indent--parent'.
10626 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
10627 method call.
10628
10629 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10630
10631 * elec-pair.el (electric-pair-text-syntax-table)
10632 (electric-pair-syntax-info, electric-pair--syntax-ppss)
10633 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
10634 (electric-pair--looking-at-unterminated-string-p): Doc fix.
10635 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
10636
10637 2014-02-22 Glenn Morris <rgm@gnu.org>
10638
10639 * imenu.el (imenu--generic-function): Doc fix.
10640
10641 * register.el (frame-configuration-to-register): Make obsolete.
10642
10643 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
10644
10645 * desktop.el (desktop-save-buffer-p): Do not fail when
10646 desktop-files-not-to-save is nil. Return t for true result
10647 as the doc says.
10648
10649 2014-02-22 Daniel Colascione <dancol@dancol.org>
10650
10651 * net/secrets.el (secrets-create-item, secrets-search-items):
10652 Check that attribute values are strings, avoiding the construction
10653 of invalid dbus messages.
10654
10655 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10656
10657 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
10658 defun-declarations-alist.
10659
10660 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
10663 (bug#16829).
10664
10665 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10666
10667 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
10668 (whitespace-newline, whitespace-trailing, whitespace-line)
10669 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
10670 (whitespace-space-after-tab): Fix typo in docstrings.
10671
10672 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
10673
10674 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
10675
10676 * electric.el (electric-indent-functions-without-reindent):
10677 Add `yaml-indent-line'.
10678
10679 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10680
10681 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
10682 It has done nothing for years; should be removed after the release.
10683
10684 * simple.el (choose-completion): Fix docstring typo.
10685 (read-quoted-char-radix): Remove unneeded * in docstring.
10686 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
10687 Don't escape parentheses unnecessarily in docstrings.
10688
10689 2014-02-21 Martin Rudalics <rudalics@gmx.at>
10690
10691 Fix handling of window-min-height/-width (Bug#16738).
10692 * window.el (window--dump-window, window--dump-frame):
10693 New functions.
10694 (window--min-size-1): Account for window dividers.
10695 When window-resize-pixelwise is nil, delay rounding till after the
10696 sum of the window components has been calculated.
10697 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
10698 nil make sure at least one text line and two text columns remain
10699 fully visible.
10700 (window-resize): Signal an error when window-resize-apply fails.
10701 (window--resize-child-windows): Fix calculation of by how many
10702 pixels a window can still be shrunk via window-new-normal.
10703 (adjust-window-trailing-edge): Call window--resizable with
10704 correct TRAIL argument.
10705
10706 (with-temp-buffer-window): Don't evaluate BODY within
10707 with-current-buffer (Bug#16816).
10708
10709 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
10710
10711 * net/tramp.el (tramp-check-cached-permissions):
10712 Call `file-attributes' with `suffix' being a symbol but a string.
10713
10714 2014-02-21 Daniel Colascione <dancol@dancol.org>
10715
10716 * net/dbus.el (dbus-init-bus-1): Declare new subr.
10717 (dbus-init-bus): New function: call into dbus-init-bus-1
10718 and installs a handler for the disconnect signal.
10719 (dbus-call-method): Rewrite to look for result in cons.
10720 (dbus-call-method-handler): Store result in cons.
10721 (dbus-check-event): Recognize events with nil sender as valid.
10722 (dbus-handle-bus-disconnect): New function. React to bus
10723 disconnection signal by synthesizing dbus error for each
10724 pending synchronous or asynchronous call.
10725 (dbus-notice-synchronous-call-errors): New function.
10726 (dbus-handle-event): Raise errors directly only when `dbus-debug'
10727 is true, not all the time.
10728
10729 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10730
10731 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
10732 Remove obsolescence declarations, these variables do not exist anymore.
10733
10734 * savehist.el (savehist-save-minibuffer-history)
10735 (savehist-additional-variables, savehist-file, savehist-mode-hook)
10736 (savehist-save-hook, savehist-coding-system, savehist-loaded)
10737 (savehist-load, savehist-install, savehist-autosave): Fix typos;
10738 mostly, refer to "Savehist mode" when talking about the mode,
10739 and not the function.
10740
10741 * saveplace.el (save-place): Remove redundant info in docstring.
10742 (save-place-forget-unreadable-files, toggle-save-place)
10743 (save-place-forget-unreadable-files, save-place-dired-hook):
10744 Fix typos and remove unneeded backslashes.
10745
10746 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
10747
10748 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
10749 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
10750
10751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10752 <insert-directory>: Use `tramp-handle-insert-directory'.
10753 (tramp-gvfs-handle-insert-directory): Remove function.
10754
10755 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10756 Call `tramp-handle-insert-directory'.
10757
10758 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
10761 before the start of buffer/region (bug#16799).
10762
10763 2014-02-20 Glenn Morris <rgm@gnu.org>
10764
10765 * isearch.el (search-invisible): Doc fix.
10766
10767 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
10768
10769 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10770 (bug#16657).
10771
10772 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10773
10774 * frameset.el (frameset-restore): Delay removing an old frame's
10775 duplicate id until the new frame has been correctly created.
10776
10777 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
10778
10779 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
10780 (tramp-check-cached-permissions): Call `file-attributes' if the
10781 cache is empty.
10782
10783 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10784 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10785
10786 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10787 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10788 (tramp-gvfs-maybe-open-connection): Set always connection
10789 properties, even if target is mounted already.
10790
10791 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
10792 Set tramp-autoload cookie.
10793 (tramp-get-remote-touch): New defun.
10794 (tramp-sh-handle-set-file-times): Use it.
10795 (tramp-sh-handle-directory-files-and-attributes):
10796 Use `tramp-handle-directory-files-and-attributes' if neither stat
10797 nor perl are available on the remote host.
10798
10799 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
10800 "/". Write long listing only when "l" belongs to the switches.
10801
10802 * net/trampver.el: Update release number.
10803
10804 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10805
10806 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
10807
10808 2014-02-19 Martin Rudalics <rudalics@gmx.at>
10809
10810 * window.el (window-state-put): Allow WINDOW to refer to an
10811 internal window (Bug#16793).
10812
10813 2014-02-19 Glenn Morris <rgm@gnu.org>
10814
10815 * textmodes/remember.el: Move provide statement to end.
10816 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
10817 (remember-notes): Doc fixes.
10818
10819 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * delsel.el (delete-char): Restore incorrectly erased property
10822 (bug#16795).
10823
10824 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
10825
10826 * frameset.el (frameset--restore-frame): When a frame is being reused
10827 and its root window is not alive, delete all the frame's windows before
10828 restoring the window state. This works around the issue in bug#16793.
10829
10830 2014-02-18 Glenn Morris <rgm@gnu.org>
10831
10832 * textmodes/remember.el (remember-data-directory)
10833 (remember-directory-file-name-format, remember-store-in-files)
10834 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
10835 (remember-notes-save-and-bury-buffer)
10836 (remember-notes--kill-buffer-query): Doc fixes.
10837
10838 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
10839
10840 2014-02-17 Alan Mackenzie <acm@muc.de>
10841
10842 Connect electric-indent-mode up with CC Mode. Bug #15478.
10843 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
10844 to electric-indent-{,local-}-mode.
10845 (c-basic-common-init): Set electric-indent-inhibit.
10846 Initialise c-electric-flag from electric-indent-mode.
10847 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
10848 New hook functions which propagate electric-indent-mode to CC mode.
10849
10850 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
10851 hit, toggle electric-indent-local-mode.
10852
10853 * electric.el (electric-indent-mode-has-been-called):
10854 New variable.
10855
10856 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
10857
10858 * frameset.el (frameset-cfg-id): New function.
10859 (frameset--reuse-frame, frameset-restore): Use it.
10860 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
10861
10862 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * ido.el (ido-file-internal): Remove unused var `d'.
10865 Use \` for to match BoS. Fit within 80n columns.
10866
10867 2014-02-17 Daniel Colascione <dancol@dancol.org>
10868
10869 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
10870 dbus-call-method check for completion using a busy-wait loop with
10871 gradual backoff.
10872
10873 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
10874
10875 Sync with Tramp 2.2.9.
10876
10877 * net/trampver.el: Update release number.
10878
10879 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
10880
10881 * ido.el (ido-file-internal): Don't add the name of an existing
10882 directory twice. (Bug#16747)
10883
10884 2014-02-16 Glenn Morris <rgm@gnu.org>
10885
10886 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
10887 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
10888
10889 2014-02-15 Michael R. Mauger <michael@mauger.com>
10890
10891 * progmodes/sql.el: Version 3.4
10892 (sql-oracle-options): New default value ("-L").
10893 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
10894 (sql-placeholders-filter): Correct placeholder pattern.
10895 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
10896 (sql-login-delay): New variable.
10897 (sql-product-interactive): Use it.
10898
10899 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
10900
10901 * frameset.el (frameset--jump-to-register): Check that buffer is live
10902 (bug#16749).
10903
10904 2014-02-15 Glenn Morris <rgm@gnu.org>
10905
10906 * info.el (info-initialize): Revert 2014-01-10 change.
10907
10908 2014-02-14 Glenn Morris <rgm@gnu.org>
10909
10910 * replace.el (map-query-replace-regexp)
10911 (read-regexp-defaults-function, read-regexp): Doc fixes.
10912
10913 * dired.el (dired-read-regexp):
10914 * faces.el (list-faces-display):
10915 * misearch.el (multi-isearch-read-matching-buffers)
10916 (multi-isearch-read-matching-files):
10917 * play/cookie1.el (cookie-apropos):
10918 * progmodes/grep.el (grep-read-regexp): Doc fixes.
10919
10920 * textmodes/remember.el (remember): Use frameset-to-register
10921 rather than frame-configuration-to-register.
10922
10923 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
10924
10925 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
10926 incorrect keybinding.
10927
10928 2014-02-13 Daniel Colascione <dancol@dancol.org>
10929
10930 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
10931 when adding overlays so that line numbers from compiler match line
10932 numbers we use.
10933
10934 2014-02-13 Glenn Morris <rgm@gnu.org>
10935
10936 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
10937
10938 * jit-lock.el (jit-lock-mode): Doc fix.
10939
10940 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
10941
10942 * apropos.el (apropos-read-pattern): When the user passes an empty
10943 string, give a more helpful error message than "Wrong type
10944 argument: stringp, nil".
10945
10946 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
10949
10950 2014-02-13 Glenn Morris <rgm@gnu.org>
10951
10952 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
10953
10954 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
10957 shift-select commands.
10958
10959 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
10960
10961 * progmodes/js.el (js-indent-line): Don't widen.
10962 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
10963
10964 2014-02-12 Glenn Morris <rgm@gnu.org>
10965
10966 * icomplete.el (icomplete): Add info-link to defgroup.
10967 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
10968 (icomplete-minibuffer-map, icomplete-mode)
10969 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
10970
10971 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
10972 (package-menu-filter): Rename from package-menu-filter-interactive.
10973 Doc fix.
10974
10975 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
10976
10977 * frameset.el (frameset--jump-to-register): Select the required
10978 window and buffer before restoring position (bug#16696).
10979
10980 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
10981
10982 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
10983
10984 2014-02-10 Glenn Morris <rgm@gnu.org>
10985
10986 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
10987
10988 2014-02-10 Eli Zaretskii <eliz@gnu.org>
10989
10990 * w32-common-fns.el (x-get-selection): Doc fix.
10991 * select.el (x-get-selection): Doc fix. (Bug#15109)
10992
10993 * face-remap.el (face-remap-add-relative)
10994 (face-remap-remove-relative, face-remap-reset-base)
10995 (face-remap-set-base): Call force-mode-line-update to redisplay
10996 the current buffer due to potential change in faces. (Bug#16709)
10997
10998 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
10999
11000 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
11001 script more robustly.
11002
11003 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11004
11005 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
11006
11007 * simple.el (choose-completion): Doc fix (bug#14160).
11008
11009 * subr.el (event-start): Say what a nil EVENT value means.
11010
11011 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
11012 (bug#14197).
11013
11014 * progmodes/grep.el (find-program): Doc fix (bug#14289).
11015
11016 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
11017
11018 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
11019
11020 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
11021 predicate function (bug#15455).
11022
11023 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
11024
11025 * ielm.el (inferior-emacs-lisp-mode): Instead of
11026 `comment-use-global-state', set `comment-use-syntax'.
11027
11028 2014-02-10 Glenn Morris <rgm@gnu.org>
11029
11030 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
11031
11032 2014-02-09 Alan Mackenzie <acm@muc.de>
11033
11034 Fix c-invalidate-state-cache on narrowed buffers.
11035 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
11036 Widen when setting and clearing the CPP delimiter properties.
11037
11038 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
11039
11040 * help.el (describe-bindings): Doc fix (bug#9888).
11041
11042 * files.el (save-buffer): Use ARG as the parameter name for
11043 consistency (bug#10346).
11044 (save-buffer): Clarify the 0 argument (bug#10346).
11045
11046 * cus-edit.el (customize-apropos): Fix error string.
11047 (custom-buffer-create): Doc fix (bug#11122).
11048 (custom-sort-items): Doc fix (bug#11121).
11049
11050 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
11051
11052 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
11053 (icomplete-simple-completing-p): Mention the previous variable.
11054
11055 * font-lock.el (font-lock-value-in-major-mode): Clarify the
11056 meaning of the parameter (bug#12282).
11057
11058 * files.el (find-file-noselect): Clarify prompt when changing
11059 readedness (bug#13261).
11060 (locate-file): Suffixes aren't returned, so don't say that they
11061 are (bug#12674).
11062 (backup-inhibited): Doc clarification (bug#12525).
11063
11064 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
11065 before we actually start to delete things (bug#16331).
11066
11067 * subr.el (event-start): Doc fix (bug#14228).
11068 (event-end): Ditto.
11069
11070 2014-02-09 Glenn Morris <rgm@gnu.org>
11071
11072 * emacs-lisp/warnings.el (lwarn):
11073 Empower help-enable-auto-load. (Bug#15940)
11074
11075 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11076
11077 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
11078 (Bug#16690)
11079
11080 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
11081
11082 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11083 Insert output at end of buffer. (Bug#16120)
11084
11085 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11086
11087 * simple.el (choose-completion-string-functions): Document new
11088 calling convention (bug#14153).
11089 (execute-extended-command): Clarify doc string (bug#13373).
11090
11091 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
11092
11093 * find-dired.el (find-name-dired): Doc fix (bug#14290).
11094 (find-grep-dired): Doc fix (bug#14288).
11095
11096 2014-02-08 Juri Linkov <juri@jurta.org>
11097
11098 * isearch.el (isearch-quote-char): Check character validity
11099 like in `quoted-insert' (bug#16677).
11100
11101 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11102
11103 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
11104
11105 * isearch.el (isearch-hide-immediately): Doc clarification
11106 (bug#14723).
11107
11108 * simple.el (line-move): Document utility function used many
11109 places in the Emacs sources (bug#14843).
11110
11111 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
11112 (dired-prev-marked-file): Doc fix (bug#14855).
11113 (dired-up-directory): Doc fix (bug#14848).
11114
11115 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
11116
11117 * files.el (file-relative-name): Doc fix (bug#15159).
11118
11119 * fringe.el (fringe-styles): Doc fix (bug#15239).
11120
11121 * isearch.el (isearch-filter-predicate): Documentation typo fix
11122 (bug#15474).
11123
11124 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11125
11126 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11127
11128 * replace.el (replace-match-maybe-edit): Doc clarification
11129 (bug#15632).
11130
11131 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11132
11133 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11134
11135 2014-02-08 Glenn Morris <rgm@gnu.org>
11136
11137 * help-fns.el (describe-variable):
11138 Check {file,dir}-local-variables-alist, and buffer-file-name,
11139 in the correct buffer.
11140
11141 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
11142
11143 * help-fns.el (describe-variable): Fix the case where
11144 a value is directory-local with no dir-locals file. (Bug#16635)
11145
11146 2014-02-08 Glenn Morris <rgm@gnu.org>
11147
11148 * abbrev.el (edit-abbrevs-mode):
11149 Derive from fundamental-mode. (Bug#16682)
11150
11151 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
11152
11153 * simple.el (quoted-insert): Check character validity (bug#16677).
11154
11155 2014-02-07 Juri Linkov <juri@jurta.org>
11156
11157 * desktop.el (desktop-read): Claim the lock when the owner is not
11158 the current process. (Bug#16157)
11159
11160 2014-02-07 Juri Linkov <juri@jurta.org>
11161
11162 * desktop.el (desktop-buffers-not-to-save): Change default from nil
11163 to "\\` ". (Bug#16651)
11164
11165 2014-02-07 Juri Linkov <juri@jurta.org>
11166
11167 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11168 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11169 (desktop-auto-save-cancel-timer): New function with some code from
11170 `desktop-auto-save-set-timer'.
11171 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11172 Instead of setting `desktop-save-mode' to nil, call
11173 `desktop-save-mode' with arg 0. (Bug#16630)
11174
11175 2014-02-07 Glenn Morris <rgm@gnu.org>
11176
11177 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11178 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11179 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11180
11181 * obsolete/iswitchb.el: Move to obsolete/.
11182 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11183 since obsolete/ is not scanned for autoloads.
11184 * emacs-lisp/authors.el (authors-valid-file-names):
11185 Add iswitchb.el.
11186
11187 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11188 Disable now non-functional find-file-hook.
11189
11190 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
11191
11192 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11193 instead of ";" in order to avoid additional prompts. Let heredoc
11194 scripts read from tty. (Bug#16582)
11195 (tramp-send-command): No special handling of heredocs, it isn't
11196 necessary anymore.
11197
11198 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11201 with a space (bug#16664). Limit the symbols considered to the ones
11202 that are bound or fbound (bug#16646).
11203
11204 2014-02-06 Glenn Morris <rgm@gnu.org>
11205
11206 * epa.el (epa-mail-aliases): Doc fix.
11207
11208 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
11209
11210 * emacs-lisp/lisp.el (lisp-completion-at-point):
11211 Use `completion-table-merge' instead of `completion-table-in-turn'
11212 (bug#16604).
11213
11214 * minibuffer.el (completion-table-merge): New function.
11215
11216 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11219 (tramp-sh-handle-set-file-acl)
11220 (tramp-sh-handle-start-file-process)
11221 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11222 (tramp-find-executable, tramp-send-command): Use it.
11223
11224 2014-02-05 Glenn Morris <rgm@gnu.org>
11225
11226 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
11227
11228 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
11229
11230 * progmodes/python.el (python-shell-send-string)
11231 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11232
11233 2014-02-04 Anders Lindgren <andlind@gmail.com>
11234
11235 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11236 the names (bug#16620).
11237
11238 2014-02-03 Martin Rudalics <rudalics@gmx.at>
11239
11240 * faces.el (window-divider): New default value. Rewrite doc-string.
11241 (window-divider-first-pixel, window-divider-last-pixel): New faces.
11242
11243 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
11244
11245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11246 `protected' and `public' can also be called without arguments.
11247
11248 2014-02-03 Glenn Morris <rgm@gnu.org>
11249
11250 * register.el (window-configuration-to-register)
11251 (frame-configuration-to-register): Unadvertise unused argument.
11252 * frameset.el (frameset-to-register): Remove unused argument.
11253
11254 * frameset.el (frameset-to-register):
11255 * kmacro.el (kmacro-to-register):
11256 * register.el (increment-register):
11257 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11258 (calc-append-to-register, calc-prepend-to-register):
11259 * play/gametree.el (gametree-layout-to-register)
11260 (gametree-apply-register-layout):
11261 * textmodes/picture.el (picture-clear-rectangle-to-register)
11262 (picture-yank-rectangle-from-register):
11263 * vc/emerge.el (emerge-combine-versions-register):
11264 Use register-read-with-preview to read registers.
11265
11266 2014-02-03 João Távora <joaotavora@gmail.com>
11267
11268 * elec-pair.el (electric-pair-backward-delete-char): Don't error
11269 when at beginning of (possibly narrowed) buffer.
11270
11271 2014-02-02 Daniel Colascione <dancol@dancol.org>
11272
11273 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11274 Also try to display local help from just before point.
11275
11276 2014-02-02 Alan Mackenzie <acm@muc.de>
11277
11278 c-parse-state. Don't "append-lower-brace-pair" in certain
11279 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
11280 recognised as a comment.
11281
11282 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11283 as well as normal comment starter.
11284 (c-parse-state-get-strategy): Extra return possibility
11285 'back-and-forward.
11286 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11287 return value list to indicate replacement of a brace-pair cons
11288 with its car.
11289 (c-parse-state-1): With 'back-and-forward, only call
11290 c-append-lower-brace-pair-to state-cache when cons-separated.
11291
11292 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
11293
11294 * term/ns-win.el (ns-suspend-error): New function.
11295 (ns-initialize-window-system): Add ns-suspend-error to
11296 suspend-hook (Bug#16612).
11297
11298 2014-02-02 Daniel Colascione <dancol@dancol.org>
11299
11300 * progmodes/cc-defs.el (c-find-assignment-for-mode):
11301 Make loading cc-mode silent.
11302
11303 2014-02-02 Daniel Colascione <dancol@dancol.org>
11304
11305 * comint.el (comint-prompt-read-only): Change doc to suggest
11306 remap keybinding.
11307
11308 2014-02-02 Glenn Morris <rgm@gnu.org>
11309
11310 * register.el (register-read-with-preview, point-to-register)
11311 (window-configuration-to-register, frame-configuration-to-register)
11312 (jump-to-register, number-to-register, view-register, insert-register)
11313 (copy-to-register, append-to-register, prepend-to-register)
11314 (copy-rectangle-to-register): Doc fixes.
11315
11316 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11319 * emacs-lisp/find-func.el (find-function-C-source): Idem.
11320 * emacs-lisp/nadvice.el (advice--cd*r): New function.
11321 * help-fns.el (describe-function-1): Use it.
11322
11323 2014-02-02 Glenn Morris <rgm@gnu.org>
11324
11325 * register.el (register-preview-default): New function,
11326 split from register-preview.
11327 (register-preview-function): Rename from register-preview-functions,
11328 make it not a hook.
11329 (register-preview): Use register-preview-function.
11330 (register-read-with-preview): Error on non-character event. (Bug#16595)
11331
11332 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11333
11334 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11335 `:' before binary operators (bug#16609). Don't check for `:'
11336 before `[' and `(', or their syntax status. A percent literal
11337 can't end with either.
11338 (ruby-font-lock-keywords): For built-ins that require arguments,
11339 check that they're followed by something that looks like argument
11340 (bug#16610).
11341
11342 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
11343
11344 * subr.el (butlast): Document what an omitted N means (bug#13437).
11345 (nbutlast): Ditto.
11346
11347 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
11348
11349 * net/shr.el (shr-generic): Make into a defsubst to make the stack
11350 depth shallower (bug#16587).
11351 (shr-tag-svg): Respect `shr-inhibit-images'.
11352 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11353
11354 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
11355
11356 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11357 (ruby-smie-grammar): Make "." right-associative. Make its priority
11358 lower than the ternary and all binary operators.
11359 (ruby-smie-rules): Indent "(" relative to the first non-"."
11360 parent, or the first "." parent at indentation.
11361 Use `ruby-align-chained-calls' for indentation of "." tokens.
11362 (Bug#16593)
11363
11364 2014-01-31 Juri Linkov <juri@jurta.org>
11365
11366 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11367 from `make-hash-table'.
11368
11369 * textmodes/ispell.el (ispell-init-process): Change message format
11370 to be consistent with other messages.
11371
11372 2014-01-31 Glenn Morris <rgm@gnu.org>
11373
11374 * delsel.el (delete-selection-mode): Doc fix.
11375
11376 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11377 (trace-function-background): Doc fixes.
11378
11379 * ido.el (ido-use-virtual-buffers): Doc fix.
11380 Reset :version, since the default value has not changed.
11381
11382 * register.el (register-preview-delay, register-read-with-preview):
11383 Doc fixes.
11384
11385 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11386 do not mess with mail-buffer position (fixes 2009-11-03 change).
11387 * progmodes/cc-mode.el (c-submit-bug-report):
11388 Check auto-fill-mode is bound. (Bug#16592)
11389
11390 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
11391
11392 * startup.el (fancy-splash-image-file): New function,
11393 split from fancy-splash-head.
11394 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11395 so that we are both using the same image. (Bug#16574)
11396
11397 2014-01-30 Glenn Morris <rgm@gnu.org>
11398
11399 * simple.el (eval-expression): Doc fix.
11400
11401 * hexl.el (hexl-mode-hook):
11402 * ielm.el (ielm-mode-hook):
11403 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11404 (lisp-interaction-mode-hook):
11405 * progmodes/cfengine.el (cfengine3-documentation-function):
11406 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11407
11408 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11411 is a symbol (bug#16584).
11412
11413 2014-01-30 Glenn Morris <rgm@gnu.org>
11414
11415 * help.el (help-for-help-internal): Add "P" to text.
11416
11417 2014-01-29 Glenn Morris <rgm@gnu.org>
11418
11419 * simple.el (just-one-space, cycle-spacing): Doc fixes.
11420
11421 2014-01-28 Martin Rudalics <rudalics@gmx.at>
11422
11423 * window.el (fit-frame-to-buffer): Fix calculations for margins and
11424 height constraints.
11425
11426 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
11427
11428 * progmodes/hideif.el: Extend to full CPP expression syntax.
11429 (hif-token-alist): Add missing tokens.
11430 (hif-token-regexp): Add support for float/octal/hex immediates.
11431 (hif-string-literal-regexp): New const.
11432 (hif-tokenize): Recognize strings and float/octal/hex immediates.
11433 (hif-exprlist): New function.
11434 (hif-parse-if-exp): Use it.
11435 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
11436 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
11437 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
11438 (hif-logxor, hif-comma): New functions.
11439
11440 2014-01-28 Glenn Morris <rgm@gnu.org>
11441
11442 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
11443
11444 * indent.el (tab-stop-list): Doc fix. Add :version.
11445
11446 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
11447 (cvs-append-to-ignore): Add compatibility alias.
11448
11449 2014-01-27 Glenn Morris <rgm@gnu.org>
11450
11451 * dired.el (dired-hide-details-mode): Don't autoload it,
11452 since it cannot be used outside Dired buffers anyway.
11453
11454 * emulation/cua-base.el (cua-mode): Doc fix.
11455
11456 * dired.el (dired-hide-details-hide-symlink-targets)
11457 (dired-hide-details-hide-information-lines)
11458 (dired-hide-details-mode): Doc fixes.
11459
11460 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
11461 * strokes.el (strokes-file): Doc fix. Bump :version.
11462 (strokes-help): Doc fix.
11463 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
11464 * emulation/viper.el (viper): Doc fix for custom group.
11465 (top-level): Remove oh-so-no-longer-relevant text about vip.
11466 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
11467
11468 * ido.el (ido-save-directory-list-file):
11469 * saveplace.el (save-place-file):
11470 * calendar/timeclock.el (timeclock-file):
11471 * net/quickurl.el (quickurl-url-file):
11472 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11473 * progmodes/idlwave.el (idlwave-config-directory):
11474 * textmodes/remember.el (remember-data-file):
11475 Bump :version.
11476
11477 2014-01-26 Glenn Morris <rgm@gnu.org>
11478
11479 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
11480 Doc fix. Make obsolete.
11481 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
11482
11483 * sort.el (delete-duplicate-lines): Doc fix.
11484
11485 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11486
11487 * progmodes/ada-mode.el (ada):
11488 * woman.el (woman): Link to info manual and Commentary section.
11489
11490 * progmodes/flymake.el (flymake):
11491 * nxml/nxml-mode.el (nxml):
11492 * net/eww.el (eww):
11493 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
11494 * htmlfontify.el (htmlfontify):
11495 * ses.el (ses):
11496 * epa.el (epa):
11497 * ido.el (ido): Link to info manual.
11498
11499 2014-01-25 Leo Liu <sdl.web@gmail.com>
11500
11501 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
11502
11503 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
11504
11505 * net/shr.el (shr-tag-img): Prefer the title over the alt text
11506 (bug#16537).
11507
11508 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
11509
11510 * net/eww.el (eww-download-callback):
11511 Fix reference to eww-download-directory.
11512
11513 * emacs-lisp/bytecomp.el (byte-compile-file):
11514 Remove unused local variable `file-name'.
11515
11516 2014-01-24 Glenn Morris <rgm@gnu.org>
11517
11518 * woman.el (woman-default-faces, woman-monochrome-faces):
11519 Fix obsolescence specification.
11520
11521 * subr.el (with-demoted-errors): Doc fix.
11522
11523 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
11524
11525 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
11526 (cl--macroexp-fboundp): New function.
11527 (cl--make-type-test): Use it.
11528
11529 2014-01-23 Glenn Morris <rgm@gnu.org>
11530
11531 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
11532 * simple.el (eval-expression): Doc fixes.
11533
11534 2014-01-22 Glenn Morris <rgm@gnu.org>
11535
11536 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
11537
11538 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * emacs-lisp/package.el: Write files silently.
11541 (package-autoload-ensure-default-file, package--write-file-no-coding)
11542 (package-generate-description-file, package--download-one-archive)
11543 (package-install-from-archive): Tell `write-region' to stay quiet.
11544 (package-menu-mode, package-menu--print-info): Omit the Archive column
11545 if there's only one archive.
11546 (package-all-keywords, package--has-keyword-p): Remove dead code.
11547
11548 2014-01-22 Glenn Morris <rgm@gnu.org>
11549
11550 * version.el (emacs-bzr-version-bzr): Fix typo.
11551
11552 * version.el (emacs-repository-get-version):
11553 Check either .bzr or .git, but not both.
11554 Make the git case actually use the DIR argument, and return nil
11555 rather than the empty string.
11556 Avoid error if .git exists but the git executable is not found.
11557
11558 2014-01-22 Martin Rudalics <rudalics@gmx.at>
11559
11560 Fixes in window size functions around Bug#16430 and Bug#16470.
11561 * window.el (window-total-size, window-size): New argument ROUND.
11562 (window--min-delta-1, window-min-delta, window--max-delta-1):
11563 Be more conservative when calculating the numbers of lines or
11564 columns a window can shrink (Bug#16430).
11565 (fit-window-to-buffer): Simplify code.
11566 * term.el (term-window-width): Call window-body-width again.
11567
11568 2014-01-22 Glenn Morris <rgm@gnu.org>
11569
11570 * image.el (image-format-suffixes): Doc fix.
11571
11572 * international/quail.el (quail-define-package): Doc fix.
11573
11574 * emacs-lisp/authors.el (authors-valid-file-names)
11575 (authors-renamed-files-alist): Additions.
11576
11577 * vc/vc-git.el (vc-git-print-log): Remove --follow;
11578 reverts 2014-01-09 change. (Bug#16422)
11579
11580 * calc/calc-embed.el (thing-at-point-looking-at):
11581 * emacs-lisp/map-ynp.el (x-popup-dialog):
11582 * obsolete/lmenu.el (x-popup-dialog):
11583 * emacs-lisp/package.el (url-recreate-url):
11584 * mail/mailclient.el (clipboard-kill-ring-save):
11585 * subr.el (x-popup-dialog): Update declaration.
11586 * mail/rmail.el (rmail-mime-message-p):
11587 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11588
11589 2014-01-21 Daniel Colascione <dancol@dancol.org>
11590
11591 * progmodes/sh-script.el (sh--inside-noncommand-expression):
11592 Correctly detect when we're inside an arithmetic expansion form
11593 containing nested parenthesis.
11594 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
11595 to detect cases where we shouldn't expand "<<" to a heredoc
11596 skeleton.
11597
11598 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
11601 (eldoc--message-command-p): New function.
11602 (eldoc-display-message-p): Use it.
11603 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
11604 message is not automatically erased for us.
11605 (eldoc-print-current-symbol-info): Erase previous message, if any.
11606
11607 2014-01-21 Tassilo Horn <tsdh@gnu.org>
11608
11609 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
11610 specify it's an interactive function.
11611
11612 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
11613 Fix regex used for scanning for citation keys which failed for
11614 citations with optional arguments.
11615
11616 2014-01-21 Leo Liu <sdl.web@gmail.com>
11617
11618 * simple.el (read--expression): Don't enable eldoc-mode.
11619
11620 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * simple.el (move-beginning-of-line): Make sure we don't move forward
11623 (bug#16497).
11624
11625 2014-01-20 Juri Linkov <juri@jurta.org>
11626
11627 * saveplace.el (toggle-save-place, save-place-to-alist)
11628 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
11629 'dired-mode) before checking for dired-directory. (Bug#16477)
11630
11631 2014-01-20 Juri Linkov <juri@jurta.org>
11632
11633 * indent.el (indent-line-to): Use backward-to-indentation
11634 instead of back-to-indentation. (Bug#16461)
11635
11636 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
11637
11638 Revert some of the CANNOT_DUMP fix (Bug#16494).
11639 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
11640 but fixing this can wait until after the next release.
11641 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
11642
11643 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
11644
11645 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11646 Use `password-word-equivalents'.
11647 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
11648 to t. (Bug#5664, Bug#13124)
11649
11650 2014-01-19 Alan Mackenzie <acm@muc.de>
11651
11652 Bind open-paren-in-column-0-is-defun-start to nil at some entry
11653 points.
11654 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
11655 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
11656 * progmodes/cc-mode.el (c-before-change, c-after-change)
11657 (c-font-lock-fontify-region): Bind it here.
11658
11659 2014-01-19 Martin Rudalics <rudalics@gmx.at>
11660
11661 * term.el (term-window-width): Call window-text-width instead of
11662 window-width (Bug#16470).
11663
11664 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
11665
11666 * simple.el (password-word-equivalents): Remove duplicates.
11667 Sort, to make this easier next time.
11668 Downcase. Omit ": " after "jelszó".
11669
11670 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
11671
11672 * term/common-win.el (saved-region-selection): Defvar it.
11673 (x-select-text): Set saved-region-selection (Bug#16382).
11674
11675 2014-01-18 Glenn Morris <rgm@gnu.org>
11676
11677 * emacs-lisp/authors.el (authors-aliases)
11678 (authors-renamed-files-alist): Add some entries.
11679
11680 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
11681
11682 * net/tramp.el (tramp-password-prompt-regexp):
11683 Use `password-word-equivalents' if available.
11684 (tramp-action-password, tramp-process-one-action)
11685 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
11686
11687 2014-01-17 Chong Yidong <cyd@gnu.org>
11688
11689 * simple.el (password-word-equivalents): New defcustom.
11690 * comint.el (comint-password-prompt-regexp): Use it. Bump version
11691 to 24.4.
11692 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
11693 to t. (Bug#13124)
11694
11695 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
11696
11697 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
11698 (ruby-align-to-stmt-keywords): Change the default value.
11699 Use `ruby-alignable-keywords' to generate the possible customization
11700 choices.
11701 (ruby-smie-rules): Instead of using a hardcoded list of alignable
11702 keywords, check against the value of `ruby-alignable-keywords'
11703 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
11704
11705 2014-01-17 Glenn Morris <rgm@gnu.org>
11706
11707 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
11708
11709 Make M-x authors return zero *Authors Errors* from current logs.
11710 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
11711 (authors-ignored-files): Add some entries, remove others.
11712 (authors-ambiguous-files, authors-valid-file-names):
11713 Add some entries.
11714 (authors-renamed-files-alist): Add, remove, and adjust entries.
11715 (authors-renamed-files-regexps): Add some entries.
11716 Remove some very broad ones. Make some entries `lax'.
11717 (authors-lax-changelogs): New constant.
11718 (authors-disambiguate-file-name): Treat top-level specially.
11719 (authors-lax-changelog-p): New function.
11720 (authors-canonical-file-name): Check file as written against
11721 authors-valid-file-names. Do not special-case etc/.
11722 Handle `lax' logs and authors-renamed-files-regexps elements.
11723
11724 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
11725
11726 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
11727 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
11728 callers.
11729
11730 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11731
11732 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
11733 Assume we're already in the proper buffer.
11734 Inspired by Anders Lindgren <andlind@gmail.com>.
11735 (follow-post-command-hook): Call it from the right buffer.
11736 (follow-comint-scroll-to-bottom): Adjust call.
11737 (follow-all-followers): Use get-buffer-window-list.
11738
11739 2014-01-15 Daniel Colascione <dancol@dancol.org>
11740
11741 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
11742 `buffer-file-name' in interactive-form so that we don't leave
11743 pathless file names in `file-name-history'.
11744
11745 2014-01-15 Juri Linkov <juri@jurta.org>
11746
11747 * indent.el (indent-rigidly): Set deactivate-mark to nil
11748 in transient indentation mode. (Bug#16438)
11749
11750 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
11751
11752 * emacs-lisp/package.el (package-desc-keywords): New function
11753 (Bug#16222).
11754 (describe-package-1, package-all-keywords)
11755 (package--has-keyword-p): Use it.
11756
11757 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11758
11759 * simple.el (define-alternatives): When creating the
11760 COMMAND-alternatives variable, assign COMMAND as its definition
11761 name so that `describe-variable' can relocate it.
11762
11763 2014-01-14 Matthew Leach <matthew@mattleach.net>
11764
11765 * font-lock.el (font-lock-keywords): Fix typo in docstring
11766 (bug#16307).
11767
11768 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11769
11770 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
11771 line instead of wrongly reset `add-coment' (bug#13577).
11772
11773 2014-01-14 Daiki Ueno <ueno@gnu.org>
11774
11775 * epa-file.el (epa-file-write-region): Encode the region according
11776 to `buffer-file-format'. Problem reported at:
11777 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
11778
11779 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
11782 so it applies in the right buffer (bug#16410).
11783
11784 2014-01-13 Daniel Colascione <dancol@dancol.org>
11785
11786 * textmodes/rst.el (rst-define-key): Provide deprecated
11787 keybindings through named functions instead of anonymous ones so
11788 that "??" doesn't appear in describe-mode output.
11789
11790 2014-01-13 Bastien Guerry <bzg@gnu.org>
11791
11792 * simple.el (define-alternatives): Call the selected command
11793 interactively. When setting `COMMAND--implementation' for the
11794 first time, tell the user how to chose another implementation.
11795 Enhance the docstring.
11796
11797 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
11800 (log-edit--match-first-line): New function.
11801 (log-edit-font-lock-keywords): Use it.
11802 (log-edit-mode): Make jit-lock-defer-multiline work.
11803
11804 2014-01-13 Bastien Guerry <bzg@gnu.org>
11805
11806 * rect.el (rectangle-mark-mode): When the region is not active,
11807 display a message saying that the mark as been set and that
11808 rectangle mode is in use.
11809 (rectangle--highlight-for-redisplay): Only put an overlay with a
11810 visible vertical bar when (display-graphic-p) is non-nil.
11811 This partially fixes Bug#16403.
11812
11813 2014-01-13 Juri Linkov <juri@jurta.org>
11814
11815 * info.el (Info-find-file): Go to DIR before displaying the error
11816 about a nonexistent file if no previous Info file is visited.
11817 Use `user-error' instead of `error' for "Info file %s does not exist".
11818 (Info-find-node-2): In case of a nonexistent node in unwind forms
11819 go to the Top node if there is no previous node to revert to.
11820 (Bug#16405)
11821
11822 2014-01-13 Martin Rudalics <rudalics@gmx.at>
11823
11824 fit-frame/window-to-buffer code fixes including one for Bug#14096.
11825 * window.el (fit-frame-to-buffer): Fix doc-string.
11826 Respect window-min-height/-width. Fit pixelwise when
11827 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
11828 when avoiding that frame goes partially off-screen.
11829 (fit-window-to-buffer): Respect window-min-height/-width
11830 (Bug#14096).
11831
11832 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
11835 after an empty line.
11836
11837 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * net/shr.el (shr-render-region): Autoload.
11840
11841 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
11842
11843 * net/eww.el (eww-download-directory): Rename from
11844 `eww-download-path' (Bug#16419).
11845
11846 2014-01-12 Leo Liu <sdl.web@gmail.com>
11847
11848 * dired-x.el (dired-mode-map): Fix last change.
11849
11850 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
11851
11852 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
11853
11854 Spelling fixes.
11855 * emacs-lisp/generic.el (generic--normalize-comments):
11856 Rename from generic--normalise-comments. All uses changed.
11857 * play/bubbles.el (bubbles--neighborhood-score)
11858 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
11859 (bubbles--neighborhood-available)
11860 (bubbles--update-neighborhood-score):
11861 Rename from names with 'neighbourhood'. All uses changed.
11862
11863 2014-01-12 Leo Liu <sdl.web@gmail.com>
11864
11865 Re-implement the feature of showing eldoc info after editing.
11866 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
11867 (eldoc-edit-message-commands): New function.
11868 (eldoc-print-after-edit): New variable.
11869 (eldoc-pre-command-refresh-echo-area): Emit message only by
11870 eldoc-message-commands.
11871 (eldoc-mode): Restrict eldoc-message-commands to editing commands
11872 if eldoc-print-after-edit is set. (Bug#16346)
11873 * simple.el (read--expression): Enable eldoc-mode.
11874 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
11875
11876 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
11877 Eric S. Raymond <esr@thyrsus.com>
11878
11879 * version.el (emacs-repository-get-version): Enhance so the
11880 function works correctly in either a Bazaar or Git repo.
11881
11882 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
11883
11884 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
11885 Goes with removal of the joke manpages from /etc.
11886
11887 2014-01-10 Kenichi Handa <handa@gnu.org>
11888
11889 * mail/rmail.el (rmail-get-coding-system):
11890 Check rmail-get-coding-function before "funcall"ing it.
11891
11892 2014-01-10 Glenn Morris <rgm@gnu.org>
11893
11894 * emacs-lisp/authors.el (authors-fixed-entries):
11895 Update for files that no longer exist.
11896
11897 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
11898
11899 * version.el (emacs-bzr-get-version): Restore compatibilty with
11900 24.3 (Tested).
11901
11902 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
11903
11904 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
11905 and Podfile.
11906
11907 2014-01-10 Eli Zaretskii <eliz@gnu.org>
11908
11909 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
11910
11911 2014-01-10 Chong Yidong <cyd@gnu.org>
11912
11913 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
11914
11915 2014-01-10 Anders Lindgren <andlind@gmail.com>
11916
11917 * follow.el (follow-cache-command-list): Include right-char and
11918 left-char.
11919
11920 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
11921
11922 Spelling fixes.
11923 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
11924 * woman.el (woman-mark-horizontal-position):
11925 Rename from woman-mark-horizonal-position. Use changed.
11926
11927 2014-01-10 Glenn Morris <rgm@gnu.org>
11928
11929 * info.el (info-initialize): If running uninstalled, ensure our
11930 own info files are always found first, even if INFOPATH is set.
11931
11932 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
11933
11934 2014-01-09 David Engster <deng@randomsample.de>
11935
11936 * emacs-lisp/eieio-custom.el:
11937 * emacs-lisp/eieio-opt.el: Set generated autoload file to
11938 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
11939 * emacs-lisp/eieio.el: Regenerate autoloads.
11940
11941 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
11942
11943 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
11944 following renames. (Bug#8756)
11945
11946 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
11949 (bug#16382).
11950 (activate-mark): Add `no-tmm' argument.
11951 (set-mark, push-mark-command): Use it instead of running
11952 activate-mark-hook by hand.
11953
11954 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
11955
11956 In preparation for the move to git, sanitize out some
11957 Bazaar-specific names.
11958
11959 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
11960
11961 * version.el (emacs-bzr-version): Name changed to
11962 emacs-repository-version. Obsolete-variable alias made.
11963 * loadup.el: Follow through on this name change.
11964 * mail/emacsbug.el (report-emacs-bug): Factor out any
11965 assumption about the version control system in use.
11966
11967 2014-01-08 David Engster <deng@randomsample.de>
11968
11969 * help-fns.el (help-fns-describe-function-functions):
11970 New variable to call functions for augmenting help buffers.
11971 (describe-function-1): Remove explicit calls to
11972 `help-fns--compiler-macro', `help-fns--parent-mode' and
11973 `help-fns--obsolete'. Put them in above new variable instead, and
11974 call them through `run-hook-with-args'.
11975 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
11976 `eieio-describe-class'. Not meant for interactive use anymore,
11977 but to augment existing help buffers. Remove optional second
11978 argument. Create proper button for file location.
11979 Rewrite function to use `insert' instead of `princ' and `prin1' where
11980 possible.
11981 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
11982 (eieio-method-def, eieio-class-def): Move further up.
11983 (describe-method, describe-generic, eieio-describe-method):
11984 Remove aliases.
11985 (eieio-help-constructor, eieio-help-generic): Rename from
11986 `eieio-describe-constructor' and `eieio-describe-generic', resp.
11987 Rewrite to use `insert' in the current buffer and use proper help
11988 buttons.
11989 (eieio-help-find-method-definition)
11990 (eieio-help-find-class-definition): Also accept symbols as
11991 arguments.
11992 (eieio-help-mode-augmentation-maybee): Remove.
11993 (eieio-describe-class-sb): Use `describe-function'.
11994 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
11995 Add `eieio-help-generic' and `eieio-help-constructor'.
11996
11997 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
11998
11999 Spelling fixes.
12000 * language/china-util.el (hz-ascii-designation):
12001 Rename from hz-ascii-designnation.
12002 (hz-ascii-designation): Rename from hz-ascii-designnation.
12003 All uses changed.
12004
12005 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
12008 package-alist.
12009
12010 2014-01-08 Bastien Guerry <bzg@gnu.org>
12011
12012 * emacs-lisp/package.el (package-delete):
12013 Correctly delete the package from package-alist.
12014
12015 2014-01-08 Daiki Ueno <ueno@gnu.org>
12016
12017 * emacs-lisp/package.el (url-recreate-url): Declare.
12018 (url-http-target-url): Declare.
12019 (package-handle-response): Include requested URL in the error message.
12020 (package--check-signature): Don't re-signal errors from
12021 package--with-work-buffer. Suggested by Stefan Monnier.
12022
12023 2014-01-07 Bastien Guerry <bzg@gnu.org>
12024
12025 * minibuffer.el (completion--try-word-completion): When both a
12026 hyphen and a space are possible candidates for the character
12027 following a word, display both candidates. (Bug#15980)
12028
12029 2014-01-07 Martin Rudalics <rudalics@gmx.at>
12030
12031 * window.el (balance-windows-2): While rounding don't give a
12032 window more than the remainder. Bug#16351, bug#16383.
12033
12034 2014-01-07 Glenn Morris <rgm@gnu.org>
12035
12036 * menu-bar.el (menu-bar-help-extra-packages): Remove.
12037 (menu-bar-help-menu): Use view-external-packages instead.
12038
12039 2014-01-07 Bastien Guerry <bzg@gnu.org>
12040
12041 * emacs-lisp/package.el (package-delete): Also delete the package
12042 name from `package-alist', not its description only.
12043
12044 2014-01-07 Glenn Morris <rgm@gnu.org>
12045
12046 * help.el (view-external-packages):
12047 * menu-bar.el (menu-bar-help-extra-packages):
12048 Visit efaq.info rather than etc/MORE.STUFF.
12049
12050 2014-01-07 Juri Linkov <juri@jurta.org>
12051
12052 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
12053 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
12054
12055 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
12056 that shadows RET. (Bug#16342)
12057
12058 2014-01-07 Chong Yidong <cyd@gnu.org>
12059
12060 * isearch.el (isearch-yank-char, isearch-yank-word)
12061 (isearch-yank-line): Doc fix.
12062
12063 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
12066 * emacs-lisp/elint.el (elint-find-builtins):
12067 * emacs-lisp/eldoc.el (eldoc-symbol-function):
12068 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
12069 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
12070 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
12071 * apropos.el (apropos-safe-documentation):
12072 * subr.el (symbol-file): Remove redundant fboundp.
12073 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
12074
12075 2014-01-06 Bastien Guerry <bzg@gnu.org>
12076
12077 * hl-line.el (global-hl-line-overlay): Make a local variable.
12078 (global-hl-line-overlays): New variable to store all overlays.
12079 (global-hl-line-mode): Don't delete overlays from the current
12080 buffer when `global-hl-line-sticky-flag' is non-nil.
12081 (global-hl-line-highlight): Add new overlays to
12082 `global-hl-line-overlays'.
12083 (global-hl-line-unhighlight-all): New function to delete all
12084 overlays when turning off `global-hl-line-mode'.
12085 This fixes Bug#16183.
12086
12087 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * subr.el (set-transient-map): Fix nested case and docstring.
12090
12091 2014-01-06 Tassilo Horn <tsdh@gnu.org>
12092
12093 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
12094 `Texinfo' entry.
12095
12096 2014-01-06 Daniel Colascione <dancol@dancol.org>
12097
12098 Fix defun navigation in vc log view.
12099
12100 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
12101 like `beginning-of-defun'.
12102 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
12103 log-view-end-of-defun to log-view-end-of-defun-1. Replace
12104 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
12105 (log-view-extract-comment): Call `log-view-current-entry' directly
12106 instead of relying on broken `log-view-beginning-of-defun' behavior.
12107
12108 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
12109
12110 Spelling fixes.
12111 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
12112 * emacs-lisp/debug.el (cancel-debug-on-entry):
12113 * epg.el (epg-error-to-string):
12114 * files.el (recover-file):
12115 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
12116 * mail/emacsbug.el (report-emacs-bug-hook):
12117 * mail/sendmail.el (mail-recover):
12118 * ses.el (ses-yank-resize):
12119 * term/ns-win.el (ns-print-buffer):
12120 Spelling fixes in diagnostics, mostly for "canceled" with one L.
12121 * epg.el (epg-key-capability-alist): Rename from misspelled version.
12122 All uses changed.
12123 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12124
12125 2014-01-06 Leo Liu <sdl.web@gmail.com>
12126
12127 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12128 to avoid shadowing global key. (Bug#16354)
12129
12130 2014-01-06 Daniel Colascione <dancol@dancol.org>
12131
12132 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12133 rst-mode.
12134
12135 2014-01-05 Martin Rudalics <rudalics@gmx.at>
12136
12137 * window.el (balance-windows): Add mising t to fix Bug#16351.
12138
12139 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12140
12141 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12142 (bug#16285).
12143 (shr-insert): If we have a word that's longer than `shr-width',
12144 break after it anyway. Otherwise we'll do no breaking once we get
12145 such a long word.
12146
12147 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12148
12149 * net/eww.el (eww): Support single/double quote for search.
12150 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12151 (eww-history-quit): Delete and use quit-window.
12152 (eww-history-kill): Delete, because it doesn't work well and
12153 not necessary.
12154 (eww-history-mode-map): Delete some keys and add easy-menu.
12155
12156 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
12157
12158 Fix misspelling of 'chinese' in rx (Bug#16237).
12159 * emacs-lisp/rx.el (rx-categories): Correct spelling of
12160 chinese-two-byte.
12161
12162 Change subword regexps back to vars (Bug#16296).
12163 * progmodes/subword.el (subword-forward-regexp)
12164 (subword-backward-regexp): Change these back to variables.
12165
12166 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12169 syntax-begin-function (bug#16247).
12170
12171 2014-01-03 Chong Yidong <cyd@gnu.org>
12172
12173 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12174 (advice--docstring): Delete variable.
12175 (advice--make-1): Leave the docstring empty.
12176 (advice-add): Use function-documentation for advised docstring.
12177
12178 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12179 Ignore function-documentation property when getting documentation.
12180 (ad-activate-advised-definition): Use function-documentation
12181 generate the docstring.
12182 (ad-make-advised-definition): Don't call
12183 ad-make-advised-definition-docstring.
12184 (ad-make-advised-definition-docstring, ad-advised-definition-p):
12185 Delete functions.
12186
12187 * progmodes/sql.el (sql-help): Use function-documentation instead
12188 of dynamic-docstring-function property. No need to autoload now.
12189 (sql--help-docstring): New variable.
12190 (sql--make-help-docstring): Use it.
12191
12192 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * ielm.el (ielm-tab): Retarget.
12195 (ielm-map): Use ielm-tab for tab.
12196 (ielm-complete-filename): Use comint-filename-completion.
12197 (ielm-complete-symbol): Remove.
12198 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12199 remove ielm-tab from completion-at-point-functions (bug#16224).
12200
12201 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12202 Beware signals raised by predicates (bug#16201).
12203
12204 2014-01-02 Richard Stallman <rms@gnu.org>
12205
12206 * dired-aux.el (dired-do-print): Handle printer-name.
12207
12208 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12209 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12210 (rmail-epa-decrypt): Turn off mime processing.
12211
12212 * mail/rmail.el (rmail-make-in-reply-to-field):
12213 Add parens in message-id.
12214
12215 * mail/rmail.el (rmail-get-coding-function): Variable.
12216 (rmail-get-coding-system): Use it.
12217
12218 2013-12-31 Eli Zaretskii <eliz@gnu.org>
12219
12220 * international/mule-conf.el: Unify the charset indian-is13194.
12221 (indian-is13194): Specify unify-map.
12222
12223 2013-12-31 Leo Liu <sdl.web@gmail.com>
12224
12225 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
12226
12227 2013-12-30 Daniel Colascione <dancol@dancol.org>
12228
12229 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12230 of printing a useless when we resume from sleep.
12231
12232 * progmodes/sh-script.el
12233 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12234 in indentation code. (Bug#16233)
12235
12236 2013-12-28 João Távora <joaotavora@gmail.com>
12237
12238 * elec-pair.el (electric-pair-post-self-insert-function):
12239 Don't open extra newlines at beginning of buffer. (Bug#16272)
12240
12241 2013-12-28 Eli Zaretskii <eliz@gnu.org>
12242
12243 * frame.el (window-system-for-display): Don't allow to create a
12244 GUI frame from a -nw session on MS-Windows. (Bug#14739)
12245
12246 2013-12-28 Glenn Morris <rgm@gnu.org>
12247
12248 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12249 Update callers.
12250
12251 * apropos.el (apropos-match-face):
12252 * calculator.el (calculator-displayer):
12253 * dabbrev.el (dabbrev-search-these-buffers-only):
12254 * face-remap.el (buffer-face-mode-face):
12255 * simple.el (yank-handled-properties):
12256 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12257 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12258 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12259 (hashcash-double-spend-database):
12260 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12261 (ruby-deep-indent-paren-style):
12262 * textmodes/flyspell.el (flyspell-auto-correct-binding):
12263 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12264 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12265 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12266 Specify custom types.
12267
12268 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12269 * bookmark.el (bookmark-bmenu-use-header-line):
12270 * doc-view.el (doc-view-scale-internally):
12271 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12272 * register.el (register-preview-delay):
12273 * net/shr.el (shr-bullet):
12274 * progmodes/cfengine.el (cfengine-cf-promises)
12275 (cfengine-parameters-indent):
12276 * progmodes/octave.el (inferior-octave-error-regexp-alist):
12277 * textmodes/reftex-vars.el (reftex-label-regexps):
12278 * vc/log-edit.el (log-edit-setup-add-author): Add version.
12279
12280 * net/tls.el (tls-certtool-program): Fix default value.
12281
12282 * desktop.el (desktop-restore-in-current-display):
12283 * newcomment.el (comment-empty-lines):
12284 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12285 (idlwave-pad-keyword):
12286 * progmodes/tcl.el (tcl-tab-always-indent):
12287 * textmodes/reftex-vars.el (reftex-index-default-tag):
12288 * elec-pair.el (electric-pair-skip-whitespace):
12289 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12290
12291 * emacs-lisp/authors.el (authors-ignored-files)
12292 (authors-valid-file-names, authors-renamed-files-alist): Additions.
12293
12294 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
12295
12296 * shell.el (shell-dynamic-complete-command): Doc fix.
12297 (shell--command-completion-data): Shell completion now matches
12298 executable filenames from the current buffer's directory, on
12299 systems in which this behavior is the default (windows-nt, ms-dos).
12300
12301 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12302
12303 * net/shr.el (shr-insert): Don't infloop if the width is zero.
12304
12305 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12308 (bug#16251).
12309
12310 * electric.el: Move all electric-pair-* to elec-pair.el.
12311 * elec-pair.el: New file, split from electric.el.
12312
12313 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12314
12315 * net/shr.el (shr-find-fill-point): Don't try to fill if the
12316 indentation level is larger than the width, because that will
12317 infloop.
12318 (shr-insert): Fill repeatedly long texts, so that Japanese is
12319 formatted correctly (bug#16263).
12320 (shr-find-fill-point): Off by one error in comparison with the
12321 indentation.
12322
12323 2013-12-26 João Távora <joaotavora@gmail.com>
12324
12325 * electric.el (electric-pair-mode): More flexible engine for skip-
12326 and inhibit predicates, new options for pairing-related functionality.
12327 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12328 if that keeps or improves their balance in buffers.
12329 (electric-pair-delete-adjacent-pairs): Delete the pair when
12330 backspacing over adjacent matched delimiters.
12331 (electric-pair-open-extra-newline): Open extra newline when
12332 inserting newlines between adjacent matched delimiters.
12333 (electric--sort-post-self-insertion-hook):
12334 Sort post-self-insert-hook according to priority values when
12335 minor-modes are activated.
12336 * simple.el (newline-and-indent): Call newline with interactive
12337 set to t.
12338 (blink-paren-post-self-insert-function): Set priority to 100.
12339 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12340 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12341 comments. Locally set electric-pair-skip-whitespace to 'chomp and
12342 electric-pair-open-newline-between-pairs to nil.
12343
12344 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
12345
12346 * progmodes/python.el: Use lexical-binding.
12347 (python-nav-beginning-of-defun): Stop searching ASAP.
12348
12349 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
12350
12351 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12352 Fix interactive spec. Doc fix. (Bug#15754)
12353
12354 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
12355
12356 * emacs-lisp/byte-run.el (eval-when-compile):
12357 * progmodes/cc-defs.el (cc-eval-when-compile):
12358 Fix edebug spec (bug#16184).
12359
12360 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12361
12362 * net/shr.el (shr-visit-file): Remove debugging function.
12363 (shr-insert): Don't infloop if we can't find a good place to break
12364 the line (bug#16256).
12365
12366 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12367
12368 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12369 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
12370 python-nav-lisp-forward-sexp-safe.
12371 (python-nav--forward-sexp): New argument SAFE allows switching
12372 forward sexp movement behavior for parens.
12373 (python-nav-forward-sexp): Throw errors on unterminated parens
12374 (Bug#16191).
12375 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12376 (python-nav-backward-sexp-safe): New functions.
12377 (python-shell-buffer-substring):
12378 Use `python-nav-forward-sexp-safe'.
12379
12380 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12381
12382 * net/shr.el (shr-find-fill-point): Don't break lines before a
12383 quotation mark.
12384 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12385 (shr-find-fill-point): Remove the special checks for the quotation
12386 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12387
12388 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12389
12390 * net/eww.el (eww-form-textarea): Use a different face for
12391 textareas than text input since they have different keymaps
12392 (bug#16142).
12393
12394 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
12395
12396 * progmodes/python.el (python-nav-beginning-of-statement):
12397 Speed up (Bug#15295).
12398
12399 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12400
12401 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12402 the window configuration.
12403
12404 2013-12-24 Eli Zaretskii <eliz@gnu.org>
12405
12406 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12407 we run on MS-Windows or MS-DOS.
12408
12409 2013-12-24 Martin Rudalics <rudalics@gmx.at>
12410
12411 * window.el (balance-windows-area): Call window-size instead of
12412 window-height and window-width. Bug#16241.
12413
12414 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12415
12416 * net/eww.el (eww-bookmark-quit): Remove.
12417 (eww-bookmark-browse): Restore the window configuration when you
12418 choose a bookmark (bug#16144).
12419
12420 2013-12-24 Daniel Colascione <dancol@dancol.org>
12421
12422 * icomplete.el: Remove redundant :group arguments to `defcustom'
12423 throughout.
12424 (icomplete-show-matches-on-no-input): New customizable variable.
12425 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
12426 we have something to show.
12427 (icomplete-exhibit): Compute completions even if we have no user input.
12428
12429 2013-12-23 Daniel Colascione <dancol@dancol.org>
12430
12431 * icomplete.el: Move `provide' to end of file.
12432
12433 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
12434
12435 * net/gnutls.el (gnutls-verify-error): Add version tag.
12436
12437 2013-12-23 Chong Yidong <cyd@gnu.org>
12438
12439 * subr.el (set-transient-map): Rename from
12440 set-temporary-overlay-map. Doc fix.
12441
12442 * face-remap.el (text-scale-adjust):
12443 * indent.el (indent-rigidly):
12444 * kmacro.el (kmacro-call-macro):
12445 * minibuffer.el (minibuffer-force-complete):
12446 * repeat.el (repeat):
12447 * simple.el (universal-argument--mode):
12448 * calendar/todo-mode.el (todo-insert-item--next-param):
12449 * progmodes/f90.el (f90-abbrev-start): Callers changed.
12450
12451 * indent.el (indent-rigidly): Use substitute-command-keys.
12452
12453 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12454
12455 * net/eww.el (eww-tag-select): Add text-property to jump to next
12456 select field.
12457 (eww): Add non-supported ftp error.
12458
12459 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12460
12461 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
12462 comments. Handle electric indent after typing `?' and `!'.
12463
12464 2013-12-22 Chong Yidong <cyd@gnu.org>
12465
12466 * faces.el (face-spec-recalc): If the theme specs are not
12467 applicable to a frame, fall back on the defface spec.
12468 This prevents themes from obliterating faces on low-color terminals.
12469
12470 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12471
12472 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12473 after `{'. We need it after block openers, and it doesn't seem
12474 to hurt after hash openers.
12475
12476 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12477
12478 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
12479 extracted from `ruby-smie-rules'.
12480 (ruby--electric-indent-chars): New variable.
12481 (ruby--electric-indent-p): New function.
12482 (ruby-mode): Use `electric-indent-functions' instead of
12483 `electric-indent-chars'.
12484
12485 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12486
12487 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
12488 docstring.
12489 (ruby-smie-rules): Indent plus one level after `=>'.
12490
12491 2013-12-21 Richard Stallman <rms@gnu.org>
12492
12493 * simple.el (newline): Doc fix.
12494
12495 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12496
12497 * net/eww.el (eww-list-histories, eww-list-histories)
12498 (eww-history-browse, eww-history-quit, eww-history-kill)
12499 (eww-history-mode-map, eww-history-mode): New command and
12500 functions to list browser histories.
12501 (eww-form-text): Support text form with disabled
12502 and readonly attributes.
12503 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
12504
12505 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12506
12507 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
12508 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
12509 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
12510 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
12511 Use `user-error'.
12512 (eww-bookmark-mode-map): Add menu.
12513 (eww-render, eww-mode): Use `setq-local'.
12514 (eww-tool-bar-map): New variable.
12515 (eww-mode): Set `tool-bar-map'.
12516 (eww-view-source): Check for `html-mode' with `fboundp'.
12517
12518 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12519
12520 * net/shr.el (shr--extract-best-source): Don't bug out on audio
12521 elements with text inside. Also remove debugging.
12522
12523 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
12524
12525 * cus-start.el (all): Add ns-use-srgb-colorspace.
12526
12527 2013-12-21 Chong Yidong <cyd@gnu.org>
12528
12529 * custom.el (custom-theme-recalc-face): Do nothing if the face is
12530 undefined. Thus, theme settings for undefined faces do not take
12531 effect until the faces are defined with defface, the same as with
12532 theme variables.
12533
12534 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
12535 (face-spec-reset-face): Don't assign extra properties in temacs.
12536 (face-spec-recalc): Apply X resources too.
12537
12538 2013-12-21 Chong Yidong <cyd@gnu.org>
12539
12540 * faces.el (face-spec-set):
12541 * cus-face.el (custom-theme-set-faces, custom-set-faces):
12542 * custom.el (defface): Doc fixes (Bug#16203).
12543
12544 * indent.el (indent-rigidly-map): Add docstring, and move commands
12545 into named functions.
12546 (indent-rigidly-left, indent-rigidly-right)
12547 (indent-rigidly-left-to-tab-stop)
12548 (indent-rigidly-right-to-tab-stop): New functions. Decide on
12549 indentation direction based on bidi direction, and accumulate
12550 sequential commands in a single undo boundary.
12551 (indent-rigidly--pop-undo): New utility function.
12552
12553 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
12554
12555 * faces.el (read-face-name): Require crm.el when using crm-separator.
12556
12557 2013-12-20 Daniel Colascione <dancol@dancol.org>
12558
12559 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
12560 so that we don't reflow comments into the shebang line.
12561
12562 2013-12-20 Juri Linkov <juri@jurta.org>
12563
12564 * saveplace.el (save-place-to-alist): Add `dired-filename' as
12565 a position when `dired-directory' is non-nil. Check integer
12566 positions with `integerp'.
12567 (toggle-save-place, save-places-to-alist): Add check for
12568 `dired-directory'.
12569 (save-place-find-file-hook): Check integer positions with
12570 `integerp'.
12571 (save-place-dired-hook): Use `dired-goto-file' when
12572 `dired-filename' is found in the assoc list. Check integer
12573 positions with `integerp'.
12574 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
12575
12576 * dired.el (dired-initial-position-hook): Rename back from
12577 `dired-initial-point-hook'.
12578 (dired-initial-position): Rename `dired-initial-point-hook' to
12579 `dired-initial-position-hook'.
12580 (dired-file-name-at-point): Doc fix. (Bug#15329)
12581
12582 2013-12-20 Juri Linkov <juri@jurta.org>
12583
12584 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
12585 (read-regexp-suggestions): New function.
12586 (read-regexp): Use `read-regexp-defaults-function' to get default values.
12587 Use `read-regexp-suggestions'. Add non-empty default to history
12588 for empty input.
12589 (occur-read-regexp-defaults-function): Remove function.
12590 (occur-read-primary-args): Use `regexp-history-last' instead of
12591 `occur-read-regexp-defaults-function'.
12592
12593 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
12594 (hi-lock-line-face-buffer, hi-lock-face-buffer)
12595 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
12596 `hi-lock-read-regexp-defaults-function'. Doc fix.
12597 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
12598 with `find-tag-default-as-symbol-regexp'. Doc fix.
12599 (hi-lock-read-regexp-defaults): Remove function.
12600 (hi-lock-regexp-okay): Add check for null.
12601
12602 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
12603 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
12604
12605 * subr.el (find-tag-default-as-symbol-regexp): New function.
12606 (find-tag-default-as-regexp): Move symbol regexp formatting to
12607 `find-tag-default-as-symbol-regexp'.
12608
12609 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
12610
12611 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
12612 (Bug#14179)
12613
12614 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12615
12616 * calendar/todo-mode.el: New implementation of item insertion
12617 commands and key bindings.
12618 (todo-key-prompt): New face.
12619 (todo-insert-item): New command.
12620 (todo-insert-item--parameters): New defconst, replacing defvar
12621 todo-insertion-commands-args-genlist.
12622 (todo-insert-item--param-key-alist): New defconst, replacing
12623 defvar todo-insertion-commands-arg-key-list.
12624 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12625 (todo-insert-item--argsleft, todo-insert-item--apply-args)
12626 (todo-insert-item--next-param): New functions.
12627 (todo-insert-item--args, todo-insert-item--argleft)
12628 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
12629 New variables.
12630 (todo-key-bindings-t): Change binding of "i" from
12631 todo-insertion-map to todo-insert-item.
12632 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
12633 (todo-insertion-command-name, todo-insertion-commands-names)
12634 (todo-define-insertion-command, todo-insertion-commands)
12635 (todo-insertion-key-bindings, todo-insertion-map): Remove.
12636
12637 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12638
12639 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
12640 (todo-toggle-item-highlighting): Use eval-and-compile instead of
12641 eval-when-compile.
12642 (todo-move-category): Allow choosing a non-existing todo file to
12643 move the category to, and create that file.
12644 (todo-default-priority): New user option.
12645 (todo-set-item-priority): Use it.
12646 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
12647 (desktop-restore-file-buffer): Declare.
12648 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
12649 (todo-modes-set-2): Locally set desktop-save-buffer to
12650 todo-desktop-save-buffer.
12651 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
12652 (auto-mode-alist): Add autoload cookie.
12653
12654 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
12655
12656 * emacs-lisp/subr-x.el: Renamed from helpers.el.
12657 helpers.el was a poor choice of name.
12658 (string-remove-prefix): New function.
12659 (string-remove-suffix): New function.
12660
12661 2013-12-20 Martin Rudalics <rudalics@gmx.at>
12662
12663 Fix assignment for new window total sizes.
12664 * window.el (window--pixel-to-size): Remove function.
12665 (window--pixel-to-total-1, window--pixel-to-total):
12666 Fix calculation of new total sizes.
12667
12668 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
12669
12670 * comint.el (comint-output-filter): Fix rear-nonsticky property
12671 placement (Bug#16010).
12672
12673 2013-12-20 Chong Yidong <cyd@gnu.org>
12674
12675 * faces.el (read-color): Minor fix for completion function.
12676
12677 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
12678
12679 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
12680 New option. (Bug#16182)
12681 (ruby-smie--indent-to-stmt-p): Use it.
12682 (ruby-smie-rules): Revert the logic in the handling of `when'.
12683 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12684 (ruby-deep-arglist, ruby-deep-indent-paren)
12685 (ruby-deep-indent-paren-style): Update docstrings to note that the
12686 vars don't have any effect with SMIE.
12687
12688 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
12689
12690 * calc/calc.el (calc-enter, calc-pop): Use the variable
12691 `calc-context-sensitive-enter'.
12692
12693 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694
12695 * net/shr.el (shr-insert): Protect against infloops in degenerate
12696 tables.
12697
12698 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12699
12700 * progmodes/octave.el (octave): Add link to manual and octave
12701 homepage.
12702 (octave-mode-menu): Link to octave-mode manual.
12703
12704 2013-12-20 Leo Liu <sdl.web@gmail.com>
12705
12706 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
12707 insertion using skeleton-end-newline. (Bug#16138)
12708
12709 2013-12-20 Juri Linkov <juri@jurta.org>
12710
12711 * replace.el (occur-engine): Use `add-face-text-property'
12712 to add the face property to matches and titles. (Bug#14645)
12713
12714 * hi-lock.el (hi-green): Use lighter color "light green" closer to
12715 the palette of other hi-lock colors.
12716 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
12717
12718 2013-12-19 Juri Linkov <juri@jurta.org>
12719
12720 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
12721 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
12722 (minibuffer-history-symbol): Move variable declaration closer to
12723 its usage.
12724
12725 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
12726 (Bug#14785)
12727
12728 2013-12-19 Juri Linkov <juri@jurta.org>
12729
12730 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
12731 New function.
12732 (log-edit-hook): Add it to :options. (Bug#16170)
12733
12734 2013-12-19 Juri Linkov <juri@jurta.org>
12735
12736 * simple.el (eval-expression-print-format): Don't check for
12737 command names and the last command. Always display additional
12738 formats of the integer result in the echo area, and insert them
12739 to the current buffer only with a zero prefix arg.
12740 Display character when char-displayable-p is non-nil.
12741 (eval-expression): With a zero prefix arg, set `print-length' and
12742 `print-level' to nil, and insert the integer values from
12743 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
12744
12745 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
12746 `eval-last-sexp-arg-internal'. Doc fix.
12747 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
12748 `eval-last-sexp-print-value'. Doc fix.
12749 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
12750 Set `print-length' and `print-level' to nil when arg is zero.
12751 (eval-last-sexp): Doc fix.
12752 (eval-defun-2): Print the integer values from
12753 `eval-expression-print-format' at the end.
12754
12755 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
12756 values from `eval-expression-print-format' at the end.
12757
12758 * ielm.el (ielm-eval-input): Print the integer
12759 values from `eval-expression-print-format' at the end.
12760
12761 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
12762
12763 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
12764 2013-12-11T19:01:44Z!tzz@lifelogs.com.
12765
12766 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
12769 (hl-line-highlight, global-hl-line-highlight): Use it.
12770 (hl-line-overlay): Use defvar-local.
12771
12772 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
12773
12774 * term/ns-win.el: Require dnd.
12775 (global-map): Remove drag items.
12776 (ns-insert-text, ns-set-foreground-at-mouse)
12777 (ns-set-background-at-mouse):
12778 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
12779 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
12780 New functions.
12781
12782 2013-12-19 Glenn Morris <rgm@gnu.org>
12783
12784 * emacs-lisp/ert.el (ert-select-tests):
12785 Fix string/symbol mixup. (Bug#16121)
12786
12787 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12788
12789 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
12790 keywords to their parent.
12791
12792 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12793
12794 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
12795 first arg to be a string (fixed dead code), or an operator symbol.
12796 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
12797 operator symbols.
12798 (ruby-smie-rules): Remove parent token check in the `.' clause, it
12799 did nothing. Don't respond to `(:after ".")', it will be called
12800 with :before anyway. Remove the ` @ ' rule, it didn't seem to
12801 change anything. Only return indentation for binary operators
12802 when they are hanging. De-dent opening paren when its parent is
12803 `.', otherwise it looks bad when the dot is not at bol or eol
12804 (bug#16182).
12805
12806 2013-12-19 Juri Linkov <juri@jurta.org>
12807
12808 * replace.el (query-replace-read-args): Split a non-negative arg
12809 and a negative arg into separate elements.
12810 (query-replace, query-replace-regexp, replace-string)
12811 (replace-regexp): Add arg `backward'. Doc fix.
12812 (replace-match-maybe-edit): When new arg `backward' is non-nil,
12813 move point to the beginning of the match.
12814 (replace-search, replace-highlight): Use new arg `backward'
12815 to set the value of `isearch-forward'.
12816 (perform-replace): Add arg `backward' and use it to perform
12817 replacement backward. (Bug#14979)
12818
12819 * isearch.el (isearch-query-replace): Use a negative prefix arg
12820 to call `perform-replace' with a non-nil arg `backward'.
12821
12822 2013-12-18 Juri Linkov <juri@jurta.org>
12823
12824 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
12825 to the default list. Move `log-edit-show-files' to the end.
12826 Add more available functions to options.
12827 (log-edit): Move default specific settings to
12828 `log-edit-insert-message-template'. Don't move point.
12829 (log-edit-insert-message-template): New function.
12830 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
12831 (Bug#16170)
12832
12833 2013-12-18 Juri Linkov <juri@jurta.org>
12834
12835 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
12836 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
12837
12838 2013-12-18 Leo Liu <sdl.web@gmail.com>
12839
12840 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
12841 (Bug#16186)
12842
12843 2013-12-18 Eli Zaretskii <eliz@gnu.org>
12844
12845 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
12846 formats for displaying file sizes when the -s switch is given.
12847 Instead, compute a separate format for displaying the size in
12848 blocks, which is displayed in addition to the "regular" size.
12849 When -h is given in addition to -s, produce size in blocks in
12850 human-readable form as well. (Bug#16179)
12851
12852 2013-12-18 Tassilo Horn <tsdh@gnu.org>
12853
12854 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12855 Reference tables with ~\ref{...} instead of only \ref{...}.
12856
12857 2013-12-18 Chong Yidong <cyd@gnu.org>
12858
12859 * cus-edit.el (custom-magic-alist): Fix "themed" description
12860 (Bug#14348).
12861
12862 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
12863 is non-nil, do not create a new entry in the symbol's theme-value
12864 or theme-face property; update theme-settings only (Bug#14664).
12865 (custom-available-themes): Doc fix.
12866
12867 * cus-theme.el (custom-new-theme-mode-map): Add bindings
12868 (Bug#15674).
12869
12870 * replace.el (occur-engine): Avoid infloop (Bug#7593).
12871
12872 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
12873
12874 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
12875 (Bug#13914).
12876
12877 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12878
12879 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
12880
12881 2013-12-18 Glenn Morris <rgm@gnu.org>
12882
12883 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
12884 * cus-start.el (load-prefer-newer): New option.
12885
12886 2013-12-18 Le Wang <l26wang@gmail.com>
12887
12888 * comint.el (comint-previous-matching-input-from-input):
12889 Retain point (Bug#13404).
12890
12891 2013-12-18 Chong Yidong <cyd@gnu.org>
12892
12893 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
12894
12895 2013-12-18 Glenn Morris <rgm@gnu.org>
12896
12897 * mail/emacsbug.el (report-emacs-bug):
12898 Only mention enable-multibyte-characters if non-standard.
12899
12900 2013-12-17 Juri Linkov <juri@jurta.org>
12901
12902 * arc-mode.el (archive-extract-by-file): Check if directory exists
12903 before deletion to not show irrelevant errors if it doesn't exist.
12904
12905 2013-12-17 Juri Linkov <juri@jurta.org>
12906
12907 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
12908 (Bug#14751)
12909
12910 * net/eww.el (browse-web): Add alias to `eww'.
12911 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
12912 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
12913
12914 * net/browse-url.el (browse-url-browser-function): Move `eww'
12915 closer to similar functions.
12916
12917 * startup.el (fancy-startup-screen, fancy-about-screen):
12918 Set browse-url-browser-function to eww-browse-url locally.
12919 (Bug#14751)
12920
12921 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * window.el (window--pixel-to-total): Remove unused `mini' var.
12924 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
12925 (split-window): Remove unused `new' var.
12926 (window--display-buffer): Remove unused `frame' and `delta' vars.
12927 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
12928 and display-width'.
12929
12930 2013-12-17 Martin Rudalics <rudalics@gmx.at>
12931
12932 * dired.el (dired-mark-pop-up):
12933 * register.el (register-preview): Don't bind
12934 split-height-threshold here since it's now done in
12935 display-buffer-below-selected.
12936
12937 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
12938
12939 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
12940 xterm-rgb-convert-to-16bit.
12941 (rxvt-register-default-colors): Standardize with
12942 xterm-register-default-colors (Bug#14078).
12943
12944 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
12945
12946 * simple.el (kill-region): Pass mark first, then point, so that
12947 kill-append works right (Bug#12819).
12948 (copy-region-as-kill, kill-ring-save): Likewise.
12949
12950 2013-12-17 Leo Liu <sdl.web@gmail.com>
12951
12952 * net/rcirc.el (rcirc-add-face):
12953 * eshell/em-prompt.el (eshell-emit-prompt):
12954 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
12955 (Bug#16167)
12956
12957 2013-12-17 Chong Yidong <cyd@gnu.org>
12958
12959 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
12960 Suggested by Xue Fuqiao.
12961
12962 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12963
12964 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
12965
12966 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * net/shr.el (shr-insert-document): Remove unused var
12969 `shr-preliminary-table-render'.
12970 (shr-rescale-image): Remove unused arg `force'.
12971 (shr-put-image): Update calls accordingly.
12972 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
12973
12974 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12975
12976 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
12977 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
12978 :close-all, to see which indentation method to use (Bug#16116).
12979 (smie-rules-function): Document the method :close-all.
12980
12981 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12982
12983 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
12984
12985 * net/eww.el (eww-display-html): If we can't find the anchor we're
12986 looking for, then go to point-min.
12987
12988 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
12989
12990 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
12991 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
12992 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
12993 Expand dir too, in case it's relative.
12994
12995 2013-12-16 Juri Linkov <juri@jurta.org>
12996
12997 * desktop.el (desktop-auto-save-timeout): Change default to
12998 `auto-save-timeout'. Doc fix.
12999 (desktop-save): Skip the timestamp in desktop-saved-frameset
13000 when checking for auto-save changes.
13001 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
13002 `desktop-auto-save' is called repeatedly by the idle timer.
13003 (desktop-auto-save-set-timer): Replace `run-with-timer' with
13004 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
13005 (Bug#15331)
13006
13007 2013-12-16 Juri Linkov <juri@jurta.org>
13008
13009 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
13010 (Bug#16035)
13011 (isearch-pre-command-hook): Check `this-command' for symbolp.
13012
13013 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
13016
13017 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
13018
13019 * progmodes/cfengine.el (cfengine3--current-word): Remove.
13020 (cfengine3--current-function): Bring in the current-function
13021 functionality from `cfengine3--current-word'.
13022 (cfengine3-completion-function): Bring in the
13023 bounds-of-current-word functionality from
13024 `cfengine3--current-word'.
13025
13026 2013-12-16 Martin Rudalics <rudalics@gmx.at>
13027
13028 * window.el (display-buffer-below-selected):
13029 Bind split-height-threshold to 0 as suggested by Juri Linkov.
13030
13031 2013-12-16 Leo Liu <sdl.web@gmail.com>
13032
13033 * progmodes/compile.el (compile-goto-error): Do not push-mark.
13034 Remove NOMSG arg and all uses changed.
13035
13036 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
13039 (cua--deactivate-rectangle): Don't deactivate the mark.
13040 (cua-set-rectangle-mark): Don't set mark-active since
13041 cua--activate-rectangle already does it for us.
13042 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13043 non-rectangular region.
13044
13045 * emulation/cua-base.el (cua-repeat-replace-region):
13046 Use with-current-buffer.
13047
13048 * net/gnutls.el: Use cl-lib.
13049 (gnutls-negotiate): `mapcan' -> cl-mapcan.
13050
13051 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13052
13053 * emacs-lisp/package.el (package-built-in-p): Support both
13054 built-in and the package.el converted package descriptions.
13055 (package-show-package-list): Allow keywords.
13056 (package-keyword-button-action): Use it instead of
13057 `finder-list-matches'.
13058 (package-menu-filter-interactive): Interactive filtering (by
13059 keyword) function.
13060 (package-menu--generate): Support keywords and change keymappings
13061 and headers when they are given.
13062 (package--has-keyword-p): Helper function.
13063 (package-menu--refresh): Use it.
13064 (package--mapc): Helper function.
13065 (package-all-keywords): Use it.
13066 (package-menu-mode-map): Set up menu items and keybindings to
13067 provide a filtering UI.
13068
13069 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13070
13071 * net/gnutls.el (gnutls-verify-error): New defcustom to control
13072 the behavior when a certificate fails validation. Defaults to
13073 old behavior: never abort, just warn.
13074 (gnutls-negotiate): Use it.
13075
13076 2013-12-14 Martin Rudalics <rudalics@gmx.at>
13077
13078 * window.el (display-buffer-below-selected): Never split window
13079 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
13080
13081 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
13082
13083 * emacs-lisp/package.el (package--prepare-dependencies): New function.
13084 (package-buffer-info): Use it (bug#15108).
13085
13086 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * icomplete.el (icomplete-completions): Make sure the prefix is already
13089 displayed elsewhere before hiding it (bug#16219).
13090
13091 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
13092
13093 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
13094 open-paren tokens when preceded by a open-paren, too.
13095 (ruby-smie-rules): Handle virtual indentation after open-paren
13096 tokens specially. If there is code between it and eol, return the
13097 column where is starts (Bug#16118).
13098
13099 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13100
13101 * progmodes/cfengine.el: Fix `add-hook' doc.
13102 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
13103 (cfengine3--current-word): Fix parameters.
13104 (cfengine3-make-syntax-cache): Simplify further.
13105 (cfengine3-completion-function, cfengine3--current-function):
13106 Use `assq' for symbols.
13107 (cfengine3--current-function): Fix `cfengine3--current-word' call.
13108
13109 2013-12-13 Glenn Morris <rgm@gnu.org>
13110
13111 * loadup.el (load-path): Warn if site-load or site-init changes it.
13112 No more need to reset it when bootstrapping.
13113
13114 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13115
13116 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
13117 locations for cf-promises.
13118 (cfengine-mode-syntax-functions-regex): New caching variable.
13119 (cfengine3-fallback-syntax): Fallback syntax for cases where
13120 cf-promises doesn't run.
13121 (cfengine3--current-word): Reimplement using
13122 `cfengine-mode-syntax-functions-regex'.
13123 (cfengine3-completion-function, cfengine3--current-function):
13124 Use `cfengine3-make-syntax-cache' directly.
13125 (cfengine3-clear-syntax-cache): New function.
13126 (cfengine3-make-syntax-cache): Simplify and create
13127 `cfengine-mode-syntax-functions-regex' on demand.
13128 (cfengine3-format-function-docstring): Don't call
13129 `cfengine3-make-syntax-cache' explicitly.
13130
13131 2013-12-13 Martin Rudalics <rudalics@gmx.at>
13132
13133 Fix windmove-find-other-window broken after pixelwise resizing
13134 (Bug#16017).
13135 * windmove.el (windmove-other-window-loc): Revert change from
13136 2013-12-04.
13137 (windmove-find-other-window): Call window-in-direction.
13138 * window.el (window-in-direction): New arguments SIGN, WRAP and
13139 MINI to emulate original windmove-find-other-window behavior.
13140
13141 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
13142
13143 * simple.el (blink-matching--overlay): New variable.
13144 (blink-matching-open): Instead of moving point, highlight the
13145 matching paren with an overlay
13146 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13147
13148 * faces.el (paren-showing-faces, show-paren-match)
13149 (show-paren-mismatch): Move from paren.el.
13150
13151 2013-12-13 Leo Liu <sdl.web@gmail.com>
13152
13153 * indent.el (indent-region): Disable progress reporter in
13154 minibuffer. (Bug#16108)
13155
13156 * bindings.el (visual-order-cursor-movement): Fix version.
13157
13158 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13159
13160 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13161 Also match after beginning of line.
13162 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13163 files. Thanks to Russell Sim. (Bug#15378)
13164
13165 2013-12-13 Juri Linkov <juri@jurta.org>
13166
13167 * simple.el <Keypad support>: Remove key bindings duplicated
13168 with bindings.el. (Bug#14397)
13169
13170 2013-12-13 Juri Linkov <juri@jurta.org>
13171
13172 * comint.el (comint-mode-map): Replace `delete-char' with
13173 `delete-forward-char'. (Bug#16109)
13174
13175 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13176
13177 * progmodes/python.el (python-indent-calculate-indentation):
13178 Fix de-denters cornercase. (Bug#15731)
13179
13180 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13181
13182 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13183 (advice--make): Pay attention to `depth'.
13184 (advice--make-1): Don't autoload commands eagerly.
13185 * emacs-lisp/elp.el (elp-instrument-function):
13186 * emacs-lisp/trace.el (trace-function-internal):
13187 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13188
13189 * iswitchb.el (iswitchb-mode): Don't belittle ido.
13190
13191 2013-12-12 Eli Zaretskii <eliz@gnu.org>
13192
13193 * term/w32-win.el (w32-handle-dropped-file):
13194 * startup.el (normal-top-level):
13195 * net/browse-url.el (browse-url-file-url):
13196 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13197 decode file names using 'utf-8' rather than
13198 file-name-coding-system.
13199
13200 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13201
13202 * progmodes/python.el (python-indent-context)
13203 (python-indent-calculate-indentation): Fix auto-identation
13204 behavior for comment blocks. (Bug#15916)
13205
13206 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13207
13208 * progmodes/python.el (python-indent-calculate-indentation):
13209 When determining indentation, don't treat "return", "pass", etc., as
13210 operators when they are just string constituents. (Bug#15812)
13211
13212 2013-12-12 Juri Linkov <juri@jurta.org>
13213
13214 * uniquify.el (uniquify-buffer-name-style): Change default to
13215 `post-forward-angle-brackets'.
13216
13217 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13218 `uniquify'. Change default to `post-forward-angle-brackets'.
13219
13220 2013-12-11 Glenn Morris <rgm@gnu.org>
13221
13222 * emacs-lisp/package.el (finder-list-matches):
13223 Autoload rather than falsely declaring.
13224
13225 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
13226
13227 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13228 (eww-mode-map): Use them.
13229
13230 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13231
13232 * window.el (display-buffer-in-side-window): Fix doc-string
13233 (Bug#16115).
13234
13235 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13236
13237 * vc/vc-git.el: Silence byte-compiler warnings.
13238 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13239 (log-edit-set-header): Declare.
13240
13241 2013-12-11 Eli Zaretskii <eliz@gnu.org>
13242
13243 * Makefile.in (custom-deps, finder-data): Run output file names
13244 through unmsys--file-name. (Bug#16099)
13245
13246 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
13247
13248 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13249 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13250
13251 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13252 instead of deleting the selection "by hand" (bug#16098).
13253 Rely on insert-for-yank to yank rectangles.
13254 (cua-highlight-region-shift-only): Mark obsolete.
13255 (cua-mode): Don't enable/disable transient-mark-mode,
13256 shift-select-mode (cua-mode works both with and without them), and
13257 pc-selection-mode (obsolete).
13258 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13259 (cua--deactivate-rectangle): Deactivate it.
13260
13261 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13262 (delete-selection-helper): Make sure yank starts at the top of the
13263 deleted region.
13264 (minibuffer-keyboard-quit): Use region-active-p.
13265
13266 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13267
13268 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13269 to `delete' (bug#16109).
13270
13271 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13272
13273 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13274 info manual and show keybindings and set `:group' keyword.
13275
13276 2013-12-11 Juri Linkov <juri@jurta.org>
13277
13278 * delsel.el (delete-active-region): Let-bind `this-command'
13279 to prevent `kill-region' from changing its original value.
13280 (delete-selection-helper): Handle `overwrite-mode' for the type
13281 `kill' exactly the same way as for the type `t'.
13282 (insert-char, quoted-insert, reindent-then-newline-and-indent):
13283 Support more commands. (Bug#13312)
13284
13285 2013-12-11 Juri Linkov <juri@jurta.org>
13286
13287 * bindings.el: Map kp keys to non-kp keys systematically
13288 with basic modifiers control, meta and shift. (Bug#14397)
13289
13290 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13291
13292 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13293 "Close browser" menu items. Fix wrong function of "List
13294 bookmarks".
13295
13296 2013-12-11 Juri Linkov <juri@jurta.org>
13297
13298 * misearch.el (multi-isearch-buffers): Set the value of
13299 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13300 arg of isearch-forward to t.
13301 (multi-isearch-buffers-regexp): Set the value of
13302 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13303 arg of isearch-forward-regexp to t.
13304 (multi-isearch-files): Set the value of
13305 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13306 arg of isearch-forward to t.
13307 (multi-isearch-files-regexp): Set the value of
13308 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13309 arg of isearch-forward-regexp to t. (Bug#16035)
13310
13311 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13312 arg of isearch-forward to t.
13313 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13314 arg of isearch-forward-regexp to t.
13315 (dired-isearch-filter-filenames): Remove unnecessary check for
13316 `dired-isearch-filenames'.
13317
13318 * comint.el (comint-history-isearch-backward):
13319 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13320 (comint-history-isearch-backward-regexp):
13321 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13322
13323 2013-12-10 Eli Zaretskii <eliz@gnu.org>
13324
13325 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13326 unmsys--file-name. (Bug#16099)
13327
13328 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
13329
13330 * emacs-lisp/package.el (package-keyword-button-action):
13331 Remove finder.el require dependency.
13332
13333 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
13334
13335 * emacs-lisp/package.el: Require finder.el.
13336 (describe-package-1): Add keyword buttons.
13337 (package-make-button): New convenience function.
13338 (package-keyword-button-action): Keyword button action using
13339 `finder-list-matches'.
13340
13341 2013-12-09 Eli Zaretskii <eliz@gnu.org>
13342
13343 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13344 last commit.
13345
13346 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
13347
13348 * autorevert.el (auto-revert-notify-add-watch): Do not handle
13349 symlinked files.
13350
13351 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13352
13353 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13354 after the end of a percent literal.
13355
13356 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
13357
13358 * progmodes/ruby-mode.el (ruby-forward-string): Document.
13359 Handle caret-delimited strings (Bug#16079).
13360
13361 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13362
13363 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13364 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13365 `ruby-parse-partial' (Bug#16078).
13366
13367 2013-12-09 Leo Liu <sdl.web@gmail.com>
13368
13369 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
13370
13371 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
13372
13373 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13374 (js-switch-indent-offset): New option.
13375 (js--proper-indentation): Use it. And handle the case when
13376 "default" is actually a key in an object literal.
13377 (js--same-line): New function.
13378 (js--multi-line-declaration-indentation): Use it.
13379 (js--indent-in-array-comp, js--array-comp-indentation):
13380 New functions.
13381 (js--proper-indentation): Use them, to handle array comprehension
13382 continuations.
13383
13384 2013-12-08 Leo Liu <sdl.web@gmail.com>
13385
13386 * progmodes/flymake.el (flymake-highlight-line): Re-write.
13387 (flymake-make-overlay): Remove arg MOUSE-FACE.
13388 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13389
13390 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13391
13392 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13393 New function.
13394 (redisplay-highlight-region-function): Use it.
13395
13396 * emulation/cua-base.el (cua--explicit-region-start)
13397 (cua--last-region-shifted): Remove.
13398 (cua--deactivate): Use deactivate-mark.
13399 (cua--pre-command-handler-1): Don't handle shift-selection.
13400 (cua--post-command-handler-1): Don't change transient-mark-mode.
13401 (cua--select-keymaps): Use region-active-p rather than
13402 cua--explicit-region-start or cua--last-region-shifted.
13403 (cua-mode): Enable shift-select-mode.
13404
13405 2013-12-08 Leo Liu <sdl.web@gmail.com>
13406
13407 * progmodes/flymake.el (flymake-popup-current-error-menu):
13408 Rename from flymake-display-err-menu-for-current-line. Reimplement.
13409 (flymake-posn-at-point-as-event, flymake-popup-menu)
13410 (flymake-make-emacs-menu): Remove. (Bug#16077)
13411
13412 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13413
13414 * rect.el (rectangle-mark-mode): Activate mark even if
13415 transient-mark-mode is off (bug#16066).
13416 (rectangle--highlight-for-redisplay): Fix boundary condition when point
13417 is > mark and at bolp.
13418
13419 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
13420 (region-extract-function): Use it.
13421 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13422 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
13423 Delete functions.
13424 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
13425 kill-ring-save, kill-region, delete-char, delete-forward-char.
13426 Ignore self-insert-iso.
13427
13428 * emulation/cua-gmrk.el (cua--init-global-mark):
13429 Ignore `self-insert-iso'.
13430
13431 * emulation/cua-base.el (cua--prefix-copy-handler)
13432 (cua--prefix-cut-handler): Rely on region-extract-function rather than
13433 checking cua--rectangle.
13434 (cua-delete-region): Use region-extract-function.
13435 (cua-replace-region): Delete function.
13436 (cua-copy-region, cua-cut-region): Obey region-extract-function.
13437 (cua--pre-command-handler-1): Don't do the delete-selection thing.
13438 (cua--self-insert-char-p): Ignore `self-insert-iso'.
13439 (cua--init-keymaps): Don't remap delete-selection commands.
13440 (cua-mode): Use delete-selection-mode instead of rolling our own
13441 (bug#16085).
13442
13443 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
13444 Obey region-extract-function.
13445
13446 Make registers and delete-selection-mode work on rectangles.
13447 * register.el (describe-register-1): Don't modify the register's value.
13448 (copy-to-register): Obey region-extract-function.
13449 * delsel.el (delete-active-region): Obey region-extract-function.
13450
13451 2013-12-08 Leo Liu <sdl.web@gmail.com>
13452
13453 * progmodes/flymake.el (flymake, flymake-error-bitmap)
13454 (flymake-warning-bitmap, flymake-fringe-indicator-position)
13455 (flymake-compilation-prevents-syntax-check)
13456 (flymake-start-syntax-check-on-newline)
13457 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
13458 (flymake-start-syntax-check-on-find-file, flymake-log-level)
13459 (flymake-xml-program, flymake-master-file-dirs)
13460 (flymake-master-file-count-limit)
13461 (flymake-allowed-file-name-masks): Relocate.
13462 (flymake-makehash, flymake-float-time)
13463 (flymake-replace-regexp-in-string, flymake-split-string)
13464 (flymake-get-temp-dir): Remove.
13465 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
13466 (flymake-current-row, flymake-selected-frame)
13467 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
13468 related functions. (Bug#16077)
13469
13470 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
13471
13472 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
13473
13474 2013-12-07 Tassilo Horn <tsdh@gnu.org>
13475
13476 * help-fns.el (describe-function-1): Use new advice-* functions
13477 rather than old ad-* functions. Fix function type description and
13478 source links for advised functions and subrs.
13479
13480 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13481
13482 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
13483
13484 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
13485
13486 * progmodes/compile.el (compilation-start):
13487 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
13488
13489 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13490 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
13491
13492 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13493
13494 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13495 Touch up the last change.
13496
13497 2013-12-06 Leo Liu <sdl.web@gmail.com>
13498
13499 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
13500 (inferior-octave-startup): Always use "octave> " for prompt.
13501 (octave-goto-function-definition)
13502 (octave-sync-function-file-names)
13503 (octave-find-definition-default-filename): Remove redundant backquotes.
13504
13505 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13506
13507 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
13508 syntax for `?'.
13509 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
13510 where appropriate already.
13511 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
13512 end of method names (Bug#15874).
13513
13514 2013-12-06 Juri Linkov <juri@jurta.org>
13515
13516 * isearch.el (isearch--saved-overriding-local-map):
13517 New internal variable.
13518 (isearch-mode): Set it to the initial value of
13519 `overriding-terminal-local-map'.
13520 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
13521 with `isearch--saved-overriding-local-map'. (Bug#16035)
13522
13523 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13524
13525 * progmodes/octave.el (inferior-octave-completion-table):
13526 Turn back into function, use `completion-table-with-cache'
13527 (Bug#11906). Update all references.
13528
13529 * minibuffer.el (completion-table-with-cache): New function.
13530
13531 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
13532
13533 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
13534
13535 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
13536
13537 * net/eww.el (eww-current-source): New variable to store page
13538 source.
13539 (eww-display-html, eww-mode, eww-save-history)
13540 (eww-restore-history): Use it.
13541 (eww-view-source): New command to view page source.
13542 Opportunistically uses `html-mode' to highlight the buffer.
13543 (eww-mode-map): Install it.
13544
13545 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
13546
13547 * net/dbus.el (dbus-unregister-service)
13548 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
13549 Fix docstring.
13550 (dbus-unregister-service): Skip :serial entries in
13551 `dbus-registered-objects-table'.
13552 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
13553
13554 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
13555
13556 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13557 around keywords with extra `split-string' argument.
13558
13559 2013-12-04 Martin Rudalics <rudalics@gmx.at>
13560
13561 * windmove.el (windmove-other-window-loc): Handle navigation
13562 between windows (excluding the minibuffer window - Bug#16017).
13563
13564 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
13565
13566 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
13567 in D-Bus type syntax.
13568 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
13569 preserve unibyte strings. (Bug#16048)
13570
13571 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13572
13573 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
13574 Call force-mode-line-update is the proper buffer (bug#16042).
13575
13576 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
13577
13578 * vc/log-edit.el (log-edit-add-new-comment): Rename to
13579 `log-edit-remember-comment', make argument optional. Adjust all
13580 callers.
13581 (log-edit-mode): Add `log-edit-remember-comment' to
13582 `kill-buffer-hook' locally.
13583 (log-edit-kill-buffer): Don't remember comment explicitly since
13584 the buffer is killed anyway.
13585
13586 2013-12-04 Juri Linkov <juri@jurta.org>
13587
13588 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
13589 add-hook and remove-hook for multi-buffer search. (Bug#16035)
13590
13591 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
13592
13593 * notifications.el (notifications-close-notification): Call the
13594 D-Bus method with ID being a `:uint32'. (Bug#16030)
13595
13596 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
13597
13598 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
13599
13600 2013-12-03 Juri Linkov <juri@jurta.org>
13601
13602 * progmodes/compile.el (compilation-start): Rename window alist
13603 entry `no-display-ok' to `allow-no-window'.
13604
13605 * simple.el (shell-command): Add window alist entry
13606 `allow-no-window' to `display-buffer'.
13607 (async-shell-command): Doc fix.
13608
13609 * window.el (display-buffer-no-window): New action function.
13610 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
13611
13612 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13613
13614 * vc/log-edit.el (log-edit-set-header): Extract from
13615 `log-edit-toggle-header'.
13616 (log-edit-extract-headers): Separate the summary, when extracted
13617 from header, from the rest of the message with an empty line.
13618
13619 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
13620 line, if present, to the Summary header.
13621
13622 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
13625 in current-buffer (bug#16029).
13626
13627 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
13628
13629 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
13630 (debugger-mode-map): Bind it.
13631 (debugger--backtrace-base): New function.
13632 (debugger-eval-expression): Use it.
13633 (debugger-frame-number): Skip local vars when present.
13634 (debugger--locals-visible-p, debugger--insert-locals)
13635 (debugger--show-locals, debugger--hide-locals): New functions.
13636
13637 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
13638
13639 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
13640 "LC_ALL".
13641 (tramp-get-remote-locale): New defun.
13642 (tramp-open-connection-setup-interactive-shell): Use it.
13643
13644 2013-12-02 Leo Liu <sdl.web@gmail.com>
13645
13646 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
13647
13648 * progmodes/sh-script.el (sh-shell-process):
13649 * progmodes/octave.el (inferior-octave-process-live-p):
13650 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
13651 (gdb-inferior-io-sentinel):
13652 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
13653
13654 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13655
13656 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
13657 `save-selected-window' to `log-edit-hide-buf'. This makes
13658 `log-edit-show-files' idempotent.
13659 (log-edit-show-files): Mark the new window as dedicated.
13660
13661 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13662
13663 * vc/log-edit.el (log-edit-mode-map): Add binding for
13664 `log-edit-kill-biffer'.
13665 (log-edit-hide-buf): Add a FIXME comment.
13666 (log-edit-add-new-comment): New function, extracted from
13667 `log-edit-done'.
13668 (log-edit-done, log-edit-add-to-changelog): Use it.
13669 (log-edit-kill-buffer): New command.
13670
13671 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13672
13673 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
13674 instead of killing the buffer.
13675
13676 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
13679
13680 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13681
13682 * net/eww.el (eww-form-checkbox-selected-symbol)
13683 (eww-form-checkbox-symbol): New customizable variable.
13684 (eww-form-checkbox, eww-toggle-checkbox):
13685 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
13686
13687 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
13688 (shr--get-media-pref, shr--extract-best-source): New function.
13689 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
13690 no :src tag was specified.
13691
13692 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
13693 (eww-render): Handle `eww-use-external-browser-for-content-type'.
13694 Use \\` to match beginning of string instead of ^.
13695 (eww-browse-with-external-browser): Provide optional URL parameter.
13696 (eww-render): Set `eww-current-title' back to "".
13697
13698 * net/shr.el (shr-tag-video): Display content for video if no
13699 poster is available.
13700 (shr-tag-audio): Add support for <audio> tag.
13701
13702 * net/eww.el (eww-text-input-types): New const.
13703 (eww-process-text-input): Treat input types in
13704 `eww-text-input-types' as text.
13705
13706 * net/shr.el (shr-tag-table): Fix comment typo.
13707
13708 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13709
13710 * net/eww.el (eww-follow-link): New command to avoid reloading
13711 pages when we follow #target links (bug#15243).
13712 (eww-quit): Special mode buffers shouldn't query before exiting.
13713
13714 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13715
13716 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
13717 forms.
13718
13719 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13720
13721 * net/eww.el (eww-restore-history): Update the window title after
13722 moving in the history.
13723 (eww-current-dom): New variable used to save the current DOM.
13724
13725 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
13726
13727 * vc/log-edit.el (log-edit-mode-map): Add binding for
13728 `log-edit-beginning-of-line'.
13729 (log-edit-setup-add-author): New user option.
13730 (log-edit-beginning-of-line): New command.
13731 (log-edit): Move major mode call above the contents setup so that
13732 the local variable values are already applied.
13733 (log-edit): Only insert "Author: " when
13734 `log-edit-setup-add-author' is non-nil.
13735 (log-edit): When SETUP is non-nil, position point after ": "
13736 instead of point-min.
13737
13738 2013-12-01 Glenn Morris <rgm@gnu.org>
13739
13740 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
13741
13742 2013-11-30 Eli Zaretskii <eliz@gnu.org>
13743
13744 * startup.el (fancy-splash-frame): On MS-Windows, trigger
13745 redisplay to make sure the initial frame gets a chance to become
13746 visible. (Bug#16014)
13747
13748 2013-11-30 Martin Rudalics <rudalics@gmx.at>
13749
13750 Support resizing frames and windows pixelwise.
13751 * cus-start.el (frame-resize-pixelwise)
13752 (window-resize-pixelwise): New entries.
13753 * emacs-lisp/debug.el (debug): Use window-total-height instead
13754 of window-total-size.
13755 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
13756 * help.el (describe-bindings-internal): Use help-buffer as
13757 argument for with-help-window.
13758 (temp-buffer-max-width): New option.
13759 (resize-temp-buffer-window, help-window-setup)
13760 (with-help-window): Rewrite.
13761 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
13762 dragging dividers.
13763 * window.el (frame-char-size, window-min-pixel-height)
13764 (window-safe-min-pixel-height, window-safe-min-pixel-width)
13765 (window-min-pixel-width, window-safe-min-pixel-size)
13766 (window-combination-p, window-safe-min-size)
13767 (window-resizable-p, window--size-to-pixel)
13768 (window--pixel-to-size, window--resize-apply-p): New functions.
13769 (window-safe-min-height): Fix doc-string.
13770 (window-size, window-min-size, window--min-size-1)
13771 (window-sizable, window-sizable-p, window--min-delta-1)
13772 (window-min-delta, window--max-delta-1, window-max-delta)
13773 (window--resizable, window--resizable-p, window-resizable)
13774 (window-full-height-p, window-full-width-p, window-at-side-p)
13775 (window--in-direction-2, window-in-direction)
13776 (window--resize-reset-1, window--resize-mini-window)
13777 (window-resize, window-resize-no-error)
13778 (window--resize-child-windows-normal)
13779 (window--resize-child-windows, window--resize-siblings)
13780 (window--resize-this-window, window--resize-root-window)
13781 (window--resize-root-window-vertically)
13782 (adjust-window-trailing-edge, enlarge-window, shrink-window)
13783 (maximize-window, minimize-window, delete-window)
13784 (quit-restore-window, window-split-min-size, split-window)
13785 (balance-windows-2, balance-windows)
13786 (balance-windows-area-adjust, balance-windows-area)
13787 (window--state-get-1, window-state-get, window--state-put-1)
13788 (window--state-put-2, window-state-put)
13789 (display-buffer-record-window, window--display-buffer):
13790 Make functions handle pixelwise sizing of windows.
13791 (display-buffer--action-function-custom-type)
13792 (display-buffer-fallback-action):
13793 Add display-buffer-in-previous-window.
13794 (display-buffer-use-some-window): Resize window to height it had
13795 before.
13796 (fit-window-to-buffer-horizontally): New option.
13797 (fit-frame-to-buffer): Describe new values.
13798 (fit-frame-to-buffer-bottom-margin): Replace with
13799 fit-frame-to-buffer-margins.
13800 (window--sanitize-margin): New function.
13801 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
13802 using window-text-pixel-size.
13803
13804 2013-11-30 Glenn Morris <rgm@gnu.org>
13805
13806 * emacs-lisp/bytecomp.el (byte-compile-form):
13807 Make the `interactive-only' warning like the `obsolete' one.
13808 * comint.el (comint-run):
13809 * files.el (insert-file-literally, insert-file):
13810 * replace.el (replace-string, replace-regexp):
13811 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
13812 (goto-line, insert-buffer, next-line, previous-line):
13813 Tweak `interactive-only' spec.
13814
13815 Stop keeping (most) generated cedet grammar files in the repository.
13816 * Makefile.in (semantic): New.
13817 (compile-main): Depend on semantic.
13818
13819 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
13822 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
13823
13824 * uniquify.el (uniquify-buffer-name-style): Change default.
13825
13826 * loadup.el: Preload "uniquify".
13827
13828 * time.el (display-time-update): Update all mode lines (bug#15999).
13829
13830 * electric.el (electric-indent-mode): Enable by default.
13831 * loadup.el: Preload "electric".
13832
13833 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
13834
13835 * emacs-lisp/helpers.el (string-empty-p): New function.
13836 (string-blank-p): New function.
13837
13838 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
13839
13840 * imenu.el (imenu--index-alist): Add missing dot to the docstring
13841 (Bug#14029).
13842
13843 2013-11-29 Andreas Politz <politza@fh-trier.de>
13844 * imenu.el (imenu--subalist-p): Don't error on non-conses and
13845 allow non-lambda lists as functions.
13846 (imenu--in-alist): Don't recurse into non-subalists.
13847 (imenu): Don't pass function itself as an argument (Bug#14029).
13848
13849 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13850
13851 * progmodes/python.el (python-mode-map): Remove binding for ":".
13852 (python-indent-electric-colon): Remove command.
13853 (python-indent-post-self-insert-function): Integrate the previous code
13854 of python-indent-electric-colon. Make it conditional on
13855 electric-indent-mode.
13856 (python-mode): Add ?: to electric-indent-chars.
13857 Move python-indent-post-self-insert-function to the end of
13858 post-self-insert-hook.
13859
13860 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * doc-view.el (doc-view-goto-page): Update mode-line.
13863
13864 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
13865
13866 2013-11-27 Glenn Morris <rgm@gnu.org>
13867
13868 * international/charprop.el, international/uni-bidi.el:
13869 * international/uni-category.el, international/uni-combining.el:
13870 * international/uni-comment.el, international/uni-decimal.el:
13871 * international/uni-decomposition.el, international/uni-digit.el:
13872 * international/uni-lowercase.el, international/uni-mirrored.el:
13873 * international/uni-name.el, international/uni-numeric.el:
13874 * international/uni-old-name.el, international/uni-titlecase.el:
13875 * international/uni-uppercase.el:
13876 Remove generated files from VCS repository.
13877
13878 2013-11-27 Eli Zaretskii <eliz@gnu.org>
13879
13880 * filenotify.el (file-notify-add-watch): Don't special-case
13881 w32notify when computing the directory to watch.
13882
13883 2013-11-27 Glenn Morris <rgm@gnu.org>
13884
13885 Make bootstrap without generated uni-*.el files possible again.
13886 * loadup.el: Update command-line-args checking for unidata-gen.
13887 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
13888 * composite.el, international/characters.el:
13889 Handle unicode tables being undefined.
13890
13891 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
13892 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
13893 (compile-main): Depend on leim rule.
13894 (leim): New rule.
13895 * loadup.el: Move leim-list.el to leim/ subdirectory.
13896 * startup.el (normal-top-level): No more leim directory.
13897 * international/ja-dic-cnv.el (skkdic-convert):
13898 Disable version-control and autoloads in output files.
13899 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
13900 Disable version-control and autoloads in output files.
13901 * leim/quail: Move here from ../leim.
13902 * leim/quail/hangul.el (hangul-input-method-activate):
13903 Add autoload cookie.
13904 (generated-autoload-load-name): Set file-local value.
13905 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
13906 (generated-autoload-load-name): Set file-local value.
13907
13908 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
13909
13910 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
13911 (eww-add-bookmark): Ask confirmation when add to bookmarks.
13912 (eww-quit): Ask confirmation before quitting eww.
13913
13914 2013-11-26 Eli Zaretskii <eliz@gnu.org>
13915
13916 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
13917 reading output from Diff on MS-Windows and MS-DOS.
13918
13919 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
13920
13921 * emacs-lisp/helpers.el (string-reverse): New function.
13922
13923 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
13926 names on MS Windows, like "/[::1]:".
13927
13928 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
13929 SWITCHES.
13930
13931 2013-11-26 Glenn Morris <rgm@gnu.org>
13932
13933 * progmodes/python.el (python-indent-guess-indent-offset):
13934 Avoid corner-case error. (Bug#15975)
13935
13936 Preload leim-list.el. (Bug#4789)
13937 * loadup.el: Load leim-list.el when found.
13938 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
13939
13940 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
13941
13942 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
13943
13944 * emacs-lisp/helpers.el (string-join): New function.
13945
13946 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
13947
13948 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13949 Mark as obsolete and replace it with a symbol property.
13950 (byte-compile-form): Use new 'interactive-only property.
13951 * comint.el, files.el, replace.el, simple.el:
13952 Apply new 'interactive-only properly.
13953
13954 2013-11-25 Martin Rudalics <rudalics@gmx.at>
13955
13956 * window.el (display-buffer-at-bottom): Make sure that
13957 split-window-sensibly creates the new window on bottom
13958 (Bug#15961).
13959
13960 2013-11-23 David Kastrup <dak@gnu.org>
13961
13962 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
13963 on the conflict markers when available.
13964 (smerge--get-marker): New function.
13965 (smerge-end-re, smerge-base-re): Add subgroup.
13966
13967 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * frame.el (handle-focus-in, handle-focus-out): Add missing
13970 interactive spec.
13971
13972 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
13973
13974 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
13975 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
13976
13977 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13978
13979 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
13980 (gomoku--last-pos): New var.
13981 (gomoku--intangible-chars): New const.
13982 (gomoku--intangible): New function.
13983 (gomoku-mode): Use it. Derive from special-mode.
13984 (gomoku-move-up): Adjust line count.
13985 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
13986 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
13987 Simplify accordingly.
13988
13989 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
13990 Remove blink-cursor code.
13991 (blink-cursor-timer-function, blink-cursor-suspend):
13992 Don't special-case GUIs.
13993 (blink-cursor-mode): Use focus-in/out-hook.
13994
13995 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
13996
13997 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
13998 work when annotation is invisible (Bug#13886).
13999
14000 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
14001
14002 * json.el (json-alist-p): Only return non-nil if the alist has
14003 simple keys (Bug#13518).
14004
14005 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
14006
14007 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
14008 when control-statement is the first statement in a buffer (Bug#15956).
14009
14010 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
14011
14012 * imenu.el (imenu-generic-skip-comments-and-strings):
14013 New option (Bug#15560).
14014 (imenu--generic-function): Use it.
14015
14016 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
14017
14018 * minibuffer.el (completion--in-region-1): Scroll the correct window.
14019 (Bug#13898)
14020
14021 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
14022
14023 * emacs-lisp/helpers.el: Add some string helpers.
14024 (string-trim-left): Removes leading whitespace.
14025 (string-trim-right): Removes trailing whitespace.
14026 (string-trim): Removes leading and trailing whitespace.
14027
14028 * subr.el (string-suffix-p): New function.
14029
14030 2013-11-23 Glenn Morris <rgm@gnu.org>
14031
14032 * progmodes/python.el (python-shell-send-file):
14033 Add option to delete file when done. (Bug#15647)
14034 (python-shell-send-string, python-shell-send-region): Use it.
14035
14036 2013-11-23 Ivan Shmakov <ivan@siamics.net>
14037
14038 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
14039 to set buffer-read-only to t, never to nil. (Bug#15938)
14040
14041 * textmodes/tex-mode.el (latex-noindent-environments):
14042 Add safe-local-variable property. (Bug#15936)
14043
14044 2013-11-23 Glenn Morris <rgm@gnu.org>
14045
14046 * textmodes/enriched.el (enriched-mode): Doc fix.
14047 * emacs-lisp/authors.el (authors-renamed-files-alist):
14048 Add enriched.doc -> enriched.txt.
14049
14050 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
14051
14052 2013-11-22 Leo Liu <sdl.web@gmail.com>
14053
14054 * progmodes/octave.el (inferior-octave-startup): Spit out error
14055 message.
14056
14057 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
14058
14059 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14060 Improve docstring.
14061 Add :version.
14062 (ruby-encoding-magic-comment-style): Add :version.
14063
14064 2013-11-22 Leo Liu <sdl.web@gmail.com>
14065
14066 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
14067 (Bug#15076)
14068 (octave-help-mode): Adapt to change to help-mode-finish to use
14069 derived-mode-p on 2013-09-17.
14070 (inferior-octave-prompt): Also match octave-gui.
14071 (octave-kill-process): Don't ask twice. (Bug#10564)
14072
14073 2013-11-22 Leo Liu <sdl.web@gmail.com>
14074
14075 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
14076 (inferior-octave-startup, inferior-octave-check-process)
14077 (inferior-octave-track-window-width-change)
14078 (octave-completion-at-point, octave-eldoc-function): Use it.
14079 (octave-kill-process): Provide confirmation. (Bug#10564)
14080
14081 2013-11-21 Leo Liu <sdl.web@gmail.com>
14082
14083 * progmodes/octave.el (octave-mode, inferior-octave-mode):
14084 Fix obsolete variable comment-use-global-state.
14085
14086 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14087
14088 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
14089 Add `octave-source-file'.
14090 (octave-source-file): New function. (Bug#15935)
14091
14092 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
14093
14094 * net/eww.el (eww-local-regex): New variable.
14095 (eww): Use it to detect localhost and similar.
14096
14097 2013-11-21 Leo Liu <sdl.web@gmail.com>
14098
14099 Add completion for command `ag'.
14100 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
14101 (pcomplete/ag): New function.
14102 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
14103
14104 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
14107 (bug#14646).
14108 (make-obsolete): Remove interactive spec.
14109
14110 2013-11-21 Glenn Morris <rgm@gnu.org>
14111
14112 * startup.el (command-line-1): Use path-separator with -L.
14113
14114 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
14115
14116 * emacs-lisp/package.el (describe-package-1): Add package archive
14117 to shown fields.
14118
14119 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
14120
14121 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14122 Change default to "# encoding: %s" to differentiate it from the
14123 default Ruby encoding comment template.
14124
14125 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
14126
14127 * ses.el (ses-mode): Doc fix. (Bug#14748)
14128
14129 2013-11-20 Leo Liu <sdl.web@gmail.com>
14130
14131 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
14132
14133 2013-11-19 Dan Nicolaescu <dann@gnu.org>
14134
14135 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14136 when rebase or bisect are in progress.
14137
14138 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
14139
14140 * filenotify.el (file-notify-add-watch): Doc fix.
14141
14142 2013-11-19 Leo Liu <sdl.web@gmail.com>
14143
14144 * obsolete/rcompile.el: Mark obsolete.
14145
14146 * progmodes/compile.el (compilation-start)
14147 (compilation-goto-locus, compilation-find-file):
14148 Pass no-display-ok and handle nil value from display-buffer.
14149 (Bug#13594)
14150
14151 * window.el (display-buffer-alist, display-buffer): Document the
14152 new parameter no-display-ok. Return either a window or nil
14153 but never a non-window value.
14154
14155 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * electric.el (electric-indent-mode-map): Remove.
14158 (electric-indent-mode): Change the global-map instead (bug#15915).
14159
14160 * textmodes/text-mode.el (paragraph-indent-minor-mode):
14161 Use add-function.
14162
14163 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * emacs-lisp/nadvice.el (remove-function): Align with
14166 add-function's behavior.
14167
14168 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14169 (gdb--string-regexp): New constant.
14170 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14171 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14172 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14173 submatch 1.
14174 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14175 Adjust use accordingly.
14176 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14177
14178 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
14179
14180 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14181 interpolation curlies (Bug#15914).
14182
14183 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
14184
14185 * calc/calc.el (calc-context-sensitive-enter): New variable.
14186 (calc-enter): Use `calc-context-sensitive-enter'.
14187
14188 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
14189
14190 * progmodes/cfengine.el: Version bump.
14191 (cfengine-cf-promises): New defcustom to locate cf-promises.
14192 (cfengine3-vartypes): Add new "data" type.
14193 (cfengine3--current-word): New function to get current name-like
14194 word or its bounds.
14195 (cfengine3--current-function): New function to look up a CFEngine
14196 function's definition.
14197 (cfengine3-format-function-docstring): New function.
14198 (cfengine3-make-syntax-cache): New function.
14199 (cfengine3-documentation-function): New function: ElDoc glue.
14200 (cfengine3-completion-function): New function: completion glue.
14201 (cfengine3-mode): Set `compile-command',
14202 `eldoc-documentation-function', and add to
14203 `completion-at-point-functions'.
14204
14205 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
14206
14207 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14208 `tramp-current-connection'.
14209
14210 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
14211
14212 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14213 nil/self/true/false with "end of symbol".
14214
14215 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
14216
14217 * subr.el (version-regexp-alist): Fix a typo.
14218
14219 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
14220
14221 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14222 "en_US.utf8" and "LC_CTYPE" to "".
14223 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14224 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14225
14226 2013-11-15 Leo Liu <sdl.web@gmail.com>
14227
14228 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
14229
14230 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14231
14232 * progmodes/gud.el (ctl-x-map):
14233 Remove C-x SPC binding. (Bug#12342)
14234 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14235
14236 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
14237
14238 * subr.el (version-regexp-alist):
14239 Recognize hg, svn and darcs versions as snapshot versions.
14240
14241 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14242 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14243 (ruby--encoding-comment-required-p): Extract from
14244 `ruby-mode-set-encoding'.
14245 (ruby-mode-set-encoding): Add the ability to always insert an
14246 utf-8 encoding comment. Fix and simplify coding comment update
14247 logic.
14248
14249 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
14250
14251 * net/tramp-gvfs.el (top): Run init code only when
14252 `tramp-gvfs-enabled' is not nil.
14253 (tramp-gvfs-enabled): Check also :system bus.
14254
14255 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 Sync with upstream verilog-mode revision 78e66ba.
14258 * progmodes/verilog-mode.el (verilog-end-of-defun)
14259 (verilog-type-completion, verilog-get-list): Remove unused funcs.
14260 (verilog-get-end-of-defun): Remove unused argument.
14261 (verilog-comment-depth): Remove unused local `e'.
14262 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14263 Don't pass arg to verilog-get-end-of-defun.
14264
14265 2013-11-14 Glenn Morris <rgm@gnu.org>
14266
14267 * obsolete/assoc.el (aget): Prefix dynamic variable.
14268
14269 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14270
14271 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14272
14273 * widget.el, hfy-cmap.el: Remove bogus package version number.
14274
14275 2013-11-13 Glenn Morris <rgm@gnu.org>
14276
14277 * replace.el (replace-eval-replacement):
14278 Try to give more helpful error message. (Bug#15836)
14279
14280 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14281 (archive-7z-update): Avoid custom type mismatches.
14282
14283 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14284
14285 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
14286
14287 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14288 address can be empty.
14289
14290 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14291 Accept nil SWITCHES.
14292 (tramp-gvfs-handle-write-region): Implement APPEND.
14293
14294 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
14295
14296 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14297 binary "|" operator and closing block args delimiter.
14298 Remove FIXME comment referring to Ruby 1.8-only syntax.
14299 (ruby-smie--implicit-semi-p): Not after "|" operator.
14300 (ruby-smie--closing-pipe-p): New function.
14301 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14302 (ruby-smie-rules): Indent after "|".
14303
14304 2013-11-12 Glenn Morris <rgm@gnu.org>
14305
14306 * ps-print.el (ps-face-attribute-list):
14307 Handle anonymous faces. (Bug#15827)
14308
14309 2013-11-12 Martin Rudalics <rudalics@gmx.at>
14310
14311 * window.el (display-buffer-other-frame): Fix doc-string.
14312 (Bug#15868)
14313
14314 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14315
14316 * subr.el (force-mode-line-update): Delete, move to buffer.c.
14317
14318 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
14319
14320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14321 (tramp-sh-handle-file-local-copy): Don't write a message when
14322 saving temporary files.
14323
14324 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14325 both directories are remote.
14326 (tramp-smb-handle-directory-files): Do not return double entries.
14327 Do not expand full file names.
14328 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14329 (tramp-smb-handle-write-region): Implement APPEND.
14330 (tramp-smb-get-stat-capability): Fix a stupid bug.
14331
14332 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14335
14336 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14337
14338 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14339 throwing error over malformed let/let* (bug#15814).
14340
14341 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14342
14343 * iswitchb.el (iswitchb-mode): Mark obsolete.
14344
14345 2013-11-11 Glenn Morris <rgm@gnu.org>
14346
14347 * international/uni-bidi.el, international/uni-category.el:
14348 * international/uni-name.el, international/uni-numeric.el:
14349 Regenerate for Unicode 6.3.0.
14350
14351 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
14352
14353 * net/tramp.el (tramp-methods):
14354 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14355 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14356
14357 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
14358
14359 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14360 Force highlighting text after Summary keyword in doc face for rpm.
14361
14362 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
14363
14364 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14365 available and the word has no wildcards, append one to the grep pattern.
14366 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14367 (ispell-complete-word): Call `ispell-lookup-words' with the value
14368 independent of `ispell-look-p'.
14369
14370 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14371
14372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14373 Not after "||".
14374 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14375 their parent.
14376
14377 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
14380 (ruby-font-lock-keywords): Use backquote.
14381
14382 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14383
14384 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14385 (ruby-smie--backward-token): Only consider full-string matches.
14386
14387 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
14388
14389 * faces.el (describe-face): Add distant-foreground.
14390
14391 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
14392
14393 * progmodes/ruby-mode.el: Improve encoding comment handling.
14394 (ruby-encoding-magic-comment-style): New option.
14395 (ruby-custom-encoding-magic-comment-template): New option.
14396 (ruby--insert-coding-comment, ruby--detect-encoding):
14397 New functions extracted from `ruby-mode-set-encoding'.
14398 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14399 to control the style of the auto-inserted encoding comment.
14400
14401 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14402
14403 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14404 Use `smie-backward-sexp' with token argument.
14405
14406 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
14407
14408 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14409 Remove instrumentation code.
14410
14411 2013-11-08 Glenn Morris <rgm@gnu.org>
14412
14413 * progmodes/autoconf.el (autoconf-mode):
14414 Tweak comment-start-skip. (Bug#15822)
14415
14416 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
14419 at bobp (bug#15826).
14420 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
14421
14422 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
14423
14424 * man.el (Man-start-calling): New macro, extracted from
14425 Man-getpage-in-background.
14426 (Man-getpage-in-background): Use it.
14427 (Man-update-manpage): New command.
14428 (Man-mode-map): Bind it.
14429
14430 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14431
14432 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
14433 of "and", "or", "&&" and "||".
14434 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14435 argument. Prohibit opening curly brace because it could only be a
14436 block opener in that position.
14437 (ruby-smie--forward-token, ruby-smie--backward-token):
14438 Separate "|" from "&" or "*" going after it. That can happen in block
14439 arguments.
14440 (ruby-smie--indent-to-stmt): New function, seeks the end of
14441 previous statement or beginning of buffer.
14442 (ruby-smie-rules): Use it.
14443 (ruby-smie-rules): Check if there's a ":" before a curly block
14444 opener candidate; if there is, it's a hash.
14445
14446 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
14449 (cl--block-wrapper): Fix last accidental change.
14450
14451 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
14452
14453 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14454 Instrument, in order to hunt failure on hydra.
14455
14456 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14457
14458 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
14459 malformed bindings form (bug#15814).
14460
14461 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
14462
14463 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
14464 "." compared to " @ ". This incidentally fixes some indentation
14465 examples with "do".
14466 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
14467 (ruby-smie-grammar): New tokens: "and" and "or".
14468 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
14469 Exclude "and" and "or". Remove "do" in order to work around token
14470 priorities.
14471 (ruby-smie-rules): Add all infix tokens. Handle the case of
14472 beginning-of-buffer.
14473
14474 2013-11-06 Glenn Morris <rgm@gnu.org>
14475
14476 * Makefile.in (setwins_almost, setwins_for_subdirs):
14477 Avoid accidental matches.
14478
14479 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14480
14481 * menu-bar.el (popup-menu): Use key-binding.
14482
14483 2013-11-06 Eli Zaretskii <eliz@gnu.org>
14484
14485 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
14486 menus, support also the menus produced by minor modes.
14487 (Bug#15817)
14488
14489 2013-11-06 Leo Liu <sdl.web@gmail.com>
14490
14491 * thingatpt.el (thing-at-point-looking-at): Add optional arg
14492 DISTANCE to bound the search. All uses changed. (Bug#15808)
14493
14494 2013-11-06 Glenn Morris <rgm@gnu.org>
14495
14496 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
14497 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
14498 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
14499
14500 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14501
14502 * electric.el (electric-indent-just-newline): New command.
14503 (electric-indent-mode-map): New keymap.
14504 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
14505 Re-add :group which weren't redundant.
14506
14507 * electric.el (electric-indent-local-mode): New minor mode.
14508 (electric-indent-functions-without-reindent): New var.
14509 (electric-indent-post-self-insert-function): Use it.
14510 * emacs-lisp/gv.el (buffer-local-value): Add setter.
14511
14512 2013-11-05 Eli Zaretskii <eliz@gnu.org>
14513
14514 * international/quail.el (quail-help): Be more explicit about the
14515 meaning of the labels shown on the keys. (Bug#15800)
14516
14517 * startup.el (normal-top-level): Load the subdirs.el files before
14518 setting the locale environment. (Bug#15805)
14519
14520 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14521
14522 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
14523 via arguments so as to get the right ones (bug#15418).
14524
14525 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
14526
14527 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
14528
14529 Fix problems found while writing a test suite.
14530
14531 * net/tramp-compat.el (tramp-compat-load): New defun.
14532 * net/tramp.el (tramp-handle-load): Use it.
14533
14534 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
14535 "(numberp ok-if-already-exists)" correctly.
14536
14537 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
14538
14539 * international/characters.el (glyphless-char-display-control):
14540 Add usage note.
14541
14542 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
14543
14544 * progmodes/python.el (python-mode):
14545 * progmodes/scheme.el (scheme-mode):
14546 * progmodes/prolog.el (prolog-mode):
14547 * progmodes/ruby-mode.el (ruby-mode):
14548 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
14549 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
14550
14551 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * rect.el (rectangle--highlight-for-redisplay):
14554 * emacs-lisp/smie.el (smie--next-indent-change):
14555 Use buffer-chars-modified-tick.
14556
14557 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
14558
14559 * electric.el (electric-indent-post-self-insert-function):
14560 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
14561
14562 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
14563
14564 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
14565
14566 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14567
14568 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
14569 (bug#15786).
14570
14571 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14572
14573 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
14574
14575 * progmodes/python.el: Fix up last change.
14576 (python-shell--save-temp-file): New function.
14577 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
14578 `string' comes from the current buffer.
14579 (python-shell-send-string-no-output): Remove `msg' arg.
14580 (python--use-fake-loc): New var.
14581 (python-shell-buffer-substring): Obey it. Try to compensate for the
14582 extra coding line added by python-shell--save-temp-file.
14583 (python-shell-send-region): Use python-shell--save-temp-file and
14584 python-shell-send-file directly. Add `nomain' argument.
14585 (python-shell-send-buffer): Use python-shell-send-region.
14586 (python-electric-pair-string-delimiter): New function.
14587 (python-mode): Use it.
14588
14589 2013-11-04 Eli Zaretskii <eliz@gnu.org>
14590
14591 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
14592 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
14593 environment and decoding all of the default-directory's to here
14594 from command-line.
14595 (command-line): Decode also argv[0].
14596
14597 * loadup.el: Error out if default-directory is a multibyte string
14598 when we are dumping.
14599
14600 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
14601
14602 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
14603
14604 * emacs-lisp/package.el (package-menu-mode)
14605 (package-menu--print-info, package-menu--archive-predicate):
14606 Add Archive column to package list.
14607
14608 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
14609
14610 Fix problems found while writing a test suite.
14611
14612 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
14613 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
14614 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14615 to nil when running original file name handler. Otherwise,
14616 there are problems with constructs like "$$FOO".
14617
14618 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
14619 for `localname'.
14620
14621 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
14622
14623 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
14624
14625 * subr.el (version<, version<=, version=):
14626 Update docstrings with information for snapshot versions.
14627
14628 * helpers.el: New library for misc helper functions.
14629 (hash-table-keys): New function returning a list of hash keys.
14630 (hash-table-values): New function returning a list of hash values.
14631
14632 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
14633
14634 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14635 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
14636
14637 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
14638
14639 * textmodes/fill.el (fill-single-char-nobreak-p): New function
14640 checking whether point is after a 1-letter word.
14641
14642 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14643
14644 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
14645 Don't infloop when expanding region over `multiline' syntax-type that
14646 begins a line (bug#15778).
14647
14648 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
14651 Make it into a proper minor mode.
14652 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
14653 (rectangle-mark-mode-map): New keymap.
14654 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
14655
14656 2013-11-04 Glenn Morris <rgm@gnu.org>
14657
14658 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
14659
14660 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14661
14662 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
14663 (ruby-smie-rules): Use smie-rule-parent instead.
14664
14665 * emacs-lisp/smie.el (smie-rule-parent): Always call
14666 smie-indent-virtual rather than only for hanging tokens.
14667 (smie--next-indent-change): New helper command.
14668
14669 2013-11-03 Glenn Morris <rgm@gnu.org>
14670
14671 * Makefile.in (abs_srcdir): Remove.
14672 (emacs): Unset EMACSLOADPATH.
14673
14674 2013-11-02 Glenn Morris <rgm@gnu.org>
14675
14676 * Makefile.in (EMACS): Use a relative filename.
14677 (abs_top_builddir): Remove.
14678 (custom-deps, finder-data, autoloads): Use --chdir.
14679
14680 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
14681
14682 Use relative filenames in TAGS files.
14683 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14684 (lisptagsfiles4, TAGS): Use relative file names.
14685 (TAGS-LISP): Remove.
14686 (maintainer-clean): No more TAGS-LISP file.
14687
14688 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14689 (lisptagsfiles4): Use absolute filenames again.
14690 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14691 Remove all *loaddefs files, not just the first. Remove esh-groups.
14692 (maintainer-clean): Delete TAGS, TAGS-LISP.
14693
14694 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14695
14696 * emacs-lisp/package.el (package-version-join):
14697 Recognize snapshot versions.
14698
14699 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14700
14701 * subr.el (version-regexp-alist): Add support for snapshot versions.
14702
14703 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14704
14705 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
14706 New function, replacement for `smie-rule-parent' for when we want to
14707 skip over our direct parent if it's an assignment token..
14708 (ruby-smie-rules): Use it.
14709
14710 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14711
14712 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
14713 unconditionally. Remove now unnecessary forward declarations.
14714 Remove XEmacs-specific setup.
14715 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
14716 (ruby-font-lock-syntactic-keywords)
14717 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
14718 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
14719 (ruby-here-doc-end-syntax): Remove.
14720 (ruby-mode): Don't check whether `syntax-propertize-rules' is
14721 defined as function.
14722
14723 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14724
14725 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
14726
14727 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14728
14729 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
14730 table and abbrev table, `define-derived-mode' does that for us
14731 anyway.
14732
14733 2013-11-01 Glenn Morris <rgm@gnu.org>
14734
14735 * Makefile.in: Remove manual mh-e dependencies (writing .elc
14736 files is atomic for some time, so no parallel compilation issues).
14737
14738 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
14739
14740 * faces.el (face-x-resources): Add :distant-foreground.
14741 (region): Use :distant-foreground for gtk and ns.
14742
14743 2013-11-01 Tassilo Horn <tsdh@gnu.org>
14744
14745 Allow multiple bibliographies when BibLaTeX is used rather than
14746 BibTeX.
14747 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
14748 (reftex-locate-bibliography-files): Us it.
14749
14750 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
14751
14752 * image.el (image-type-header-regexps): Fix the 'pbm' part to
14753 allow comments in pbm files.
14754
14755 * term/w32-win.el (dynamic-library-alist): Support newer versions
14756 of libjpeg starting with v7: look only for the DLL from the
14757 version against which Emacs was built.
14758 Support versions of libpng beyond 1.4.x.
14759 Support libtiff v4.x.
14760
14761 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14762
14763 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
14764 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
14765 Add property :safe.
14766 (ruby-deep-arglist): Add property :type.
14767
14768 2013-10-31 Glenn Morris <rgm@gnu.org>
14769
14770 * Makefile.in (custom-deps, finder-data): No need to setq the target
14771 variables, we are in the right directory and the defaults work fine.
14772
14773 2013-10-30 Glenn Morris <rgm@gnu.org>
14774
14775 * Makefile.in (autoloads): Do not use abs_lisp.
14776
14777 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14778 `newline' does not respect `standard-output', so use `princ'.
14779
14780 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
14781
14782 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
14783 * buff-menu.el (Buffer-menu--unmark): New function.
14784 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14785
14786 2013-10-30 Glenn Morris <rgm@gnu.org>
14787
14788 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
14789
14790 * emacs-lisp/package.el (lm-homepage): Declare.
14791
14792 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
14793 Fix doc typos.
14794
14795 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
14796
14797 * Makefile.in (finder-data, autoloads, update-subdirs)
14798 (compile-main, compile-clean, compile-always, bootstrap-clean):
14799 Check return value of cd.
14800 (compile-calc): Remove.
14801
14802 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14803
14804 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
14805
14806 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
14807 (byte-compile-and-folded): New function.
14808 (=, <, >, <=, >=): Use it.
14809
14810 * dos-w32.el (minibuffer-history-case-insensitive-variables)
14811 (path-separator, null-device, buffer-file-coding-system)
14812 (lpr-headers-switches): Check system-type before modifying them.
14813 (find-buffer-file-type-coding-system): Mark obsolete.
14814 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
14815 find-file-not-found-set-buffer-file-coding-system.
14816 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
14817 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
14818 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
14819 (w32-direct-print-region-helper, w32-direct-print-region-function)
14820 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
14821 * startup.el (normal-top-level-add-subdirs-to-load-path):
14822 * ps-print.el (ps-print-region-function):
14823 * lpr.el (print-region-function): Use new name.
14824
14825 * subr.el (custom-declare-variable-early): Remove function.
14826 (custom-declare-variable-list): Remove var.
14827 (error, user-error): Remove `while' loop.
14828 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
14829 (user-emacs-directory-warning, locate-user-emacs-file):
14830 Move to files.el.
14831 * simple.el (read-quoted-char-radix, read-quoted-char):
14832 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
14833 Move from subr.el.
14834 * custom.el (custom-declare-variable-list): Don't process
14835 custom-declare-variable-list.
14836
14837 * progmodes/python.el (python-shell-get-buffer): New function.
14838 (python-shell-get-process): Use it.
14839 (python-shell-send-string): Always use utf-8 and add a cookie to tell
14840 Python which encoding was used. Don't split-string since we only care
14841 about the first line. Return the temp-file, if applicable.
14842 (python-shell-send-region): Tell compile.el how to turn locations in
14843 the temp-file into locations in the source buffer.
14844
14845 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * subr.el (undefined): Add missing behavior from the C code for
14848 unbound keys.
14849
14850 * rect.el: Use lexical-binding. Add new rectangular region support.
14851 (rectangle-mark): New command.
14852 (rectangle--region): New var.
14853 (deactivate-mark-hook): Reset rectangle--region.
14854 (rectangle--extract-region, rectangle--insert-for-yank)
14855 (rectangle--highlight-for-redisplay)
14856 (rectangle--unhighlight-for-redisplay): New functions.
14857 (region-extract-function, redisplay-unhighlight-region-function)
14858 (redisplay-highlight-region-function): Use them to handle
14859 rectangular region.
14860 * simple.el (region-extract-function): New var.
14861 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
14862 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
14863 (kill-region): Replace obsolete `yank-handler' arg with `region'.
14864 (copy-region-as-kill, kill-ring-save): Add `region' argument.
14865 (redisplay-unhighlight-region-function)
14866 (redisplay-highlight-region-function): New vars.
14867 (redisplay--update-region-highlight): New function.
14868 (pre-redisplay-function): Use it.
14869 (exchange-point-and-mark): Don't deactivate the mark before
14870 reactivate-it anyway.
14871 * comint.el (comint-kill-region): Remove yank-handler argument.
14872 * delsel.el (delete-backward-char, backward-delete-char-untabify)
14873 (delete-char): Remove property, since it's now part of their
14874 default behavior.
14875 (self-insert-iso): Remove property since this command doesn't exist.
14876
14877 * emacs-lisp/package.el (package--download-one-archive)
14878 (describe-package-1): Don't query the user about final newline.
14879
14880 2013-10-29 Daniel Colascione <dancol@dancol.org>
14881
14882 * net/tramp.el (tramp-methods): Document new functionality.
14883 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
14884 tramp-hostname-checker if method provides one instead of scanning
14885 argument list for "%h" to decide hostname acceptability.
14886
14887 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
14888
14889 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14890 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14891 Handle COPY-CONTENTS. (Bug#15737)
14892
14893 2013-10-28 Daiki Ueno <ueno@gnu.org>
14894
14895 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14896 Document that this option has no effect with GnuPG 2.0 (bug#15552).
14897
14898 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
14899
14900 * image.el (defimage, image-load-path): Doc fixes.
14901
14902 2013-10-27 Alan Mackenzie <acm@muc.de>
14903
14904 Indent statements in macros following "##" correctly.
14905 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14906 Modify the "#" arm of a cond form to handle "#" and "##" operators.
14907
14908 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14909
14910 * linum.el (linum-update-window): Fix boundary test (bug#13446).
14911
14912 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
14913
14914 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
14915 after `=' is probably a new expression.
14916
14917 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14918
14919 * man.el (man-imenu-title): New option.
14920 (Man-mode-map): Add menu. (Bug#15722)
14921 (Man-mode): Add imenu to menu.
14922
14923 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
14924
14925 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
14926 specific in what the first arg can be: a non-keyword word,
14927 string/regexp/percent literal opener, opening paren, or unary
14928 operator followed directly by word.
14929
14930 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
14933 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
14934 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
14935 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
14936 Remove vars, they do not apply any more.
14937 (prolog-mode-abbrev-table): Remove redundant declaration.
14938 (prolog-upper-case-string, prolog-lower-case-string): Remove.
14939 (prolog-use-smie): Remove.
14940 (prolog-smie-rules): Add indentation rule for the if-then-else layout
14941 supported by prolog-electric-if-then-else-flag.
14942 (prolog-mode-variables, prolog-menu): Use setq-local.
14943 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
14944 Remove binding to `Backspace' since this key doesn't exist anyway.
14945 Remove bindings for electric self-inserting keys.
14946 (prog-mode): Assume it's defined.
14947 (prolog-post-self-insert): New function.
14948 (prolog-mode): Use it.
14949 (prolog-indent-line, prolog-indent-level)
14950 (prolog-find-indent-of-matching-paren)
14951 (prolog-indentation-level-of-line, prolog-goto-comment-column)
14952 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
14953 (prolog-goto-next-paren, prolog-in-string-or-comment)
14954 (prolog-tokenize, prolog-inside-mline-comment)
14955 (prolog-find-start-of-mline-comment): Remove functions.
14956 (prolog-find-unmatched-paren, prolog-clause-end)
14957 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
14958 (prolog-electric--if-then-else): Rename from
14959 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
14960 (prolog-tokenize-searchkey): Remove const.
14961 (prolog-clause-info): Use forward-sexp.
14962 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
14963 (prolog-electric-if-then-else): Remove commands.
14964 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
14965 for use in post-self-insert-hook.
14966 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
14967 for use in post-self-insert-hook.
14968 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
14969 for use in post-self-insert-hook.
14970 (prolog-electric--underscore): Rename from prolog-electric--underscore;
14971 adapt it for use in post-self-insert-hook.
14972
14973 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
14974
14975 * emacs-lisp/ert.el (ert-run-tests-interactively):
14976 Use `completing-read'. (Bug#9756)
14977
14978 2013-10-25 Eli Zaretskii <eliz@gnu.org>
14979
14980 * simple.el (line-move): Call line-move-1 instead of
14981 line-move-visual when the current window hscroll is zero, but
14982 temporary-goal-column indicates we will need to hscroll as result
14983 of the movement. (Bug#15712)
14984
14985 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
14986
14987 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
14988 capitalization. Use :visible instead of :active.
14989 Fix `ruby-indent-exp' reference. Add menu items for the generic
14990 commands that are used with SMIE.
14991 (ruby-do-end-to-brace): Insert space after `{'.
14992
14993 2013-10-25 John Anthony <john@jo.hnanthony.com>
14994
14995 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
14996
14997 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
14998
14999 2013-10-25 Glenn Morris <rgm@gnu.org>
15000
15001 * vc/vc.el (vc-print-log): Don't use a working revision unless
15002 one was explicitly specified. (Bug#15322)
15003
15004 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15005
15006 * subr.el (add-to-list): Preserve return value in compiler-macro
15007 (bug#15692).
15008
15009 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15010
15011 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
15012 result. Ask user to retry using '-all' flag. (Bug#15701)
15013
15014 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15015
15016 * emacs-lisp/smie.el: New smie-config system.
15017 (smie-config): New defcustom.
15018 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
15019 (smie-config-guess, smie-config-save): New commands.
15020 (smie-config--mode-local, smie-config--buffer-local)
15021 (smie-config--trace, smie-config--modefuns): New vars.
15022 (smie-config--advice, smie-config--mode-hook)
15023 (smie-config--setter, smie-config-local, smie-config--get-trace)
15024 (smie-config--guess-value, smie-config--guess): New functions.
15025 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
15026 text properties. Treat "string fence" syntax like string syntax.
15027
15028 * progmodes/sh-script.el (sh-use-smie): Change default.
15029 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
15030 (sh-var-value): Simplify by CSE.
15031 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
15032 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
15033 is used.
15034 (sh-guess-basic-offset): Use cl-incf.
15035 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
15036
15037 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
15038
15039 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
15040 (bug#15699).
15041
15042 2013-10-24 Glenn Morris <rgm@gnu.org>
15043
15044 * Makefile.in (abs_top_srcdir): Remove.
15045 (update-subdirs): Use relative path to update-subdirs.
15046
15047 2013-10-24 Eli Zaretskii <eliz@gnu.org>
15048
15049 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
15050 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
15051 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
15052 Call unmsys--file-name before expand-file-name, not after it.
15053
15054 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
15055
15056 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
15057 (ert-test-skipped): New error.
15058 (ert-skip, ert-stats-skipped): New defuns.
15059 (ert--skip-unless): New macro.
15060 (ert-test-skipped): New struct.
15061 (ert--run-test-debugger, ert-test-result-type-p)
15062 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
15063 (ert--stats-set-test-and-result, ert-char-for-test-result)
15064 (ert-string-for-test-result, ert-run-tests-batch)
15065 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
15066 Handle skipped tests. (Bug#9803)
15067
15068 2013-10-24 Glenn Morris <rgm@gnu.org>
15069
15070 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
15071
15072 * Makefile.in (abs_top_srcdir): New, set by configure.
15073 (update-subdirs): Correct build-aux location.
15074
15075 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
15076
15077 * vc/vc.el (vc-print-root-log): Always set `default-directory'
15078 value, whether we could auto-deduce `backend', or not.
15079
15080 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
15081 with parameters" example. Simplify the "is it block or is it
15082 hash" check, but also make it more thorough.
15083
15084 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
15085
15086 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
15087
15088 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15089
15090 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
15091 { if it is hanging.
15092
15093 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
15094 :before ";".
15095
15096 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
15097
15098 * progmodes/compile.el (compilation-directory-matcher)
15099 (compilation-page-delimiter):
15100 Support GNU Make-4.0 directory quoting. (Bug#15678)
15101
15102 2013-10-23 Leo Liu <sdl.web@gmail.com>
15103
15104 * ido.el (ido-tidy): Handle read-only text.
15105
15106 2013-10-23 Glenn Morris <rgm@gnu.org>
15107
15108 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
15109 (emacs, compile, compile-always):
15110 Quote entities that might contain whitespace.
15111 (custom-deps, finder-data, autoloads): Use abs_lisp.
15112 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15113 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15114 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
15115
15116 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
15117
15118 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
15119 Use `following-char'.
15120
15121 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15124 * progmodes/ruby-mode.el (ruby-smie-rules):
15125 Remove corresponding workaround. Fix indentation rule of ";" so it
15126 also applies when ";" is the parent.
15127
15128 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
15129
15130 * frame.el (display-screens, display-pixel-height)
15131 (display-pixel-width, display-mm-width, display-backing-store)
15132 (display-save-under, display-planes, display-color-cells)
15133 (display-visual-class, display-monitor-attributes-list):
15134 Mention the optional ‘display’ argument in doc strings.
15135
15136 2013-10-22 Michael Gauland <mikelygee@amuri.net>
15137
15138 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15139 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
15140
15141 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15142
15143 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15144 TODO. Add "." after " @ ".
15145 (ruby-smie--at-dot-call): New function. Checks if point at method
15146 call with explicit target.
15147 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15148 to the method name tokens when it precedes them.
15149 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15150 (ruby-smie-rules): Add rule for indentation before and after "."
15151 token.
15152
15153 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * textmodes/remember.el (remember-diary-extract-entries):
15156 Avoid add-to-list.
15157
15158 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15159 an instruction.
15160
15161 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15162
15163 * progmodes/ruby-mode.el (ruby-smie-grammar):
15164 Add (almost) all infix operators.
15165 (ruby-smie--implicit-semi-p): Add new operator chars.
15166
15167 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15168 `smie-down-list'.
15169 (ruby-smie--args-separator-p): Check that there's no newline
15170 between method call and its arguments.
15171
15172 2013-10-20 Alan Mackenzie <acm@muc.de>
15173
15174 Allow comma separated lists after Java "implements".
15175
15176 * progmodes/cc-engine.el (c-backward-over-enum-header):
15177 Parse commas.
15178 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15179 from a "disallowed" list in enum fontification.
15180
15181 2013-10-20 Johan Bockgård <bojohan@gnu.org>
15182
15183 * startup.el (default-frame-background-mode): Remove unused defvar.
15184
15185 * progmodes/verilog-mode.el (verilog-mode): Don't set
15186 comment-indent-function globally.
15187
15188 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
15189
15190 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15191 Move Info menu item creation to ns-win.el.
15192
15193 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15194 in menu bar.
15195
15196 * menu-bar.el: Move GNUstep specific menus...
15197
15198 * term/ns-win.el (ns-initialize-window-system): ... to here.
15199
15200 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15201
15202 * simple.el (newline): Only run post-self-insert-hook when
15203 called interactively.
15204
15205 2013-10-19 Johan Bockgård <bojohan@gnu.org>
15206
15207 * icomplete.el (icomplete-with-completion-tables): Add :version.
15208
15209 2013-10-19 Alan Mackenzie <acm@muc.de>
15210
15211 Fix fontification bugs with constructors and const.
15212
15213 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15214 CASE 2) Remove the check for the absence of a suffix construct
15215 after a function declaration with only types (no identifiers) in
15216 the parentheses. Also, accept a function declaration with just a
15217 type inside the parentheses, if this type can be positively
15218 recognised as such, or if a prefix keyword like "explicit" nails
15219 down the construct as a declaration.
15220
15221 2013-10-19 Eli Zaretskii <eliz@gnu.org>
15222
15223 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15224 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
15225 the problem whereby selecting a menu item that leads to a
15226 minibuffer prompt moves the cursor out of the minibuffer window,
15227 making it hard to type at the prompt. Suggested by Stefan Monnier
15228 <monnier@iro.umontreal.ca>.
15229
15230 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
15231
15232 * menu-bar.el: Don't make Services menu.
15233
15234 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15235
15236 * ffap.el: Handle "/usr/include/c++/<version>" directories.
15237 (ffap-alist): Use ffap-c++-mode for c++-mode.
15238 (ffap-c++-path): New variable.
15239 (ffap-c++-mode): New function.
15240
15241 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
15242
15243 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
15244
15245 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
15246
15247 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15248 introduced on 2013-09-08, which results in an infinite loop
15249 requesting a password.
15250
15251 2013-10-18 Glenn Morris <rgm@gnu.org>
15252
15253 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15254
15255 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
15256
15257 Sync with upstream verilog-mode revision 1a6ecec7.
15258 * progmodes/verilog-mode.el (verilog-mode-version): Update.
15259 (verilog-mode-release-date): Remove.
15260 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15261 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15262 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15263 (verilog-auto-tieoff-ignore-regexp)
15264 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15265 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15266 (verilog-signals-with, verilog-dir-cache-preserving)
15267 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15268 Doc fixes.
15269 (verilog-case-fold): New option, to control case folding in
15270 regexp searches, bug597.
15271 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15272 (verilog-string-match-fold, verilog-in-paren-count)
15273 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15274 (verilog-at-close-struct-p): New functions.
15275 (verilog-beg-block-re-ordered, verilog-extended-case-re)
15276 (verilog-forward-sexp, verilog-set-auto-endcomments)
15277 (verilog-leap-to-case-head): Handle "unique0" case.
15278 (verilog-in-constraint-re): New constant.
15279 (verilog-keywords, verilog-type-font-keywords):
15280 Add some SystemVerilog 1800-2012 keywords.
15281 (verilog-label-be): Remove unimplemented argument, bug669.
15282 (verilog-batch-execute-func): When batch expanding clear
15283 create-lockfiles to prevent spurious user locks when a file ends
15284 up not changing.
15285 (verilog-calculate-indent, verilog-calc-1)
15286 (verilog-at-close-constraint-p, verilog-at-constraint-p)
15287 (verilog-do-indent): Fix indentation of nested constraints
15288 and structures.
15289 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15290 (verilog-auto-inst-param): Use verilog-string-match-fold.
15291 (verilog-read-inst-module-matcher):
15292 Fix AUTOINST on gate primitives with #1.
15293 (verilog-read-decls): Fix double-declaring user-defined typed signals.
15294 Reads all user-defined typed variables.
15295 (verilog-read-defines): Fix reading definitions inside comments, bug647.
15296 (verilog-signals-matching-regexp)
15297 (verilog-signals-not-matching-regexp, verilog-auto):
15298 Respect verilog-case-fold.
15299 (verilog-diff-report): Fix line count.
15300 (verilog-auto-assign-modport): Remove unused local `modi'.
15301 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15302 better handle multidimensional arrays.
15303 Fix packed array ports misadding bit index in AUTOINST, bug637.
15304 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15305 to not double-declare existing outputs and inputs, respectively.
15306 (verilog-template-map): Bind U to verilog-sk-uvm-component.
15307 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15308 (verilog-sk-uvm-component): New skeleton.
15309 (verilog-submit-bug-report): Add verilog-case-fold,
15310 remove verilog-mode-release-date.
15311
15312 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
15313
15314 * subr.el (sit-for): Call (input-pending-p t) so as to behave
15315 as before.
15316
15317 2013-10-18 Reuben Thomas <rrt@sc3d.org>
15318
15319 * textmodes/remember.el (remember): Set buffer-offer-save in
15320 remember buffers (bug#13566).
15321
15322 2013-10-18 Daniel Colascione <dancol@dancol.org>
15323
15324 When evaluating forms in ielm, direct standard output to ielm
15325 buffer. Add new ielm-return-for-effect command. Remove trailing
15326 whitespace throughout.
15327
15328 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15329 (ielm-return-for-effect): New command.
15330 (ielm-send-input): Accept optional `for-effect' parameter.
15331 (ielm-eval-input): Accept optional `for-effect' parameter.
15332 Bind `standard-output' to stream we create using
15333 `ielm-standard-output-impl'. Suppress printing result when
15334 `for-effect'.
15335 (ielm-standard-output-impl): New function.
15336 (inferior-emacs-lisp-mode): Explain new features in documentation.
15337
15338 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
15339
15340 Code cleanup.
15341
15342 * net/tramp.el (tramp-debug-message): Do not check for connection
15343 buffer.
15344 (tramp-message): Use "vector" connection property.
15345
15346 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15347 (tramp-equal-remote, tramp-eshell-directory-change)
15348 * net/tramp-adb.el (tramp-adb-handle-copy-file)
15349 (tramp-adb-handle-rename-file)
15350 * net/tramp-cmds.el (tramp-list-remote-buffers)
15351 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15352 * net/tramp-compat.el (tramp-compat-process-running-p)
15353 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15354 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15355 (tramp-gvfs-handle-rename-file)
15356 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15357 (tramp-set-file-uid-gid)
15358 * net/tramp-smb.el (tramp-smb-handle-copy-file)
15359 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15360 of `file-remote-p'.
15361
15362 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15363 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15364 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15365 (tramp-gw-open-network-stream): Suppress unrelated traces.
15366
15367 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15368 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15369 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15370 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15371 connection property.
15372
15373 * net/tramp-cache.el (top): Suppress traces when reading
15374 persistency file.
15375
15376 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15377 Refactor common code. Improve debug message.
15378 (tramp-maybe-open-connection)
15379 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15380 connection buffer too early.
15381
15382 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15383 from `tramp-smb-actions-with-acl'.
15384 (tramp-smb-actions-set-acl): New defconst.
15385 (tramp-smb-handle-copy-directory)
15386 (tramp-smb-action-get-acl): New defun, renamed from
15387 `tramp-smb-action-with-acl'.
15388 (tramp-smb-action-set-acl): New defun.
15389 (tramp-smb-handle-set-file-acl): Rewrite.
15390
15391 2013-10-17 Glenn Morris <rgm@gnu.org>
15392
15393 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
15394
15395 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * skeleton.el (skeleton-newline): Remove.
15398 (skeleton-internal-1): Use (insert "\n") instead.
15399
15400 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15401 let-bindings.
15402
15403 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15404 forward-sexp-function while we redo its job (bug#15613).
15405
15406 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
15407
15408 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15409 represented by lists.
15410
15411 2013-10-16 Glenn Morris <rgm@gnu.org>
15412
15413 * tmm.el (tmm--history): New dynamic variable.
15414 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
15415
15416 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
15417
15418 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
15419 (tramp-smb-errors): Add error messages.
15420 (tramp-smb-actions-with-acl): New defconst.
15421 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
15422 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
15423 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
15424 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
15425 (tramp-smb-get-stat-capability): Fix tests.
15426
15427 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
15428
15429 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
15430 (bug#15580).
15431
15432 2013-10-16 Glenn Morris <rgm@gnu.org>
15433
15434 * ansi-color.el (ansi-color-drop-regexp):
15435 Add 1J, 1K, 2K. (Bug#15617)
15436
15437 * files.el (hack-local-variables--warned-lexical): New.
15438 (hack-local-variables):
15439 Warn about misplaced lexical-binding. (Bug#15616)
15440
15441 * net/eww.el (eww-render): Always set eww-current-url,
15442 and update header line. (Bug#15622)
15443 (eww-display-html): ... Rather than just doing it here.
15444
15445 2013-10-15 Eli Zaretskii <eliz@gnu.org>
15446
15447 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
15448 menu navigations commands.
15449
15450 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
15451
15452 * progmodes/subword.el (subword-capitalize): Be careful when
15453 the search for [[:alpha:]] fails (bug#15580).
15454
15455 2013-10-14 Eli Zaretskii <eliz@gnu.org>
15456
15457 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
15458 to commands that scroll the menu.
15459
15460 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
15461
15462 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
15463 Handle methods ending with `?' and `!'.
15464
15465 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
15466
15467 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
15468 `japanese-cp932' to `cp932' to fix the problem where saving a
15469 source file written in Shift_JIS twice would end up having
15470 `coding: japanese-cp932' which Ruby could not recognize.
15471 (ruby-mode-set-encoding): Add support for encodings mapped to nil
15472 in `ruby-encoding-map'.
15473 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
15474 doesn't need to be explicitly declared in magic comment.
15475 (ruby-encoding-map): Add type declaration for better customize UI.
15476
15477 2013-10-13 Glenn Morris <rgm@gnu.org>
15478
15479 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
15480 Occur buffers are read-only. http://bugs.debian.org/720775
15481
15482 * emacs-lisp/authors.el (authors-fixed-entries):
15483 Comment out old alpha stuff.
15484
15485 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
15486
15487 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
15488 to `after-save-hook' instead of `before-save-hook'.
15489 (ruby-mode-set-encoding): Use the value of coding system used to
15490 write the file. Call `basic-save-buffer-1' after modifying the
15491 buffer.
15492
15493 2013-10-13 Alan Mackenzie <acm@muc.de>
15494
15495 Fix indentation/fontification of Java enum with
15496 "implements"/generic.
15497
15498 * progmodes/cc-engine.el (c-backward-over-enum-header):
15499 Extracted from the three other places and enhanced to handle generics.
15500 (c-inside-bracelist-p): Uses new function above.
15501 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
15502 function above.
15503 (c-font-lock-enum-tail): Uses new function above.
15504
15505 2013-10-13 Kenichi Handa <handa@gnu.org>
15506
15507 * international/mule-cmds.el (select-safe-coding-system): Remove a
15508 superfluous condition in chekcing whether a coding system is safe
15509 or not.
15510
15511 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
15512
15513 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
15514
15515 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
15516
15517 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
15518
15519 2013-10-13 Glenn Morris <rgm@gnu.org>
15520
15521 * menu-bar.el (menu-bar-update-buffers):
15522 Unify Buffers menu prompt string. (Bug#15576)
15523
15524 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
15525
15526 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
15527 Add some entries.
15528 (authors-fixed-entries): Use accented form of name.
15529
15530 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15531
15532 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
15533 method calls (bug#15594).
15534 (ruby-smie--args-separator-p): New function.
15535 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
15536 recognize paren-free method calls.
15537
15538 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
15539 internals of universal-argument.
15540
15541 2013-10-11 Eli Zaretskii <eliz@gnu.org>
15542
15543 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
15544 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
15545 dropped menu on second mouse click on the menu bar.
15546
15547 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15548
15549 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
15550 (explicit-shell-file-name): Declare.
15551 (sh--vars-before-point, sh--cmd-completion-table): New functions.
15552 (sh-completion-at-point-function): New function.
15553 (sh-mode): Use it.
15554 (sh-smie--keyword-p): Remove unused argument.
15555 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
15556 vars.
15557 (sh-set-shell): Always setup SMIE, even if we use the
15558 old indentation code.
15559
15560 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
15561
15562 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
15563 cases of ? and =.
15564 (ruby-smie-rules): Simplify the "do" rule. The cases when the
15565 predicate would return nil are almost non-existent.
15566 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
15567
15568 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
15569 cache also after commands that modify the buffer but don't move
15570 point.
15571
15572 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15573
15574 * env.el (substitute-env-in-file-name): New function.
15575 (substitute-env-vars): Extend the meaning of the optional arg.
15576
15577 2013-10-10 Eli Zaretskii <eliz@gnu.org>
15578
15579 * term/w32-win.el (dynamic-library-alist): Define separate lists
15580 of GIF DLLs for versions before and after 5.0.0 of giflib.
15581 (Bug#15531)
15582
15583 2013-10-10 João Távora <joaotavora@gmail.com>
15584
15585 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
15586 not locked, use last revision and current source as
15587 defaults. (Bug#15569)
15588
15589 2013-10-10 Masatake YAMATO <yamato@redhat.com>
15590
15591 * menu-bar.el (menu-bar-open): Don't use popup-menu if
15592 menu-bar is hidden.
15593
15594 2013-10-10 Martin Rudalics <rudalics@gmx.at>
15595
15596 * window.el (pop-to-buffer-same-window): Fix doc-string.
15597 (Bug#15492)
15598
15599 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15600
15601 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
15602
15603 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
15604
15605 * calendar/icalendar.el (icalendar-import-file):
15606 Fix interactive spec. (Bug#15482)
15607
15608 2013-10-10 Glenn Morris <rgm@gnu.org>
15609
15610 * desktop.el (desktop-save): Default to saving in .emacs.d,
15611 since PWD is no longer in desktop-path by default. (Bug#15319)
15612
15613 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
15614 now that text mode has a menu with the same entry.
15615 (menu-bar-text-mode-auto-fill): Remove now unused func.
15616 * textmodes/text-mode.el (text-mode-map):
15617 Use auto-fill help text from menu-bar.el.
15618
15619 2013-10-10 John Anthony <john@jo.hnanthony.com>
15620
15621 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
15622
15623 2013-10-09 Juri Linkov <juri@jurta.org>
15624
15625 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
15626 instead of this-command-keys. Add universal-argument-more and
15627 universal-argument-minus to the list of prefix commands. (Bug#15568)
15628
15629 2013-10-09 Glenn Morris <rgm@gnu.org>
15630
15631 * vc/vc-svn.el (vc-svn-create-repo):
15632 Expand paths in file://... url. (Bug#15446)
15633
15634 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
15635 Add some entries.
15636 (authors): Remove unused local variables.
15637
15638 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * profiler.el: Create a more coherent calltree from partial backtraces.
15641 (profiler-format): Hide the tail with `invisible' so that C-s can still
15642 find the hidden elements.
15643 (profiler-calltree-depth): Don't recurse so enthusiastically.
15644 (profiler-function-equal): New hash-table-test.
15645 (profiler-calltree-build-unified): New function.
15646 (profiler-calltree-build): Use it.
15647 (profiler-report-make-name-part): Indent the calltree less.
15648 (profiler-report-mode): Add visibility specs for profiler-format.
15649 (profiler-report-expand-entry, profiler-report-toggle-entry):
15650 Expand the whole subtree when provided with a prefix arg.
15651
15652 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
15653
15654 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
15655 iuwu-mod token.
15656 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
15657 hanging iuwu-mod token.
15658 (ruby-smie--forward-token): Do not include a dot after a token in
15659 that token.
15660 (ruby-smie--backward-token): Likewise.
15661
15662 2013-10-08 Juri Linkov <juri@jurta.org>
15663
15664 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
15665 to isearch-other-control-char.
15666 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
15667 and isearch-post-command-hook to post-command-hook.
15668 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
15669 and isearch-post-command-hook from post-command-hook.
15670 (isearch-unread-key-sequence)
15671 (isearch-reread-key-sequence-naturally)
15672 (isearch-lookup-scroll-key, isearch-other-control-char)
15673 (isearch-other-meta-char): Remove functions.
15674 (isearch-pre-command-hook, isearch-post-command-hook):
15675 New functions based on isearch-other-meta-char rewritten
15676 relying on the new behavior of overriding-terminal-local-map
15677 that does not replace the local keymaps any more. (Bug#15200)
15678
15679 2013-10-08 Eli Zaretskii <eliz@gnu.org>
15680
15681 Support menus on text-mode terminals.
15682 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
15683 functionality.
15684
15685 * tooltip.el (tooltip-mode): Don't error out on TTYs.
15686
15687 * menu-bar.el (popup-menu, popup-menu-normalize-position):
15688 Move here from mouse.el.
15689 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
15690 and arrow keys.
15691 (tty-menu-navigation-map): New map for TTY menu navigation.
15692
15693 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
15694
15695 * frame.el (display-mouse-p): Report text-mode mouse as available
15696 on w32.
15697 (display-popup-menus-p): Report availability if mouse is
15698 available; don't condition on window-system.
15699
15700 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
15701 (tty-menu-selected-face): New faces.
15702
15703 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15704
15705 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
15706 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
15707 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
15708 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
15709 New constants.
15710 (lisp-mode-variables): New `elisp' argument.
15711 (emacs-lisp-mode): Use it.
15712 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
15713 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
15714
15715 * indent.el: Use lexical-binding.
15716 (indent-region): Add progress reporter.
15717 (tab-stop-list): Make it implicitly extend to infinity by repeating the
15718 last step.
15719 (indent--next-tab-stop): New function to implement this behavior.
15720 (tab-to-tab-stop, move-to-tab-stop): Use it.
15721
15722 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
15723
15724 * indent.el (indent-rigidly--current-indentation): New function.
15725 (indent-rigidly-map): New var.
15726 (indent-rigidly): Use it to provide interactive mode (bug#8196).
15727
15728 2013-10-08 Bastien Guerry <bzg@gnu.org>
15729
15730 * register.el (insert-register): Fix 2013-10-07 change.
15731
15732 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * progmodes/perl-mode.el: Use lexical-binding.
15735 Remove redundant :group args.
15736 (perl-nochange): Change default to be closer to other major modes's
15737 standard behavior.
15738 (perl-indent-line): Don't consider text on current line as a
15739 valid beginning of function from which to indent.
15740
15741 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
15742 with more than one argument (bug#15538).
15743
15744 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
15745
15746 * vc/pcvs.el: Use lexical-binding.
15747 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
15748 environment of `eval'.
15749 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
15750 than a list of expressions. Adjust callers.
15751 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
15752
15753 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
15754
15755 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
15756 case of the dot in a chained method call being on the following line.
15757
15758 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * electric.el (electric-indent-inhibit): New var.
15761 (electric-indent-post-self-insert-function): Use it.
15762 * progmodes/python.el (python-mode): Set it.
15763
15764 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
15765 open braces.
15766
15767 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
15768
15769 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
15770 (css-mode): Use electric-indent-chars.
15771
15772 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
15773 (font-lock-beg, font-lock-end): Move before first use.
15774 (nxml-mode): Use syntax-propertize-function.
15775 (nxml-after-change, nxml-after-change1): Adjust accordingly.
15776 (nxml-extend-after-change-region): Remove.
15777 * nxml/xmltok.el: Use lexical-binding.
15778 (xmltok-save): Use `declare'.
15779 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
15780 * nxml/nxml-util.el: Use lexical-binding.
15781 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
15782 Use `declare'.
15783 * nxml/nxml-ns.el: Use lexical-binding.
15784 (nxml-ns-save): Use `declare'.
15785 (nxml-ns-prefixes-for): Avoid add-to-list.
15786 * nxml/rng-match.el: Use lexical-binding.
15787 (rng--ipattern): Use cl-defstruct.
15788 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
15789 (rng-cons-group-after, rng-subst-group-after)
15790 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
15791 Use closures instead of `(lambda...).
15792
15793 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
15794
15795 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
15796 of BEG and END.
15797
15798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15799 Use `tramp-handle-insert-file-contents'.
15800 (tramp-gvfs-handle-insert-file-contents): Remove function.
15801
15802 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15803 Use `save-restriction' in order to keep markers.
15804
15805 * net/trampver.el: Update release number.
15806
15807 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * progmodes/compile.el (compilation-parse-errors):
15810 Use compilation--put-prop.
15811 (compilation--ensure-parse): Check compilation-multiline.
15812
15813 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
15814
15815 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
15816 lexical-binding.
15817
15818 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
15819
15820 * progmodes/ruby-mode.el: Fix recently added tests.
15821 (ruby-smie-grammar): Add - and +.
15822 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
15823 (ruby-smie--backward-id): New functions.
15824 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
15825 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
15826 any more.
15827
15828 2013-10-07 Leo Liu <sdl.web@gmail.com>
15829
15830 * register.el (register-preview-delay)
15831 (register-preview-functions): New variables.
15832 (register-read-with-preview, register-preview)
15833 (register-describe-oneline): New functions.
15834 (point-to-register, window-configuration-to-register)
15835 (frame-configuration-to-register, jump-to-register)
15836 (number-to-register, view-register, insert-register)
15837 (copy-to-register, append-to-register, prepend-to-register)
15838 (copy-rectangle-to-register): Use register-read-with-preview to
15839 read register. (Bug#15525)
15840
15841 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
15842
15843 * net/network-stream.el (network-stream-open-starttls): Don't add
15844 --insecure if it's already present, because that gnutls-cli
15845 rejects getting that parameter twice.
15846
15847 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
15848
15849 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
15850 keyword, too.
15851
15852 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
15853
15854 * newcomment.el (comment-use-global-state): Change default value
15855 to t, mark obsolete (Bug#15251).
15856 (comment-beginning): In addition to `comment-to-syntax', check the
15857 value of `comment-use-global-state'.
15858
15859 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15860
15861 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
15862 (ruby-comment-column): Follow the global default, by default.
15863 (ruby-smie-grammar): Add assignment syntax.
15864 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
15865 open-paren, a comma, or a \.
15866 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
15867 and line continuations.
15868 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
15869 followed by implicit semi-colons. Add rule for string concatenation
15870 and for indentation at BOB.
15871 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
15872
15873 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
15874 calling next-sexp, since next-token may have skipped chars which
15875 next-sexp doesn't know should be skipped!
15876
15877 2013-10-05 Leo Liu <sdl.web@gmail.com>
15878
15879 * progmodes/octave.el (octave-send-region):
15880 Call compilation-forget-errors.
15881
15882 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15883
15884 * vc/vc-svn.el (vc-svn-find-admin-dir):
15885 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
15886 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
15887 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
15888 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
15889
15890 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
15893
15894 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * subr.el (read-passwd): Hide chars even when called within a context
15897 where after-change-functions is disabled (bug#15501).
15898 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
15899 until we removed ourself from overriding-terminal-local-map.
15900
15901 2013-10-04 Leo Liu <sdl.web@gmail.com>
15902
15903 * progmodes/octave.el (inferior-octave-mode):
15904 Call compilation-forget-errors.
15905
15906 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15907
15908 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
15909
15910 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
15911
15912 * net/secrets.el (secrets-create-collection): Add optional
15913 argument ALIAS. Use proper Label keyword. Append ALIAS as
15914 dbus-call-method argument. (Bug#15516)
15915
15916 2013-10-04 Leo Liu <sdl.web@gmail.com>
15917
15918 * progmodes/octave.el (inferior-octave-error-regexp-alist)
15919 (inferior-octave-compilation-font-lock-keywords): New variables.
15920 (compilation-error-regexp-alist)
15921 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
15922 (inferior-octave-mode): Use compilation-shell-minor-mode.
15923
15924 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
15925
15926 * minibuffer.el (completion--replace): Be careful that `end' might be
15927 a marker.
15928
15929 2013-10-03 Daiki Ueno <ueno@gnu.org>
15930
15931 Add support for package signature checking.
15932 * emacs-lisp/package.el (url-http-file-exists-p)
15933 (epg-make-context, epg-context-set-home-directory)
15934 (epg-verify-string, epg-context-result-for)
15935 (epg-signature-status, epg-signature-to-string)
15936 (epg-check-configuration, epg-configuration)
15937 (epg-import-keys-from-file): Declare.
15938 (package-check-signature): New user option.
15939 (package-unsigned-archives): New user option.
15940 (package-desc): Add `signed' field.
15941 (package-load-descriptor): Set `signed' field if .signed file exists.
15942 (package--archive-file-exists-p): New function.
15943 (package--check-signature): New function.
15944 (package-install-from-archive): Check package signature.
15945 (package--download-one-archive): Check archive signature.
15946 (package-delete): Remove .signed file.
15947 (package-import-keyring): New command.
15948 (package-refresh-contents): Import default keyring.
15949 (package-desc-status): Add "unsigned" status.
15950 (describe-package-1, package-menu--print-info)
15951 (package-menu-mark-delete, package-menu--find-upgrades)
15952 (package-menu--status-predicate): Support "unsigned" status.
15953
15954 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15955
15956 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
15957 the new compilation scheme using the new byte-codes.
15958
15959 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
15960 (byte-pophandler): New byte codes.
15961 (byte-goto-ops): Adjust accordingly.
15962 (byte-compile--use-old-handlers): New var.
15963 (byte-compile-catch): Use new byte codes depending on
15964 byte-compile--use-old-handlers.
15965 (byte-compile-condition-case--old): Rename from
15966 byte-compile-condition-case.
15967 (byte-compile-condition-case--new): New function.
15968 (byte-compile-condition-case): New function that dispatches depending
15969 on byte-compile--use-old-handlers.
15970 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
15971 when we can.
15972
15973 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
15974 Optimize under `condition-case' and `catch' if
15975 byte-compile--use-old-handlers is nil.
15976 (disassemble-offset): Handle new bytecodes.
15977
15978 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15979
15980 * subr.el (error): Use `declare'.
15981 (decode-char, encode-char): Use advertised-calling-convention instead
15982 of the docstring to discourage use of the `restriction' arg.
15983
15984 2013-10-03 Daiki Ueno <ueno@gnu.org>
15985
15986 * epg.el (epg-verify-file): Add a comment saying that it does not
15987 notify verification error as a return value nor a signal.
15988 (epg-verify-string): Ditto.
15989
15990 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15991
15992 * progmodes/compile.el (compilation-start): Try globbing the arg to
15993 `cd' (bug#15417).
15994
15995 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
15996
15997 Sync with Tramp 2.2.8.
15998
15999 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
16000 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
16001 * net/trampver.el: Update release number.
16002
16003 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
16004
16005 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16006 and default-process-coding-system for darwin only.
16007
16008 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
16011
16012 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
16013
16014 * vc/vc-git.el (vc-git-grep): Disable pager.
16015
16016 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
16017
16018 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
16019 Use :url instead of :homepage, as per
16020 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
16021
16022 * newcomment.el (comment-beginning): When `comment-use-syntax' is
16023 non-nil, use `syntax-ppss' (Bug#15251).
16024
16025 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16026
16027 * progmodes/octave.el (inferior-octave-startup-file):
16028 Prefer ~/.emacs.d/init_octave.m.
16029
16030 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
16031
16032 * emacs-lisp/package.el (package-desc-from-define):
16033 Accept additional arguments as plist, convert them to an alist and store
16034 them in the `extras' slot.
16035 (package-generate-description-file): Convert extras alist back to
16036 plist and append to the `define-package' form arguments.
16037 (package--alist-to-plist): New function.
16038 (package--ac-desc): Add `extras' slot.
16039 (package--add-to-archive-contents): Check if the archive-contents
16040 vector is long enough, and if it is, pass its `extras' slot value
16041 to `package-desc-create'.
16042 (package-buffer-info): Call `lm-homepage', pass the returned value
16043 to `package-desc-from-define'.
16044 (describe-package-1): Render the homepage button (Bug#13291).
16045
16046 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16047 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
16048
16049 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
16050
16051 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16052 and default-process-coding-system to utf-8-unix (Bug#15402).
16053
16054 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
16055
16056 * subr.el (looking-back): Do not recommend using looking-back.
16057
16058 2013-09-28 Alan Mackenzie <acm@muc.de>
16059
16060 Fix indentation/fontification of Java enum with "implements".
16061
16062 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
16063 regexp which matches "implements", etc., in Java.
16064 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
16065 specifier clauses coming after "enum".
16066 * progmodes/cc-fonts.el (c-font-lock-declarations)
16067 (c-font-lock-enum-tail): Check for extra specifier clauses coming
16068 after "enum".
16069
16070 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
16071
16072 * faces.el (region): Change ns_selection_color to
16073 ns_selection_fg_color, add ns_selection_bg_color.
16074
16075 2013-09-28 Leo Liu <sdl.web@gmail.com>
16076
16077 * progmodes/octave.el (inferior-octave-completion-table)
16078 (inferior-octave-completion-at-point): Minor tweaks.
16079
16080 * textmodes/ispell.el (ispell-lookup-words): Rename from
16081 lookup-words. (Bug#15460)
16082 (lookup-words): Obsolete.
16083 (ispell-complete-word, ispell-command-loop): All uses changed.
16084
16085 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16086
16087 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
16088 (octave-mode-menu): Add octave-send-buffer.
16089 (octave-send-buffer): New function.
16090
16091 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16092
16093 * progmodes/octave.el (octave-mode-map): Add key binding for
16094 octave-lookfor.
16095 (octave-mode-menu): Add octave-lookfor.
16096 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
16097 octave-lookfor.
16098 (octave-lookfor): New function.
16099
16100 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
16103 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
16104 its convention.
16105 (cl--loop-set-iterator-function): New function.
16106 (cl-loop): Adjust accordingly, so as not to use cl-subst.
16107 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
16108 Bind `it' with `let' instead of substituting it with `cl-subst'.
16109 (cl--unused-var-p): New function.
16110 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
16111 Eliminate some unused variable warnings (bug#15326).
16112
16113 2013-09-27 Tassilo Horn <tsdh@gnu.org>
16114
16115 * doc-view.el (doc-view-scale-reset): Rename from
16116 `doc-view-reset-zoom-level'.
16117 (doc-view-scale-adjust): New command.
16118 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
16119 `doc-view-scale-adjust'.
16120
16121 2013-09-26 Tassilo Horn <tsdh@gnu.org>
16122
16123 * doc-view.el (doc-view-reset-zoom-level): New command.
16124 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16125 zoom commands (bug#15466).
16126
16127 2013-09-26 Kenichi Handa <handa@gnu.org>
16128
16129 * international/quail.el (quail-help): Make it not a command.
16130
16131 2013-09-26 Leo Liu <sdl.web@gmail.com>
16132
16133 * minibuffer.el (completion-all-sorted-completions): Make args
16134 optional as they are.
16135
16136 2013-09-25 Daniel Colascione <dancol@dancol.org>
16137
16138 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16139 specs are and that they're not evaluated.
16140
16141 2013-09-24 Sam Steingold <sds@gnu.org>
16142
16143 * midnight.el (clean-buffer-list-kill-regexps)
16144 (clean-buffer-list-kill-buffer-names): Update for the new Man
16145 buffer naming which includes the object name.
16146
16147 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16148
16149 * eshell/esh-cmd.el (eshell--sep-terms): New var.
16150 (eshell-parse-command, eshell-parse-pipeline): Use it since
16151 eshell-separate-commands requires a dynamic scoped var.
16152 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16153
16154 2013-09-23 Leo Liu <sdl.web@gmail.com>
16155
16156 * autoinsert.el (auto-insert-alist): Make the value of
16157 lexical-binding match its file setting.
16158
16159 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
16160
16161 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16162
16163 * autoarg.el (autoarg-kp-digit-argument):
16164 * electric.el (Electric-command-loop):
16165 * kmacro.el (kmacro-step-edit-insert):
16166 Do not set universal-argument-num-events.
16167
16168 2013-09-22 Leo Liu <sdl.web@gmail.com>
16169
16170 * files.el (interpreter-mode-alist): Add octave.
16171
16172 2013-09-21 Alan Mackenzie <acm@muc.de>
16173
16174 C++: fontify identifier in declaration following "public:" correctly.
16175 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16176 to match "public", etc.
16177 (c-decl-prefix-re): Add ":" into the C++ value.
16178 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16179 bit. Add a check for a ":" preceded by "public", etc.
16180
16181 2013-09-21 Eli Zaretskii <eliz@gnu.org>
16182
16183 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16184 recognized by GDB 7.5 and later.
16185
16186 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
16187
16188 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16189
16190 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16191
16192 * subr.el (internal--call-interactively): New const.
16193 (called-interactively-p): Use it (bug#3984).
16194
16195 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
16196
16197 * vc/pcvs.el (cvs-mode-ignore):
16198 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16199 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16200
16201 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
16204 (eshell-ls-orig-insert-directory): Remove.
16205 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
16206 (eshell-ls-use-in-dired): Use advice-add/remove.
16207 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16208 Add `orig-fun' arg for use in :around advice.
16209 Make it check (redundantly) eshell-ls-use-in-dired.
16210
16211 2013-09-19 Glenn Morris <rgm@gnu.org>
16212
16213 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16214
16215 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16216
16217 * emacs-lisp/eieio.el (class-parent): Undo previous change.
16218
16219 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
16220
16221 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16222 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16223 (tramp-get-remote-python): New defuns.
16224 (tramp-get-remote-uid-with-perl)
16225 (tramp-get-remote-gid-with-perl): New defuns. Perl code
16226 contributed by yary <not.com@gmail.com> (tiny change).
16227 (tramp-get-remote-uid-with-python)
16228 (tramp-get-remote-gid-with-python): New defuns. Python code
16229 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16230 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16231
16232 2013-09-19 Glenn Morris <rgm@gnu.org>
16233
16234 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16235
16236 * eshell/em-unix.el (eshell-remove-entries):
16237 Rename argument to avoid name-clash with global `top-level'.
16238
16239 * eshell/esh-proc.el (eshell-kill-process-function):
16240 Remove eshell-reset-after-proc from eshell-kill-hook if present.
16241 (eshell-reset-after-proc): Remove unused arg `proc'.
16242
16243 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16244 (directory-files-and-attributes): Mark unused arg.
16245
16246 * eshell/em-unix.el (eshell-remove-entries):
16247 Remove unused arg `path'. Update callers.
16248
16249 * eshell/em-hist.el (eshell-hist-parse-arguments):
16250 Remove unused arg `silent'. Update callers.
16251
16252 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16253 Fix (f)boundp mix-up.
16254
16255 * eshell/em-smart.el (eshell-smart-scroll-window)
16256 (eshell-disable-after-change):
16257 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16258
16259 2013-09-18 Alan Mackenzie <acm@muc.de>
16260
16261 Fix fontification of type when followed by "const".
16262 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16263 "known" types from fontification.
16264
16265 2013-09-18 Glenn Morris <rgm@gnu.org>
16266
16267 * emacs-lisp/chart.el (x-display-color-cells): Declare.
16268 (chart-face-list): Drop Emacsen without display-color-p.
16269
16270 * net/eww.el (libxml-parse-html-region): Declare.
16271 (eww-display-html): Explicit error if no libxml2 support.
16272
16273 * doc-view.el (doc-view-mode): Silence --without-x compilation.
16274
16275 * image.el (image-type-from-buffer, image-multi-frame-p):
16276 Remove --without-x warning/error.
16277
16278 * mouse.el (mouse-yank-primary):
16279 * term.el (term-mouse-paste):
16280 Reorder to silence --without-x compilation.
16281
16282 * mpc.el (doc-view-mode): Silence --without-x compilation.
16283
16284 * mail/rmailmm.el (rmail-mime-set-bulk-data):
16285 Silence --without-x compilation.
16286
16287 * progmodes/gud.el (gud-find-file, gud-mode):
16288 Silence --without-x compilation.
16289 (tooltip-mode): Declare.
16290
16291 * wdired.el (dired-backup-overwrite): Remove declaration.
16292 (wdired-mode-map): Add doc string.
16293
16294 * custom.el (x-get-resource): Declare.
16295
16296 * eshell/em-glob.el (ange-cache):
16297 * eshell/em-unix.el (ange-cache): Declare.
16298
16299 * faces.el (x-display-list, x-open-connection, x-get-resource):
16300 Declare.
16301
16302 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16303 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16304 Declare.
16305
16306 * frame.el (x-display-grayscale-p, x-display-name): Declare.
16307
16308 * net/gnutls.el (gnutls-log-level): Declare.
16309
16310 * net/shr.el (image-size, image-animate): Declare.
16311
16312 * simple.el (font-info): Declare.
16313
16314 * subr.el (x-popup-dialog): Declare.
16315
16316 * term/common-win.el (x-select-enable-primary)
16317 (x-last-selected-text-primary, x-last-selected-text-clipboard):
16318 Declare.
16319
16320 * term/ns-win.el (x-handle-args): Declare.
16321
16322 * term/x-win.el (x-select-enable-clipboard): Declare.
16323
16324 * term/w32-win.el (create-default-fontset): Declare.
16325
16326 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16327 Declare.
16328
16329 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16330 (fit-frame-to-buffer): Explicit error if --without-x.
16331 (mouse-autoselect-window-select): Silence compiler.
16332
16333 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16334
16335 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16336 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16337 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16338 * eshell/esh-util.el (eshell-sublist):
16339 Remove unused local variables.
16340
16341 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16342
16343 * textmodes/two-column.el: Make 2C-split work for --without-x.
16344 (scroll-bar-columns): Autoload.
16345 (top-level): Require fringe when compiling.
16346
16347 2013-09-18 Leo Liu <sdl.web@gmail.com>
16348
16349 * subr.el (add-hook): Robustify to handle closure as well.
16350
16351 2013-09-17 Glenn Morris <rgm@gnu.org>
16352
16353 * simple.el (messages-buffer-mode-map): Unbind "g".
16354
16355 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16356
16357 * help-mode.el (help-mode-finish): Use derived-mode-p.
16358 Remove obsolete highlighting.
16359
16360 * play/life.el (life-mode): Use define-derived-mode. Derive from
16361 special-mode.
16362 (life): Let-bind inhibit-read-only.
16363 (life-setup): Avoid `setq'. Use `life-mode'.
16364
16365 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16366 which should not be needed any more.
16367 (package-menu-refresh, package-menu-describe-package): Use user-error.
16368
16369 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16370 (eshell-post-rewrite-command-hook): Make obsolete.
16371 (eshell-parse-command): Simplify.
16372 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16373 (eshell--cmd): Declare.
16374 (eshell-parse-pipeline): Remove unused var `final-p'.
16375 Pass a dynvar to eshell-post-rewrite-command-hook.
16376 Implement the new eshell-post-rewrite-command-function.
16377 (eshell-invoke-directly): Remove unused arg `input'.
16378 * eshell/esh-io.el (eshell-io-initialize):
16379 Use eshell-post-rewrite-command-function (bug#15399).
16380 (eshell--apply-redirections): Rename from eshell-apply-redirections;
16381 adjust to new calling convention.
16382 (eshell-create-handles): Rename args to avoid clashing with dynvar
16383 `standard-output'.
16384
16385 2013-09-17 Glenn Morris <rgm@gnu.org>
16386
16387 * simple.el (messages-buffer-mode): New major mode.
16388 (messages-buffer): New function.
16389 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16390 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16391 (ert-run-test): Use `messages-buffer' function.
16392 (ert--force-message-log-buffer-truncation): Ignore read-only.
16393 * help.el (view-echo-area-messages): Use `messages-buffer' function.
16394 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16395
16396 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16397
16398 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16399
16400 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16401
16402 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16403
16404 * icomplete.el (icomplete-in-buffer): New var.
16405 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16406 vars and replace them with functions.
16407 (icomplete-minibuffer-setup): Adjust accordingly.
16408 (icomplete--completion-table, icomplete--completion-predicate)
16409 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16410 New functions.
16411 (icomplete-forward-completions, icomplete-backward-completions)
16412 (icomplete-simple-completing-p, icomplete-exhibit)
16413 (icomplete-completions): Use them.
16414 (icomplete--in-region-buffer): New var.
16415 (icomplete--in-region-setup): New function.
16416 (icomplete-mode): Use it.
16417
16418 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
16419 (bug#15379).
16420 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
16421 return args and options.
16422 (eshell-eval-using-options): Use the new return value of
16423 eshell--do-opts to set the options's vars in their scope.
16424 (eshell--set-option): Rename from eshell-set-option.
16425 Add arg `opt-vals'.
16426 (eshell--process-option): Rename from eshell-process-option.
16427 Add arg `opt-vals'.
16428 (eshell--process-args): Use an `opt-vals' alist to store the options's
16429 values during their processing and return them additionally to the
16430 remaining args.
16431
16432 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
16433
16434 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
16435 continuation character an operator, as far as indentation is
16436 concerned (Bug#15369).
16437
16438 2013-09-15 Martin Rudalics <rudalics@gmx.at>
16439
16440 * window.el (window--state-put-2): Don't process buffer state
16441 when buffer doesn't exist any more (Bug#15382).
16442
16443 2013-09-15 Glenn Morris <rgm@gnu.org>
16444
16445 * eshell/em-unix.el (eshell/rm):
16446 Make -f ignore missing files. (Bug#15373)
16447
16448 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
16449 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
16450 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
16451
16452 2013-09-14 Glenn Morris <rgm@gnu.org>
16453
16454 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
16455
16456 2013-09-13 Glenn Morris <rgm@gnu.org>
16457
16458 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
16459 (dired-guess-default): Make `file' available in the env. (Bug#15363)
16460
16461 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
16462
16463 * frame.el (x-focus-frame): Mark as declared in frame.c.
16464
16465 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16466
16467 * ls-lisp.el: Use advice-add.
16468 (original-insert-directory): Remove.
16469 (ls-lisp--insert-directory): Rename from insert-directory; add
16470 `orig-fun' argument.
16471 (insert-directory): Advise.
16472
16473 2013-09-13 Eli Zaretskii <eliz@gnu.org>
16474
16475 * term.el (term-emulate-terminal): Decode the command string
16476 before passing it to term-command-hook. (Bug#15337)
16477
16478 2013-09-13 Glenn Morris <rgm@gnu.org>
16479
16480 * eshell/esh-util.el (ange-cache): Move declaration earlier.
16481
16482 * eshell/esh-ext.el (eshell-search-path): Declare.
16483
16484 * eshell/em-prompt.el (eshell/pwd): Autoload it.
16485 Otherwise an error occurs if eshell-dirs module not loaded.
16486
16487 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
16488
16489 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
16490
16491 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
16492 `tramp-check-proper-host'. Check for a valid method name.
16493
16494 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16495 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16496 * net/tramp-sh.el (tramp-maybe-open-connection):
16497 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
16498
16499 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
16500 also for hash values.
16501
16502 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * term/ns-win.el (parameters): Don't declare as dynamic.
16505 (before-make-frame-hook): Don't add ineffective function.
16506
16507 * eshell/*.el: Use lexical-binding (bug#15231).
16508
16509 2013-09-12 Kenichi Handa <handa@gnu.org>
16510
16511 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
16512
16513 2013-09-12 Glenn Morris <rgm@gnu.org>
16514
16515 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
16516 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
16517
16518 * subr.el (do-after-load-evaluation): Also give compiler warnings
16519 when obsolete files are used (except by obsolete files).
16520
16521 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
16522 in the status output, assume `filename' is the first. (Bug#15322)
16523
16524 * vc/vc.el (vc-deduce-fileset): Doc fix.
16525
16526 * calc/calc-help.el (Info-goto-node):
16527 * progmodes/cperl-mode.el (Info-find-node):
16528 * vc/ediff.el (Info-goto-node): Update declarations.
16529
16530 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
16531
16532 * vc/vc-bzr.el (vc-compilation-mode): Declare.
16533 (vc-bzr-pull): Require vc-dispatcher.
16534 * vc/vc-git.el (vc-compilation-mode): Declare.
16535 (vc-git-pull): Require vc-dispatcher.
16536
16537 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
16538
16539 * progmodes/octave.el (help-button-action): Declare.
16540
16541 * shell.el (shell-directory-tracker): Output error as a message
16542 rather than just returning it as a string.
16543 (shell-process-pushd): Remove useless use of message.
16544
16545 * dframe.el (dframe-timer-fn):
16546 * files.el (dir-locals-read-from-file):
16547 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
16548 (mpc-format):
16549 * reveal.el (reveal-post-command):
16550 * saveplace.el (load-save-place-alist-from-file):
16551 * shell.el (shell-resync-dirs):
16552 * w32-common-fns.el (x-get-selection-value):
16553 * emacs-lisp/copyright.el (copyright-find-copyright):
16554 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
16555 * emulation/tpu-edt.el (tpu-copy-keyfile):
16556 * play/bubbles.el (bubbles--mark-neighbourhood):
16557 * progmodes/executable.el
16558 (executable-make-buffer-file-executable-if-script-p):
16559 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
16560
16561 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16562
16563 Cleanup Eshell to rely less on dynamic scoping.
16564 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
16565 last-value, and ext-command here. Bind `args' closer to `body'.
16566 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
16567 (eshell--args): Declare new dynamic var.
16568 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
16569 last-value, and ext-command. Pass `args' to `body'.
16570 (eshell-process-args): Bind eshell--args.
16571 (eshell-set-option): Use eshell--args.
16572 * eshell/eshell.el (eshell): Use derived-mode-p.
16573 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
16574 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
16575 (eshell-glob-function): Declare.
16576 * eshell/esh-util.el: Require cl-lib.
16577 (eshell-read-hosts-file): Avoid add-to-list.
16578 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
16579 `err'.
16580 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
16581 Declare.
16582 (eshell/diff): Remove unused var `err'.
16583 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
16584 `killflag'.
16585 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
16586 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
16587 first use.
16588 * eshell/em-glob.el (eshell-glob-matches, message-shown):
16589 Move declaration before first use.
16590 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
16591 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
16592 rely on cl-return.
16593
16594 2013-09-12 Glenn Morris <rgm@gnu.org>
16595
16596 * term/ns-win.el (global-map): Remove binding for ispell-next,
16597 deleted 1999-05-29. (Bug#15357)
16598
16599 2013-09-11 Glenn Morris <rgm@gnu.org>
16600
16601 * echistory.el (electric-command-history): Remove call to deleted func.
16602
16603 * play/landmark.el (landmark-mode): Fix typos.
16604
16605 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
16606 Check cvs-sort-ignore-file is bound.
16607
16608 * savehist.el: No need for cl when compiling on Emacs.
16609
16610 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16611
16612 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
16613 (bug#15338).
16614 (eshell-self-insert-command, eshell-send-invisible):
16615 Remove unused argument.
16616 (eshell-handle-control-codes): Remove unused var `orig'.
16617 Avoid delete-backward-char.
16618
16619 * files.el (set-auto-mode): Simplify a bit further.
16620
16621 2013-09-11 Glenn Morris <rgm@gnu.org>
16622
16623 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
16624 (set-auto-mode): Don't regexp-quote elements.
16625 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
16626 * progmodes/cc-mode.el (interpreter-mode-alist):
16627 * progmodes/ruby-mode.el (interpreter-mode-alist):
16628 Revert previous change.
16629
16630 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16631
16632 * play/snake.el (snake-mode):
16633 * play/mpuz.el (mpuz-mode):
16634 * play/landmark.el (lm-mode):
16635 * play/blackbox.el (blackbox-mode):
16636 * play/5x5.el (5x5-mode):
16637 * obsolete/options.el (Edit-options-mode):
16638 * net/quickurl.el (quickurl-list-mode):
16639 * net/newst-treeview.el (newsticker-treeview-mode):
16640 * mail/rmailsum.el (rmail-summary-mode):
16641 * mail/mspools.el (mspools-mode):
16642 * locate.el (locate-mode):
16643 * ibuffer.el (ibuffer-mode):
16644 * emulation/ws-mode.el (wordstar-mode):
16645 * emacs-lisp/debug.el (debugger-mode):
16646 * array.el (array-mode):
16647 * net/eudc.el (eudc-mode): Use define-derived-mode.
16648 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
16649 Move initialization into declaration.
16650 (mairix-searches-mode): Use define-derived-mode.
16651 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
16652 (eudc-edit-hotlist): Use dolist.
16653 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
16654 (Man-mode): Use define-derived-mode.
16655 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
16656 (Info-edit-mode): Use define-derived-mode.
16657 (Info-cease-edit): Use Info-mode.
16658 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
16659 into declaration.
16660 (eshell-mode): Use define-derived-mode.
16661 * chistory.el (command-history-mode-map): Rename from
16662 command-history-map.
16663 (command-history-mode): Use define-derived-mode.
16664 (Command-history-setup): Remove function.
16665 * calc/calc.el (calc-trail-mode-map): New var.
16666 (calc-trail-mode): Use define-derived-mode.
16667 (calc-trail-buffer): Set calc-main-buffer manually.
16668 * bookmark.el (bookmark-insert-annotation): New function.
16669 (bookmark-edit-annotation): Use it.
16670 (bookmark-edit-annotation-mode): Make it a proper major mode.
16671 (bookmark-send-edited-annotation): Use derived-mode-p.
16672 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
16673 closer to its ideal place. Use \' to match EOS.
16674
16675 * profiler.el (profiler-calltree-find): Use function-equal.
16676
16677 2013-09-10 Glenn Morris <rgm@gnu.org>
16678
16679 * files.el (interpreter-mode-alist): Convert to regexps.
16680 (set-auto-mode): Adapt for this. (Bug#15306)
16681 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
16682 Comment out unused variable.
16683 * progmodes/cc-mode.el (interpreter-mode-alist):
16684 * progmodes/python.el (interpreter-mode-alist):
16685 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
16686 * progmodes/sh-script.el (sh-set-shell):
16687 No longer use interpreter-mode-alist to get list of shells.
16688
16689 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
16690
16691 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * simple.el: Use set-temporary-overlay-map for universal-argument.
16694 (universal-argument-map): Don't use default-bindings (bug#15317).
16695 Bind switch-frame explicitly. Replace universal-argument-minus with
16696 a conditional binding.
16697 (universal-argument-num-events, saved-overriding-map): Remove.
16698 (restore-overriding-map): Remove.
16699 (universal-argument--mode): Rename from save&set-overriding-map,
16700 and rewrite.
16701 (universal-argument, universal-argument-more, negative-argument)
16702 (digit-argument): Adjust accordingly.
16703 (universal-argument-minus): Remove.
16704 (universal-argument-other-key): Remove.
16705
16706 * subr.el (with-demoted-errors): Add `format' argument.
16707
16708 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
16709
16710 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
16711 `tramp-cleanup-connection'.
16712
16713 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
16714 parameters KEEP-DEBUG and KEEP-PASSWORD.
16715
16716 * net/tramp.el (tramp-file-name-handler):
16717 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16718 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16719 (tramp-maybe-open-connection):
16720 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16721 Use `tramp-cleanup-connection'.
16722
16723 * net/tramp-sh.el (tramp-maybe-open-connection):
16724 Catch 'uname-changed inside the progress reporter.
16725
16726 2013-09-10 Glenn Morris <rgm@gnu.org>
16727
16728 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
16729
16730 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
16731 returns "alternate access method" in mode (eg "-rw-r--r--.").
16732
16733 2013-09-08 Glenn Morris <rgm@gnu.org>
16734
16735 * saveplace.el (load-save-place-alist-from-file):
16736 Demote errors. (Bug#15305)
16737
16738 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
16739
16740 Improve compatibility with older Emacsen, and XEmacs.
16741
16742 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
16743 only if it is bound. It isn't for XEmacs.
16744 (with-tramp-progress-reporter): Do not let-bind `result'.
16745 This yields to scoping errors in XEmacs.
16746 (tramp-handle-make-auto-save-file-name): New function, moved from
16747 tramp-sh.el.
16748
16749 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
16750 for `make-auto-save-file-name'.
16751 (tramp-adb--gnu-switches-to-ash):
16752 Use `tramp-compat-replace-regexp-in-string'.
16753
16754 * net/tramp-cache.el (tramp-cache-print): Call
16755 `substring-no-properties' only if it is bound. It isn't for XEmacs.
16756
16757 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
16758 bound. It isn't for XEmacs.
16759
16760 * net/tramp-compat.el (tramp-compat-copy-file):
16761 Catch `wrong-number-of-arguments' error.
16762 (tramp-compat-replace-regexp-in-string): New defun.
16763
16764 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
16765 for `make-auto-save-file-name'.
16766 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
16767 `copy-file'.
16768 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
16769 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
16770 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
16771
16772 * net/tramp-gw.el (tramp-gw-open-network-stream):
16773 Use `tramp-compat-replace-regexp-in-string'.
16774
16775 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16776 Call `tramp-handle-make-auto-save-file-name'.
16777 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
16778 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16779 (tramp-sh-file-inotifywait-process-filter):
16780 Use `tramp-compat-replace-regexp-in-string'.
16781 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
16782
16783 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
16784 for `make-auto-save-file-name'.
16785 (tramp-smb-handle-copy-directory):
16786 Call `tramp-compat-replace-regexp-in-string'.
16787 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
16788 (tramp-smb-handle-copy-file): Improve error message.
16789 (tramp-smb-handle-rename-file): Rename directly only in case
16790 `newname' does not exist yet. This is a restriction of smbclient.
16791 (tramp-smb-maybe-open-connection): Rerun the function only when
16792 `auth-sources' is non-nil.
16793
16794 2013-09-08 Kenichi Handa <handa@gnu.org>
16795
16796 * international/characters.el: Set category "^" (Combining) for
16797 more characters.
16798
16799 2013-09-07 Alan Mackenzie <acm@muc.de>
16800
16801 Correctly fontify Java class constructors.
16802 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
16803 in Java Mode.
16804 (c-recognize-typeless-decls): Set the Java value to t.
16805 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16806 While handling a "(", add a check for, effectively, Java, and handle a
16807 "typeless" declaration there.
16808
16809 2013-09-07 Roland Winkler <winkler@gnu.org>
16810
16811 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
16812 field subtitle for entry type book.
16813
16814 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16815
16816 * minibuffer.el: Make minibuffer-complete call completion-in-region
16817 rather than other way around.
16818 (completion--some, completion-pcm--find-all-completions):
16819 Don't delay signals when debugging.
16820 (minibuffer-completion-contents): Beware fields within the
16821 minibuffer contents.
16822 (completion-all-sorted-completions): Use defvar-local.
16823 (completion--do-completion, completion--cache-all-sorted-completions)
16824 (completion-all-sorted-completions, minibuffer-force-complete):
16825 Add args `beg' and `end'.
16826 (completion--in-region-1): New fun, extracted from minibuffer-complete.
16827 (minibuffer-complete): Use completion-in-region.
16828 (completion-complete-and-exit): New fun, extracted from
16829 minibuffer-complete-and-exit.
16830 (minibuffer-complete-and-exit): Use it.
16831 (completion--complete-and-exit): Rename from
16832 minibuffer--complete-and-exit.
16833 (completion-in-region--single-word): New function, extracted from
16834 minibuffer-complete-word.
16835 (minibuffer-complete-word): Use it.
16836 (display-completion-list): Make `common-substring' argument obsolete.
16837 (completion--in-region): Call completion--in-region-1 instead of
16838 minibuffer-complete.
16839 (completion-help-at-point): Pass boundaries to
16840 minibuffer-completion-help as args rather than via an overlay.
16841 (completion-pcm--string->pattern): Use `any-delim'.
16842 (completion-pcm--optimize-pattern): New function.
16843 (completion-pcm--pattern->regex): Handle `any-delim'.
16844 * icomplete.el (icomplete-forward-completions)
16845 (icomplete-backward-completions, icomplete-completions):
16846 Adjust calls to completion-all-sorted-completions and
16847 completion--cache-all-sorted-completions.
16848 (icomplete-with-completion-tables): Default to t.
16849 * emacs-lisp/crm.el (crm--current-element): Rename from
16850 crm--select-current-element. Don't put an overlay but return the
16851 boundaries instead.
16852 (crm--completion-command): Take two new args to bind to the boundaries.
16853 (crm-completion-help): Adjust accordingly.
16854 (crm-complete): Use completion-in-region.
16855 (crm-complete-word): Use completion-in-region--single-word.
16856 (crm-complete-and-exit): Use completion-complete-and-exit.
16857
16858 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
16861 than dynamically.
16862
16863 2013-09-06 Juri Linkov <juri@jurta.org>
16864
16865 * info.el (Info-display-images-node): When image file doesn't exist
16866 display text version of the image if it's provided in the Info file.
16867 Otherwise, display the location of missing image from SRC attribute.
16868 Add help-echo text property from ALT attribute. (Bug#15279)
16869
16870 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16871
16872 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
16873 (edit-abbrevs-mode): Use define-derived-mode.
16874
16875 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
16876 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
16877 that it's defined.
16878 (epa-key-list-mode, epa-key-mode, epa-info-mode):
16879 Use define-derived-mode.
16880
16881 * epg.el (epg-start-encrypt): Minor CSE simplification.
16882
16883 2013-09-06 William Xu <william.xwl@gmail.com>
16884
16885 * arc-mode.el: Add support for 7za (bug#15264).
16886 (archive-7z-program): New var.
16887 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16888 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
16889 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
16890
16891 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
16892
16893 Remove URL syntax.
16894
16895 * net/tramp.el (tramp-syntax, tramp-prefix-format)
16896 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
16897 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
16898 (tramp-postfix-host-format, tramp-file-name-regexp)
16899 (tramp-completion-file-name-regexp)
16900 (tramp-completion-dissect-file-name)
16901 (tramp-handle-substitute-in-file-name): Remove 'url case.
16902 (tramp-file-name-regexp-url)
16903 (tramp-completion-file-name-regexp-url): Remove constants.
16904
16905 2013-09-06 Glenn Morris <rgm@gnu.org>
16906
16907 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
16908
16909 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
16910
16911 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
16912 keywords" below "here-doc beginnings" (Bug#15270).
16913
16914 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16915
16916 * subr.el (pop): Use `car-safe'.
16917 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
16918 to detect unused `pop' return value.
16919
16920 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
16921 var `block-regexp'.
16922 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
16923 (python-fill-string): Remove unused var `marker'.
16924 (python-skeleton-add-menu-items): Remove unused var `items'.
16925
16926 * international/mule-cmds.el: Require CL.
16927 (find-coding-systems-for-charsets): Avoid add-to-list.
16928 (sanitize-coding-system-list): New function, extracted from
16929 select-safe-coding-system-interactively.
16930 (select-safe-coding-system-interactively): Use it.
16931 (read-input-method-name): Accept symbols for `default'.
16932
16933 * emacs-lisp/advice.el (defadvice): Add indent rule.
16934
16935 2013-09-05 Daniel Hackney <dan@haxney.org>
16936
16937 * dired-x.el:
16938 * net/ange-ftp.el:
16939 * net/browse-url.el:
16940 * net/dbus.el:
16941 * net/eudc.el:
16942 * net/eudcb-ldap.el:
16943 * net/eww.el:
16944 * net/imap.el:
16945 * printing.el:
16946 * vc/ediff-diff.el:
16947 * vc/ediff-init.el:
16948 * vc/ediff-merg.el:
16949 * vc/ediff-mult.el:
16950 * vc/ediff-util.el:
16951 * vc/ediff-wind.el:
16952 * vc/ediff.el:
16953 * vc/emerge.el:
16954 * vc/pcvs.el:
16955 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
16956 byte compiler. Remove some unused let-bound variables.
16957
16958 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16959
16960 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
16961 a "ref-cell", since it gets better optimized (bug#14883).
16962
16963 2013-09-05 Glenn Morris <rgm@gnu.org>
16964
16965 * progmodes/cc-awk.el (c-forward-sws): Declare.
16966
16967 2013-09-04 Glenn Morris <rgm@gnu.org>
16968
16969 * generic-x.el [rul-generic-mode]: Require cc-mode.
16970 (c++-mode-syntax-table): Declare.
16971 (rul-generic-mode-syntax-table): Init in the defvar.
16972
16973 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16974
16975 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
16976 (vc-do-command, vc-set-async-update):
16977 * vc/vc-mtn.el (vc-mtn-dir-status):
16978 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
16979 (vc-hg-pull, vc-hg-merge-branch):
16980 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
16981 (vc-git-merge-branch):
16982 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
16983 (vc-cvs-dir-status-files):
16984 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
16985 (vc-bzr-dir-status-files):
16986 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
16987 * vc/vc-annotate.el: Use lexical-binding.
16988 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
16989 (vc-sentinel-movepoint): Declare.
16990 (vc-annotate): Don't use `goto-line'.
16991 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
16992 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
16993 (vc-sentinel-movepoint): Declare.
16994 * vc/vc-svn.el: Use lexical-binding.
16995 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
16996 * vc/vc-sccs.el:
16997 * vc/vc-rcs.el: Use lexical-binding.
16998
16999 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
17000 `deleted'. Don't drop errors silently.
17001
17002 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
17003
17004 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
17005
17006 * vc/vc.el (vc-ignore): Rewrite.
17007 (vc-default-ignore): New function.
17008 (vc-default-ignore-completion-table): Use find-ignore-file.
17009
17010 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
17011 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
17012 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
17013 Remove. Most code moved to vc.el.
17014
17015 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
17016
17017 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
17018 * net/tramp-smb.el (tramp-smb-get-file-entries):
17019 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
17020 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
17021
17022 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
17023 Update call to it.
17024 (eww-change-select): Remove unused var `properties'.
17025 (eww-make-unique-file-name): Remove unused var `base'.
17026
17027 * finder.el (finder-compile-keywords): Don't mess with windows.
17028
17029 * calculator.el (calculator-funcall): Fix typo in last change.
17030
17031 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
17032
17033 * emacs-lisp/package.el (package-activate-1): Don't let a missing
17034 <pkg>-autoloads.el file stop us.
17035
17036 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
17037 warnings, and factor out common code.
17038
17039 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
17040
17041 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
17042 two-character operators and whether the character preceding them
17043 changes their meaning (Bug#15208).
17044
17045 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17046
17047 Format code sent to Python shell for robustness.
17048 * progmodes/python.el (python-shell-buffer-substring):
17049 New function.
17050 (python-shell-send-region, python-shell-send-buffer): Use it.
17051
17052 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
17053
17054 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
17055 * net/tramp.el (tramp-user-error): ... here.
17056 (tramp-find-method, tramp-check-proper-host)
17057 (tramp-dissect-file-name, tramp-debug-message)
17058 (tramp-handle-shell-command):
17059 * net/tramp-adb.el (tramp-adb-handle-shell-command):
17060 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
17061
17062 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
17063
17064 2013-09-02 Martin Rudalics <rudalics@gmx.at>
17065
17066 * avoid.el (mouse-avoidance-point-position)
17067 (mouse-avoidance-too-close-p): Handle case where posn-at-point
17068 returns nil.
17069
17070 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17071
17072 * progmodes/python.el (python-shell-completion-get-completions):
17073 Drop use of deleted `comint-last-prompt-overlay'.
17074 (python-nav-if-name-main): New command.
17075
17076 2013-09-01 Glenn Morris <rgm@gnu.org>
17077
17078 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
17079 Avoid leading space in $wins. Otherwise the sed command used by
17080 eg compile-main ends up containing "/*.el". (Bug#15170)
17081
17082 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
17083
17084 2013-08-30 Glenn Morris <rgm@gnu.org>
17085
17086 * emacs-lisp/bytecomp.el (byte-recompile-directory):
17087 Fix is-this-a-directory logic. (Bug#15220)
17088
17089 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17090
17091 * textmodes/css-mode.el: Use SMIE.
17092 (css-smie-grammar): New var.
17093 (css-smie--forward-token, css-smie--backward-token)
17094 (css-smie-rules): New functions.
17095 (css-mode): Use them.
17096 (css-navigation-syntax-table): Remove var.
17097 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
17098 (css-indent-calculate, css-indent-line): Remove functions.
17099
17100 Misc changes to reduce use of `(lambda...); and other cleanups.
17101 * cus-edit.el: Use lexical-binding.
17102 (customize-push-and-save, customize-apropos)
17103 (custom-buffer-create-internal): Use closures.
17104 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
17105 * progmodes/ada-xref.el: Use setq.
17106 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
17107 * dframe.el: Use lexical-binding.
17108 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
17109 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
17110 * descr-text.el: Use lexical-binding.
17111 (describe-text-widget, describe-text-sexp, describe-property-list):
17112 Use closures.
17113 * comint.el (comint-history-isearch-push-state): Use a closure.
17114 * calculator.el: Use lexical-binding.
17115 (calculator-number-to-string): Make it work with lexical-binding.
17116 (calculator-funcall): Same and use cl-letf.
17117
17118 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
17119 (lisp--company-doc-string, lisp--company-location): New functions.
17120 (lisp-completion-at-point): Use them to improve Company support.
17121
17122 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17123 params of lambda expressions.
17124 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17125 (ruby-smie--opening-pipe-p): New function.
17126 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17127 symbols and matched |...| for formal params.
17128 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17129 from being treated as hanging. Handle "rescue".
17130
17131 2013-08-29 Glenn Morris <rgm@gnu.org>
17132
17133 * progmodes/cc-engine.el (c-pull-open-brace):
17134 Move definition before use.
17135
17136 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17137
17138 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17139 are immutable. Don't use `unsafe' any more.
17140 (cl--defsubst-expand): Don't substitute at the same time as keeping
17141 a residual unused let-binding. Don't use `unsafe' any more.
17142
17143 2013-08-29 Glenn Morris <rgm@gnu.org>
17144
17145 * calendar/cal-china.el (calendar-chinese-year-cache):
17146 Recenter on 2015.
17147
17148 * nxml/nxml-util.el (nxml-debug-clear-inside):
17149 Use cl-loop rather than loop.
17150
17151 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17152
17153 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17154
17155 2013-08-28 Glenn Morris <rgm@gnu.org>
17156
17157 * progmodes/antlr-mode.el: No need to require cc-mode twice.
17158
17159 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17160
17161 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17162
17163 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17164
17165 * simple.el (repeat-complex-command--called-interactively-skip):
17166 New function.
17167 (repeat-complex-command): Use it (bug#14136).
17168
17169 * progmodes/cc-mode.el: Minor cleanup of var declarations.
17170 (c-define-abbrev-table): Add `doc' argument.
17171 (c-mode-abbrev-table, c++-mode-abbrev-table)
17172 (objc-mode-abbrev-table, java-mode-abbrev-table)
17173 (idl-mode-abbrev-table, pike-mode-abbrev-table)
17174 (awk-mode-abbrev-table): Use it.
17175 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17176 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17177 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17178 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17179 Move initialization into the declaration; and remove any
17180 autoload cookie.
17181
17182 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17183 and dynamic let binding.
17184
17185 * vc/smerge-mode.el: Remove redundant :group args.
17186
17187 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17188 to load-path.
17189
17190 2013-08-28 Juri Linkov <juri@jurta.org>
17191
17192 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17193 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17194 (isearch-other-meta-char): Handle an undefined shifted printing
17195 character by downshifting it. (Bug#15200)
17196
17197 2013-08-28 Juri Linkov <juri@jurta.org>
17198
17199 * isearch.el (isearch-search): Change regexp error message for
17200 non-regexp searches. (Bug#15166)
17201
17202 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
17203
17204 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17205 for portability to hosts where /bin/sh has problems.
17206
17207 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17210
17211 2013-08-27 Juri Linkov <juri@jurta.org>
17212
17213 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17214 in the keyboard macro. (Bug#15126)
17215
17216 2013-08-27 Juri Linkov <juri@jurta.org>
17217
17218 * isearch.el (isearch-quote-char): Comment out converting unibyte
17219 to multibyte, thus syncing with its `quoted-insert' counterpart.
17220 (Bug#15166)
17221
17222 2013-08-27 Martin Rudalics <rudalics@gmx.at>
17223
17224 * window.el (display-buffer-use-some-window): Add missing
17225 argument in call of get-largest-window (Bug#15185).
17226 Reported by Stephen Leake.
17227
17228 2013-08-27 Glenn Morris <rgm@gnu.org>
17229
17230 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17231
17232 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17233
17234 * progmodes/python.el (python-font-lock-keywords): Don't return nil
17235 from a matcher-function unless there's no more matches (bug#15161).
17236
17237 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17238
17239 * minibuffer.el: Revert change from 2013-08-20.
17240
17241 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17242 with text property `tramp-default', if appropriate.
17243 (tramp-check-proper-host): New defun.
17244 (tramp-dissect-file-name): Do not check hostname. Revert change
17245 of 2013-03-18.
17246 (tramp-backtrace): Make VEC-OR-PROC optional.
17247
17248 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17249 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17250 * net/tramp-sh.el (tramp-maybe-open-connection):
17251 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17252 Apply `tramp-check-proper-host'.
17253
17254 2013-08-26 Tassilo Horn <tsdh@gnu.org>
17255
17256 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17257 lambda expression in order to have `describe-variable' display it.
17258
17259 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17260
17261 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17262 BUF can be optional. (Bug#15186)
17263
17264 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
17265
17266 * progmodes/flymake.el (flymake-get-real-file-name-function):
17267 Fix broken customization. (Bug#15184)
17268
17269 2013-08-25 Alan Mackenzie <acm@muc.de>
17270
17271 Improve indentation of bracelists defined by macros (without "=").
17272
17273 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17274 expansion begins with "{", regard it as bracelist when it doesn't
17275 contain a ";".
17276
17277 Parse C++ inher-intro when there's a template split over 2 lines.
17278
17279 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17280 rigorously the search for "class" etc. followed by ":".
17281
17282 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17283 random languages a regexp which never matches rather than nil.
17284
17285 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17286
17287 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17288 (c-awk-regexp-one-line-possibly-open-char-list-re)
17289 (c-awk-one-line-possibly-open-regexp-re)
17290 (c-awk-one-line-non-syn-ws*-re): Remove.
17291 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17292 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17293 (c-awk-space*-unclosed-regexp-/-re): New constants.
17294 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17295 aren't regexp delimiters.
17296
17297 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17298 handling for a rare situation in AWK Mode involving unterminated
17299 strings/regexps.
17300
17301 2013-08-23 Glenn Morris <rgm@gnu.org>
17302
17303 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17304
17305 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17306
17307 * files.el (create-file-buffer): If the result would begin with
17308 spaces, prepend a "|" instead of removing them. (Bug#15162)
17309
17310 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17311
17312 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17313 text-properties (bug#15155).
17314
17315 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17316 exist any more.
17317 (calc-keypad-redraw): Remove unused var `pad'.
17318 (calc-keypad-press): Remove unused var `menu'.
17319
17320 2013-08-23 Martin Rudalics <rudalics@gmx.at>
17321
17322 * window.el (display-buffer-pop-up-frame):
17323 Call pop-up-frame-function with BUFFER current so `make-frame' will
17324 use it as the new frame's buffer (Bug#15133).
17325
17326 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17327
17328 * calendar/timeclock.el: Minor cleanups.
17329 (timeclock-ask-before-exiting, timeclock-use-display-time):
17330 Use `symbol'.
17331 (timeclock-modeline-display): Define as alias before the
17332 actual definition.
17333 (timeclock-mode-line-display): Use define-minor-mode.
17334 (timeclock-day-list-template): Make it a function, add an argument.
17335 (timeclock-day-list-required, timeclock-day-list-length)
17336 (timeclock-day-list-debt, timeclock-day-list-span)
17337 (timeclock-day-list-break): Adjust calls accordingly.
17338
17339 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17340
17341 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17342 Use read--expression so that completion works again.
17343
17344 2013-08-21 Sam Steingold <sds@gnu.org>
17345
17346 Add rudimentary inferior shell interaction
17347 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17348 (sh-set-shell): Reset it.
17349 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17350 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17351
17352 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
17353
17354 * align.el: Use lexical-binding.
17355 (align-region): Simplify accordingly.
17356
17357 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
17358
17359 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17360
17361 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17362 `non-essential' up.
17363
17364 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
17365
17366 * net/tramp.el:
17367 * net/tramp-adb.el:
17368 * net/tramp-cmds.el:
17369 * net/tramp-ftp.el:
17370 * net/tramp-gvfs.el:
17371 * net/tramp-gw.el:
17372 * net/tramp-sh.el: Don't wrap external variable declarations by
17373 `eval-when-compile'.
17374
17375 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17376
17377 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17378 now that Emacs supports ImageMagick animations.
17379
17380 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
17381
17382 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17383 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17384
17385 2013-08-16 Martin Rudalics <rudalics@gmx.at>
17386
17387 * window.el (mouse-autoselect-window-select): Do autoselect when
17388 mouse pointer is on margin.
17389
17390 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
17391
17392 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
17393
17394 2013-08-16 Glenn Morris <rgm@gnu.org>
17395
17396 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17397 Handle "Remote Directory" response of some clients. (Bug#15058)
17398
17399 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17400 Tweak warning. (Bug#14926)
17401
17402 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17403 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
17404
17405 * image-mode.el (image-mode-map): Add menu items to reverse,
17406 increase, decrease, reset animation speed.
17407 (image--set-speed, image-increase-speed, image-decrease-speed)
17408 (image-reverse-speed, image-reset-speed): New functions.
17409 (image-mode-map): Add bindings for speed commands.
17410
17411 * image.el (image-animate-get-speed, image-animate-set-speed):
17412 New functions.
17413 (image-animate-timeout): Respect image :speed property.
17414
17415 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17416
17417 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
17418 previous line (bug#15101).
17419 (debugger-eval-expression, debugger-record-expression):
17420 Use read--expression (bug#15102).
17421
17422 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
17423
17424 Remove byte compiler warnings, visible when compiling with
17425 `byte-compile-force-lexical-warnings' set to t.
17426
17427 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
17428 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
17429 (tramp-handle-unhandled-file-name-directory)
17430 (tramp-handle-file-notify-add-watch, tramp-action-login)
17431 (tramp-action-succeed, tramp-action-permission-denied)
17432 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
17433 arguments with "_".
17434
17435 * net/tramp-adb.el (tramp-adb-parse-device-names)
17436 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
17437 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
17438 (tramp-adb-handle-file-truename): Remove unused arguments.
17439
17440 * net/tramp-cache.el (tramp-flush-directory-property)
17441 (tramp-flush-connection-property, tramp-list-connections)
17442 (tramp-parse-connection-properties): Prefix unused arguments with "_".
17443
17444 * net/tramp-compat.el (tramp-compat-make-temp-file):
17445 Rename FILENAME to F.
17446
17447 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17448 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
17449 (tramp-zeroconf-parse-workstation-device-names)
17450 (tramp-zeroconf-parse-webdav-device-names)
17451 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
17452
17453 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17454 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
17455
17456 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
17457 arguments.
17458 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
17459 (tramp-sh-handle-insert-file-contents-literally)
17460 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
17461 with "_".
17462 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
17463 Remove unused variables.
17464
17465 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17466 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
17467 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
17468
17469 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
17470 Make them a defconst.
17471 (tramp-uuencode-region): Remove unused variable.
17472
17473 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
17474
17475 * frameset.el (frameset--prop-setter): New function.
17476 (frameset-prop): Add gv-setter declaration.
17477 (frameset-filter-minibuffer): Deal with the case that the minibuffer
17478 parameter was already set in FILTERED. Doc fix.
17479 (frameset--record-minibuffer-relationships): Allow saving a
17480 minibufferless frame without its corresponding minibuffer frame.
17481 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
17482 frame, if the frame id matches.
17483 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
17484 frames before orphaned ones.
17485 (frameset-restore): Warn about orphaned windows, instead of error out.
17486
17487 2013-08-14 Martin Rudalics <rudalics@gmx.at>
17488
17489 * window.el (window-make-atom): Don't overwrite parameter
17490 already present.
17491 (display-buffer-in-atom-window): Handle special case where we
17492 split an already atomic window.
17493 (window--major-non-side-window, display-buffer-in-side-window)
17494 (window--side-check): Ignore minibuffer window when walking
17495 window tree.
17496 (window-deletable-p): Return 'frame only if no other frame uses
17497 our minibuffer window.
17498 (record-window-buffer): Run buffer-list-update-hook.
17499 (split-window): Make sure window--check-frame won't destroy an
17500 existing atomic window in case the new window gets nested
17501 inside.
17502 (display-buffer-at-bottom): Ignore minibuffer window when
17503 walking window tree. Don't split a side window.
17504 (pop-to-buffer): Don't set-buffer here, the select-window call
17505 should do that.
17506 (mouse-autoselect-window-select): Autoselect only if we are in the
17507 text portion of the window.
17508
17509 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17510
17511 * net/shr.el (shr-parse-image-data): New function to grab both the
17512 data itself and the Content-Type.
17513 (shr-put-image): Use it.
17514
17515 * net/eww.el (eww-display-image): Ditto.
17516
17517 * image.el (image-content-type-suffixes): New variable.
17518
17519 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17520
17521 * progmodes/python.el (python-imenu--build-tree)
17522 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
17523
17524 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
17525
17526 * simple.el (backward-word): Mention the optional argument.
17527
17528 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * frameset.el (frameset--make): Rename constructor from make-frameset.
17531 (frameset-p, frameset-valid-p): Don't autoload.
17532 (frameset-valid-p): Use normal accessors.
17533
17534 2013-08-13 Glenn Morris <rgm@gnu.org>
17535
17536 * progmodes/compile.el (compile-command): Tweak example in doc.
17537 * obsolete/scribe.el (scribe-mode):
17538 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
17539
17540 * mail/feedmail.el (feedmail-confirm-outgoing)
17541 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
17542
17543 * cus-start.el (truncate-partial-width-windows): Fix type.
17544
17545 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
17546
17547 * net/shr.el (shr-table-horizontal-line): Fix custom type.
17548
17549 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17550
17551 * emacs-lisp/timer.el (timer--time-setter): New function.
17552 (timer--time): Use it as gv-setter.
17553
17554 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
17555 setter is not a symbol.
17556
17557 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
17558
17559 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
17560 if sending fails. This makes debugging easier.
17561
17562 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
17563
17564 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
17565 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
17566 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
17567
17568 2013-08-12 Eli Zaretskii <eliz@gnu.org>
17569
17570 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
17571
17572 2013-08-12 Glenn Morris <rgm@gnu.org>
17573
17574 * format.el (format-annotate-function):
17575 Handle read-only text properties in the source. (Bug#14887)
17576
17577 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17578
17579 * net/eww.el (eww-display-html): Ignore coding system errors.
17580 One web site uses "utf-8lias" as the coding system.
17581
17582 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
17583
17584 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
17585
17586 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
17587
17588 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
17589 (tutorial--detailed-help): Remove unused local variables.
17590 (tutorial--save-tutorial-to): Use ignore-errors.
17591 (help-with-tutorial): Use looking-at-p.
17592
17593 * view.el (view-buffer-other-window, view-buffer-other-frame):
17594 Mark unused arguments.
17595
17596 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
17597 (woman-select-symbol-fonts, woman, woman-find-file)
17598 (woman-insert-file-contents, woman-non-underline-faces):
17599 Use string-match-p.
17600 (woman1-unquote): Move declaration.
17601
17602 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
17603 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
17604 argument. Remove unused local variable.
17605 (xml-parse-elem-type): Use string-match-p.
17606 (xml-substitute-numeric-entities): Use ignore-errors.
17607
17608 * calculator.el (calculator): Mark unused argument.
17609 (calculator-paste, calculator-quit, calculator-integer-p):
17610 Use ignore-errors.
17611 (calculator-string-to-number, calculator-decimal, calculator-exp)
17612 (calculator-op-or-exp): Use string-match-p.
17613
17614 * dired.el (dired-buffer-more-recently-used-p): Declare.
17615 (dired-insert-set-properties, dired-insert-old-subdirs):
17616 Use ignore-errors.
17617
17618 * dired-aux.el (dired-compress): Use ignore-errors.
17619 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
17620 (dired-do-async-shell-command, dired-do-shell-command)
17621 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
17622 (dired-insert-subdir-validate): Use string-match-p.
17623 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
17624 (dired-add-entry): Use string-match-p, looking-at-p.
17625 (dired-insert-subdir-newpos): Remove unused local variable.
17626
17627 * filenotify.el (file-notify-callback): Remove unused local variable.
17628
17629 * filesets.el (filesets-error): Mark unused argument.
17630 (filesets-which-command-p, filesets-filter-dir-names)
17631 (filesets-directory-files, filesets-get-external-viewer)
17632 (filesets-ingroup-get-data): Use string-match-p.
17633
17634 * find-file.el (ff-other-file-name, ff-other-file-name)
17635 (ff-find-the-other-file, ff-cc-hh-converter):
17636 Remove unused local variables.
17637 (ff-get-file-name): Use string-match-p.
17638 (ff-all-dirs-under): Use ignore-errors.
17639
17640 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
17641 (follow-select-if-visible): Remove unused local variable.
17642
17643 * forms.el (read-file-filter): Move declaration.
17644 (forms--make-format, forms--make-parser, forms-insert-record):
17645 Quote function with #'.
17646 (forms--update): Use string-match-p. Quote function with #'.
17647
17648 * help-mode.el (help-dir-local-var-def): Mark unused argument.
17649 (help-make-xrefs): Use looking-at-p.
17650 (help-xref-on-pp): Use looking-at-p, ignore-errors.
17651
17652 * ibuffer.el (ibuffer-ext-visible-p): Declare.
17653 (ibuffer-confirm-operation-on): Use string-match-p.
17654
17655 * msb.el (msb-item-handler, msb-dired-item-handler):
17656 Mark unused arguments.
17657
17658 * ses.el (ses-decode-cell-symbol)
17659 (ses-kill-override): Remove unused local variable.
17660 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
17661 (ses-load): Use ignore-errors, looking-at-p.
17662 (ses-jump-safe): Use ignore-errors.
17663 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
17664
17665 * tabify.el (untabify, tabify): Mark unused arguments.
17666
17667 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
17668 Mark unused argument.
17669 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
17670 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
17671
17672 * emacs-lisp/timer.el (timer--time): Define setter with
17673 gv-define-setter to avoid deprecation warning.
17674
17675 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
17676 (*record-cmpl-statistics-p*): Remove (was commented out).
17677 (cmpl-statistics-block): Remove (body was commented out).
17678 All callers changed.
17679 (add-completions-from-buffer, load-completions-from-file):
17680 Remove unused variables.
17681
17682 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17683
17684 * filecache.el (file-cache-delete-file-list):
17685 Print message only when told so.
17686 (file-cache-files-matching): Use #' in mapconcat argument.
17687
17688 * ffap.el (ffap-url-at-point): Fix reference to variable
17689 thing-at-point-default-mail-uri-scheme.
17690
17691 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
17692
17693 * subr.el (define-error): New function.
17694 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
17695 error-file-not-found and define with define-error.
17696 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
17697 and define with define-error.
17698 * userlock.el (file-locked, file-supersession):
17699 * simple.el (mark-inactive):
17700 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
17701 * progmodes/ada-mode.el (ada-mode-errors):
17702 * play/life.el (life-extinct):
17703 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
17704 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
17705 * nxml/rng-util.el (rng-error):
17706 * nxml/rng-uri.el (rng-uri-error):
17707 * nxml/rng-match.el (rng-compile-error):
17708 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
17709 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
17710 * nxml/nxml-rap.el (nxml-scan-error):
17711 * nxml/nxml-outln.el (nxml-outline-error):
17712 * net/soap-client.el (soap-error):
17713 * net/gnutls.el (gnutls-error):
17714 * net/ange-ftp.el (ftp-error):
17715 * mpc.el (mpc-proc-error):
17716 * json.el (json-error, json-readtable-error, json-unknown-keyword)
17717 (json-number-format, json-string-escape, json-string-format)
17718 (json-key-format, json-object-format):
17719 * jka-compr.el (compression-error):
17720 * international/quail.el (quail-error):
17721 * international/kkc.el (kkc-error):
17722 * emacs-lisp/ert.el (ert-test-failed):
17723 * calc/calc.el (calc-error, inexact-result, math-overflow)
17724 (math-underflow):
17725 * bookmark.el (bookmark-error-no-filename):
17726 * epg.el (epg-error): Define with define-error.
17727
17728 * time.el (display-time-event-handler)
17729 (display-time-next-load-average): Don't call sit-for since it seems
17730 unnecessary (bug#15045).
17731
17732 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
17733 Use #' instead of ' to quote functions.
17734 (checkdoc-output-mode): Use setq-local.
17735 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
17736 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
17737 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
17738 (checkdoc-ispell, checkdoc-ispell-current-buffer)
17739 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
17740 (checkdoc-ispell-message-text, checkdoc-ispell-start)
17741 (checkdoc-ispell-continue, checkdoc-ispell-comments)
17742 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
17743
17744 * ido.el (ido-completion-help): Fix up compiler warning.
17745
17746 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17747
17748 * frameset.el (frameset-p): Add autoload cookie.
17749 (frameset--jump-to-register): New function, based on code moved from
17750 register.el.
17751 (frameset-to-register): Move from register.el. Adapt to `registerv'.
17752
17753 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
17754 (frameset-restore, frameset-save, frameset-session-filter-alist):
17755 Remove declarations.
17756 (register-alist): Doc fix.
17757 (frameset-to-register): Move to frameset.el.
17758 (jump-to-register, describe-register-1): Remove frameset-specific code.
17759
17760 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17761
17762 * allout-widgets.el (allout-widgets-pre-command-business)
17763 (allout-widgets-post-command-business)
17764 (allout-widgets-after-change-handler)
17765 (allout-decorate-item-and-context, allout-set-boundary-marker)
17766 (allout-body-modification-handler)
17767 (allout-graphics-modification-handler): Mark ignored arguments.
17768 (allout-widgets-post-command-business)
17769 (allout-widgets-exposure-change-processor)
17770 (allout-widgets-exposure-undo-processor)
17771 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
17772 (allout-parse-item-at-point, allout-decorate-item-guides)
17773 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
17774 * allout.el (epa-passphrase-callback-function): Declare.
17775 (allout-overlay-insert-in-front-handler)
17776 (allout-overlay-interior-modification-handler)
17777 (allout-isearch-end-handler, allout-chart-siblings)
17778 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
17779 (allout-yank-processing, allout-process-exposed)
17780 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
17781 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
17782 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
17783 (lisp-indent-defform): Mark ignored arguments.
17784 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
17785 (calculate-lisp-indent): Remove unused variables.
17786 * international/characters.el (indian-2-column, arabic-2-column)
17787 (tibetan): Mark ignored arguments.
17788 (use-cjk-char-width-table): Mark ignored arguments.
17789 Remove unused variables.
17790 * international/fontset.el (build-default-fontset-data)
17791 (x-compose-font-name, create-fontset-from-fontset-spec):
17792 Mark ignored arguments.
17793 (fontset-plain-name): Remove unused variables.
17794 * international/mule.el (charset-id, charset-bytes, generic-char-p)
17795 (keyboard-coding-system): Mark ignored arguments.
17796 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
17797 * help.el (resize-temp-buffer-window):
17798 * window.el (display-buffer-in-major-side-window)
17799 (display-buffer-in-side-window, display-buffer-in-previous-window):
17800 Remove unused variables.
17801 * isearch.el (isearch-forward-symbol):
17802 * version.el (emacs-bzr-version-bzr):
17803 * international/mule-cmds.el (current-language-environment):
17804 * term/common-win.el (x-handle-iconic, x-handle-geometry)
17805 (x-handle-display):
17806 * term/pc-win.el (x-list-fonts, x-display-planes)
17807 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
17808 (x-server-version, x-display-screens, x-display-mm-height)
17809 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
17810 (x-selection-owner-p, x-own-selection-internal)
17811 (x-disown-selection-internal, x-get-selection-internal)
17812 (msdos-initialize-window-system):
17813 * term/tty-colors.el (tty-color-alist, tty-color-clear):
17814 * term/x-win.el (x-handle-no-bitmap-icon):
17815 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
17816 (vc-default-find-file-hook, vc-default-extra-menu):
17817 Mark ignored arguments.
17818
17819 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17820
17821 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
17822 break-condition in the context of the debugged code (bug#12685).
17823
17824 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
17825
17826 * comint.el:
17827 Do not use an overlay to highlight the last prompt. (Bug#14744)
17828 (comint-mode): Make comint-last-prompt buffer local.
17829 (comint-last-prompt): New variable.
17830 (comint-last-prompt-overlay): Remove. Superseded by
17831 comint-last-prompt.
17832 (comint-snapshot-last-prompt, comint-output-filter):
17833 Use comint-last-prompt.
17834
17835 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17836
17837 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
17838 (frameset-save): Check validity of the resulting frameset.
17839
17840 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
17841
17842 * ido.el (ido-record-command): Add doc string.
17843
17844 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17845
17846 * frameset.el (frameset): Do not disable creation of the default
17847 frameset-p predicate. Doc fix.
17848 (frameset-valid-p): New function, copied from the old predicate-p.
17849 Add additional checks.
17850 (frameset-restore): Check with frameset-valid-p.
17851 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
17852 (frameset-name, frameset-description, frameset-properties)
17853 (frameset-states): Add docstring.
17854 (frameset-session-filter-alist, frameset-persistent-filter-alist)
17855 (frameset-filter-alist): Doc fixes.
17856
17857 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17858
17859 * frameset.el (frameset-p, frameset-prop): Doc fixes.
17860
17861 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17862
17863 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
17864 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
17865 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
17866 (byte-compile-normal-call): Remove obsolescence check.
17867
17868 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17869
17870 * frameset.el (frameset-restore): Doc fix.
17871
17872 * register.el (frameset-frame-id, frameset-frame-with-id)
17873 (frameset-p, frameset-restore, frameset-save): Declare.
17874 (register-alist): Document framesets.
17875 (frameset-session-filter-alist): Declare.
17876 (frameset-to-register): New function.
17877 (jump-to-register): Implement jumping to framesets. Doc fix.
17878 (describe-register-1): Describe framesets.
17879
17880 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
17881
17882 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
17883
17884 * desktop.el (desktop-save-frameset): Use new frameset-save args.
17885 Use lexical-binding.
17886
17887 * frameset.el (frameset): Use type vector, not list (incompatible
17888 change). Do not declare a new constructor, use the default one.
17889 Upgrade suggested properties `app', `name' and `desc' to slots `app',
17890 `name' and `description', respectively, and add read-only slot
17891 `timestamp'. Doc fixes.
17892 (frameset-copy, frameset-persistent-filter-alist)
17893 (frameset-filter-alist, frameset-switch-to-gui-p)
17894 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
17895 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
17896 (frameset-filter-iconified, frameset-keep-original-display-p):
17897 Doc fixes.
17898 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
17899 Rename from frameset-filter-(save|restore)-param. All callers changed.
17900 Doc fix.
17901 (frameset-p): Adapt to change to vector and be more thorough.
17902 Change arg name to OBJECT. Doc fix.
17903 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
17904 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
17905 All callers changed.
17906 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
17907 All callers changed.
17908 (frameset--record-minibuffer-relationships): Rename from
17909 frameset--process-minibuffer-frames. All callers changed.
17910 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
17911 Use new default constructor (again). Doc fix.
17912 (frameset--find-frame-if): Rename from `frameset--find-frame'.
17913 All callers changed.
17914 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
17915 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
17916 Doc fix.
17917 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
17918 PARAMETERS and WINDOW-STATE, respectively.
17919 (frameset-restore): Add new keyword argument PREDICATE.
17920 Reset frameset--target-display to nil. Doc fix.
17921
17922 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17923
17924 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
17925 (bat-mode): Use it.
17926 (bat-mode-syntax-table): Mark \n as end-of-comment.
17927 (bat-font-lock-keywords): Remove comment rule.
17928
17929 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
17930 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
17931
17932 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
17933 (byte-compile-callargs-warn): Use `push'.
17934 (byte-compile-arglist-warn): Ignore higher-order "calls".
17935 (byte-compile-file-form-autoload): Use `pcase'.
17936 (byte-compile-function-form): If quoting a symbol, check that it exists.
17937
17938 2013-08-07 Eli Zaretskii <eliz@gnu.org>
17939
17940 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
17941 and add a few popular commands found in batch files.
17942 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
17943 (dos-mode): Doc fixes.
17944
17945 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17946
17947 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
17948 (dos-mode): Use setq-local. Add space after "rem".
17949 (dos-mode-syntax-table): Don't use "w" for symbol chars.
17950 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
17951
17952 2013-08-07 Arni Magnusson <arnima@hafro.is>
17953
17954 * progmodes/dos.el: New file.
17955 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
17956 dos-mode.
17957
17958 2013-08-06 Glenn Morris <rgm@gnu.org>
17959
17960 * calendar/calendar.el: Add new faces, and day-header-array.
17961 (calendar-weekday-header, calendar-weekend-header)
17962 (calendar-month-header): New faces.
17963 (calendar-day-header-construct): New function.
17964 (calendar-day-header-width): Also :set calendar-day-header-array.
17965 (calendar-american-month-header, calendar-european-month-header)
17966 (calendar-iso-month-header): Use calendar- faces.
17967 (calendar-generate-month):
17968 Use calendar-day-header-array for day headers; apply faces to them.
17969 (calendar-mode): Check calendar-font-lock-keywords non-nil.
17970 (calendar-abbrev-construct): Add optional maxlen argument.
17971 (calendar-day-name-array): Doc fix.
17972 (calendar-day-name-array, calendar-abbrev-length)
17973 (calendar-day-abbrev-array):
17974 Also :set calendar-day-header-array, and maybe redraw.
17975 (calendar-day-header-array): New option. (Bug#15007)
17976 (calendar-font-lock-keywords): Set to nil and make obsolete.
17977 (calendar-day-name): Add option to use header array.
17978
17979 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17980
17981 * net/shr.el (shr-render-td): Remove debugging.
17982 (shr-render-td): Make width computation consistent by defaulting
17983 all zero-width columns to 10 characters. This may not be optimal,
17984 but it's at least consistent.
17985 (shr-make-table-1): Redo last change to fix the real problem in
17986 colspan handling.
17987
17988 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17989
17990 * files.el (cache-long-line-scans):
17991 Make obsolete alias to `cache-long-scans'.
17992
17993 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17994
17995 * frameset.el (frameset, frameset-filter-alist)
17996 (frameset-filter-params, frameset-save, frameset--reuse-frame)
17997 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
17998 (frameset-compute-pos): Rename from frameset--compute-pos,
17999 and add docstring.
18000 (frameset-move-onscreen): Use frameset-compute-pos.
18001 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18002
18003 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
18004 Fix typos in docstrings.
18005
18006 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18007
18008 * frame.el (get-other-frame): Tiny cleanup.
18009
18010 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18011
18012 * vc/vc.el (vc-default-ignore-completion-table):
18013 Silence byte-compiler warning.
18014
18015 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
18016 slot, which can indeed be nil.
18017 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18018 Move entry for `left' from persistent to live filter alist.
18019 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
18020 Doc fixes.
18021 (frameset-filter-params): When restoring a frame, copy items added to
18022 `filtered', to avoid unwittingly modifying the original parameters.
18023 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
18024 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
18025
18026 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
18027 to use looking-at-p instead of looking-at. (Bug#15028)
18028
18029 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18030
18031 Revert introduction of isearch-filter-predicates (bug#14714).
18032 Rely on add-function instead.
18033 * isearch.el (isearch-filter-predicates): Rename it back to
18034 isearch-filter-predicate.
18035 (isearch-message-prefix): Use advice-function-mapc and advice
18036 properties to get the isearch-message-prefix.
18037 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
18038 instead of run-hook-with-args-until-failure.
18039 (isearch-filter-visible): Not obsolete any more.
18040 * loadup.el: Preload nadvice.
18041 * replace.el (perform-replace): Revert to funcall
18042 instead of run-hook-with-args-until-failure.
18043 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
18044 * dired-aux.el (dired-isearch-filenames-mode): Rename from
18045 dired-isearch-filenames-toggle; make it into a proper minor mode.
18046 Use add/remove-function.
18047 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
18048 Call the minor-mode rather than add/remove-hook.
18049 (dired-isearch-filter-filenames):
18050 Remove isearch-message-prefix property.
18051 * info.el (Info--search-loop): New function, extracted from Info-search.
18052 Funcall isearch-filter-predicate instead of
18053 run-hook-with-args-until-failure isearch-filter-predicates.
18054 (Info-search): Use it.
18055 (Info-mode): Use isearch-filter-predicate instead of
18056 isearch-filter-predicates.
18057
18058 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18059
18060 Do not call to `selected-window' where it is assumed by default.
18061 Affected functions are `window-minibuffer-p', `window-dedicated-p',
18062 `window-hscroll', `window-width', `window-height', `window-buffer',
18063 `window-frame', `window-start', `window-point', `next-window'
18064 and `window-display-table'.
18065 * abbrev.el (abbrev--default-expand):
18066 * bs.el (bs--show-with-configuration):
18067 * buff-menu.el (Buffer-menu-mouse-select):
18068 * calc/calc.el (calc):
18069 * calendar/calendar.el (calendar-generate-window):
18070 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
18071 (diary-make-entry):
18072 * comint.el (send-invisible, comint-dynamic-complete-filename)
18073 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
18074 * completion.el (complete):
18075 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
18076 * disp-table.el (describe-current-display-table):
18077 * doc-view.el (doc-view-insert-image):
18078 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
18079 * ehelp.el (with-electric-help):
18080 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18081 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
18082 * emacs-lisp/helper.el (Helper-help-scroller):
18083 * emulation/cua-base.el (cua--post-command-handler-1):
18084 * eshell/esh-mode.el (eshell-output-filter):
18085 * ffap.el (ffap-gnus-wrapper):
18086 * help-macro.el (make-help-screen):
18087 * hilit-chg.el (highlight-compare-buffers):
18088 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
18089 * hl-line.el (global-hl-line-highlight):
18090 * icomplete.el (icomplete-simple-completing-p):
18091 * isearch.el (isearch-done):
18092 * jit-lock.el (jit-lock-stealth-fontify):
18093 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
18094 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
18095 * mpc.el (mpc-tagbrowser, mpc):
18096 * net/rcirc.el (rcirc-any-buffer):
18097 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
18098 * play/landmark.el (landmark-max-width, landmark-max-height):
18099 * play/zone.el (zone):
18100 * progmodes/compile.el (compilation-goto-locus):
18101 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18102 * progmodes/etags.el (find-tag-other-window):
18103 * progmodes/fortran.el (fortran-column-ruler):
18104 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
18105 * progmodes/verilog-mode.el (verilog-point-text):
18106 * reposition.el (reposition-window):
18107 * rot13.el (toggle-rot13-mode):
18108 * server.el (server-switch-buffer):
18109 * shell.el (shell-dynamic-complete-command)
18110 (shell-dynamic-complete-environment-variable):
18111 * simple.el (insert-buffer, set-selective-display)
18112 (delete-completion-window):
18113 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
18114 (speedbar-recenter):
18115 * startup.el (fancy-splash-head):
18116 * textmodes/ispell.el (ispell-command-loop):
18117 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
18118 * tutorial.el (help-with-tutorial):
18119 * vc/add-log.el (add-change-log-entry):
18120 * vc/compare-w.el (compare-windows):
18121 * vc/ediff-help.el (ediff-indent-help-message):
18122 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18123 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18124 (ediff-setup-control-frame):
18125 * vc/emerge.el (emerge-position-region):
18126 * vc/pcvs-util.el (cvs-bury-buffer):
18127 * window.el (walk-windows, mouse-autoselect-window-select):
18128 * winner.el (winner-set-conf, winner-undo): Related users changed.
18129
18130 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18131
18132 * frameset.el (frameset--set-id): Doc fix.
18133 (frameset-frame-id, frameset-frame-id-equal-p)
18134 (frameset-locate-frame-id): New functions.
18135 (frameset--process-minibuffer-frames, frameset--reuse-frame)
18136 (frameset-restore): Use them.
18137
18138 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18139
18140 Do not call to `selected-frame' where it is assumed by default.
18141 Affected functions are `raise-frame', `redraw-frame',
18142 `frame-first-window', `frame-terminal' and `delete-frame'.
18143 * calendar/appt.el (appt-disp-window):
18144 * epg.el (epg-wait-for-completion):
18145 * follow.el (follow-delete-other-windows-and-split)
18146 (follow-avoid-tail-recenter):
18147 * international/mule.el (set-terminal-coding-system):
18148 * mail/rmail.el (rmail-mail-return):
18149 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18150 * progmodes/f90.el (f90-add-imenu-menu):
18151 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18152 * server.el (server-switch-buffer):
18153 * simple.el (delete-completion-window):
18154 * talk.el (talk):
18155 * term/xterm.el (terminal-init-xterm-modify-other-keys)
18156 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18157 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18158 * vc/ediff.el (ediff-documentation): Related users changed.
18159 * frame.el (selected-terminal): Remove the leftover.
18160
18161 2013-08-05 Glenn Morris <rgm@gnu.org>
18162
18163 * calendar/calendar.el (calendar-generate-month):
18164 Fix for calendar-column-width != 1 + calendar-day-digit-width.
18165 (calendar-generate-month, calendar-font-lock-keywords):
18166 Fix for calendar-day-header-width > length of any day name.
18167
18168 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18169
18170 * desktop.el (desktop-clear): Use new name of sort predicate.
18171
18172 * frameset.el (frameset): Add docstring. Move :version property to its
18173 own `version' slot.
18174 (frameset-copy): Rename from copy-frameset.
18175 (frameset-p): Check more thoroughly.
18176 (frameset-prop): Do not check for :version, which is no longer a prop.
18177 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18178 Use new :never value instead of t.
18179 (frameset-filter-alist): Expand and clarify docstring.
18180 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18181 (frameset-filter-minibuffer, frameset-filter-save-param)
18182 (frameset-filter-restore-param, frameset-filter-iconified):
18183 Add pointer to docstring of frameset-filter-alist.
18184 (frameset-filter-params): Rename filter values to be more meaningful:
18185 :never instead of t, and reverse the meanings of :save and :restore.
18186 (frameset--process-minibuffer-frames): Clarify error message.
18187 (frameset-save): Avoid unnecessary and confusing call to framep.
18188 Use new BOA constructor for framesets.
18189 (frameset--reuse-list): Doc fix.
18190 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
18191 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18192 (frameset-minibufferless-first-p): Doc fix.
18193 Rename from frameset-sort-frames-for-deletion.
18194 (frameset-restore): Doc fixes. Use new function names.
18195 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18196
18197 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18198
18199 * desktop.el (desktop-restore-forces-onscreen)
18200 (desktop-restore-reuses-frames): Document :keyword constant values.
18201 (desktop-filter-parameters-alist): Remove, now identical to
18202 frameset-filter-alist.
18203 (desktop--filter-tty*): Remove, moved to frameset.el.
18204 (desktop-save-frameset, desktop-restore-frameset):
18205 Do not pass :filters argument.
18206
18207 * frameset.el (frameset-live-filter-alist)
18208 (frameset-persistent-filter-alist): New variables.
18209 (frameset-filter-alist): Use them. Add autoload cookie.
18210 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18211 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18212 `frameset--id' (it's supposed to be internal to frameset.el).
18213 (frameset--process-minibuffer-frames): Ditto. Doc fix.
18214 (frameset--initial-params): New function.
18215 (frameset--get-frame): Use it. Doc fix.
18216 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18217 Accept :all, not 'all.
18218 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18219 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
18220 with fbound symbols. Fix frame id matching, and remove matching ids if
18221 the frame being restored is deleted. Obey :delete.
18222
18223 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18224
18225 * subr.el (macrop): New function.
18226 (text-clone--maintaining): New var.
18227 (text-clone--maintain): Rename from text-clone-maintain. Use it
18228 instead of inhibit-modification-hooks.
18229
18230 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18231 a proxy, so as handle autoloads and redefinitions of the target.
18232 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18233
18234 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18235 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
18236 (pcase--mutually-exclusive-p): New function.
18237 (pcase--split-consp): Use it.
18238 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
18239 mutually exclusive with the current predicate.
18240
18241 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18242 (edebug-macrop): Remove. Use `macrop' instead.
18243 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
18244 (ad-macro-p):
18245 * eshell/esh-cmd.el (eshell-macrop):
18246 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
18247
18248 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18249
18250 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18251 (advice-mapc): New function, using it.
18252 (advice-function-member-p): New function.
18253 (advice--normalize): Store the cdr in advice--saved-rewrite since
18254 that's the part that will be changed.
18255 (advice--symbol-function): New function.
18256 (advice-remove): Handle removal before the function is defined.
18257 Adjust to new advice--saved-rewrite.
18258 (advice-member-p): Use advice-function-member-p and
18259 advice--symbol-function.
18260
18261 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18262
18263 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18264 (frameset-filter-minibuffer): Doc fix.
18265 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
18266 (frameset--set-id, frameset--process-minibuffer-frames)
18267 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18268 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18269
18270 * desktop.el (desktop-clear): Only delete frames when called
18271 interactively and desktop-restore-frames is non-nil. Doc fix.
18272 (desktop-read): Set desktop-saved-frameset to nil.
18273
18274 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
18275
18276 * vc/vc.el (vc-ignore): Rewrite.
18277 (vc-default-ignore-completion-table, vc--read-lines)
18278 (vc--add-line, vc--remove-regexp): New functions.
18279
18280 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18281 (vc-svn-ignore-completion-table): New function.
18282
18283 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18284 (vc-hg-ignore-completion-table)
18285 (vc-hg-find-ignore-file): New functions.
18286
18287 * vc/vc-git.el (vc-git-ignore): Rewrite.
18288 (vc-git-ignore-completion-table)
18289 (vc-git-find-ignore-file): New functions.
18290
18291 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18292
18293 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18294 (vc-bzr-ignore-completion-table)
18295 (vc-bzr-find-ignore-file): New functions.
18296
18297 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
18298
18299 * frameset.el (frameset-prop): New function and setter.
18300 (frameset-save): Do not modify frame list passed by the caller.
18301
18302 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18303
18304 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18305
18306 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
18307
18308 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18309 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18310
18311 * custom.el (custom-initialize-default, custom-initialize-set)
18312 (custom-initialize-reset, custom-initialize-changed): Affect the
18313 toplevel-default-value (bug#6275, bug#14586).
18314 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18315 for bug#6275.
18316
18317 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18318
18319 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18320 Add cl-def* expressions.
18321
18322 * frameset.el (frameset-filter-params): Fix order of arguments.
18323
18324 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18325
18326 Move code related to saving frames to frameset.el.
18327 * desktop.el: Require frameset.
18328 (desktop-restore-frames): Doc fix.
18329 (desktop-restore-reuses-frames): Rename from
18330 desktop-restoring-reuses-frames.
18331 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18332 (desktop-clear): Clear frames too.
18333 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18334 (desktop--filter-tty*, desktop-save, desktop-read):
18335 Use frameset functions.
18336 (desktop-before-saving-frames-functions, desktop--filter-*-color)
18337 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18338 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18339 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18340 (desktop--process-minibuffer-frames, desktop-save-frames)
18341 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18342 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18343 (desktop--sort-states, desktop-restoring-frames-p)
18344 (desktop-restore-frames): Remove. Most code moved to frameset.el.
18345 (desktop-restoring-frameset-p, desktop-restore-frameset)
18346 (desktop--check-dont-save, desktop-save-frameset): New functions.
18347 (desktop--app-id): New constant.
18348 (desktop-first-buffer, desktop-buffer-ok-count)
18349 (desktop-buffer-fail-count): Move before first use.
18350 * frameset.el: New file.
18351
18352 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18353
18354 * files.el: Use lexical-binding.
18355 (dir-locals-read-from-file): Remove unused `err' variable.
18356 (hack-dir-local-variables--warned-coding): New var.
18357 (hack-dir-local-variables): Use it to avoid repeated warnings.
18358 (make-backup-file-name--default-function): New function.
18359 (make-backup-file-name-function): Use it as default.
18360 (buffer-stale--default-function): New function.
18361 (buffer-stale-function): Use it as default.
18362 (revert-buffer-insert-file-contents--default-function): New function.
18363 (revert-buffer-insert-file-contents-function): Use it as default.
18364 (insert-directory): Avoid add-to-list.
18365
18366 * autorevert.el (auto-revert-handler): Simplify.
18367 Use buffer-stale--default-function.
18368
18369 2013-08-01 Tassilo Horn <tsdh@gnu.org>
18370
18371 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18372
18373 * whitespace.el (whitespace-ensure-local-variables): New function.
18374 (whitespace-cleanup-region): Call it.
18375 (whitespace-turn-on): Call it.
18376
18377 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
18378
18379 Complete file name handlers.
18380
18381 * net/tramp.el (tramp-handle-set-visited-file-modtime)
18382 (tramp-handle-verify-visited-file-modtime)
18383 (tramp-handle-file-notify-rm-watch): New functions.
18384 (tramp-call-process): Do not bind `default-directory'.
18385
18386 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18387 Order alphabetically.
18388 <access-file, add-name-to-file, dired-call-process>:
18389 <dired-compress-file, file-acl, file-notify-rm-watch>:
18390 <file-ownership-preserved-p, file-selinux-context>:
18391 <make-directory-internal, make-symbolic-link, set-file-acl>:
18392 <set-file-selinux-context, set-visited-file-modtime>:
18393 <verify-visited-file-modtime>: Add handler.
18394 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18395
18396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18397 <file-notify-add-watch, file-notify-rm-watch>:
18398 <set-file-times, set-visited-file-modtime>:
18399 <verify-visited-file-modtime>: Add handler.
18400 (with-tramp-gvfs-error-message)
18401 (tramp-gvfs-handle-set-visited-file-modtime)
18402 (tramp-gvfs-fuse-file-name): Remove.
18403 (tramp-gvfs-handle-file-notify-add-watch)
18404 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18405 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18406
18407 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18408 Order alphabetically.
18409 <file-notify-rm-watch>: Use default Tramp handler.
18410 <executable-find>: Remove private handler.
18411 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
18412 `default-directory'.
18413 (tramp-sh-handle-executable-find)
18414 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
18415 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18416 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
18417 Do not use `format' in `tramp-message'.
18418
18419 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18420 <file-notify-rm-watch, set-visited-file-modtime>:
18421 <verify-visited-file-modtime>: Add handler.
18422 (tramp-smb-call-winexe): Do not bind `default-directory'.
18423
18424 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
18425
18426 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
18427
18428 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
18429
18430 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
18431 use it.
18432 (log-view-diff-changeset): Same.
18433 (log-view-diff-common): Call backend command `previous-revision'
18434 to find out the previous revision, in both cases. Swap the
18435 variables `to' and `fr', so that `fr' usually refers to the
18436 earlier revision (Bug#14989).
18437
18438 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
18439
18440 * ibuf-ext.el (ibuffer-filter-by-filename):
18441 Make it work with dired buffers too.
18442
18443 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
18444
18445 * emacs-lisp/re-builder.el (reb-color-display-p):
18446 * files.el (save-buffers-kill-terminal):
18447 * net/browse-url.el (browse-url):
18448 * server.el (server-save-buffers-kill-terminal):
18449 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
18450 Prefer nil to selected-frame for the first arg of frame-parameter.
18451
18452 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
18453
18454 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
18455
18456 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
18457
18458 * minibuffer.el (completion--twq-all): Try and preserve each
18459 completion's case choice (bug#14907).
18460
18461 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18462
18463 * net/network-stream.el (open-network-stream): Mention the new
18464 :nogreeting parameter.
18465 (network-stream-open-starttls): Use the :nogreeting parameter
18466 (bug#14938).
18467
18468 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
18469
18470 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
18471 more natural than popping.
18472
18473 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
18474 (shr-urlify): Highlight under mouse.
18475
18476 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18477
18478 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
18479
18480 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
18481
18482 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
18483 buffer for output.
18484
18485 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
18486 point-min==1. Fix search string. Fix parentheses missing.
18487
18488 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
18489 assume point-min==1. Fix search string. Fix parentheses missing.
18490
18491 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
18492
18493 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
18494 buffer for output.
18495
18496 2013-07-29 Eli Zaretskii <eliz@gnu.org>
18497
18498 * frame.el (frame-notice-user-settings): Avoid inflooping when the
18499 initial frame is minibuffer-less. (Bug#14841)
18500
18501 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
18502
18503 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
18504 option.
18505
18506 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18507 (tramp-maybe-open-connection): Use it.
18508
18509 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18510
18511 * desktop.el (desktop--make-frame): Include `minibuffer' in the
18512 minimal set of parameters passed when creating a frame, because
18513 the minibuffer status of a frame cannot be changed later.
18514
18515 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
18516
18517 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
18518 replace-regexp-in-string and inadvertent omissions in previous change.
18519 (todo-filter-items): Ensure only file names are comma-separated in
18520 name of filtered items buffer.
18521
18522 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18523
18524 * desktop.el: Optionally force offscreen frames back onscreen.
18525 (desktop-restoring-reuses-frames): New option.
18526 (desktop--compute-pos, desktop--move-onscreen): New functions.
18527 (desktop--make-frame): Use desktop--move-onscreen.
18528
18529 2013-07-27 Alan Mackenzie <acm@muc.de>
18530
18531 Fontify a Java generic method as a function.
18532 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
18533 value to t.
18534
18535 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
18536
18537 * calendar/todo-mode.el: Add command to rename todo files.
18538 (todo-rename-file): New command.
18539 (todo-key-bindings-t): Add key binding for it. Change the
18540 bindings of todo-filter-regexp-items(-multifile) to use `x'
18541 instead of `r', since the latter is better suited to the new
18542 renaming command.
18543
18544 2013-07-27 Alan Mackenzie <acm@muc.de>
18545
18546 Make Java try-with-resources statement parse properly.
18547 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
18548 (c-block-stmt-1-2-key): New language constants/variables.
18549 * progmodes/cc-engine.el (c-beginning-of-statement-1)
18550 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
18551 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
18552 with c-block-stmt-1-2-key.
18553
18554 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
18555
18556 * desktop.el (desktop--make-frame): Apply most frame parameters after
18557 creating the frame to force (partially or totally) offscreen frames to
18558 be restored as such.
18559
18560 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
18561
18562 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
18563 (Bug#14948)
18564
18565 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18566
18567 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
18568 `base' arg of backtrace-frame.
18569
18570 2013-07-26 Eli Zaretskii <eliz@gnu.org>
18571
18572 * simple.el (list-processes): Doc fix.
18573
18574 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18575
18576 * desktop.el (desktop--select-frame):
18577 Try harder to reuse existing frames.
18578
18579 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18580
18581 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
18582 (edebug-eval): Use backtrace-eval.
18583 (edebug--display, edebug--recursive-edit): Don't let-bind the
18584 edebug-outer-* vars that keep track of variables we locally let-bind.
18585 (edebug-outside-excursion): Don't restore outside values of locally
18586 let-bound vars.
18587 (edebug--display): Use user-error.
18588 (cl-lexical-debug, cl-debug-env): Remove.
18589
18590 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18591
18592 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
18593 are restored to be sure that they are visible before deleting any
18594 remaining ones.
18595
18596 2013-07-26 Matthias Meulien <orontee@gmail.com>
18597
18598 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
18599 vc-print-root-log. (Bug#14948)
18600
18601 2013-07-26 Richard Stallman <rms@gnu.org>
18602
18603 Add aliases for encrypting mail.
18604 * epa.el (epa-mail-aliases): New option.
18605 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
18606 Bind inhibit-read-only so read-only text doesn't ruin everything.
18607 (epa-mail-default-recipients): New subroutine broken out.
18608 Handle epa-mail-aliases.
18609
18610 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18611
18612 Add support for lexical variables to the debugger's `e' command.
18613 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
18614 vars, except for debugger-outer-match-data.
18615 (debugger-frame-number): Move check for "on a function call" from
18616 callers into it. Add `skip-base' argument.
18617 (debugger-frame, debugger-frame-clear): Simplify accordingly.
18618 (debugger-env-macro): Only reset the state stored in non-variables,
18619 i.e. current-buffer and match-data.
18620 (debugger-eval-expression): Rewrite using backtrace-eval.
18621 * subr.el (internal--called-interactively-p--get-frame): Remove.
18622 (called-interactively-p):
18623 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
18624 `base' arg of backtrace-frame instead.
18625
18626 2013-07-26 Glenn Morris <rgm@gnu.org>
18627
18628 * align.el (align-regexp): Doc fix. (Bug#14857)
18629 (align-region): Explicit error if subexpression missing/does not match.
18630
18631 * simple.el (global-visual-line-mode):
18632 Do not duplicate the mode lighter. (Bug#14858)
18633
18634 2013-07-25 Martin Rudalics <rudalics@gmx.at>
18635
18636 * window.el (display-buffer): In display-buffer bind
18637 split-window-keep-point to t, bug#14829.
18638
18639 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18640
18641 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
18642 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
18643 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
18644 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18645 Change accordingly.
18646 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18647 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
18648
18649 2013-07-25 Glenn Morris <rgm@gnu.org>
18650
18651 * dired-x.el (dired-mark-extension): Convert comment to doc string.
18652
18653 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18654
18655 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
18656 parameter to modify-frame-parameters if the value has not changed;
18657 this is a workaround for bug#14949.
18658 (desktop--make-frame): On cl-delete-if call, check parameter name,
18659 not full parameter.
18660
18661 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18662
18663 * vc/vc.el (vc-ignore): New function.
18664
18665 * vc/vc-svn.el (vc-svn-ignore): New function.
18666
18667 * vc/vc-hg.el (vc-hg-ignore): New function.
18668
18669 * vc/vc-git.el (vc-git-ignore): New function.
18670
18671 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
18672 (vc-dir-ignore): New function.
18673
18674 * vc/vc-cvs.el (vc-cvs-ignore): New function.
18675 (cvs-append-to-ignore): Move here from pcvs.el.
18676
18677 * vc/vc-bzr.el (vc-bzr-ignore): New function.
18678
18679 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
18680
18681 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
18682
18683 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
18684 (desktop-restore-frames): Warn when deleting an existing frame failed.
18685
18686 2013-07-24 Glenn Morris <rgm@gnu.org>
18687
18688 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
18689
18690 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
18691
18692 * filenotify.el (file-notify-supported-p):
18693 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18694 Remove functions.
18695
18696 * autorevert.el (auto-revert-use-notify)
18697 (auto-revert-notify-add-watch):
18698 * net/tramp.el (tramp-file-name-for-operation):
18699 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18700 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18701 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18702 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18703 Remove `file-notify-supported-p' entry.
18704
18705 2013-07-24 Glenn Morris <rgm@gnu.org>
18706
18707 * printing.el: Replace all uses of deleted ps-windows-system,
18708 ps-lp-system, ps-flatten-list with lpr- versions.
18709
18710 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18711
18712 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
18713 checked with memq (bug#14935).
18714
18715 * files.el (revert-buffer-function): Use a non-nil default.
18716 (revert-buffer-preserve-modes): Declare var to
18717 provide access to the `preserve-modes' argument.
18718 (revert-buffer): Let-bind it.
18719 (revert-buffer--default): New function, extracted from revert-buffer.
18720
18721 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18722
18723 * lpr.el: Signal print errors more prominently.
18724 (print-region-function): Don't default to nil.
18725 (lpr-print-region): New function, extracted from print-region-1.
18726 Check lpr's return value and signal an error in case of problem.
18727 (print-region-1): Use it.
18728 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
18729 versions instead.
18730 (ps-printer-name): Default to nil.
18731 (ps-printer-name-option): Default to lpr-printer-switch.
18732 (ps-print-region-function): Don't default to nil.
18733 (ps-postscript-code-directory): Simplify default.
18734 (ps-do-despool): Use lpr-print-region to properly check the outcome.
18735 (ps-string-list, ps-eval-switch, ps-flatten-list)
18736 (ps-flatten-list-1): Remove.
18737 (ps-multibyte-buffer): Avoid setq.
18738 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
18739 (print-region-function, ps-print-region-function): Don't set them here.
18740
18741 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
18742
18743 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
18744 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
18745 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
18746 (ido-decorations): Doc fix.
18747
18748 * ansi-color.el: Fix old URL.
18749
18750 2013-07-23 Michael R. Mauger <michael@mauger.com>
18751
18752 * progmodes/sql.el: Version 3.3
18753 (sql-product-alist): Improve oracle :prompt-cont-regexp.
18754 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
18755 (sql-interactive-remove-continuation-prompt): Rewrite, use
18756 functions above. Fix continuation prompt and complete output line
18757 handling.
18758 (sql-redirect-one, sql-execute): Use `read-only-mode' on
18759 redirected output buffer.
18760 (sql-mode): Restore deleted code (Bug#13591).
18761
18762 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18763
18764 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
18765
18766 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
18767
18768 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
18769
18770 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18772 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
18773
18774 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18775
18776 * desktop.el (desktop-clear): Simplify; remove useless checks
18777 against invalid buffer names.
18778 (desktop-list*): Use cl-list*.
18779 (desktop-buffer-info, desktop-create-buffer): Simplify.
18780
18781 2013-07-23 Leo Liu <sdl.web@gmail.com>
18782
18783 * bookmark.el (bookmark-make-record): Restore NAME as a default
18784 value. (Bug#14933)
18785
18786 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
18787
18788 * emacs-lisp/autoload.el (autoload--setup-output): New function,
18789 extracted from autoload--insert-text.
18790 (autoload--insert-text): Remove.
18791 (autoload--print-cookie-text): New function, extracted from
18792 autoload--insert-cookie-text.
18793 (autoload--insert-cookie-text): Remove.
18794 (autoload-generate-file-autoloads): Adjust calls accordingly.
18795
18796 * winner.el (winner-hook-installed-p): Remove.
18797 (winner-mode): Simplify accordingly.
18798
18799 * subr.el (add-to-list): Fix compiler-macro when `append' is
18800 not constant. Don't use `cl-member' for the base case.
18801
18802 * progmodes/subword.el: Fix boundary case (bug#13758).
18803 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
18804 own group.
18805 (subword-backward-regexp): Make it a constant.
18806 (subword-forward-internal): Don't treat a trailing capital as the
18807 beginning of a word.
18808
18809 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
18810
18811 * emacs-lisp/package.el (package-menu-mode): Don't modify the
18812 global value of tabulated-list-revert-hook (bug#14930).
18813
18814 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
18815
18816 * desktop.el: Require 'cl-lib.
18817 (desktop-before-saving-frames-functions): New hook.
18818 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
18819 for frames being saved. Rename from desktop--save-minibuffer-frames.
18820 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
18821 Do not save frames with non-nil `desktop-dont-save' parameter.
18822 Filter out deleted frames.
18823 (desktop--find-frame): Use cl-find-if.
18824 (desktop--select-frame): Use cl-(first|second|third) to access values
18825 of desktop-mini.
18826 (desktop--make-frame): Use cl-delete-if.
18827 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
18828 (desktop-restore-frames): Use cl-(first|second|third) to access values
18829 of desktop-mini. Look for visible frame at the end, not while
18830 restoring frames.
18831
18832 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
18833 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
18834 Use string-match-p, looking-at-p (bug#14927).
18835
18836 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
18837
18838 * desktop.el (desktop-saved-frame-states):
18839 Rename from desktop--saved-states; all users changed.
18840 (desktop-save-frames): Rename from desktop--save-frames.
18841 Do not save state to desktop file.
18842 (desktop-save): Save desktop-saved-frame-states to desktop file
18843 and reset to nil.
18844 (desktop-restoring-frames-p): New function.
18845 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
18846 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
18847 buffer-lists when restoring frames. Suggested by Martin Rudalics.
18848
18849 * desktop.el: Correctly restore iconified frames.
18850 (desktop--filter-iconified-position): New function.
18851 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
18852
18853 2013-07-20 Glenn Morris <rgm@gnu.org>
18854
18855 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
18856 Let `message' do the formatting.
18857 (def-gdb-preempt-display-buffer): Add explicit format.
18858
18859 * image-dired.el (image-dired-track-original-file):
18860 Use with-current-buffer.
18861 (image-dired-track-thumbnail): Use with-current-buffer.
18862 Avoid changing point of wrong window.
18863
18864 * image-dired.el (image-dired-track-original-file):
18865 Avoid changing point of wrong window. (Bug#14909)
18866
18867 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
18868
18869 * progmodes/gdb-mi.el (gdb-done-or-error):
18870 Guard against "%" in gdb output. (Bug#14127)
18871
18872 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
18873
18874 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
18875 (Bug#14826)
18876
18877 * international/mule.el (coding-system-iso-2022-flags): Fix last
18878 change.
18879
18880 2013-07-20 Kenichi Handa <handa@gnu.org>
18881
18882 * international/mule.el (coding-system-iso-2022-flags):
18883 Add `8-bit-level-4'. (Bug#8522)
18884
18885 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18886
18887 * net/shr.el (shr-mouse-browse-url): New command and keystroke
18888 (bug#14815).
18889
18890 * net/eww.el (eww-process-text-input): Allow inputting when the
18891 point is at the start of the line, as the properties aren't
18892 front-sticky.
18893
18894 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
18895 degenerate widths.
18896
18897 2013-07-19 Richard Stallman <rms@gnu.org>
18898
18899 * epa.el (epa-popup-info-window): Doc fix.
18900
18901 * subr.el (split-string): New arg TRIM.
18902
18903 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
18904
18905 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
18906 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
18907
18908 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
18909
18910 * filenotify.el (file-notify--library): Rename from
18911 `file-notify-support'. Do not autoload. Adapt all uses.
18912 (file-notify-supported-p): New defun.
18913
18914 * autorevert.el (auto-revert-use-notify):
18915 Use `file-notify-supported-p' instead of `file-notify-support'.
18916 Adapt docstring.
18917 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
18918
18919 * net/tramp.el (tramp-file-name-for-operation):
18920 Add `file-notify-supported-p'.
18921
18922 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18923 New defun.
18924 (tramp-sh-file-name-handler-alist): Add it as handler for
18925 `file-notify-supported-p '.
18926
18927 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18928 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18929 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18930 Add `ignore' as handler for `file-notify-*' functions.
18931
18932 2013-07-17 Eli Zaretskii <eliz@gnu.org>
18933
18934 * simple.el (line-move-partial, line-move): Don't start vscroll or
18935 scroll-up if the current line is not taller than the window.
18936 (Bug#14881)
18937
18938 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
18939
18940 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
18941 highlight question marks in the method names as strings.
18942 (ruby-block-beg-keywords): Inline.
18943 (ruby-font-lock-keyword-beg-re): Extract from
18944 `ruby-font-lock-keywords'.
18945
18946 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
18947
18948 * frame.el (blink-cursor-blinks): New defcustom.
18949 (blink-cursor-blinks-done): New defvar.
18950 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
18951 (blink-cursor-timer-function): Check if number of blinks has been
18952 done on X and NS.
18953 (blink-cursor-suspend, blink-cursor-check): New defuns.
18954
18955 2013-07-15 Glenn Morris <rgm@gnu.org>
18956
18957 * edmacro.el (edmacro-format-keys): Fix previous change.
18958
18959 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
18960
18961 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
18962 The hack didn't work outside English locales anyway.
18963
18964 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
18965
18966 * simple.el (define-alternatives): Rename from alternatives-define,
18967 per RMS' suggestion.
18968
18969 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
18970
18971 * desktop.el (desktop-restore-frames): Change default to t.
18972 (desktop-restore-in-current-display): Now offer more options.
18973 (desktop-restoring-reuses-frames): New customization option.
18974 (desktop--saved-states): Doc fix.
18975 (desktop-filter-parameters-alist): New variable, renamed and expanded
18976 from desktop--excluded-frame-parameters.
18977 (desktop--target-display): New variable.
18978 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
18979 (desktop--filter-tty*, desktop--filter-*-color)
18980 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18981 (desktop--filter-save-desktop-parm)
18982 (desktop-restore-in-original-display-p): New functions.
18983 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
18984 (desktop--save-minibuffer-frames): New function, inspired by a similar
18985 function from Martin Rudalics.
18986 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
18987 (desktop--restore-in-this-display-p): Remove.
18988 (desktop--find-frame): Rename from desktop--find-frame-in-display
18989 and add predicate argument.
18990 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
18991 (desktop--reuse-list): New variable.
18992 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
18993 New functions.
18994 (desktop--restore-frames): Add support for "minibuffer-special" frames.
18995
18996 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
18997
18998 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
18999
19000 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
19001
19002 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19003 Highlight conversion methods on Kernel.
19004
19005 2013-07-13 Alan Mackenzie <acm@muc.de>
19006
19007 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
19008 and comment it out. This out-commenting enables certain C++
19009 declarations to be parsed correctly.
19010
19011 2013-07-13 Eli Zaretskii <eliz@gnu.org>
19012
19013 * international/mule.el (define-coding-system): Doc fix.
19014
19015 * simple.el (default-font-height): Don't call font-info if the
19016 frame's default font didn't change since the frame was created.
19017 (Bug#14838)
19018
19019 2013-07-13 Leo Liu <sdl.web@gmail.com>
19020
19021 * ido.el (ido-read-file-name): Guard against non-symbol value.
19022
19023 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19024
19025 * progmodes/python.el (python-imenu--build-tree): Fix corner case
19026 in nested defuns.
19027
19028 2013-07-13 Leo Liu <sdl.web@gmail.com>
19029
19030 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
19031 ido-set-matches call. (Bug#6852)
19032
19033 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
19034
19035 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
19036 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
19037 Ruby 2.0.
19038 (ruby-font-lock-keywords): Distinguish calls to functions with
19039 module-like names from module references. Highlight character
19040 literals.
19041
19042 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
19043
19044 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
19045 (gdb-send): Handle continued commands. (Bug#14847)
19046
19047 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19048
19049 * desktop.el (desktop--v2s): Remove unused local variable.
19050 (desktop-save-buffer): Make defvar-local; adjust docstring.
19051 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
19052 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
19053
19054 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
19055
19056 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
19057
19058 2013-07-12 Eli Zaretskii <eliz@gnu.org>
19059
19060 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
19061 (Bug#14842)
19062
19063 2013-07-12 Glenn Morris <rgm@gnu.org>
19064
19065 * doc-view.el: Require cl-lib at runtime too.
19066 (doc-view-remove-if): Remove.
19067 (doc-view-search-next-match, doc-view-search-previous-match):
19068 Use cl-remove-if.
19069
19070 * edmacro.el: Require cl-lib at runtime too.
19071 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
19072 (edmacro-mismatch, edmacro-subseq): Remove.
19073
19074 * shadowfile.el: Require cl-lib.
19075 (shadow-remove-if): Remove.
19076 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
19077 Use cl-remove-if.
19078
19079 * wid-edit.el: Require cl-lib.
19080 (widget-choose): Use cl-remove-if.
19081 (widget-remove-if): Remove.
19082
19083 * progmodes/ebrowse.el: Require cl-lib at runtime too.
19084 (ebrowse-delete-if-not): Remove.
19085 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
19086 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
19087 Use cl-delete-if-not.
19088
19089 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19090
19091 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
19092 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
19093
19094 2013-07-12 Leo Liu <sdl.web@gmail.com>
19095
19096 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
19097
19098 2013-07-11 Glenn Morris <rgm@gnu.org>
19099
19100 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
19101 (edebug-gensym-index, edebug-gensym):
19102 Remove reimplementation of cl-gensym.
19103 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
19104
19105 * thumbs.el: Require cl-lib at run-time too.
19106 (thumbs-gensym-counter, thumbs-gensym):
19107 Remove reimplementation of cl-gensym.
19108 (thumbs-temp-file): Use cl-gensym.
19109
19110 * emacs-lisp/ert.el: Require cl-lib at runtime too.
19111 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
19112 (ert--intersection, ert--set-difference, ert--set-difference-eq)
19113 (ert--union, ert--gensym-counter, ert--gensym-counter)
19114 (ert--coerce-to-vector, ert--remove*, ert--string-position)
19115 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
19116 (ert-make-test-unbound, ert--expand-should-1)
19117 (ert--expand-should, ert--should-error-handle-error)
19118 (should-error, ert--explain-equal-rec)
19119 (ert--plist-difference-explanation, ert-select-tests)
19120 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19121 Use cl-lib functions rather than reimplementations.
19122
19123 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
19124
19125 * net/tramp.el (tramp-methods): Extend docstring.
19126 (tramp-connection-timeout): New defcustom.
19127 (tramp-error-with-buffer): Reset timestamp only when appropriate.
19128 (with-tramp-progress-reporter): Simplify.
19129 (tramp-process-actions): Improve messages.
19130
19131 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19132 * net/tramp-sh.el (tramp-maybe-open-connection):
19133 Use `tramp-connection-timeout'.
19134 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19135 (Bug#14808)
19136
19137 2013-07-11 Leo Liu <sdl.web@gmail.com>
19138
19139 * ido.el (ido-read-file-name): Conform to the requirements of
19140 read-file-name. (Bug#11861)
19141 (ido-read-directory-name): Conform to the requirements of
19142 read-directory-name.
19143
19144 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
19145
19146 * subr.el (delay-warning): New function.
19147
19148 2013-07-10 Eli Zaretskii <eliz@gnu.org>
19149
19150 * simple.el (default-line-height): New function.
19151 (line-move-partial, line-move): Use it instead of computing the
19152 line height inline.
19153 (line-move-partial): Always compute ROWH. If the last line is
19154 partially-visible, but its text is completely visible, allow
19155 cursor to enter such a partially-visible line.
19156
19157 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
19158
19159 Improve error messages. (Bug#14808)
19160
19161 * net/tramp.el (tramp-current-connection): New defvar, moved from
19162 tramp-sh.el.
19163 (tramp-message-show-progress-reporter-message): Remove, not
19164 needed anymore.
19165 (tramp-error-with-buffer): Show message in minibuffer.
19166 Discard input before waiting. Reset connection timestamp.
19167 (with-tramp-progress-reporter): Improve messages.
19168 (tramp-process-actions): Use progress reporter. Delete process in
19169 case of error. Improve messages.
19170
19171 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19172 Call `tramp-error-with-buffer' with vector and buffer.
19173 (tramp-current-connection): Remove.
19174 (tramp-maybe-open-connection): The car of
19175 `tramp-current-connection' are the first 3 slots of the vector.
19176
19177 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
19178
19179 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19180 inside continued strings.
19181
19182 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
19183
19184 Timestamp fixes for undo (Bug#14824).
19185 * files.el (clear-visited-file-modtime): Move here from fileio.c.
19186
19187 2013-07-10 Leo Liu <sdl.web@gmail.com>
19188
19189 * files.el (require-final-newline): Allow safe local value.
19190 (Bug#14834)
19191
19192 2013-07-09 Leo Liu <sdl.web@gmail.com>
19193
19194 * ido.el (ido-read-directory-name): Handle fallback.
19195 (ido-read-file-name): Update DIR to ido-current-directory.
19196 (Bug#1516)
19197 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
19198
19199 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
19200
19201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19202 "autoload". Remove "warn lower camel case" section, previously
19203 commented out. Highlight negation char. Do not highlight the
19204 target in singleton method definitions.
19205
19206 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19207
19208 * faces.el (tty-setup-hook): Declare the hook.
19209
19210 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19211 and detect when a guard/pred depends on local vars (bug#14773).
19212 (pcase--u1): Adjust caller.
19213
19214 2013-07-08 Eli Zaretskii <eliz@gnu.org>
19215
19216 * simple.el (line-move-partial, line-move): Account for
19217 line-spacing.
19218 (line-move-partial): Avoid setting vscroll when the last
19219 partially-visible line in window is of default height.
19220
19221 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19222
19223 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19224 been used a while.
19225
19226 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
19227
19228 * subr.el (read-quoted-char): Remove unused local variable `char'.
19229
19230 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
19231
19232 * vc/ediff.el (ediff-version): Version update.
19233 (ediff-files-command, ediff3-files-command, ediff-merge-command)
19234 (ediff-merge-with-ancestor-command, ediff-directories-command)
19235 (ediff-directories3-command, ediff-merge-directories-command)
19236 (ediff-merge-directories-with-ancestor-command): New functions.
19237 All are command-line interfaces to ediff: to facilitate calling
19238 Emacs with the appropriate ediff functions invoked.
19239
19240 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19241 New function.
19242 (viper-save-kill-buffer): Check if buffer is modified.
19243
19244 * emulation/viper.el (viper-version): Version update.
19245 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19246
19247 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
19248
19249 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19250 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19251 (viper-intercept-ESC-key): Simplify.
19252 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19253 don't use kbd.
19254 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19255 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19256 (viper-setup-ESC-to-escape): New functions.
19257 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19258 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
19259
19260 2013-07-07 Eli Zaretskii <eliz@gnu.org>
19261
19262 * simple.el (default-font-height, window-screen-lines):
19263 New functions.
19264 (line-move, line-move-partial): Use them instead of
19265 frame-char-height and window-text-height. This makes scrolling
19266 text smoother when the buffer's default face uses a font that is
19267 different from the frame's default font.
19268
19269 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
19270
19271 * files.el (write-file): Do not display confirm dialog for NS,
19272 it does its own dialog, which can't be canceled (Bug#14578).
19273
19274 2013-07-06 Eli Zaretskii <eliz@gnu.org>
19275
19276 * simple.el (line-move-partial): Adjust the row returned by
19277 posn-at-point for the current window-vscroll. (Bug#14567)
19278
19279 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
19280
19281 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19282 (tramp-sh-file-inotifywait-process-filter): Handle file names with
19283 spaces.
19284
19285 2013-07-06 Martin Rudalics <rudalics@gmx.at>
19286
19287 * window.el (window-state-put-stale-windows): New variable.
19288 (window--state-put-2): Save list of windows without matching buffer.
19289 (window-state-put): Remove "bufferless" windows if possible.
19290
19291 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19292
19293 * simple.el (alternatives-define): Remove leftover :group keyword.
19294 Tweak docstring.
19295
19296 2013-07-06 Leo Liu <sdl.web@gmail.com>
19297
19298 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19299 (ido-enable-virtual-buffers): New variable.
19300 (ido-buffer-internal, ido-toggle-virtual-buffers)
19301 (ido-make-buffer-list): Use it.
19302 (ido-exhibit): Support turning on and off virtual buffers
19303 automatically.
19304
19305 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19306
19307 * simple.el (alternatives-define): New macro.
19308
19309 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * subr.el (read-quoted-char): Use read-key.
19312 (sit-for): Let read-event decode tty input (bug#14782).
19313
19314 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
19315
19316 * calendar/todo-mode.el: Add handling of file deletion, both by
19317 mode command and externally. Fix various related bugs.
19318 Clarify Commentary and improve some documentation strings and code.
19319 (todo-delete-file): New command.
19320 (todo-check-file): New function.
19321 (todo-show): Handle external deletion of the file we're trying to
19322 show (bug#14688). Replace called-interactively-p by an optional
19323 prefix argument to avoid problematic interaction with catch form
19324 when byte compiled (bug#14702).
19325 (todo-quit): Handle external deletion of the archive's todo file.
19326 Make sure the buffer that was visiting the archive file is still
19327 live before trying to bury it.
19328 (todo-category-completions): Handle external deletion of any
19329 category completion files.
19330 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19331 of todo files, in case of external deletion.
19332 (todo-add-file): Replace unnecessary setq by let-binding.
19333 (todo-find-archive): Check whether there are any archives.
19334 Replace unnecessary setq by let-binding.
19335 (todo-archive-done-item): Use find-file-noselect to get the
19336 archive buffer whether or not the archive already exists.
19337 Remove superfluous code. Use file size instead of buffer-file-name to
19338 check if the archive is new; if it is, update list of archives.
19339 (todo-default-todo-file): Allow nil to be a valid value for when
19340 there are no todo files.
19341 (todo-reevaluate-default-file-defcustom): Use corrected definition
19342 of todo-default-todo-file.
19343 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19344 (todo-delete-category, todo-show-categories-table)
19345 (todo-category-number): Clarify comment.
19346 (todo-filter-items): Clarify documentation string.
19347 (todo-show-current-file, todo-display-as-todo-file)
19348 (todo-reset-and-enable-done-separator): Tweak documentation string.
19349 (todo-done-separator): Make separator length window-width, since
19350 bug#2749 is now fixed.
19351
19352 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
19353
19354 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19355 Support both "gvfs-monitor-dir" and "inotifywait".
19356 (tramp-sh-file-inotifywait-process-filter): Rename from
19357 `tramp-sh-file-notify-process-filter'.
19358 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19359 (tramp-get-remote-gvfs-monitor-dir): New defuns.
19360
19361 2013-07-05 Leo Liu <sdl.web@gmail.com>
19362
19363 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19364
19365 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19366
19367 * frame.el (display-pixel-height, display-pixel-width)
19368 (display-mm-height, display-mm-width): Mention behavior on
19369 multi-monitor setups in docstrings.
19370 (w32-display-monitor-attributes-list): Declare function.
19371 (display-monitor-attributes-list): Use it.
19372
19373 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
19374
19375 * filenotify.el: New package.
19376
19377 * autorevert.el (top): Require filenotify.el.
19378 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
19379 instead.
19380 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19381 (auto-revert-notify-handler): Use `file-notify-*' functions.
19382
19383 * subr.el (file-notify-handle-event): Move function to filenotify.el.
19384
19385 * net/tramp.el (tramp-file-name-for-operation):
19386 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19387
19388 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19389 for `file-notify-add-watch' and `file-notify-rm-watch'.
19390 (tramp-process-sentinel): Improve trace.
19391 (tramp-sh-handle-file-notify-add-watch)
19392 (tramp-sh-file-notify-process-filter)
19393 (tramp-sh-handle-file-notify-rm-watch)
19394 (tramp-get-remote-inotifywait): New defuns.
19395
19396 2013-07-03 Juri Linkov <juri@jurta.org>
19397
19398 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19399 call of `occur-read-primary-args' to interactive spec.
19400
19401 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19402 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
19403
19404 2013-07-03 Matthias Meulien <orontee@gmail.com>
19405
19406 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19407 `Buffer-menu-multi-occur'. Add it to the menu.
19408 (Buffer-menu-mode): Document it in docstring.
19409 (Buffer-menu-multi-occur): New command. (Bug#14673)
19410
19411 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19412
19413 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
19414 keywords and built-ins.
19415
19416 2013-07-03 Glenn Morris <rgm@gnu.org>
19417
19418 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
19419
19420 Make info-xref checks case-sensitive by default
19421 * info.el (Info-find-node, Info-find-in-tag-table)
19422 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
19423 Add option for exact case matching of nodes.
19424 * info-xref.el (info-xref): New custom group.
19425 (info-xref-case-fold): New option.
19426 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
19427
19428 2013-07-03 Leo Liu <sdl.web@gmail.com>
19429
19430 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
19431
19432 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19433
19434 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
19435 middle of block statement initially, lower the depth. Remove
19436 FIXME comment, not longer valid. Remove middle of block statement
19437 detection, no need to do that anymore since we've been using
19438 `ruby-parse-region' here.
19439
19440 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
19441
19442 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
19443
19444 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
19445
19446 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
19447
19448 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
19449
19450 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
19451 (desktop-restore-in-current-display): New customization option.
19452 (desktop--excluded-frame-parameters): Add `font'.
19453 (desktop--save-frames): Rename from desktop--save-windows.
19454 (desktop--restore-in-this-display-p): New function.
19455 (desktop--make-full-frame): Remove unwanted width/height from
19456 full(width|height) frames.
19457 (desktop--restore-frames): Rename from desktop--restore-windows.
19458 Obey desktop-restore-current-display. Do not delete old frames or
19459 select a new frame unless we were able to restore at least one frame.
19460
19461 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
19462
19463 * files.el (find-file-noselect): Simplify conditional expression.
19464
19465 * textmodes/remember.el (remember-append-to-file):
19466 Don't mix `find-buffer-visiting' and `get-file-buffer'.
19467
19468 Add `remember-notes' function to store random notes across Emacs
19469 restarts.
19470 * textmodes/remember.el (remember-data-file): Add :set callback to
19471 affect notes buffer (if any).
19472 (remember-notes): New command.
19473 (remember-notes-buffer-name, bury-remember-notes-on-kill):
19474 New defcustoms for the `remember-notes' function.
19475 (remember-notes-save-and-bury-buffer): New command.
19476 (remember-notes-mode-map): New variable.
19477 (remember-mode): New minor mode.
19478 (remember-notes--kill-buffer-query): New function.
19479 * startup.el (initial-buffer-choice): Add notes to custom type.
19480
19481 2013-06-30 Eli Zaretskii <eliz@gnu.org>
19482
19483 * bindings.el (right-char, left-char): Don't call sit-for, this is
19484 no longer needed. Use arithmetic comparison only for numerical
19485 arguments.
19486
19487 * international/mule-cmds.el (select-safe-coding-system):
19488 Handle the case of FROM being a string correctly. (Bug#14755)
19489
19490 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19491
19492 * net/shr.el (shr-make-table-1): Add a sanity check that allows
19493 progression on degenerate tables.
19494 (shr-rescale-image): ImageMagick animated images currently don't work.
19495
19496 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
19497
19498 Some fixes and improvements for desktop frame restoration.
19499 It is still experimental and disabled by default.
19500 * desktop.el (desktop--save-windows): Put the selected frame at
19501 the head of the list.
19502 (desktop--make-full-frame): New function.
19503 (desktop--restore-windows): Try to re-select the frame that was
19504 selected upon saving. Do not abort if some frames fail to restore,
19505 just show an error message and continue. Set up maximized frames
19506 so they have default non-maximized dimensions.
19507
19508 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
19509
19510 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
19511 Don't start heredoc inside a string or comment.
19512
19513 2013-06-29 Eli Zaretskii <eliz@gnu.org>
19514
19515 * bindings.el (visual-order-cursor-movement): New defcustom.
19516 (right-char, left-char): Provide visual-order cursor motion by
19517 calling move-point-visually. Update the doc strings.
19518
19519 2013-06-28 Kenichi Handa <handa@gnu.org>
19520
19521 * international/mule.el (define-coding-system): New coding system
19522 properties :inhibit-null-byte-detection,
19523 :inhibit-iso-escape-detection, and :prefer-utf-8.
19524 (set-buffer-file-coding-system): If :charset-list property of
19525 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
19526 appropriate for setting.
19527
19528 * international/mule-cmds.el (select-safe-coding-system):
19529 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
19530 multibyte characters, return utf-8 (or one of its siblings).
19531
19532 * international/mule-conf.el (prefer-utf-8): New coding system.
19533 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
19534 files.
19535
19536 2013-06-28 Ivan Kanis <ivan@kanis.fr>
19537
19538 * net/shr.el (shr-render-region): New function.
19539
19540 * net/eww.el: Autoload `eww-browse-url'.
19541
19542 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
19543
19544 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19545 Adapt to `package-desc-version' being a list.
19546 Use `package--ac-desc-version' to retrieve version from a package
19547 archive element.
19548
19549 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
19550
19551 New experimental feature to save&restore window and frame setup.
19552 * desktop.el (desktop-save-windows): New defcustom.
19553 (desktop--saved-states): New var.
19554 (desktop--excluded-frame-parameters): New defconst.
19555 (desktop--filter-frame-parms, desktop--find-frame-in-display)
19556 (desktop--restore-windows, desktop--save-windows): New functions.
19557 (desktop-save): Call `desktop--save-windows'.
19558 (desktop-read): Call `desktop--restore-windows'.
19559
19560 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19561
19562 * net/shr.el (add-face-text-property): Remove compat definition.
19563
19564 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19565
19566 * info.el (Info-try-follow-nearest-node): Move search for footnote
19567 above search for node name to prevent missing a footnote (bug#14717).
19568
19569 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19570
19571 * obsolete/otodo-mode.el: Add obsolescence info to file header.
19572
19573 2013-06-27 Leo Liu <sdl.web@gmail.com>
19574
19575 * net/eww.el (eww-read-bookmarks): Check file size.
19576
19577 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19578
19579 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
19580 advice--pending if newdef is nil or an autoload (bug#13820).
19581 (advice-mapc): New function.
19582
19583 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19584
19585 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
19586 probably.
19587 (eww-mode-map): Add a menu bar.
19588 (eww-add-bookmark): New command.
19589 (eww-bookmark-mode): New mode and commands.
19590 (eww-add-bookmark): Remove newlines from the title.
19591 (eww-bookmark-browse): Don't bug out if it's the only window.
19592
19593 2013-06-26 Glenn Morris <rgm@gnu.org>
19594
19595 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
19596 (hfy-size): Handle ttys. (Bug#14668)
19597
19598 * info-xref.el: Update for Texinfo 5 change in *note format.
19599 (info-xref-node-re, info-xref-note-re): New constants.
19600 (info-xref-check-buffer): Use info-xref-note-re.
19601
19602 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19603
19604 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
19605
19606 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
19607 nil terminate the loop (bug#14718).
19608
19609 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19610
19611 * net/eww.el: Rework history traversal. When going forward/back,
19612 put these actions into the history, too, so that they can be
19613 replayed.
19614 (eww-render): Move the history reset to the correct buffer.
19615
19616 2013-06-25 Juri Linkov <juri@jurta.org>
19617
19618 * files-x.el (modify-dir-local-variable): Change the header comment
19619 in the file with directory local variables. (Bug#14692)
19620
19621 * files-x.el (read-file-local-variable-value): Add `default'.
19622 (Bug#14710)
19623
19624 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19625
19626 * net/eww.el (eww-make-unique-file-name): Create a unique file
19627 name before saving to entering `y' accidentally asynchronously.
19628
19629 2013-06-25 Ivan Kanis <ivan@kanis.fr>
19630
19631 * net/eww.el (eww-download): New command and keystroke.
19632
19633 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19634
19635 * net/eww.el (eww-copy-page-url): Change name of command.
19636
19637 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
19638 be more consistent with Info and dired.
19639
19640 * net/eww.el (eww-mode-map): Ditto.
19641
19642 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19643
19644 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
19645 packages from archives.
19646 (package-archive-contents): Change format; include obsolete packages.
19647 (package-desc): Use `dir' to mark builtin packages.
19648 (package--from-builtin): Set the `dir' field to `builtin'.
19649 (generated-autoload-file, version-control): Declare.
19650 (package-compute-transaction): Change first arg and return value to be
19651 lists of package-descs. Adjust to new package-archive-contents format.
19652 (package--add-to-archive-contents): Adjust to new
19653 package-archive-contents format.
19654 (package-download-transaction): Arg is now a list of package-descs.
19655 (package-install): If `pkg' is a package name, pass it as
19656 a requirement, so it is subject to the usual (e.g. disabled) checks.
19657 (describe-package): Accept package-desc as well.
19658 (describe-package-1): Describe a specific package-desc. Add links to
19659 other package-descs for the same package name.
19660 (package-menu-describe-package): Pass the actual package-desc.
19661 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
19662 works correctly.
19663 (package-desc-status): New function.
19664 (package-menu--refresh): New function, extracted
19665 from package-menu--generate.
19666 (package-menu--generate): Use it.
19667 (package-delete): Update package-alist.
19668 (package-menu-execute): Don't call package-initialize.
19669
19670 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
19671 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
19672 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
19673 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
19674 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
19675 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
19676
19677 2013-06-25 Martin Rudalics <rudalics@gmx.at>
19678
19679 * window.el (window--state-get-1): Workaround for bug#14527.
19680 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
19681
19682 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19683
19684 * net/eww.el (eww-back-url): Implement the history by stashing all
19685 the data into a list.
19686 (eww-forward-url): Allow going forward in the history, too.
19687
19688 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19689
19690 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
19691 for values and use read--expression for expressions (bug#14710).
19692 (read-file-local-variable): Avoid setq.
19693 (read-file-local-variable-mode): Use minor-mode-list.
19694
19695 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19696
19697 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
19698 for DOI URLs.
19699
19700 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19701
19702 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
19703 Update imenu-support when dialect changes.
19704
19705 2013-06-25 Leo Liu <sdl.web@gmail.com>
19706
19707 * ido.el (ido-read-internal): Allow forward slash on windows.
19708
19709 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19710
19711 * net/eww.el (eww): Start of strings is \\`, not ^.
19712
19713 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19714
19715 * net/shr.el (shr-browse-url): Fix interactive spec.
19716
19717 * net/eww.el (eww): Add a trailing slash to domain names.
19718
19719 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
19720
19721 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
19722
19723 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19724
19725 * net/shr.el (shr-browse-url): Use an external browser if given a
19726 prefix.
19727
19728 * net/eww.el (eww-external-browser): Move to shr.
19729
19730 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19731
19732 * net/eww.el (eww): Work more correctly for file: URLs.
19733 (eww-detect-charset): Allow quoted charsets.
19734 (eww-yank-page-url): New command and keystroke.
19735
19736 2013-06-24 Daiki Ueno <ueno@gnu.org>
19737
19738 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
19739 file name of gpg executable.
19740 (epg-context-program): New function.
19741 (epg-context-home-directory): New function.
19742 (epg-context-set-program): New function.
19743 (epg-context-set-home-directory): New function.
19744 (epg--start): Use `epg-context-program' instead of
19745 'epg-gpg-program'.
19746 (epg--list-keys-1): Likewise.
19747
19748 2013-06-24 Leo Liu <sdl.web@gmail.com>
19749
19750 * ido.el (ido-read-internal): Fix bug#14620.
19751
19752 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19753
19754 * faces.el (face-documentation): Simplify.
19755 (read-face-attribute, tty-find-type, x-resolve-font-name):
19756 Use `string-match-p'.
19757 (list-faces-display): Use `string-match-p'. Simplify.
19758 (face-spec-recalc): Check face to avoid face alias loops.
19759 (read-color): Use `string-match-p' and non-capturing parenthesis.
19760
19761 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19762
19763 * net/shr.el (shr-rescale-image): Use the new
19764 :max-width/:max-height functionality.
19765
19766 2013-06-23 Ivan Kanis <ivan@kanis.fr>
19767
19768 * net/eww.el (eww-search-prefix): New variable.
19769 (eww): Use it.
19770 (eww-external-browser): New variable.
19771 (eww-mode-map): New keystroke.
19772 (eww-browse-with-external-browser): New command.
19773
19774 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
19775
19776 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19777
19778 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19779 Don't skip aligning the next header field when padding is 0;
19780 otherwise, field width is not respected unless the title is as
19781 wide as the field.
19782
19783 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
19784
19785 * emacs-lisp/package.el (package-el-version): Remove.
19786 (package-process-define-package): Fix inf-loop.
19787 (package-install): Allow symbols as arguments again.
19788
19789 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19790
19791 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
19792 add some more keyword-like methods.
19793 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
19794
19795 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
19796
19797 * bs.el (bs-buffer-show-mark): Make defvar-local.
19798 (bs-mode): Use setq-local.
19799
19800 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
19801 (emacs-lock--try-unlocking): Make defvar-local.
19802
19803 2013-06-22 Glenn Morris <rgm@gnu.org>
19804
19805 * play/cookie1.el (cookie-apropos): Minor simplification.
19806
19807 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
19808
19809 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19810
19811 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
19812 `regexp-opt', it breaks the build during dumping.
19813
19814 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
19815
19816 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19817 Highlight keyword-like methods on Kernel and Module with
19818 font-lock-builtin-face.
19819 (auto-mode-alist): Consolidate different entries into one regexp
19820 and add more *file-s.
19821
19822 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
19823
19824 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
19825
19826 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
19827 (diary-entry): Use it in the action of this button type instead of
19828 diary-goto-entry.
19829
19830 * calendar/todo-mode.el: New version.
19831 (todo-add-category): Append new category to end of file and give
19832 it the highest number, instead of putting it at the beginning and
19833 giving it 0. Incorporate noninteractive functionality.
19834 (todo-forward-category): Adapt to 1-based category numbering.
19835 Allow skipping over archived categories.
19836 (todo-backward-category): Derive from todo-forward-category.
19837 (todo-backward-item, todo-forward-item): Make noninteractive and
19838 delegate interactive part to new commands. Make sensitive to done items.
19839 (todo-categories): Make value an alist of category names and
19840 vectors of item counts.
19841 (todo-category-beg): Make a defconst.
19842 (todo-category-number): Use 1 instead of 0 as initial value.
19843 (todo-category-select): Make sensitive to overlays, optional item
19844 highlighting and done items.
19845 (todo-delete-item): Make sensitive to overlays and marked and done items.
19846 (todo-edit-item): Make sensitive to overlays and editing of
19847 date/time header optional. Add format checks.
19848 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
19849 no-op if point is not on an item. Advertise using todo-edit-quit.
19850 (todo-edit-mode): Make sensitive to new format, font-locking, and
19851 multiple todo files.
19852 (todo-insert-item, todo-insert-item-here): Derive from
19853 todo-basic-insert-item and extend functionality.
19854 (todo-item-end, todo-item-start): Make sensitive to done items.
19855 (todo-item-string): Don't return text properties. Restore point.
19856 (todo-jump-to-category): Make sensitive to multiple todo files and
19857 todo archives. Use extended category completion.
19858 (todo-lower-item, todo-raise-item): Rename to *-priority and
19859 derive from todo-set-item-priority.
19860 (todo-mode): Derive from special-mode. Make sensitive to new
19861 format, font-locking and multiple todo files. Make read-only.
19862 (todo-mode-map): Don't suppress digit keys, so they can supply
19863 prefix arguments. Add many new key bindings.
19864 (todo-prefix): Insert as an overlay instead of file text.
19865 Change semantics from diary date expression to purely visual mark.
19866 (todo-print): Rename to todo-print-buffer. Make buffer display
19867 features printable. Remove option to restrict number of items
19868 printed. Add option to print to file.
19869 (todo-print-function): Rename to todo-print-buffer-function.
19870 (todo-quit): Extend to handle exiting new todo modes.
19871 (todo-remove-item): Make sensitive to overlays.
19872 (todo-save): Extend to buffers of filtered items.
19873 (todo-show): Make sensitive to done items, multiple todo files and
19874 new todo modes. Offer to convert legacy todo file before creating
19875 first new todo file.
19876 (todo-show-priorities): Rename to todo-top-priorities.
19877 Change semantics of value 0.
19878 (todo-top-priorities): Rename to todo-filter-top-priorities,
19879 derive from todo-filter-items and extend functionality.
19880 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
19881 and extend functionality to other types of filtered items.
19882 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
19883 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
19884 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
19885 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
19886 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
19887 (todo-edit-mode-hook, todo-entry-prefix-function)
19888 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
19889 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
19890 (todo-initials, todo-insert-threshold, todo-item-string-start)
19891 (todo-line-string, todo-menu, todo-mode-hook)
19892 (todo-more-important-p, todo-previous-answer, todo-previous-line)
19893 (todo-print-priorities, todo-remove-separator)
19894 (todo-save-top-priorities-too, todo-string-count-lines)
19895 (todo-string-multiline-p, todo-time-string-format)
19896 (todo-tmp-buffer-name): Remove.
19897 (todo-add-file, todo-archive-done-item, todo-choose-archive)
19898 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
19899 (todo-edit-category-diary-inclusion)
19900 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
19901 (todo-edit-file, todo-edit-item-date-day)
19902 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
19903 (todo-edit-item-date-month, todo-edit-item-date-to-today)
19904 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
19905 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
19906 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
19907 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
19908 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
19909 (todo-filter-top-priorities-multifile, todo-find-archive)
19910 (todo-find-filtered-items-file, todo-go-to-source-item)
19911 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
19912 (todo-jump-to-archive-category, todo-lower-category)
19913 (todo-mark-category, todo-marked-item-p, todo-merge-category)
19914 (todo-move-category, todo-move-item, todo-next-button)
19915 (todo-next-item, todo-padded-string, todo-powerset)
19916 (todo-previous-button, todo-previous-item)
19917 (todo-print-buffer-to-file, todo-raise-category)
19918 (todo-rename-category, todo-repair-categories-sexp, todo-search)
19919 (todo-set-category-number, todo-set-item-priority)
19920 (todo-set-top-priorities-in-category)
19921 (todo-set-top-priorities-in-file, todo-show-categories-table)
19922 (todo-sort-categories-alphabetically-or-numerically)
19923 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
19924 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
19925 (todo-toggle-item-header, todo-toggle-item-highlighting)
19926 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
19927 (todo-toggle-view-done-items, todo-toggle-view-done-only)
19928 (todo-unarchive-items, todo-unmark-category): New commands.
19929 (todo-absolute-file-name, todo-add-to-buffer-list)
19930 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
19931 (todo-basic-insert-item, todo-category-completions)
19932 (todo-category-number, todo-category-string-matcher-1)
19933 (todo-category-string-matcher-2, todo-check-filtered-items-file)
19934 (todo-check-format, todo-clear-matches)
19935 (todo-comment-string-matcher, todo-convert-legacy-date-time)
19936 (todo-current-category, todo-date-string-matcher)
19937 (todo-define-insertion-command, todo-diary-expired-matcher)
19938 (todo-diary-goto-entry, todo-diary-item-p)
19939 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
19940 (todo-display-categories, todo-display-sorted, todo-done-item-p)
19941 (todo-done-item-section-p, todo-done-separator)
19942 (todo-done-string-matcher, todo-files, todo-filter-items)
19943 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
19944 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
19945 (todo-insert-category-line, todo-insert-item-from-calendar)
19946 (todo-insert-sort-button, todo-insert-with-overlays)
19947 (todo-insertion-command-name, todo-insertion-key-bindings)
19948 (todo-label-to-key, todo-longest-category-name-length)
19949 (todo-make-categories-list, todo-mode-external-set)
19950 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
19951 (todo-modes-set-3, todo-multiple-filter-files)
19952 (todo-nondiary-marker-matcher, todo-prefix-overlays)
19953 (todo-read-category, todo-read-date, todo-read-dayname)
19954 (todo-read-file-name, todo-read-time)
19955 (todo-reevaluate-category-completions-files-defcustom)
19956 (todo-reevaluate-default-file-defcustom)
19957 (todo-reevaluate-filelist-defcustoms)
19958 (todo-reevaluate-filter-files-defcustom)
19959 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
19960 (todo-reset-done-separator, todo-reset-done-separator-string)
19961 (todo-reset-done-string, todo-reset-global-current-todo-file)
19962 (todo-reset-highlight-item, todo-reset-nondiary-marker)
19963 (todo-reset-prefix, todo-set-categories)
19964 (todo-set-date-from-calendar, todo-set-show-current-file)
19965 (todo-set-top-priorities, todo-short-file-name)
19966 (todo-show-current-file, todo-sort, todo-time-string-matcher)
19967 (todo-total-item-counts, todo-update-buffer-list)
19968 (todo-update-categories-display, todo-update-categories-sexp)
19969 (todo-update-count, todo-validate-name, todo-y-or-n-p):
19970 New functions.
19971 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
19972 New major modes.
19973 (todo-categories, todo-display, todo-edit, todo-faces)
19974 (todo-filtered): New defgroups.
19975 (todo-archived-only, todo-button, todo-category-string, todo-date)
19976 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
19977 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
19978 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
19979 (todo-add-item-if-new-category, todo-always-add-time-string)
19980 (todo-categories-align, todo-categories-archived-label)
19981 (todo-categories-category-label, todo-categories-diary-label)
19982 (todo-categories-done-label, todo-categories-number-separator)
19983 (todo-categories-todo-label, todo-categories-totals-label)
19984 (todo-category-completions-files, todo-completion-ignore-case)
19985 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
19986 (todo-done-separator-string, todo-done-string)
19987 (todo-files-function, todo-filter-done-items, todo-filter-files)
19988 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
19989 (todo-initial-category, todo-initial-file, todo-item-mark)
19990 (todo-legacy-date-time-regexp, todo-mode-line-function)
19991 (todo-nondiary-marker, todo-number-prefix)
19992 (todo-print-buffer-function, todo-show-current-file)
19993 (todo-show-done-only, todo-show-first, todo-show-with-done)
19994 (todo-skip-archived-categories, todo-top-priorities-overrides)
19995 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
19996 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
19997 New defcustoms.
19998 (todo-category-done, todo-date-pattern, todo-date-string-start)
19999 (todo-diary-items-buffer, todo-done-string-start)
20000 (todo-filtered-items-buffer, todo-item-start)
20001 (todo-month-abbrev-array, todo-month-name-array)
20002 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
20003 (todo-top-priorities-buffer): New defconsts.
20004 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
20005 (todo-categories-with-marks, todo-category-string-face)
20006 (todo-comment-face, todo-comment-string, todo-current-todo-file)
20007 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
20008 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
20009 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
20010 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
20011 (todo-font-lock-keywords, todo-global-current-todo-file)
20012 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
20013 (todo-insertion-commands-args)
20014 (todo-insertion-commands-args-genlist)
20015 (todo-insertion-commands-names, todo-insertion-map)
20016 (todo-key-bindings-t, todo-key-bindings-t+a)
20017 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
20018 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
20019 (todo-nondiary-face, todo-print-buffer, todo-time-face)
20020 (todo-visited): New variables.
20021
20022 2013-06-21 Glenn Morris <rgm@gnu.org>
20023
20024 * play/cookie1.el (cookie-apropos): Add optional display argument.
20025 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
20026 (psychoanalyze-pinhead): Use cookie-doctor.
20027
20028 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20029
20030 * emacs-lisp/package.el (tar-get-file-descriptor)
20031 (tar--extract): Declare.
20032
20033 2013-06-21 Eduard Wiebe <usenet@pusto.de>
20034
20035 Extend flymake's warning predicate to be a function (bug#14217).
20036 * progmodes/flymake.el (flymake-warning-predicate): New.
20037 (flymake-parse-line): Use it.
20038 (flymake-warning-re): Make obsolete alias to
20039 `flymake-warning-predicate'.
20040
20041 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20042
20043 * emacs-lisp/package.el (package-alist): Include obsolete packages.
20044 (package-obsolete-list): Remove.
20045 (package-activate): Remove min-version argument. Add `force' argument.
20046 Adjust to new package-alist format.
20047 (package-mark-obsolete): Remove.
20048 (package-unpack): Force reload of the package's autoloads.
20049 (package-installed-p): Check builtins if the installed package is not
20050 recent enough.
20051 (package-initialize): Don't reset package-obsolete-list.
20052 Don't specify which package version to activate.
20053 (package-process-define-package, describe-package-1)
20054 (package-menu--generate): Adjust to new package-alist format.
20055
20056 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20057
20058 * allout-widgets.el (allout-widgets-mode-off)
20059 (allout-widgets-mode-on, allout-widgets-pre-command-business)
20060 (allout-widgets-post-command-business)
20061 (allout-widgets-after-copy-or-kill-function)
20062 (allout-widgets-after-undo-function, allout-test-range-overlaps)
20063 (allout-decorate-item-and-context)
20064 (allout-graphics-modification-handler): Fix typos in docstrings.
20065 (allout-get-or-create-parent-widget): Use `looking-at-p'.
20066
20067 * cmuscheme.el (scheme-start-file): Doc fix.
20068 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
20069 (scheme-input-filter): Use `string-match-p'.
20070
20071 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
20072
20073 * dired-x.el: Use Dired consistently in docstrings.
20074
20075 * dired.el: Use Dired consistently in docstrings.
20076 (dired-readin, dired-mode): Use `setq-local'.
20077 (dired-switches-alist): Make defvar-local.
20078 (dired-buffers-for-dir): Use `zerop'.
20079 (dired-safe-switches-p, dired-switches-escape-p)
20080 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
20081 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
20082 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
20083 (dired-goto-next-nontrivial-file): Use `string-match-p'.
20084 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
20085 (dired-toggle-marks, dired-mark-files-containing-regexp)
20086 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
20087 (dired-flag-auto-save-files, dired-flag-backup-files):
20088 Use `looking-at-p'.
20089 (dired-mark-files-regexp, dired-build-subdir-alist):
20090 Use `string-match-p', `looking-at-p'.
20091
20092 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
20093 (direct-print-region-helper): Use `string-match-p'.
20094
20095 2013-06-21 Leo Liu <sdl.web@gmail.com>
20096
20097 * comint.el (comint-redirect-results-list-from-process):
20098 Fix infinite loop.
20099
20100 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20101
20102 * net/eww.el (eww-update-header-line-format): Quote % characters.
20103
20104 2013-06-21 Glenn Morris <rgm@gnu.org>
20105
20106 * play/cookie1.el (cookie): New custom group.
20107 (cookie-file): New option.
20108 (cookie-check-file): New function.
20109 (cookie): Make it interactive. Make start and end messages optional.
20110 Interactively, display the result. Default to cookie-file.
20111 (cookie-insert): Default to cookie-file.
20112 (cookie-snarf): Make start and end messages optional.
20113 Default to cookie-file. Use with-temp-buffer.
20114 (cookie-read): Rename from read-cookie.
20115 Make start and end messages optional. Default to cookie-file.
20116 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
20117 Do not autoload it.
20118 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
20119 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
20120
20121 2013-06-21 Leo Liu <sdl.web@gmail.com>
20122
20123 * progmodes/octave.el (octave-mode): Backward compatibility fix.
20124
20125 2013-06-21 Glenn Morris <rgm@gnu.org>
20126
20127 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20128
20129 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20130 Daniel Hackney <dan@haxney.org>
20131
20132 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20133 Consolidate the single-file vs tarball code.
20134 (package-desc-suffix): New function.
20135 (package-desc-full-name): Don't bother inlining it.
20136 (package-load-descriptor): Return the new package-desc.
20137 (package-mark-obsolete): Remove unused arg `package'.
20138 (package-unpack): Make it work for single files as well.
20139 Make it update package-alist.
20140 (package--make-autoloads-and-stuff): Rename from
20141 package--make-autoloads-and-compile. Don't compile any more.
20142 (package--compile): New function.
20143 (package-generate-description-file): New function, extracted from
20144 package-unpack-single.
20145 (package-unpack-single): Remove.
20146 (package--with-work-buffer): Add indentation and debugging info.
20147 (package-download-single): Remove.
20148 (package-install-from-archive): Rename from package-download-tar, make
20149 it take a pkg-desc, and make it work for single files as well.
20150 (package-download-transaction): Simplify.
20151 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
20152 external tar program.
20153 (package-install-from-buffer): Remove `pkg-desc' argument.
20154 Use package-tar-file-info for tar-mode buffers.
20155 (package-install-file): Simplify accordingly.
20156 (package-archive-base): Change to take a pkg-desc.
20157 * tar-mode.el (tar--check-descriptor): New function, extracted from
20158 tar-get-descriptor.
20159 (tar-get-descriptor): Use it.
20160 (tar-get-file-descriptor): New function.
20161 (tar--extract): New function, extracted from tar-extract.
20162 (tar--extract): Use it.
20163 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20164 case the summary uses non-ascii. Adjust to new calling convention of
20165 package-tar-file-info.
20166
20167 2013-06-21 Leo Liu <sdl.web@gmail.com>
20168
20169 * comint.el (comint-redirect-results-list-from-process):
20170 Fix random delay. (Bug#14681)
20171
20172 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20173
20174 * profiler.el (profiler-format-number): Use log, not log10.
20175
20176 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20177
20178 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20179
20180 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20181
20182 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20183 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20184 yet available.
20185 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20186 (AUTOGENEL): ... here.
20187 * emacs-lisp/cl-macs.el (cl--sublis): New function.
20188 (cl--defsubst-expand): Use it.
20189
20190 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
20191
20192 * subr.el (log10): Move here from C code, and declare as obsolete.
20193 All uses of (log10 X) replaced with (log X 10).
20194
20195 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20196
20197 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20198 Declare with `defvar-local'.
20199 (tabulated-list-use-header-line, tabulated-list-entries)
20200 (tabulated-list-padding, tabulated-list-printer)
20201 (tabulated-list-sort-key): Declare with `defvar-local'.
20202 (tabulated-list-init-header, tabulated-list-print-fake-header):
20203 Use `setq-local'.
20204
20205 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
20206
20207 * arc-mode.el (archive-mode): Add `archive-write-file' to
20208 `write-contents-functions' also for remote files. (Bug#14652)
20209
20210 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20211
20212 * cus-edit.el (custom-commands): Fix typos.
20213 (custom-display): Fix tooltip text.
20214 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20215 Fix typos in docstrings.
20216 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20217 (custom-unlispify-menu-entry, custom-magic-value-create)
20218 (custom-add-see-also, custom-group-value-create): Use ?\s.
20219 (custom-guess-type, customize-apropos, editable-field)
20220 (custom-face-value-create): Use `string-match-p'.
20221 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20222
20223 * custom.el (custom-load-symbol): Use `string-match-p'.
20224
20225 * ansi-color.el: Convert to lexical binding.
20226 (ansi-colors): Fix URL.
20227 (ansi-color-context, ansi-color-context-region): Use defvar-local.
20228 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20229 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20230
20231 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20232
20233 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20234
20235 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20236
20237 2013-06-19 Tom Tromey <tromey@redhat.com>
20238
20239 * net/eww.el (eww-top-url): Remove.
20240 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20241 (eww-render): Set new variables. Don't set eww-top-url.
20242 (eww-handle-link): Handle "prev", "home", and "contents".
20243 Downcase the rel text.
20244 (eww-top-url): Choose best top URL.
20245
20246 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20247
20248 * net/eww.el: Rewrite to implement form elements "by hand" instead of
20249 relying in widget.el. Using widget.el leads to too many
20250 user interface inconsistencies.
20251 (eww-self-insert): Implement entering commands in text fields.
20252 (eww-process-text-input): New function to make text input field editing
20253 work.
20254 (eww-submit): Rewrite to use the new-style form methods.
20255 (eww-select-display): Display the correct selected item.
20256 (eww-change-select): Implement changing the select value.
20257 (eww-toggle-checkbox): Implement radio/checkboxes.
20258 (eww-update-field): Fix compilation error.
20259 (eww-tag-textarea): Implement <textarea>.
20260
20261 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20262 we don't shadow mode-specific bindings.
20263
20264 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20265 nothing to push.
20266
20267 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20268
20269 2013-06-19 Glenn Morris <rgm@gnu.org>
20270
20271 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20272
20273 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20274
20275 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20276 not needed.
20277
20278 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20279
20280 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20281
20282 * net/browse-url.el (browse-url-browser-function):
20283 `eww-browse-url' has the right calling signature, `eww' does not.
20284
20285 2013-06-19 Glenn Morris <rgm@gnu.org>
20286
20287 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20288 Only eval autoloaded macros.
20289 (byte-compile-autoload): Only give the macro warning for macros.
20290
20291 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20292 (ps-underlined-faces): Declare.
20293
20294 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20295 (speedbar-add-supported-extension): Declare.
20296
20297 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20298 Don't include a date stamp in the header of the generated file;
20299 it leads to needless differences between output files.
20300
20301 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20302
20303 * net/secrets.el (secrets-struct-secret-content-type):
20304 Replace check of introspection data by a test call of "CreateItem".
20305 Some servers do not offer introspection.
20306
20307 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
20308
20309 * electric.el (electric-pair-mode): Improve interaction with
20310 electric-layout-mode.
20311 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20312 (electric-pair-syntax): Use text-mode-syntax-table in comments
20313 and strings.
20314 (electric-pair--insert): New function.
20315 (electric-pair-post-self-insert-function): Use it and
20316 electric--after-char-pos.
20317
20318 2013-06-19 Leo Liu <sdl.web@gmail.com>
20319
20320 * progmodes/octave.el (octave-help): Fix regexp.
20321
20322 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20323
20324 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20325 (shr-table-horizontal-line): Allow nil as a value, and change the
20326 default.
20327 (shr-insert-table-ruler): Respect the nil value.
20328
20329 2013-06-18 Tom Tromey <tromey@barimba>
20330
20331 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20332 New defvars.
20333 (eww-open-file): New defun.
20334 (eww-render): Initialize new variables.
20335 (eww-display-html): Handle "link" and "a".
20336 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20337 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
20338 (eww-back-url): Rename from eww-previous-url.
20339 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20340 New defuns.
20341
20342 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
20343
20344 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20345 Distinguish ternary operator tokens from slash symbol and slash
20346 char literal.
20347
20348 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20349
20350 Convert symbol prettification into minor mode and global minor mode.
20351
20352 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20353 `prog-prettify-symbols', and make a local defvar instead of defcustom.
20354 (prettify-symbols--keywords): Rename from
20355 `prog-prettify-symbols-alist' and make a local defvar.
20356 (prettify-symbols--compose-symbol): Rename from
20357 `prog--prettify-font-lock-compose-symbol'.
20358 (prettify-symbols--make-keywords): Rename from
20359 `prog-prettify-font-lock-symbols-keywords' and simplify.
20360 (prog-prettify-install): Remove.
20361 (prettify-symbols-mode): New minor mode, based on
20362 `prog-prettify-install'.
20363 (turn-on-prettify-symbols-mode): New function.
20364 (global-prettify-symbols-mode): New globalized minor mode.
20365
20366 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20367 * progmodes/cfengine.el (cfengine3-mode):
20368 * progmodes/perl-mode.el (perl-mode): Don't call
20369 `prog-prettify-install'; set `prettify-symbols-alist' instead.
20370
20371 2013-06-18 Juri Linkov <juri@jurta.org>
20372
20373 * files-x.el (modify-file-local-variable-message): New function.
20374 (modify-file-local-variable)
20375 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20376 and call `modify-file-local-variable-message' when it's non-nil.
20377 (add-file-local-variable, delete-file-local-variable)
20378 (add-file-local-variable-prop-line)
20379 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20380 and use it. (Bug#9820)
20381
20382 2013-06-18 Juri Linkov <juri@jurta.org>
20383
20384 * emulation/vi.el (vi-shell-op):
20385 * emulation/vip.el (vip-execute-com, ex-command):
20386 * emulation/viper-cmd.el (viper-exec-bang):
20387 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20388 the call of `shell-command-on-region'. (Bug#14637)
20389
20390 * simple.el (shell-command-on-region): Doc fix.
20391
20392 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20393
20394 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20395 (bug#14633).
20396
20397 2013-06-18 Glenn Morris <rgm@gnu.org>
20398
20399 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20400
20401 * newcomment.el (comment-search-forward, comment-search-backward):
20402 Doc fix. (Bug#14376)
20403
20404 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20405
20406 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20407 (buffer-face-mode-invoke): Doc fix.
20408
20409 2013-06-18 Matthias Meulien <orontee@gmail.com>
20410
20411 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
20412 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
20413
20414 2013-06-18 Glenn Morris <rgm@gnu.org>
20415
20416 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
20417 Replace obsolete function generic-make-keywords with its expansion.
20418
20419 * progmodes/python.el (ffap-alist): Declare.
20420
20421 * textmodes/reftex.el (bibtex-mode-map): Declare.
20422
20423 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20424
20425 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
20426 (package-unpack, package-unpack-single): Return the pkg-dir.
20427 (package-download-transaction): Use it to update package-alist.
20428
20429 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20430
20431 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
20432 possible choice.
20433
20434 2013-06-17 Juri Linkov <juri@jurta.org>
20435
20436 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
20437
20438 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20439
20440 * emacs-lisp/package.el (package-load-descriptor):
20441 Remove `with-syntax-table' call, `read' doesn't need it.
20442 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
20443
20444 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20445
20446 * startup.el (command-line): Expand package name returned by
20447 `package--description-file' (bug#14639).
20448
20449 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20450
20451 * emacs-lisp/package.el (package-load-descriptor): Do not call
20452 `emacs-lisp-mode', just use its syntax table.
20453
20454 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20455
20456 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
20457 `font-lock-extra-managed-props' if any prettifying keyword is added.
20458 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
20459 (prog-mode): Use `setq-local'.
20460
20461 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20462
20463 * international/characters.el (standard-case-table): Set syntax of ?»
20464 and ?« to punctuation.
20465
20466 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
20467
20468 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
20469 Save relevant match data before calling `syntax-ppss' (bug#14595).
20470
20471 2013-06-15 Juri Linkov <juri@jurta.org>
20472
20473 * files-x.el (modify-file-local-variable-prop-line): Add local
20474 variables to the end of the existing comment on the first line.
20475 Use `file-auto-mode-skip' to skip interpreter magic line,
20476 and also skip XML declaration.
20477
20478 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20479
20480 * startup.el (package--builtin-versions): New var.
20481 (package-subdirectory-regexp): Remove.
20482 (package--description-file): Hard code its value instead.
20483
20484 * emacs-lisp/package.el: Don't activate packages older than builtin.
20485 (package-obsolete-list): Rename from package-obsolete-alist, and make
20486 it into a simple list of package-desc.
20487 (package-strip-version): Remove.
20488 (package-built-in-p): Use package--builtin-versions.
20489 (package-mark-obsolete): Simplify.
20490 (package-process-define-package): Mark it obsolete if older than the
20491 builtin version.
20492 (package-handle-response): Use line-end-position.
20493 (package-read-archive-contents, package--download-one-archive):
20494 Simplify.
20495 (package--add-to-archive-contents): Skip if older than the builtin or
20496 installed version.
20497 (package-menu-describe-package): Fix last change.
20498 (package-list-unversioned): New var.
20499 (package-menu--generate): Use it.
20500
20501 * emacs-lisp/autoload.el: Manage package--builtin-versions.
20502 (autoload--insert-text, autoload--insert-cookie-text): New functions.
20503 (autoload-builtin-package-versions): New variable.
20504 (autoload-generate-file-autoloads): Use them.
20505 Remove the list of autoloaded functions/macros from the
20506 (autoload...) comments.
20507
20508 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
20509
20510 2013-06-15 Eli Zaretskii <eliz@gnu.org>
20511
20512 * simple.el (line-move-partial): Don't jump to the next screen
20513 line as soon as it becomes visible. Instead, continue enlarging
20514 the vscroll until the portion of a tall screen line that's left on
20515 display is about the height of the frame's default font.
20516 (Bug#14567)
20517
20518 2013-06-15 Glenn Morris <rgm@gnu.org>
20519
20520 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
20521 compilation-error-regexp-alist void, or local while let-bound.
20522
20523 * progmodes/make-mode.el (makefile-mode-syntax-table):
20524 Treat "=" as punctuation. (Bug#14614)
20525
20526 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
20527
20528 * help-fns.el (describe-variable):
20529 Add extra line for permanent-local variables.
20530
20531 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
20532
20533 * progmodes/scheme.el (scheme-font-lock-keywords-2):
20534 Add export, import, library. (Bug#9164)
20535 (library): Set indent function.
20536
20537 2013-06-14 Glenn Morris <rgm@gnu.org>
20538
20539 * term/xterm.el (xterm--query):
20540 Stop after first matching handler. (Bug#14615)
20541
20542 2013-06-14 Ivan Kanis <ivan@kanis.fr>
20543
20544 Add support for dired in saveplace.
20545 * dired.el (dired-initial-position-hook): New variable.
20546 (dired-initial-position): Call hook to place cursor position.
20547 * saveplace.el (save-place-to-alist): Add dired position.
20548 (save-place-dired-hook): New function.
20549
20550 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
20551
20552 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
20553 through a symbol rather than letrec.
20554
20555 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
20556 (package-desc): Add `dir' field.
20557 (package-desc-full-name): New function.
20558 (package-load-descriptor): Combine the two arguments. Don't use `load'.
20559 (package-maybe-load-descriptor): Remove.
20560 (package-load-all-descriptors): Just call package-load-descriptor.
20561 (package--disabled-p): New function.
20562 (package-desc-vers, package-desc-doc): Remove aliases.
20563 (package--dir): Remove function.
20564 (package-activate): Check if a package is disabled.
20565 (package-process-define-package): New function, extracted from
20566 define-package.
20567 (define-package): Turn into a place holder.
20568 (package-unpack-single, package-tar-file-info):
20569 Use package--description-file.
20570 (package-compute-transaction): Use package--disabled-p.
20571 (package-download-transaction): Don't call
20572 package-maybe-load-descriptor since they're all loaded anyway.
20573 (package-install): Change argument to be a pkg-desc.
20574 (package-delete): Use a single pkg-desc argument.
20575 (describe-package-1): Use package-desc-dir instead of package--dir.
20576 Use package-desc property instead of package-symbol.
20577 (package-install-button-action): Adjust accordingly.
20578 (package--push): Rewrite.
20579 (package-menu--print-info): Adjust accordingly. Change the ID format
20580 to be a pkg-desc.
20581 (package-menu-describe-package, package-menu-get-status)
20582 (package-menu--find-upgrades, package-menu-mark-upgrades)
20583 (package-menu-execute, package-menu--name-predicate):
20584 Adjust accordingly.
20585 * startup.el (package--description-file): New function.
20586 (command-line): Use it.
20587 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20588 Use package-desc-version.
20589
20590 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
20591 (byte-compile-preprocess): Use it.
20592 (byte-compile-file-form-defalias): Try a bit harder to use macros we
20593 can't quite recognize.
20594 (byte-compile-add-to-list): Remove.
20595 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
20596 (cconv-closure-convert): Add assertion.
20597
20598 * emacs-lisp/map-ynp.el: Use lexical-binding.
20599 (map-y-or-n-p): Remove unused vars `tail' and `object'.
20600 Factor out some repeated code.
20601
20602 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20603
20604 * subr.el (with-eval-after-load): New macro.
20605 (eval-after-load): Allow form to be a function.
20606 take advantage of lexical-binding.
20607 (do-after-load-evaluation): Use dolist and adjust to new format.
20608 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
20609
20610 2013-06-13 Juri Linkov <juri@jurta.org>
20611
20612 * replace.el (perform-replace): Display "symbol " and other search
20613 modes from `isearch-message-prefix' in the *Help* buffer.
20614
20615 * isearch.el (isearch-query-replace): Add " symbol" and other
20616 possible search modes from `isearch-message-prefix' to the prompt.
20617 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
20618 when reading a regexp to collect.
20619
20620 2013-06-13 Juri Linkov <juri@jurta.org>
20621
20622 * isearch.el (word-search-regexp): Match whitespace if the search
20623 string begins or ends in whitespace. The LAX arg is applied to
20624 both ends of the search string. Use `regexp-quote' and explicit
20625 \< and \> instead of \b. Use \` and \' instead of ^ and $.
20626 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
20627 boundaries are replaced with symbol boundaries, and characters
20628 between symbols match non-word non-symbol syntax. (Bug#14602)
20629
20630 2013-06-13 Juri Linkov <juri@jurta.org>
20631
20632 * isearch.el (isearch-del-char): Don't exceed the length of
20633 `isearch-string' by the prefix arg. (Bug#14563)
20634
20635 2013-06-13 Juri Linkov <juri@jurta.org>
20636
20637 * isearch.el (isearch-yank-word, isearch-yank-line)
20638 (isearch-char-by-name, isearch-quote-char)
20639 (isearch-printing-char, isearch-process-search-char):
20640 Add optional count prefix arg. (Bug#14563)
20641
20642 * international/isearch-x.el
20643 (isearch-process-search-multibyte-characters):
20644 Add optional count prefix arg.
20645
20646 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20647
20648 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
20649 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
20650 lexical-binding.
20651
20652 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
20653
20654 * subr.el (set-temporary-overlay-map): Add on-exit argument.
20655
20656 2013-06-13 Glenn Morris <rgm@gnu.org>
20657
20658 * startup.el (tty-handle-args):
20659 Don't just discard "--" and anything after. (Bug#14608)
20660
20661 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
20662
20663 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
20664
20665 Implement changes in Secret Service API. Make it backward compatible.
20666 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
20667 (secrets-create-item): Use it. Prefix properties with interface.
20668
20669 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
20670
20671 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
20672 (term-emulate-terminal): Respect term-suppress-hard-newline.
20673
20674 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
20675
20676 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
20677 Only remove a `thumb-file' overlay. (Bug#14548)
20678
20679 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
20680
20681 * mail/reporter.el (reporter-submit-bug-report):
20682 Handle missing package-name. (Bug#14600)
20683
20684 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20685
20686 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
20687 (reftex-citation-prompt, reftex-default-bibliography)
20688 (reftex-bib-or-thebib, reftex-get-bibfile-list)
20689 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
20690 (reftex-bib-sort-author, reftex-bib-sort-year)
20691 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
20692 (reftex-extract-bib-entries-from-thebibliography)
20693 (reftex-get-bibkey-default, reftex-get-bib-names)
20694 (reftex-parse-bibtex-entry, reftex-get-bib-field)
20695 (reftex-format-bib-entry, reftex-parse-bibitem)
20696 (reftex-format-bibitem, reftex-do-citation)
20697 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
20698 (reftex-restrict-bib-matches, reftex-extract-bib-file)
20699 (reftex-insert-bib-matches, reftex-format-citation)
20700 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
20701 (reftex-create-bibtex-file): Add docstrings, mostly by converting
20702 existing comments into docstrings.
20703
20704 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20705
20706 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
20707
20708 2013-06-12 Andreas Schwab <schwab@suse.de>
20709
20710 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
20711 for auto-save files.
20712
20713 2013-06-12 Glenn Morris <rgm@gnu.org>
20714
20715 * ido.el (ido-delete-ignored-files): Remove.
20716 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
20717 Go back to calling ido-ignore-item-p directly.
20718
20719 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
20720
20721 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
20722
20723 * ido.el (ido-delete-ignored-files): New function,
20724 split from ido-make-file-list-1.
20725 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
20726 (ido-make-file-list-1): Use ido-delete-ignored-files.
20727
20728 2013-06-12 Leo Liu <sdl.web@gmail.com>
20729
20730 * progmodes/octave.el (inferior-octave-startup)
20731 (inferior-octave-completion-table)
20732 (inferior-octave-track-window-width-change)
20733 (octave-eldoc-function-signatures, octave-help)
20734 (octave-find-definition): Use single quoted strings.
20735 (inferior-octave-startup-args): Change default value.
20736 (inferior-octave-startup): Do not hard code "-i" and
20737 "--no-line-editing".
20738 (inferior-octave-resync-dirs): Add optional arg NOERROR.
20739 (inferior-octave-directory-tracker): Use it.
20740 (octave-goto-function-definition): Robustify.
20741 (octave-help): Support highlighting operators in 'See also'.
20742 (octave-find-definition): Find subfunctions only in Octave mode.
20743
20744 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20745
20746 * help-fns.el (help-fns--compiler-macro): If the handler function is
20747 named, then put a link to it.
20748 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
20749 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
20750 (cl-typep): Use it.
20751 (cl-eval-when): Simplify debug spec.
20752 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
20753 compiler-macro function instead of setting `compiler-macro-file'.
20754
20755 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20756
20757 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
20758 * vc/vc-hooks.el (vc-stay-local): Doc fix.
20759
20760 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20761 Daniel Hackney <dan@haxney.org>
20762
20763 First part of Daniel Hackney's patch to package.el.
20764 * emacs-lisp/package.el: Use defstruct.
20765 (package-desc): New, main struct.
20766 (package--bi-desc, package--ac-desc): New structs, used to describe the
20767 format in external files.
20768 (package-desc-vers): Replace with package-desc-version accessor.
20769 (package-desc-doc): Replace with package-desc-summary accessor.
20770 (package-activate-1): Remove `package' arg since the pkg-vec now
20771 includes the name.
20772 (define-package): Use package-desc-from-define.
20773 (package-unpack-single): Change file-name arg to be a symbol.
20774 (package--add-to-archive-contents): Use package-desc-create and new
20775 accessor functions to package--ac-desc.
20776 (package-buffer-info, package-tar-file-info): Return a package-desc.
20777 (package-install-from-buffer): Remove `type' argument. Change pkg-info
20778 arg to be a package-desc.
20779 (package-install-file): Adjust accordingly. Use \' to match EOS.
20780 (package--from-builtin): New function.
20781 (describe-package-1, package-menu--generate): Use it.
20782 (package--make-autoloads-and-compile): Change name arg to be a symbol.
20783 (package-generate-autoloads): Idem and return the name of the file.
20784 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20785 Change pkg-info arg to be a package-desc.
20786 Use package-make-ac-desc.
20787 (package-upload-file): Use \' to match EOS.
20788 * finder.el (finder-compile-keywords): Use package-make-builtin.
20789
20790 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20791
20792 * vc/vc.el (vc-deduce-fileset): Change error message.
20793 (vc-read-backend): New function.
20794 (vc-next-action): Use it.
20795
20796 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
20797
20798 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
20799 (prolog-font-lock-keywords): Use regexp-opt instead.
20800 Don't manually highlight strings.
20801 (prolog-mode-variables): Simplify comment-start-skip.
20802 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
20803
20804 * emacs-lisp/generic.el (generic--normalise-comments)
20805 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
20806 (generic-mode-set-comments): Use them.
20807 (generic-bracket-support): Use setq-local.
20808 (generic-make-keywords-list): Declare obsolete.
20809
20810 2013-06-11 Glenn Morris <rgm@gnu.org>
20811
20812 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20813 Prettify after setting font-lock-defaults. (Bug#14574)
20814
20815 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
20816
20817 * replace.el (query-replace, occur-read-regexp-defaults-function)
20818 (replace-search):
20819 * subr.el (declare-function, number-sequence, local-set-key)
20820 (substitute-key-definition, locate-user-emacs-file)
20821 (with-silent-modifications, split-string, eval-after-load):
20822 Fix typos, remove unneeded backslashes and reflow some docstrings.
20823
20824 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20825
20826 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
20827 default for Elisp files.
20828
20829 2013-06-11 Glenn Morris <rgm@gnu.org>
20830
20831 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
20832 although define-derived-mode was doing this anyway. (Bug#14583)
20833
20834 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
20835
20836 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20837 Fix make-variable-buffer-local call to refer to the correct variable.
20838
20839 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
20840
20841 * eshell/em-term.el (eshell-visual-commands)
20842 (eshell-visual-subcommands, eshell-visual-options):
20843 Add summary line to docstrings. Add cross-references.
20844
20845 2013-06-10 Glenn Morris <rgm@gnu.org>
20846
20847 * epa.el (epa-read-file-name): New function. (Bug#14510)
20848 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
20849
20850 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20851
20852 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
20853 output redirection to be ignored with visual commands.
20854
20855 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20856
20857 * eshell/em-term.el (eshell-visual-command-p): New function.
20858 (eshell-term-initialize): Move long lambda to separate function
20859 eshell-visual-command-p.
20860 * eshell/em-dirs.el (eshell-dirs-initialize):
20861 * eshell/em-script.el (eshell-script-initialize):
20862 Add missing #' to lambda.
20863
20864 2013-06-08 Leo Liu <sdl.web@gmail.com>
20865
20866 * progmodes/octave.el (octave-add-log-current-defun): New function.
20867 (octave-mode): Set add-log-current-defun-function.
20868 (octave-goto-function-definition): Do not move point if not found.
20869 (octave-find-definition): Enhance to try subfunctions first.
20870
20871 2013-06-08 Glenn Morris <rgm@gnu.org>
20872
20873 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20874 (byte-compile-backward-char, byte-compile-backward-word):
20875 Improve previous change, to handle non-explicit nil.
20876
20877 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
20878
20879 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
20880 (smie--opener/closer-at-point): New function.
20881 (smie--matching-block-data): Use it. Don't match from right after an
20882 opener or right before a closer. Obey smie-blink-matching-inners.
20883 Don't signal a mismatch for repeated inners like "switch..case..case".
20884
20885 2013-06-07 Leo Liu <sdl.web@gmail.com>
20886
20887 * progmodes/octave.el (octave-mode): Set comment-use-global-state
20888 to t. (Bug#14303)
20889 (octave-function-header-regexp): Fix. (Bug#14570)
20890 (octave-help-mode-finish-hook, octave-help-mode-finish):
20891 Remove. Just use temp-buffer-show-hook.
20892
20893 * newcomment.el (comment-search-backward): Revert last change.
20894 (Bug#14434)
20895
20896 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
20897
20898 2013-06-07 Eli Zaretskii <eliz@gnu.org>
20899
20900 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
20901 through xargs, to avoid failure due to MS-Windows limitations on
20902 command-line length.
20903
20904 2013-06-06 Glenn Morris <rgm@gnu.org>
20905
20906 * font-lock.el (lisp-font-lock-keywords-2):
20907 Treat user-error like error.
20908
20909 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20910 (byte-compile-backward-char, byte-compile-backward-word):
20911 Handle explicit nil arguments. (Bug#14565)
20912
20913 2013-06-05 Alan Mackenzie <acm@muc.de>
20914
20915 * isearch.el (isearch-allow-prefix): New user option.
20916 (isearch-other-meta-char): Don't exit isearch when a prefix
20917 argument is typed whilst `isearch-allow-prefix' is non-nil.
20918 (Bug#9706)
20919
20920 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20921
20922 * autorevert.el (auto-revert-notify-handler): Use memq.
20923 Hide assertion failure.
20924
20925 * skeleton.el: Use cl-lib.
20926 (skeleton-further-elements): Use defvar-local.
20927 (skeleton-insert): Use cl-progv.
20928
20929 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20930
20931 * progmodes/prog-mode.el (prog-prettify-symbols)
20932 (prog-prettify-install): Update docstrings.
20933
20934 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20935
20936 * simple.el: Move all the prog-mode code to prog-mode.el.
20937 * progmodes/prog-mode.el: New file.
20938 * loadup.el: Add prog-mode.el.
20939
20940 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20941
20942 * simple.el (prog-prettify-symbols): Add version.
20943 (prog-prettify-install): Add convenience function to prettify symbols.
20944
20945 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
20946 (perl--augmented-font-lock-keywords-1)
20947 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
20948 variables and use it.
20949
20950 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20951 (cfengine3-mode): Remove unneeded variable and use it.
20952
20953 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20954 (lisp--augmented-font-lock-keywords-1)
20955 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
20956 Remove unneeded variables and use it.
20957
20958 2013-06-05 João Távora <joaotavora@gmail.com>
20959
20960 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
20961 to point when opening the connection. (Bug#14380)
20962
20963 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20964
20965 * subr.el (load-history-regexp, load-history-filename-element)
20966 (eval-after-load, after-load-functions, do-after-load-evaluation)
20967 (eval-next-after-load, display-delayed-warnings)
20968 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
20969 definition of save-match-data.
20970 (overriding-local-map): Remove accidental obsolescence declaration.
20971
20972 * emacs-lisp/edebug.el (edebug-result): Move before first use.
20973
20974 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20975
20976 Generalize symbol prettify support to prog-mode and implement it
20977 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
20978 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
20979 (prog--prettify-font-lock-compose-symbol)
20980 (prog-prettify-font-lock-symbols-keywords): New variables and
20981 functions to support symbol prettification.
20982 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20983 (lisp--augmented-font-lock-keywords-1)
20984 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
20985 (lisp--prettify-symbols-alist): Implement prettify of lambda.
20986 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20987 (cfengine3--prettify-symbols-alist, cfengine3-mode):
20988 Implement prettify of -> => :: strings.
20989 * progmodes/perl-mode.el (perl-prettify-symbols)
20990 (perl--font-lock-compose-symbol)
20991 (perl--font-lock-symbols-keywords): Move to prog-mode.
20992 (perl--prettify-symbols-alist): Prettify -> => :: strings.
20993 (perl-font-lock-keywords-1)
20994 (perl-font-lock-keywords-2): Remove explicit prettify support.
20995 (perl--augmented-font-lock-keywords)
20996 (perl--augmented-font-lock-keywords-1)
20997 (perl--augmented-font-lock-keywords-2, perl-mode):
20998 Implement prettify support.
20999
21000 2013-06-05 Leo Liu <sdl.web@gmail.com>
21001
21002 Re-implement SMIE matching block highlight using
21003 show-paren-data-function. (Bug#14395)
21004 * emacs-lisp/smie.el (smie-matching-block-highlight)
21005 (smie--highlight-matching-block-overlay)
21006 (smie--highlight-matching-block-lastpos)
21007 (smie-highlight-matching-block)
21008 (smie-highlight-matching-block-mode): Remove.
21009 (smie--matching-block-data-cache): New variable.
21010 (smie--matching-block-data): New function.
21011 (smie-setup): Use smie--matching-block-data for
21012 show-paren-data-function.
21013
21014 * progmodes/octave.el (octave-mode-menu): Fix.
21015 (octave-find-definition): Skip garbage lines.
21016
21017 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21018
21019 Fix compilation error with simultaneous dynamic+lexical scoping.
21020 Add warning when a defvar appears after the first let-binding.
21021 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
21022 (byte-compile-close-variables): Initialize it.
21023 (byte-compile--declare-var): New function.
21024 (byte-compile-file-form-defvar)
21025 (byte-compile-file-form-define-abbrev-table)
21026 (byte-compile-file-form-custom-declare-variable): Use it.
21027 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
21028 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
21029 (byte-compile-bind): Handle dynamic bindings that shadow
21030 lexical bindings.
21031 (byte-compile-unbind): Make arg non-optional.
21032 (byte-compile-let): Simplify.
21033 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
21034 (cconv--analyse-function, cconv-analyse-form): Populate it.
21035 Protect byte-compile-bound-variables to limit the scope of defvars.
21036 (cconv-analyse-form): Add missing rule for (defvar <foo>).
21037 Remove unneeded rule for `declare'.
21038
21039 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
21040 so as to avoid depending on cl-adjoin at run-time.
21041 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
21042
21043 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
21044 (macroexp--warn-and-return): Use it.
21045
21046 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21047
21048 * subr.el: Convert to lexical binding.
21049 (overriding-local-map): Make obsolete.
21050 (add-to-list): Doc fix. Add compiler macro.
21051 (read-key): Swap values of local maps.
21052
21053 2013-06-05 Leo Liu <sdl.web@gmail.com>
21054
21055 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
21056
21057 2013-06-04 Leo Liu <sdl.web@gmail.com>
21058
21059 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
21060 (compilation-auto-jump): Suppress the "Mark set" message to give
21061 way to exit message.
21062
21063 2013-06-04 Alan Mackenzie <acm@muc.de>
21064
21065 Remove faulty optimization from indentation calculation.
21066 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
21067 search limit based on 2000 characters back from indent-point.
21068
21069 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21070
21071 * eshell/em-term.el (cl-lib): Require `cl-lib'.
21072
21073 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
21074
21075 * emacs-lisp/lisp.el: Use lexical-binding.
21076 (lisp--local-variables-1, lisp--local-variables): New functions.
21077 (lisp--local-variables-completion-table): New var.
21078 (lisp-completion-at-point): Use it complete let-bound vars.
21079
21080 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
21081 eagerly (bug#14422).
21082
21083 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
21084
21085 * autorevert.el (auto-revert-notify-enabled)
21086 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21087 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
21088 (auto-revert-notify-handler): Handle also gfilenotify.
21089
21090 * subr.el (file-notify-handle-event): New defun. Replacing ...
21091 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
21092 Remove.
21093
21094 2013-06-03 Juri Linkov <juri@jurta.org>
21095
21096 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
21097 `M-s h .'. (Bug#14427)
21098
21099 * hi-lock.el (highlight-symbol-at-point): New alias for the new
21100 command `hi-lock-face-symbol-at-point'.
21101 (hi-lock-face-symbol-at-point): New command.
21102 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
21103 (hi-lock-menu): Add `highlight-symbol-at-point'.
21104 (hi-lock-mode): Doc fix.
21105
21106 * isearch.el (isearch-forward-symbol-at-point): New command.
21107 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
21108 (isearch-highlight-regexp): Add a regexp which matches
21109 words/symbols for word/symbol mode.
21110
21111 * subr.el (find-tag-default-bounds): New function with the body
21112 mostly moved from `find-tag-default'.
21113 (find-tag-default): Move most code to `find-tag-default-bounds',
21114 call it and apply `buffer-substring-no-properties' afterwards.
21115
21116 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21117
21118 * eshell/em-term.el (eshell-term-initialize):
21119 Use `cl-intersection' rather than `intersection'.
21120
21121 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
21122
21123 * vc/log-view.el: Doc fix.
21124 (log-view-mode-map): Copy keymap from `special-mode-map'.
21125
21126 2013-06-02 Eric Ludlam <zappo@gnu.org>
21127
21128 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21129 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21130 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21131 (eieio-unbound, eieio-default-superclass)
21132 (eieio--define-field-accessors, method-static, method-before)
21133 (method-primary, method-after, method-num-lists)
21134 (method-generic-before, method-generic-primary)
21135 (method-generic-after, method-num-slots)
21136 (eieio-specialized-key-to-generic-key)
21137 (eieio--check-type, class-v, class-p)
21138 (eieio-class-name, define-obsolete-function-alias)
21139 (eieio-class-parents-fast, eieio-class-children-fast)
21140 (same-class-fast-p, class-constructor, generic-p)
21141 (generic-primary-only-p, generic-primary-only-one-p)
21142 (class-option-assoc, class-option, eieio-object-p)
21143 (class-abstract-p, class-method-invocation-order)
21144 (eieio-defclass-autoload-map, eieio-defclass-autoload)
21145 (eieio-class-un-autoload, eieio-defclass)
21146 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21147 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21148 (eieio--defgeneric-init-form, eieio-defgeneric-form)
21149 (eieio-defgeneric-reset-generic-form)
21150 (eieio-defgeneric-form-primary-only)
21151 (eieio-defgeneric-reset-generic-form-primary-only)
21152 (eieio-defgeneric-form-primary-only-one)
21153 (eieio-defgeneric-reset-generic-form-primary-only-one)
21154 (eieio-unbind-method-implementations)
21155 (eieio--defmethod, eieio--typep)
21156 (eieio-perform-slot-validation, eieio-validate-slot-value)
21157 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21158 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21159 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21160 (eieio-slot-name-index, eieio-class-slot-name-index)
21161 (eieio-set-defaults, eieio-initarg-to-attribute)
21162 (eieio-attribute-to-initarg, eieio-c3-candidate)
21163 (eieio-c3-merge-lists, eieio-class-precedence-c3)
21164 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21165 (eieio-class-precedence-list, eieio-generic-call-methodname)
21166 (eieio-generic-call-arglst, eieio-generic-call-key)
21167 (eieio-generic-call-next-method-list)
21168 (eieio-pre-method-execution-functions, eieio-generic-call)
21169 (eieio-generic-call-primary-only, eieiomt-method-list)
21170 (eieiomt-optimizing-obarray, eieiomt-install)
21171 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21172 (eieio-generic-form, eieio-defmethod, make-obsolete)
21173 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21174 (defclass): Remove `eval-and-compile' from macro.
21175 (call-next-method, shared-initialize): Instead of using
21176 `scoped-class' variable, use new eieio--scoped-class, and
21177 eieio--with-scoped-class.
21178 (initialize-instance): Rename local variable 'scoped-class' to
21179 'this-class' to remove ambiguitity from old global.
21180
21181 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
21182 eieio.el.
21183 (eieio--scoped-class-stack): New variable.
21184 (eieio--scoped-class): New fcn.
21185 (eieio--with-scoped-class): New scoping macro.
21186 (eieio-defclass): Use pushnew instead of add-to-list.
21187 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21188 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21189 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21190 `scoped-class' variable, use new eieio--scoped-class, and
21191 eieio--with-scoped-class.
21192
21193 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21194
21195 2013-06-02 Tassilo Horn <tsdh@gnu.org>
21196
21197 * eshell/esh-ext.el (eshell-external-command): Pass args to
21198 `eshell-find-interpreter'.
21199 (eshell-find-interpreter): Add new second parameter ARGS.
21200
21201 * eshell/em-script.el (eshell-script-initialize): Add second arg
21202 to the function added as MATCH to `eshell-interpreter-alist'.
21203
21204 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21205 the function added as MATCH to `eshell-interpreter-alist'.
21206
21207 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21208 (eshell-visual-options): New defcustom.
21209 (eshell-escape-control-x): Adapt docstring.
21210 (eshell-term-initialize): Test `eshell-visual-subcommands' and
21211 `eshell-visual-options' in addition to `eshell-visual-commands'.
21212 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21213
21214 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
21215
21216 * progmodes/python.el (python-indent-block-enders): Add break,
21217 continue and raise keywords.
21218
21219 2013-06-01 Glenn Morris <rgm@gnu.org>
21220
21221 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21222
21223 Plain (f)boundp silences compilation warnings since Emacs 22.1.
21224 * progmodes/cc-cmds.el (delete-forward-p):
21225 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21226 * progmodes/cc-engine.el (buffer-syntactic-context):
21227 * progmodes/cc-fonts.el (face-property-instance):
21228 * progmodes/cc-mode.el (set-keymap-parents):
21229 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21230 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21231 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21232 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21233 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21234
21235 * progmodes/cc-vars.el (other): Emacs has this widget since
21236 at least 21.1, so don't (re)define it.
21237
21238 * eshell/em-cmpl.el (eshell-cmpl-initialize):
21239 Replace the obsolete alias pcomplete-arg-quote-list.
21240
21241 2013-06-01 Leo Liu <sdl.web@gmail.com>
21242
21243 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21244 punctuation syntax.
21245 (inferior-octave-minimal-columns)
21246 (inferior-octave-last-column-width): New variables.
21247 (inferior-octave-track-window-width-change): New function.
21248 (inferior-octave-mode): Adjust column width so that Octave output,
21249 for example from 'ls', can fit into the window nicely.
21250
21251 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21252
21253 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21254 Highlight expansions inside regexp literals.
21255
21256 2013-05-31 Glenn Morris <rgm@gnu.org>
21257
21258 * obsolete/sym-comp.el (symbol-complete):
21259 Replace obsolete completion-annotate-function.
21260
21261 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21262
21263 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21264
21265 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21266 New function, checks if point is inside a literal that allows
21267 expression expansion.
21268 (ruby-syntax-propertize-expansion): Use it.
21269 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21270 around the body.
21271
21272 2013-05-30 Juri Linkov <juri@jurta.org>
21273
21274 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21275 to "\M-si".
21276 (isearch-invisible): New variable.
21277 (isearch-forward): Doc fix.
21278 (isearch-mode): Set `isearch-invisible'
21279 to the value of `search-invisible'.
21280 (isearch-toggle-case-fold): Doc fix.
21281 (isearch-toggle-invisible): New command.
21282 (isearch-query-replace): Let-bind `search-invisible'
21283 to the value of `isearch-invisible'.
21284 (isearch-search): Use `isearch-invisible' instead of
21285 `search-invisible'. Let-bind `search-invisible'
21286 to the value of `isearch-invisible'. (Bug#11378)
21287
21288 2013-05-30 Juri Linkov <juri@jurta.org>
21289
21290 * replace.el (perform-replace): Avoid `isearch-range-invisible'
21291 call when `query-flag' is nil and `search-invisible' is non-nil.
21292 (Bug#11746)
21293
21294 2013-05-30 Glenn Morris <rgm@gnu.org>
21295
21296 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21297
21298 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21299 (cc-require): Suppress spurious "noruntime" warnings.
21300 (cc-require-when-compile): Use fboundp, for sake of compiler.
21301
21302 * progmodes/cc-mode.el: Move load of cc-vars before that of
21303 cc-langs (which in turn loads cc-vars), to quieten compiler.
21304
21305 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21306
21307 * paren.el: Simplify the code.
21308 (show-paren-mode): Always start the timer.
21309 (show-paren--idle-timer): Rename from show-paren-idle-timer.
21310 (show-paren--overlay, show-paren--overlay-1): Rename from
21311 show-paren-overlay and show-paren-overlay-1, and initialize to an
21312 overlay rather than to nil.
21313 (show-paren-function): Misc cleanup and simplifications.
21314
21315 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21316
21317 * paren.el (show-paren-data-function): New hook.
21318 (show-paren--default): New function, extracted from show-paren-function.
21319 (show-paren-function): Use show-paren-data-function.
21320
21321 2013-05-30 Glenn Morris <rgm@gnu.org>
21322
21323 * ielm.el (ielm-map, ielm-complete-symbol):
21324 Use completion-at-point rather than obsolete functions.
21325 (inferior-emacs-lisp-mode): Doc fix.
21326 Set completion-at-point-functions, rather than
21327 comint-dynamic-complete-functions.
21328
21329 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21330 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21331 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21332
21333 * image.el (image-animated-p): Tweak definition.
21334
21335 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21336 (rlogin-process-connection-type): Tweak default. Add set-after.
21337 (rlogin-host): Doc fix.
21338 (rlogin): Tweak prompt.
21339 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21340
21341 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21342 * progmodes/tcl.el (inferior-tcl-mode-map):
21343 Use completion-at-point rather than obsolete alias.
21344
21345 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21346
21347 * minibuffer.el (read-file-name-completion-ignore-case):
21348 Move before completion--in-region, for eager macro expansion.
21349
21350 2013-05-29 Juri Linkov <juri@jurta.org>
21351
21352 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21353 for total count of matching lines. Add `global-matches' for total
21354 count of matches. Rename `matches' to `lines' for count of
21355 matching lines. Add `matches' for count of matches.
21356 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
21357 to `prev-line' for line number of prev match endpt.
21358 Increment `matches' for every match. Print the number of
21359 matching lines in the header.
21360 (occur-context-lines): Rename `lines' to `curr-line'.
21361 Rename `prev-lines' to `prev-line'. (Bug#14017)
21362
21363 2013-05-29 Juri Linkov <juri@jurta.org>
21364
21365 * replace.el (perform-replace): Add `skip-read-only-count',
21366 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21367 Increment them for corresponding conditions and report the number
21368 of skipped occurrences in the final message. (Bug#11746)
21369 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21370 (replace-string, replace-regexp): Doc fix.
21371
21372 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
21373
21374 * emacs-lisp/trace.el (trace--read-args): Provide a default.
21375
21376 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21377 prog-mode-map (bug#14504).
21378
21379 2013-05-29 Leo Liu <sdl.web@gmail.com>
21380
21381 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21382 (octave-help): Small simplification.
21383
21384 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21385 off the highlight first.
21386
21387 2013-05-29 Glenn Morris <rgm@gnu.org>
21388
21389 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21390 Handle idlwave-last-system-routine-info-cons-cell being nil.
21391
21392 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21393 (idlwave-write-paths): Simplify via with-temp-buffer.
21394
21395 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21396 * emulation/cua-rect.el: Also load cua-base at run time.
21397
21398 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21399 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21400 (cperl-imenu-on-info): Require imenu.
21401
21402 2013-05-28 Alan Mackenzie <acm@muc.de>
21403
21404 Handle "capitalised keywords" correctly.
21405 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21406
21407 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
21408
21409 * eshell/em-unix.el: Add -r option to cp.
21410
21411 2013-05-28 Glenn Morris <rgm@gnu.org>
21412
21413 * vc/vc-arch.el (vc-exec-after): Declare.
21414 (vc-switches): Autoload.
21415 * vc/vc-bzr.el: No need to require vc when compiling.
21416 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
21417 (vc-resynch-buffer, vc-dir-refresh): Declare.
21418 (vc-setup-buffer, vc-switches): Autoload.
21419 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
21420 (vc-resynch-buffer): Declare.
21421 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
21422 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
21423 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
21424 (grep-read-regexp, grep-read-files, grep-expand-template)
21425 (vc-dir-refresh): Declare.
21426 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21427 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
21428 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
21429 * vc/vc-mtn.el (vc-exec-after): Declare.
21430 (vc-switches): Autoload.
21431 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
21432 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
21433 (vc-file-tree-walk): Declare.
21434 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
21435 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
21436 (vc-tag-precondition, vc-rename-master): Autoload.
21437 * vc/vc-svn.el (vc-exec-after): Declare.
21438 (vc-switches, vc-setup-buffer): Autoload.
21439 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
21440 Autoload.
21441 (vc-resynch-buffer): Declare.
21442
21443 * obsolete/fast-lock.el (byte-compile-warnings):
21444 Don't warn about obsolete features in this obsolete file.
21445
21446 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
21447 Move definition before use.
21448
21449 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
21450 (dun-unix-verbs): Remove dun-zippy.
21451 (dun-zippy): Remove function.
21452
21453 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
21454
21455 2013-05-27 Juri Linkov <juri@jurta.org>
21456
21457 * replace.el (replace-search): New function with code moved out
21458 from `perform-replace'.
21459 (replace-highlight, replace-dehighlight): Move function definitions
21460 up closer to `replace-search'. (Bug#11746)
21461
21462 2013-05-27 Juri Linkov <juri@jurta.org>
21463
21464 * replace.el (perform-replace): Ignore invisible matches.
21465 In addition to checking `query-replace-skip-read-only', also
21466 filter out matches by calling `run-hook-with-args-until-failure'
21467 on `isearch-filter-predicates', and also check `search-invisible'
21468 for t or call `isearch-range-invisible'.
21469 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
21470
21471 2013-05-27 Juri Linkov <juri@jurta.org>
21472
21473 * isearch.el (isearch-filter-predicates): Rename from
21474 `isearch-filter-predicate'. Doc fix. (Bug#11378)
21475 (isearch-message-prefix): Display text from the property
21476 `isearch-message-prefix' of the currently active filters.
21477 (isearch-search): Don't compare `isearch-filter-predicate' with
21478 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
21479 on `isearch-filter-predicates'. Also check `search-invisible' for t
21480 or call `isearch-range-invisible'.
21481 (isearch-filter-visible): Make obsolete.
21482 (isearch-lazy-highlight-search):
21483 Call `run-hook-with-args-until-failure' on
21484 `isearch-filter-predicates' and use `isearch-range-invisible'.
21485
21486 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
21487 `isearch-filter-predicates' instead of `funcall'ing
21488 `isearch-filter-predicate'.
21489 (Info-mode): Set `Info-isearch-filter' to
21490 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
21491
21492 * dired-aux.el (dired-isearch-filter-predicate-orig):
21493 Remove variable.
21494 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
21495 (dired-isearch-filenames-end): Add and remove
21496 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
21497 instead of changing the value of `isearch-filter-predicate'.
21498 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
21499 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
21500 Put property `isearch-message-prefix' to "filename " on
21501 `dired-isearch-filter-filenames'.
21502
21503 * wdired.el (wdired-change-to-wdired-mode):
21504 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
21505 locally instead of changing `isearch-filter-predicate'.
21506 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
21507
21508 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
21509
21510 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
21511 return the commit hash (Bug#14459). Also set the
21512 `vc-git-detached' property.
21513 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
21514 (vc-git-mode-line-string): Use the same help-echo format whether
21515 in detached mode or not, because we know the actual revision now.
21516 When in detached mode, shorten the revision to 7 chars.
21517
21518 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21519
21520 * emacs-lisp/easy-mmode.el (define-minor-mode):
21521 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
21522 mode hook and provide a docstring.
21523
21524 2013-05-27 Alan Mackenzie <acm@muc.de>
21525
21526 Remove spurious syntax-table text properties inserted by C-y.
21527 * progmodes/cc-mode.el (c-after-change): Also clear hard
21528 syntax-table property with value nil.
21529
21530 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
21531
21532 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
21533 when reading the events; the buffer layout shall not be changed.
21534
21535 2013-05-27 Leo Liu <sdl.web@gmail.com>
21536
21537 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
21538 New variable.
21539 (inferior-octave-directory-tracker): Automatically re-sync
21540 default-directory.
21541 (octave-help): Improve handling of 'See also'.
21542
21543 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21544
21545 * doc-view.el: Minor naming convention tweaks.
21546 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
21547
21548 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
21549 even if there's no `display' property yet (bug#14435).
21550
21551 2013-05-25 Eli Zaretskii <eliz@gnu.org>
21552
21553 * subr.el (unmsys--file-name): Rename from reveal-filename.
21554
21555 * Makefile.in (custom-deps, finder-data, autoloads)
21556 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21557 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21558 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
21559
21560 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21561
21562 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
21563 error-completion on the first 2 args of condition-case (bug#14446).
21564 Don't burp at EOB.
21565
21566 2013-05-25 Leo Liu <sdl.web@gmail.com>
21567
21568 * comint.el (comint-previous-matching-input): Do not flood the
21569 *Messages* buffer with trivial messages.
21570
21571 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21572
21573 * progmodes/flymake.el (flymake-nop): Don't return a string.
21574 (flymake-set-at): Fix typo.
21575
21576 * simple.el (read--expression): New function, extracted from
21577 eval-expression. Set completion-at-point-functions (bug#14465).
21578 (eval-expression, eval-minibuffer): Use it.
21579
21580 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
21581
21582 * progmodes/flymake.el (flymake-save-buffer-in-file)
21583 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
21584 (flymake-selected-frame, flymake-log, flymake-ins-after)
21585 (flymake-set-at, flymake-get-buildfile-from-cache)
21586 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
21587 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
21588 Refine the doc string.
21589 (flymake-get-file-name-mode-and-masks): Reformat.
21590 (flymake-get-real-file-name-function): Fix a minor bug.
21591
21592 2013-05-24 Juri Linkov <juri@jurta.org>
21593
21594 * progmodes/grep.el (grep-mode-font-lock-keywords):
21595 Support =linenumber= format used by git-grep for lines with
21596 function names. (Bug#13549)
21597
21598 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21599
21600 * progmodes/octave.el (octave-smie-rules): Return nil rather than
21601 0 after a semi-colon; it works better for smie-auto-fill.
21602 (octave--indent-new-comment-line): New function.
21603 (octave-indent-new-comment-line): Use it (indirectly).
21604 (octave-mode): Don't disable smie-auto-fill. Use add-function to
21605 modify comment-line-break-function.
21606
21607 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
21608 (smie-setup): Use add-function to set it.
21609
21610 2013-05-24 Sam Steingold <sds@gnu.org>
21611
21612 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
21613 argument (before the `interactive' argument).
21614
21615 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21616
21617 * image-mode.el (image-mode-winprops): Add winprops to
21618 image-mode-winprops-alist before running
21619 image-mode-new-window-functions.
21620 * doc-view.el (doc-view-new-window-function): Don't delay
21621 doc-view-goto-page via timers (bug#14435).
21622
21623 2013-05-24 Tassilo Horn <tsdh@gnu.org>
21624
21625 * doc-view.el: Integrate with desktop.el. (Bug#14435)
21626 (doc-view-desktop-save-buffer): New function.
21627 (doc-view-restore-desktop-buffer): New function.
21628 (desktop-buffer-mode-handlers):
21629 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
21630 handler.
21631 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
21632 `desktop-save-buffer' function.
21633
21634 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
21635
21636 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
21637 (tramp-gvfs-file-name-handler): Raise a user error when
21638 `tramp-gvfs-enabled' is nil.
21639 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
21640 Do not raise a user error when loading package. (Bug#14447)
21641
21642 * net/xesam.el: Move to obsolete/.
21643
21644 2013-05-24 Glenn Morris <rgm@gnu.org>
21645
21646 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
21647
21648 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
21649
21650 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
21651 (Info-find-node, Man-getpage-in-background): Declare.
21652
21653 * mail/unrmail.el (unrmail):
21654 Replace obsolete detect-coding-with-priority.
21655
21656 * net/socks.el (socks-split-string): Use this rather than split-string.
21657 (socks-nslookup-host): Update for above change.
21658 (dynamic-choice, s5-dynamic-choice-match)
21659 (s5-dynamic-choice-match-inline, s5-widget-value-create):
21660 Comment out unused code.
21661
21662 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
21663 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
21664 (gud-tooltip-echo-area): Make obsolete.
21665 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
21666
21667 * progmodes/js.el (js--optimize-arglist): Declare.
21668
21669 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
21670
21671 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
21672 (ediff-window-C): Declare.
21673
21674 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
21675 Tweak requires to silence compiler.
21676
21677 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
21678 (he-search-string, he-tried-table, he-expand-list)
21679 (he-init-string, he-string-member, he-substitute-string)
21680 (he-reset-string): Declare.
21681
21682 * obsolete/options.el (list-options): Use custom-variable-p,
21683 rather than obsolete alias.
21684
21685 2013-05-23 Sam Steingold <sds@gnu.org>
21686
21687 * simple.el (shell-command-on-region): Pass the `replace' argument
21688 down to `call-process-region' to comply with the doc as reported on
21689 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
21690
21691 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21692
21693 * emacs-lisp/smie.el (smie-indent-forward-token)
21694 (smie-indent-backward-token): Handle string tokens (bug#14381).
21695
21696 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21697
21698 * ielm.el (ielm-menu): New menu.
21699 (inferior-emacs-lisp-mode): Set comment-start.
21700
21701 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21702
21703 * textmodes/reftex.el (reftex-ref-style-toggle):
21704 Fix deactivate action.
21705
21706 * textmodes/reftex-vars.el (reftex-ref-style-alist):
21707 Add cleveref macros.
21708
21709 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
21710 Accept options for bibliography commands.
21711 * textmodes/reftex-vars.el (reftex-bibliography-commands):
21712 Add addbibresource. Basic Biblatex support.
21713
21714 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
21715
21716 * net/tramp-gvfs.el (top):
21717 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
21718 when loading package. (Bug#14447)
21719
21720 2013-05-23 Glenn Morris <rgm@gnu.org>
21721
21722 * progmodes/js.el: No need to load comint when compiling.
21723 (ring-insert, comint-send-string, comint-send-input)
21724 (comint-last-input-end, ido-chop): Declare.
21725
21726 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
21727 * vc/ediff-mult.el: Adjust requires.
21728 (ediff-directories-internal, ediff-directory-revisions-internal)
21729 (ediff-patch-file-internal): Declare.
21730 * vc/ediff-ptch.el: Adjust requires.
21731 (ediff-use-last-dir, ediff-buffers-internal): Declare.
21732 (ediff-find-file): Autoload.
21733 * vc/ediff-util.el: No need to load ediff when compiling.
21734 (ediff-regions-internal): Declare.
21735 * vc/ediff-wind.el: Adjust requires.
21736 (ediff-compute-toolbar-width): Define when compiling.
21737 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
21738 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
21739 (dired-get-filename, dired-get-marked-files)
21740 (ediff-last-dir-patch, ediff-patch-default-directory)
21741 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
21742 (ediff-patch-buffer-internal): Declare.
21743
21744 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
21745 (ispell-process, ispell-buffer-local-words, lm-summary)
21746 (lm-section-start, lm-section-end): Declare.
21747 (checkdoc-ispell-init): Simplify.
21748
21749 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
21750 (he-string-member, he-reset-string, he-substitute-string): Declare.
21751
21752 * eshell/em-ls.el: Adjust requires.
21753 (eshell-glob-regexp): Declare.
21754 * eshell/em-tramp.el: Adjust requires.
21755 (eshell-parse-command): Autoload.
21756 * eshell/em-xtra.el: Adjust requires.
21757 (eshell-parse-command): Autoload.
21758 * eshell/esh-ext.el: Adjust requires.
21759 (eshell-parse-command, eshell-close-handles): Autoload.
21760 * eshell/esh-io.el: Adjust requires.
21761 (eshell-output-filter): Autoload.
21762 * eshell/esh-util.el: No need to load tramp when compiling.
21763 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
21764 Declare.
21765 (eshell-parse-ange-ls): Require ange-ftp and tramp.
21766 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
21767 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
21768 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
21769 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
21770 * eshell/esh-opt.el, eshell/esh-proc.el:
21771 * eshell/esh-var.el: Adjust requires.
21772 * eshell/eshell.el: Do not require esh-util twice.
21773 (eshell-add-input-to-history): Declare.
21774 (eshell-command): Check history module is active before using it.
21775
21776 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
21777
21778 2013-05-22 Leo Liu <sdl.web@gmail.com>
21779
21780 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
21781
21782 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
21783
21784 * autorevert.el (auto-revert-notify-add-watch)
21785 (auto-revert-notify-handler): Add `attrib' for the inotify case,
21786 it indicates changes in file modification time.
21787
21788 2013-05-22 Glenn Morris <rgm@gnu.org>
21789
21790 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21791 Always delete the autoloaded function from the noruntime and
21792 unresolved functions lists.
21793
21794 * allout.el: No need to load epa, epg, overlay when compiling.
21795 (epg-context-set-passphrase-callback, epg-list-keys)
21796 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
21797 (epg-key-user-id-list): Declare.
21798
21799 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
21800 (viper-set-parsing-style-toggling-macro)
21801 (viper-set-emacs-state-searchstyle-macros):
21802 Use called-interactively-p on Emacs.
21803 (viper-looking-back): Make it an obsolete alias. Update callers.
21804 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
21805 Use looking-back rather than viper-looking-back.
21806 (viper-tmp-insert-at-eob, viper-enlarge-region)
21807 (viper-read-string-with-history, viper-register-to-point)
21808 (viper-append-to-register, viper-change-state-to-vi)
21809 (viper-backward-char-carefully, viper-forward-char-carefully)
21810 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
21811 (viper-change-state-to-emacs): Declare.
21812 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
21813 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
21814 * emulation/viper-mous.el: Do not load viper-cmd.
21815 (viper-backward-char-carefully, viper-forward-char-carefully)
21816 (viper-forward-word, viper-adjust-window): Declare.
21817
21818 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
21819
21820 * progmodes/idlw-help.el (idlwave-help-fontify):
21821 Use called-interactively-p.
21822
21823 * term/w32console.el (w32-get-console-codepage)
21824 (w32-get-console-output-codepage): Declare.
21825
21826 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
21827 Remove unnecessary declarations.
21828 (dframe-message): Doc fix.
21829
21830 * info.el (dframe-select-attached-frame, dframe-current-frame):
21831 Declare.
21832
21833 * speedbar.el (speedbar-message): Make it an obsolete alias.
21834 Update all callers.
21835 (speedbar-with-attached-buffer)
21836 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
21837 (speedbar-with-writable): Use backquote.
21838 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
21839 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
21840 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
21841 rather than speedbar- aliases.
21842 * mail/rmail.el: Load dframe rather than speedbar when compiling.
21843 (speedbar-make-specialized-keymap, speedbar-insert-button)
21844 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
21845 (speedbar-do-function-pointer): Declare.
21846 (rmail-speedbar-button, rmail-speedbar-find-file)
21847 (rmail-speedbar-move-message):
21848 Use dframe-with-attached-buffer rather than speedbar- alias.
21849 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
21850 (dframe-message, speedbar-make-specialized-keymap)
21851 (speedbar-add-expansion-list, speedbar-mode-functions-list)
21852 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
21853 (speedbar-insert-button, dframe-select-attached-frame)
21854 (dframe-maybee-jump-to-attached-frame)
21855 (speedbar-change-initial-expansion-list)
21856 (speedbar-previously-used-expansion-list-name): Declare.
21857 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
21858 Use dframe-message, dframe-with-attached-buffer rather than
21859 speedbar- aliases.
21860 (gud-sentinel): Silence compiler.
21861 * progmodes/vhdl-mode.el (speedbar-refresh)
21862 (speedbar-do-function-pointer, speedbar-add-supported-extension)
21863 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
21864 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
21865 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
21866 (speedbar-file-lists, speedbar-make-tag-line)
21867 (speedbar-line-directory, speedbar-goto-this-file)
21868 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
21869 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
21870 (speedbar-make-button, speedbar-reset-scanners)
21871 (speedbar-files-item-info, speedbar-line-text)
21872 (speedbar-find-file-in-frame, speedbar-set-timer)
21873 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
21874 (speedbar-with-writable): Do not (re)define it.
21875 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
21876 rather than speedbar- alias.
21877
21878 2013-05-21 Leo Liu <sdl.web@gmail.com>
21879
21880 * progmodes/octave.el (octave-mode-menu): Update and re-organize
21881 menu items.
21882 (octave-mode): Tweak fill-nobreak-predicate.
21883 (inferior-octave-startup): Check process to avoid infinite loop.
21884 (inferior-octave): Pop to buffer first to show abornmal process
21885 exit information.
21886
21887 2013-05-21 Glenn Morris <rgm@gnu.org>
21888
21889 * printing.el (pr-menu-bar): Define when compiling.
21890
21891 2013-05-21 Leo Liu <sdl.web@gmail.com>
21892
21893 * progmodes/octave.el (octave-auto-fill): Remove.
21894 (octave-indent-new-comment-line): Improve.
21895 (octave-mode): Use auto fill mode through
21896 comment-line-break-function and fill-nobreak-predicate.
21897 (octave-goto-function-definition): Support DEFUN_DLD.
21898 (octave-beginning-of-defun): Small tweak.
21899 (octave-help): Show parent directory.
21900
21901 2013-05-21 Glenn Morris <rgm@gnu.org>
21902
21903 * files.el (dired-unmark):
21904 * progmodes/gud.el (gdb-input): Update declarations.
21905
21906 * calculator.el (electric, ehelp): No need to load when compiling.
21907 (Electric-command-loop, electric-describe-mode): Declare.
21908
21909 * doc-view.el (doc-view-current-converter-processes): Move before use.
21910
21911 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
21912 Move MODE-set-explicitly definition before use.
21913
21914 * international/mule-diag.el (mule-diag):
21915 Don't use obsolete window-system-version.
21916
21917 * mail/feedmail.el (smtpmail): No need to load when compiling.
21918 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
21919
21920 * mail/mail-utils.el (rfc822): No need to load when compiling.
21921 (rfc822-addresses): Autoload it.
21922 (mail-strip-quoted-names): Trivial simplification.
21923
21924 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
21925 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
21926
21927 * net/snmp-mode.el (tempo): Don't duplicate requires.
21928
21929 * progmodes/prolog.el (info): No need to load when compiling.
21930 (comint): Require before shell requires it.
21931 (Info-goto-node): Autoload it.
21932 (Info-follow-nearest-node): Declare.
21933 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
21934
21935 * textmodes/artist.el (picture-mode-exit): Declare.
21936
21937 * textmodes/reftex-parse.el (reftex-parse-from-file):
21938 Trivial rewrite so the compiler can parse it better.
21939
21940 2013-05-20 Leo Liu <sdl.web@gmail.com>
21941
21942 * progmodes/octave.el (octave-help-mode-map)
21943 (octave-help-mode-finish-hook): New variables.
21944 (octave-help-mode, octave-help-mode-finish): New functions.
21945 (octave-help): Use octave-help-mode.
21946
21947 2013-05-20 Glenn Morris <rgm@gnu.org>
21948
21949 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
21950
21951 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
21952
21953 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
21954 start at point, so that expansion starting right after opening
21955 slash in a regexp is recognized.
21956 (ruby-syntax-before-regexp-re): New defvar, extracted from
21957 ruby-syntax-propertize-function. Since the value of this regexp
21958 is looked up at runtime now, we should be able to turn
21959 `ruby-syntax-methods-before-regexp' into a defcustom later.
21960 (ruby-syntax-propertize-function): Split regexp matching into two
21961 parts, for opening and closing slashes. That allows us to skip
21962 over string interpolations and support multiline regexps.
21963 Don't call `ruby-syntax-propertize-expansions', instead use another rule
21964 for them, which calls `ruby-syntax-propertize-expansion'.
21965 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
21966 call to `ruby-syntax-propertize-function'.
21967 (ruby-syntax-propertize-expansion): Extracted from
21968 `ruby-syntax-propertize-expansions'. Handles one expansion.
21969 (ruby-syntax-propertize-percent-literal): Leave point right after
21970 the percent symbol, so that the expression expansion rule can
21971 propertize the contents.
21972 (ruby-syntax-propertize-heredoc): Leave point at bol following the
21973 heredoc openers.
21974 (ruby-syntax-propertize-expansions): Remove.
21975
21976 2013-05-18 Juri Linkov <juri@jurta.org>
21977
21978 * man.el (Man-default-man-entry): Remove `-' from the end
21979 of the default value. (Bug#14400)
21980
21981 2013-05-18 Glenn Morris <rgm@gnu.org>
21982
21983 * comint.el (comint-password-prompt-regexp):
21984 Allow "password for XXX" where XXX contains colons (eg https://...).
21985
21986 2013-05-18 Leo Liu <sdl.web@gmail.com>
21987
21988 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
21989 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
21990 (octave-source-directories): Don't check process.
21991 (octave-source-directories, octave-find-definition): Doc fix.
21992
21993 2013-05-18 Glenn Morris <rgm@gnu.org>
21994
21995 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
21996 Remove backspace/delete bindings. (Bug#14392)
21997
21998 * cus-dep.el (custom-make-dependencies): Sort the output.
21999 (custom-versions-load-alist): Convert comment to doc.
22000
22001 2013-05-17 Leo Liu <sdl.web@gmail.com>
22002
22003 * newcomment.el (comment-search-backward): Stricter in finding
22004 comment start. (Bug#14303)
22005
22006 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
22007 (octave-comment-start-skip): Properly anchored.
22008
22009 2013-05-17 Leo Liu <sdl.web@gmail.com>
22010
22011 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
22012 Clean up when turned off. (Bug#14395)
22013 (smie--highlight-matching-block-overlay): No longer buffer-local.
22014 (smie-highlight-matching-block): Adjust.
22015
22016 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
22017
22018 Doc string fix for "nanoseconds" (Bug#14406).
22019 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
22020 Fix doc string typo that had "nanoseconds" instead of "microseconds".
22021
22022 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
22023
22024 * calc/calc-units.el (math-extract-units): Preserve powers
22025 of units.
22026
22027 2013-05-17 Leo Liu <sdl.web@gmail.com>
22028
22029 * subr.el (delete-consecutive-dups): New function.
22030 * ido.el (ido-set-matches-1): Use it.
22031 * progmodes/octave.el (inferior-octave-completion-table): Use it.
22032 * ido.el (ido-remove-consecutive-dups): Remove.
22033
22034 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22035
22036 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22037 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
22038 regexp-opt's `words'.
22039
22040 2013-05-16 Leo Liu <sdl.web@gmail.com>
22041
22042 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
22043 (smie--highlight-matching-block-overlay)
22044 (smie--highlight-matching-block-lastpos)
22045 (smie--highlight-matching-block-timer): New variables.
22046 (smie-highlight-matching-block): New function.
22047 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
22048 (smie-setup): Conditionally enable smie-blink-matching-open.
22049
22050 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
22051
22052 Sync with upstream verilog-mode r840.
22053 * progmodes/verilog-mode.el (verilog-mode-version)
22054 (verilog-mode-release-date): Update.
22055 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
22056 (verilog-sig-tieoff): Fix string error on
22057 AUTORESET with colon define, bug594. Reported by Andrew Hou.
22058 (verilog-read-decls): Fix parameters confusing
22059 AUTOINST interfaces, bug565. Reported by Leith Johnson.
22060
22061 2013-05-16 Eli Zaretskii <eliz@gnu.org>
22062
22063 * subr.el (reveal-filename): New function.
22064
22065 * loadup.el: Compute Emacs executable versions on MS-Windows,
22066 where executables have the .exe extension. Add a hard link
22067 emacs-XX.YY.ZZ.exe on MS-Windows.
22068
22069 * Makefile.in (XARGS_LIMIT): New variable.
22070 (custom-deps, finder-data, autoloads)
22071 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22072 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22073 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
22074 (compile-main): Limit xargs according to $(XARGS_LIMIT).
22075
22076 2013-05-16 Leo Liu <sdl.web@gmail.com>
22077
22078 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
22079 (octave-mode-menu, octave-mode-map): Remove its uses.
22080
22081 2013-05-16 Reto Zimmermann <reto@gnu.org>
22082
22083 Sync with upstream vhdl mode v3.34.2.
22084 * progmodes/vhdl-mode.el: Use `push' throughout.
22085 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
22086 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
22087 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
22088 (vhdl-actual-generic-name): New option to derive actual generic name.
22089 (vhdl-port-paste-signals): Replace formal by actual generics.
22090 (vhdl-beautify): New name for old group vhdl-align. Update users.
22091 (vhdl-beautify-options): New option.
22092 (vhdl-last-input-event): New compat alias. Use throughout.
22093 (vhdl-goto-line): Replace user level function `goto-line'.
22094 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
22095 vhdl-fix-statement-buffer.
22096 (vhdl-create-mode-menu): Add some entries.
22097 (vhdl-align-region-groups): Respect vhdl-beautify-options.
22098 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
22099 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
22100 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
22101 to force statements on one line.
22102 (vhdl-remove-trailing-spaces-region):
22103 New, split from vhdl-remove-trailing-spaces.
22104 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
22105 Respect vhdl-beautify-options.
22106 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
22107 (vhdl-update-sensitivity-list): Not add with index if exists without.
22108 Not include array index with signal. Ignore keywords in comments.
22109 (vhdl-get-visible-signals): Regexp tweaks.
22110 (vhdl-template-component-inst): Handle empty library.
22111 (vhdl-template-type): Add template for 'enum' type.
22112 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
22113 Use vhdl-replace-string.
22114 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
22115 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
22116 (vhdl-speedbar-initialize): Update for above name change.
22117 (vhdl-compose-wire-components): Fix in handling of constants.
22118 (vhdl-error-regexp-emacs-alist): New variable.
22119 (vhdl-error-regexp-add-emacs): New function;
22120 adds support for new compile.el (Emacs 22+)
22121 (vhdl-generate-makefile-1): Change target order for single lib. units.
22122 Allow use of absolute file names.
22123
22124 2013-05-16 Leo Liu <sdl.web@gmail.com>
22125
22126 * simple.el (prog-indent-sexp): Indent enclosing defun.
22127
22128 2013-05-15 Glenn Morris <rgm@gnu.org>
22129
22130 * cus-start.el (show-trailing-whitespace): Move to editing basics.
22131 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22132 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22133 (whitespace-highlight): Move to whitespace group.
22134
22135 * comint.el (comint-source):
22136 * pcmpl-linux.el (pcmpl-linux):
22137 * shell.el (shell-faces):
22138 * eshell/esh-opt.el (eshell-opt):
22139 * international/ccl.el (ccl): Remove empty custom groups.
22140
22141 * completion.el (dynamic-completion-mode):
22142 * jit-lock.el (jit-lock-debug-mode):
22143 * minibuffer.el (completion-in-region-mode):
22144 * type-break.el (type-break-mode-line-message-mode)
22145 (type-break-query-mode):
22146 * emulation/tpu-edt.el (tpu-edt-mode):
22147 * progmodes/subword.el (global-subword-mode, global-superword-mode):
22148 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22149 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22150
22151 * term/xterm.el (xterm): Change parent group to terminals.
22152
22153 * master.el (master): Remove empty custom group.
22154 (master-mode): Remove unused :group argument.
22155 * textmodes/refill.el (refill): Remove empty custom group.
22156 (refill-mode): Remove unused :group argument.
22157
22158 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22159
22160 * cus-dep.el: Provide a feature.
22161 (custom-make-dependencies): Ignore dotfiles (dir-locals).
22162 Don't mistakenly ignore files whose basenames match a basename
22163 from preloaded-file-list (eg cedet/ede/simple.el).
22164 Add a fallback method for getting :group.
22165
22166 2013-05-15 Juri Linkov <juri@jurta.org>
22167
22168 * isearch.el (isearch-char-by-name): Rename from
22169 `isearch-insert-char-by-name'. Doc fix.
22170 (isearch-forward): Mention `isearch-char-by-name' in
22171 the docstring. (Bug#13348)
22172
22173 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22174 `exit-minibuffer' instead of
22175 `isearch-nonincremental-exit-minibuffer'.
22176 (isearch-edit-string): Remove mention of
22177 `isearch-nonincremental-exit-minibuffer' from docstring.
22178 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22179 (isearch-forward-exit-minibuffer)
22180 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
22181
22182 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22183
22184 * loadup.el: Just use unversioned DOC.
22185
22186 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22187 literals as extending to EOB.
22188 (nxml-last-fontify-end): Remove unused variable.
22189 (nxml-after-change1): Use with-silent-modifications.
22190 (nxml-extend-after-change-region): Simplify.
22191 (nxml-extend-after-change-region1): Remove function.
22192 (nxml-after-change1): Don't adjust for dependent regions.
22193 (nxml-fontify-matcher): Simplify.
22194 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22195 (xmltok-add-dependent): Remove function.
22196 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22197 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22198 (xmltok-scan-prolog-after-processing-instruction-open): Treat
22199 unclosed <[[, <?, comment, and other literals as extending to EOB.
22200 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22201 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22202 Remove functions.
22203 (rng-do-some-validation-1): Don't mark dependent regions.
22204 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22205 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22206 (nxml-clear-dependent-regions): Remove functions.
22207 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22208 (nxml-ensure-scan-up-to-date):
22209 Don't clear&mark dependent regions.
22210
22211 2013-05-15 Leo Liu <sdl.web@gmail.com>
22212
22213 * progmodes/octave.el (octave-goto-function-definition):
22214 Improve and fix callers.
22215
22216 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22217
22218 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22219 the setter (bug#14387).
22220
22221 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22222 surrounding group (bug#14402).
22223
22224 2013-05-14 Juri Linkov <juri@jurta.org>
22225
22226 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22227 (Bug#14390)
22228
22229 2013-05-14 Glenn Morris <rgm@gnu.org>
22230
22231 * progmodes/f90.el (f90-imenu-generic-expression):
22232 Fix typo in 2013-05-08 change. (Bug#14402)
22233
22234 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22235
22236 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22237 Remove signals for which replies are never received.
22238
22239 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22240
22241 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22242 (gdb-handler-alist, gdb-handler-number): Remove variables.
22243 (gdb-handler-list): New variable.
22244 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22245 (gdb-pending-handler-p, gdb-handle-reply)
22246 (gdb-remove-all-pending-triggers): New functions.
22247 (gdb-discard-unordered-replies): New defcustom.
22248 (gdb-handler): New defstruct.
22249 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
22250 instead of gdb-pending-triggers. Update docstring.
22251 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
22252 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22253 (gdb-var-update-handler, def-gdb-auto-update-trigger)
22254 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22255 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22256 (gdb-frame-handler): Pending triggers are now automatically managed.
22257 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22258 Remove argument.
22259 (gdb-input): Automatically handles pending triggers. Update docstring.
22260 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22261 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22262 Update comments.
22263 (gdb-done-or-error): Now use gdb-handle-reply.
22264
22265 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22266
22267 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22268 gdb-debug-log.
22269
22270 2013-05-14 Glenn Morris <rgm@gnu.org>
22271
22272 * subr.el (user-emacs-directory-warning): New option.
22273 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
22274
22275 2013-05-14 Leo Liu <sdl.web@gmail.com>
22276
22277 * progmodes/octave.el (octave-font-lock-keywords): Fix error
22278 during redisplay.
22279 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22280 (octave-font-lock-texinfo-comment): Fix invalid search bound
22281 error: wrong side of point.
22282
22283 2013-05-14 Glenn Morris <rgm@gnu.org>
22284
22285 * progmodes/flymake.el (flymake-xml-program): New option.
22286 (flymake-xml-init): Use it.
22287
22288 * term/xterm.el: Provide a feature.
22289
22290 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
22291
22292 2013-05-13 Glenn Morris <rgm@gnu.org>
22293
22294 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22295 Add compat aliases as a hack workaround. (Bug#14384)
22296
22297 2013-05-13 Leo Liu <sdl.web@gmail.com>
22298
22299 * progmodes/octave.el (octave-indent-comment): Fix indentation for
22300 ###, and %!.
22301 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22302 C-M-q.
22303 (octave-comment-start-skip): Include %!.
22304 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22305
22306 2013-05-12 Leo Liu <sdl.web@gmail.com>
22307
22308 * progmodes/octave.el (inferior-octave-startup): Store the value
22309 of __octave_srcdir__ for octave-source-directories.
22310 (inferior-octave-check-process): New function refactored out of
22311 inferior-octave-send-list-and-digest.
22312 (octave-source-directories)
22313 (octave-find-definition-filename-function): New variables.
22314 (octave-source-directories)
22315 (octave-find-definition-default-filename): New functions.
22316 (octave-find-definition): Improve to find functions implemented in C++.
22317
22318 2013-05-12 Glenn Morris <rgm@gnu.org>
22319
22320 * calendar/diary-lib.el (diary-outlook-format-1):
22321 Don't include dayname in the output. (Bug#14349)
22322
22323 2013-05-11 Glenn Morris <rgm@gnu.org>
22324
22325 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22326
22327 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22328 Treat cc-provide like provide.
22329
22330 2013-05-11 Kevin Ryde <user42@zip.com.au>
22331
22332 * cus-dep.el (custom-make-dependencies):
22333 Use generated-autoload-load-name for the sake of files such
22334 such cedet/semantic/bovine/c.el, where the base file name
22335 is not in load-path. (Bug#5277)
22336
22337 2013-05-11 Glenn Morris <rgm@gnu.org>
22338
22339 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22340 Provide features.
22341
22342 2013-05-11 Leo Liu <sdl.web@gmail.com>
22343
22344 * progmodes/octave.el (octave-indent-comment): Improve.
22345 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22346 (octave-eldoc-function-signatures, octave-eldoc-function):
22347 New functions.
22348 (octave-mode, inferior-octave-mode): Add eldoc support.
22349
22350 2013-05-11 Richard Stallman <rms@gnu.org>
22351
22352 * epa.el (epa-decrypt-file): Take output file name as argument
22353 and read it using `interactive'.
22354
22355 2013-05-11 Leo Liu <sdl.web@gmail.com>
22356
22357 * progmodes/octave.el (octave-beginning-of-line)
22358 (octave-end-of-line): Check before using up-list because it jumps
22359 out of more syntactic contructs since moving to smie.
22360 (octave-indent-comment): New function.
22361 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
22362 (octave-begin-keywords, octave-end-keywords)
22363 (octave-reserved-words, octave-smie-bnf-table)
22364 (octave-smie-rules): Add new keywords from Octave 3.6.4.
22365
22366 2013-05-11 Glenn Morris <rgm@gnu.org>
22367
22368 * faces.el (internal-face-x-get-resource):
22369 * frame.el (ns-display-monitor-attributes-list):
22370 * calc/calc-aent.el (math-to-radians-2):
22371 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22372 Fix declarations.
22373
22374 * calc/calc-menu.el: Make it loadable in isolation.
22375
22376 * net/eudcb-bbdb.el: Make it loadable without bbdb.
22377 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22378 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22379 (eudc-bbdb-query-internal): Require 'bbdb.
22380
22381 * lpr.el (lpr-headers-switches):
22382 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22383
22384 * progmodes/sql.el (sql-login-params): Fix and improve :type.
22385
22386 * emulation/edt-mapper.el: In batch mode, error rather than hang.
22387
22388 * term.el (term-set-escape-char): Make it idempotent.
22389
22390 2013-05-10 Leo Liu <sdl.web@gmail.com>
22391
22392 * progmodes/octave.el (inferior-octave-completion-table):
22393 No longer a function and all uses changed. Use cache to speed up
22394 completion due to bug#11906.
22395 (octave-beginning-of-defun): Re-write to be more general.
22396
22397 2013-05-10 Glenn Morris <rgm@gnu.org>
22398
22399 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22400
22401 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
22402
22403 * comint.el (comint-redirect-send-command-to-process): Use :around
22404 rather than :override for comint-redirect-filter.
22405 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22406 Call it instead of comint-redirect-original-filter-function (which
22407 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
22408
22409 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
22410
22411 * frame.el (display-monitor-attributes-list): Add NS case.
22412 (ns-display-monitor-attributes-list): Declare.
22413
22414 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
22415
22416 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
22417
22418 2013-05-09 Glenn Morris <rgm@gnu.org>
22419
22420 * international/fontset.el (vertical-centering-font-regexp):
22421 Set standard-value.
22422
22423 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
22424
22425 * bookmark.el (bookmark-search-delay):
22426 * cus-start.el (vertical-centering-font-regexp):
22427 * ps-mule.el (ps-mule-font-info-database-default):
22428 * ps-print.el (ps-default-fg, ps-default-bg):
22429 * type-break.el (type-break-good-break-interval):
22430 * whitespace.el (whitespace-indentation-regexp)
22431 (whitespace-space-after-tab-regexp):
22432 * emacs-lisp/testcover.el (testcover-1value-functions)
22433 (testcover-noreturn-functions, testcover-progn-functions)
22434 (testcover-prog1-functions):
22435 * emulation/viper-init.el (viper-emacs-state-cursor-color):
22436 * eshell/em-glob.el (eshell-glob-translate-alist):
22437 * play/tetris.el (tetris-tty-colors):
22438 * progmodes/cpp.el (cpp-face-default-list):
22439 * progmodes/flymake.el (flymake-allowed-file-name-masks):
22440 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
22441 (idlwave-help-browser-generic-args):
22442 * progmodes/make-mode.el (makefile-special-targets-list):
22443 * progmodes/python.el (python-shell-virtualenv-path):
22444 * progmodes/verilog-mode.el (verilog-active-low-regexp)
22445 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
22446 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
22447 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
22448 * textmodes/reftex-vars.el (reftex-format-label-function):
22449 * textmodes/remember.el (remember-diary-file): Fix custom types.
22450
22451 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
22452 Add :version.
22453
22454 2013-05-09 Leo Liu <sdl.web@gmail.com>
22455
22456 * progmodes/octave.el (inferior-octave-completion-at-point):
22457 Restore file completion. (Bug#14300)
22458 (inferior-octave-startup): Fix incorrect highlighting for the
22459 first prompt.
22460
22461 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22462
22463 * progmodes/ruby-mode.el: First cut at SMIE support.
22464 (ruby-use-smie): New var.
22465 (ruby-smie-grammar): New constant.
22466 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
22467 (ruby-smie--forward-token, ruby-smie--backward-token)
22468 (ruby-smie-rules): New functions.
22469 (ruby-mode-variables): Setup SMIE if applicable.
22470
22471 2013-05-08 Eli Zaretskii <eliz@gnu.org>
22472
22473 * simple.el (line-move-visual): Signal beginning/end of buffer
22474 only if vertical-motion moved less than it was requested. Avoids
22475 silly incorrect error messages when there are display strings with
22476 multiple newlines at EOL.
22477
22478 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22479
22480 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
22481 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
22482 (prolog-char-quote-workaround):
22483 * progmodes/cperl-mode.el (cperl-under-as-char):
22484 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
22485 Mark as obsolete.
22486 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
22487 their declaration.
22488 (vhdl-mode-syntax-table-init): Remove.
22489
22490 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
22491 last change.
22492
22493 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
22494 syntax for "_".
22495 (ld-script-font-lock-keywords):
22496 Change regexps to use things like \_< and \_>.
22497
22498 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
22499 Change all regexps to use things like \_< and \_>.
22500
22501 * progmodes/autoconf.el (autoconf-definition-regexp)
22502 (autoconf-font-lock-keywords, autoconf-current-defun-function):
22503 Handle a _ with symbol syntax.
22504 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
22505
22506 * progmodes/ada-mode.el (ada-mode-abbrev-table):
22507 Consolidate declaration.
22508 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
22509 the declaration.
22510 (ada-create-syntax-table): Remove.
22511 (ada-capitalize-word): Don't mess with the syntax of "_" since it
22512 already has the right syntax nowadays.
22513 (ada-goto-next-word): Don't change the syntax of "_".
22514
22515 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
22516 with-wrapper-hook.
22517
22518 2013-05-08 Sam Steingold <sds@gnu.org>
22519
22520 * thingatpt.el (thing-at-point): Accept optional second argument
22521 NO-PROPERTIES to strip the text properties from the return value.
22522 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
22523 to `thing-at-point' instead of stripping the properties ourselves.
22524 Also, when `thing-at-point' fails to find a url, prepend "http://"
22525 to the filename at point on the assumption that the user is
22526 pointing at something like gnu.org/gnu.
22527
22528 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
22529
22530 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22531 * faces.el (crm-separator):
22532 Silence byte-compiler.
22533
22534 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
22535 (tool-bar-map): Remove unneeded defvars.
22536
22537 2013-05-08 Leo Liu <sdl.web@gmail.com>
22538
22539 Re-work a fix for bug#10994 based on Le Wang's patch.
22540 * ido.el (ido-remove-consecutive-dups): New helper.
22541 (ido-completing-read): Use it.
22542 (ido-chop): Revert fix for bug#10994.
22543
22544 2013-05-08 Adam Spiers <emacs@adamspiers.org>
22545
22546 * cus-edit.el (custom-save-variables):
22547 Pretty-print long values. (Bug#14187)
22548
22549 2013-05-08 Glenn Morris <rgm@gnu.org>
22550
22551 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
22552 (m4-mode-syntax-table): Init in the defvar.
22553 (m4-mode-abbrev-table): Let define-derived-mode define it.
22554
22555 2013-05-08 Tom Tromey <tromey@redhat.com>
22556
22557 * progmodes/m4-mode.el (m4-mode-syntax-table):
22558 Do not treat "_" as word constituent. (Bug#14167)
22559
22560 2013-05-07 Glenn Morris <rgm@gnu.org>
22561
22562 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
22563 Remove explicit eshell-isearch-cancel-map.
22564
22565 * progmodes/f90.el (f90-smart-end-names): New option.
22566 (f90-smart-end): Doc fix.
22567 (f90-end-block-optional-name): New constant.
22568 (f90-block-match): Respect f90-smart-end-names.
22569
22570 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22571
22572 * progmodes/octave.el (octave-smie-forward-token): Be more careful
22573 about implicit semi-colons (bug#14218).
22574
22575 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22576
22577 * frame.el (display-monitor-attributes-list)
22578 (frame-monitor-attributes): New functions.
22579
22580 2013-05-06 Leo Liu <sdl.web@gmail.com>
22581
22582 * progmodes/octave.el (octave-syntax-propertize-function): Change
22583 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
22584 (octave-font-lock-keywords): Use octave-operator-regexp.
22585 (octave-completion-at-point): Rename from
22586 octave-completion-at-point-function.
22587 (inferior-octave-directory-tracker): Robustify.
22588 (octave-text-functions): Remove and fix its uses. No such things
22589 any more.
22590
22591 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22592
22593 * emacs-lisp/trace.el (trace--display-buffer): New function.
22594 (trace-make-advice): Use it.
22595
22596 2013-05-06 Juri Linkov <juri@jurta.org>
22597
22598 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
22599 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
22600 Doc fix.
22601 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
22602 in the help string. (Bug#12985)
22603
22604 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
22605
22606 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
22607
22608 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22609
22610 * progmodes/perl-mode.el: Add support for here documents.
22611 (perl-syntax-propertize-function): Match here-doc markers.
22612 (perl-syntax-propertize-special-constructs): Find their end.
22613 (perl-imenu-generic-expression): Use [:alnum:].
22614
22615 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
22616 (advice--add-function): Refresh the advice if already present
22617 (bug#14317).
22618
22619 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
22620
22621 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
22622
22623 2013-05-06 Glenn Morris <rgm@gnu.org>
22624
22625 * w32-fns.el (w32-charset-info-alist): Declare.
22626
22627 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
22628 of its defcustom properties.
22629 (eshell-cmpl-initialize): No need to load pcomplete.
22630
22631 * generic-x.el: No need to require comint when compiling.
22632
22633 * net/eudc-export.el: Make it loadable without bbdb.
22634 (top-level): Use require rather than load-library.
22635 (eudc-create-bbdb-record, eudc-bbdbify-phone)
22636 (eudc-batch-export-records-to-bbdb)
22637 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
22638 Require bbdb.
22639
22640 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22641
22642 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
22643 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
22644 some tweaks, instead.
22645
22646 2013-05-05 Leo Liu <sdl.web@gmail.com>
22647
22648 * progmodes/octave.el (octave-font-lock-keywords)
22649 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
22650 (inferior-octave-send-list-and-digest): Improve error message.
22651 (octave-mode, inferior-octave-mode): Use setq-local.
22652 (octave-help): Set info-lookup-mode.
22653
22654 2013-05-05 Richard Stallman <rms@gnu.org>
22655
22656 * vc/compare-w.el (compare-windows-whitespace):
22657 Treat no-break space as whitespace.
22658
22659 * mail/rmailsum.el (rmail-summary-rmail-update):
22660 Detect empty summary and don't change selected message.
22661 (rmail-summary-goto-msg): Likewise.
22662
22663 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
22664 Doc fixes, rename args.
22665
22666 2013-05-05 Alan Mackenzie <acm@muc.de>
22667
22668 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
22669
22670 2013-05-05 Juri Linkov <juri@jurta.org>
22671
22672 * info.el (Info-read-subfile): Use (point-min) instead of (point)
22673 to not add the length of the summary segment to the return value.
22674 (Bug#14125)
22675
22676 2013-05-05 Leo Liu <sdl.web@gmail.com>
22677
22678 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
22679 (inferior-octave-output-filter): Remove.
22680 (octave-send-region, inferior-octave-startup): Fix callers.
22681 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
22682 (octave-binary-file-extensions): New user variable.
22683 (octave-find-definition): Confirm if opening binary files.
22684 (octave-help-file): Use octave-find-definition to get the binary
22685 confirmation.
22686 (octave-help): Adjust for octave-help-file change.
22687
22688 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22689
22690 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
22691 Merge the two entries that handle function definitions.
22692 (pascal--syntax-propertize): New const.
22693 (pascal-mode): Use it. Use setq-local.
22694
22695 2013-05-04 Glenn Morris <rgm@gnu.org>
22696
22697 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
22698 (diary-from-outlook): Respect diary-from-outlook-function.
22699
22700 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22701
22702 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
22703 Move the declaration from C.
22704 (read-minibuffer, eval-minibuffer): Move from C.
22705 (completion-setup-function): Avoid minibuffer-completion-contents.
22706
22707 2013-05-03 Leo Liu <sdl.web@gmail.com>
22708
22709 * progmodes/octave.el (octave-font-lock-keywords): Do not
22710 dehighlight 'end' in comments or strings.
22711 (octave-completing-read, octave-goto-function-definition):
22712 New helpers.
22713 (octave-help-buffer): New user variable.
22714 (octave-help-file, octave-help-function): New button types.
22715 (octave-help): New command and bind it to C-h ;.
22716 (octave-find-definition): New command and bind it to M-.
22717 (user-error): Alias to error if not defined.
22718
22719 2013-05-02 Leo Liu <sdl.web@gmail.com>
22720
22721 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
22722 for \. (bug#14332)
22723 (octave-font-lock-keywords): Include [ and {.
22724
22725 2013-05-02 Leo Liu <sdl.web@gmail.com>
22726
22727 * progmodes/octave.el (inferior-octave-startup-file): Change default.
22728 (inferior-octave): Remove calling comint-mode and return the buffer.
22729 (inferior-octave-startup): Cosmetic changes.
22730
22731 2013-05-02 Leo Liu <sdl.web@gmail.com>
22732
22733 * progmodes/octave.el (octave-syntax-propertize-function):
22734 Include the case when ' is at line beginning. (Bug#14336)
22735
22736 2013-05-02 Glenn Morris <rgm@gnu.org>
22737
22738 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
22739 * desktop.el (vc-dir-mode): Just autoload it here.
22740
22741 2013-05-02 Alan Mackenzie <acm@muc.de>
22742
22743 Eliminate variable c-standard-font-lock-fontify-region-function.
22744 * progmodes/cc-mode.el
22745 (c-standard-font-lock-fontify-region-function): Remove.
22746 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
22747
22748 2013-05-01 Leo Liu <sdl.web@gmail.com>
22749
22750 * progmodes/octave.el: Compatible with older emacs-24 releases.
22751 (inferior-octave-has-built-in-variables): Remove. Built-in
22752 variables were removed from Octave in 2007.
22753 (inferior-octave-startup): Fix uses.
22754 (comint-line-beginning-position): Remove compatibility code for
22755 emacs 21.
22756
22757 2013-05-01 Juri Linkov <juri@jurta.org>
22758
22759 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
22760
22761 2013-05-01 Juri Linkov <juri@jurta.org>
22762
22763 * comint.el (comint-previous-matching-input): Don't print message
22764 "History item: %d" when `isearch-mode' is active.
22765 (comint-history-isearch-message): Print message "History item: %d"
22766 when `comint-input-ring-index' is not empty and this function is
22767 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
22768
22769 2013-05-01 Leo Liu <sdl.web@gmail.com>
22770
22771 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
22772 definitions. Use completion-at-point to insert keywords.
22773 (octave-abbrev-start): Remove.
22774 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
22775
22776 2013-04-30 Leo Liu <sdl.web@gmail.com>
22777
22778 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
22779 change.
22780
22781 2013-04-30 Alan Mackenzie <acm@muc.de>
22782
22783 Handle arbitrarily long C++ member initialisation lists.
22784 * progmodes/cc-engine.el (c-back-over-member-initializers):
22785 new function.
22786 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
22787 (most) member init lists.
22788
22789 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22790
22791 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
22792 variable.
22793
22794 2013-04-30 Leo Liu <sdl.web@gmail.com>
22795
22796 * progmodes/octave.el (octave-variables): Remove. No builtin
22797 variables any more. All converted to functions.
22798 (octave-font-lock-keywords, octave-completion-at-point-function):
22799 Fix uses.
22800 (octave-font-lock-texinfo-comment): New user variable.
22801 (octave-texinfo-font-lock-keywords): New variable for texinfo
22802 comment block.
22803 (octave-function-comment-block): New face.
22804 (octave-font-lock-texinfo-comment): New function.
22805 (octave-mode): Font lock texinfo comment block.
22806
22807 2013-04-29 Leo Liu <sdl.web@gmail.com>
22808
22809 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
22810 indexing expression.
22811 (octave-continuation-string): Do not use \.
22812 (inferior-octave-complete-impossible): Remove.
22813 (inferior-octave-completion-table)
22814 (inferior-octave-completion-at-point): Remove its uses.
22815 (inferior-octave-startup): completion_matches was introduced to
22816 Octave in 1996 so safe to assume it.
22817 (octave-function-file-comment): Improve to follow how Octave does it.
22818 (octave-update-function-file-comment): Tweak.
22819
22820 2013-04-29 Leo Liu <sdl.web@gmail.com>
22821
22822 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
22823 (inferior-octave-startup): Remove inferior-octave-startup-hook.
22824 (octave-function-file-comment): Fix typo.
22825 (octave-sync-function-file-names): Use read-char-choice.
22826
22827 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
22828
22829 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
22830 to t for the less important warnings.
22831
22832 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
22833
22834 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
22835
22836 2013-04-27 Glenn Morris <rgm@gnu.org>
22837
22838 * vc/log-view.el (log-view-current-entry):
22839 Treat "---" separator lines as part of the following rev. (Bug#14169)
22840
22841 2013-04-27 Juri Linkov <juri@jurta.org>
22842
22843 * subr.el (read-number): Doc fix about using it by interactive
22844 code letter `n'. (Bug#14254)
22845
22846 2013-04-27 Juri Linkov <juri@jurta.org>
22847
22848 * desktop.el (desktop-auto-save-timeout): New option.
22849 (desktop-file-checksum): New variable.
22850 (desktop-save): Add optional arg `auto-save' and don't auto-save
22851 if nothing changed.
22852 (desktop-auto-save-timer): New variable.
22853 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
22854 (after-init-hook): Call `desktop-auto-save-set-timer'.
22855 Suggested by Reuben Thomas <rrt@sc3d.org> in
22856 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
22857
22858 2013-04-27 Leo Liu <sdl.web@gmail.com>
22859
22860 * progmodes/octave.el (octave-function-file-p)
22861 (octave-skip-comment-forward, octave-function-file-comment)
22862 (octave-update-function-file-comment): New functions.
22863 (octave-mode-map): Bind C-c ; to
22864 octave-update-function-file-comment.
22865 (octave-mode-menu): Add octave-update-function-file-comment.
22866 (octave-mode, inferior-octave-mode): Fix doc-string.
22867 (octave-insert-defun): Conform to Octave's coding convention.
22868 (Bug#14285)
22869
22870 * files.el (basic-save-buffer): Don't let errors in
22871 before-save-hook prevent saving buffer.
22872
22873 2013-04-20 Roland Winkler <winkler@gnu.org>
22874
22875 * faces.el (read-face-name): Use completing-read if arg multiple
22876 is nil.
22877
22878 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
22879
22880 * ls-lisp.el (ls-lisp-insert-directory): If no files are
22881 displayed, move point to after the totals line.
22882 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
22883 for the details.
22884
22885 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
22886
22887 * emacs-lisp/package.el (package-autoload-ensure-default-file):
22888 Add current dir to the load-path.
22889 (package-generate-autoloads): Don't rely on
22890 autoload-ensure-default-file.
22891
22892 2013-04-26 Reuben Thomas <rrt@sc3d.org>
22893
22894 * textmodes/remember.el (remember-store-in-files): Document that
22895 the file name format is passed to `format-time-string'.
22896
22897 2013-04-26 Leo Liu <sdl.web@gmail.com>
22898
22899 * progmodes/octave.el (octave-sync-function-file-names): New function.
22900 (octave-mode): Use it in before-save-hook.
22901
22902 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
22903
22904 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
22905 (bug#14274).
22906
22907 * progmodes/octave.el (octave-smie-forward-token): Properly skip
22908 \n and comment, even if it's not an implicit ; (bug#14218).
22909
22910 2013-04-26 Glenn Morris <rgm@gnu.org>
22911
22912 * subr.el (read-number): Once more use `read' rather than
22913 `string-to-number', to trap non-numeric input. (Bug#14254)
22914
22915 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
22916
22917 * emacs-lisp/syntax.el (syntax-propertize-multiline):
22918 Use `syntax-multiline' text property consistently instead of
22919 `font-lock-multiline'. (Bug#14237)
22920
22921 2013-04-26 Glenn Morris <rgm@gnu.org>
22922
22923 * emacs-lisp/shadow.el (list-load-path-shadows):
22924 No longer necessary to check for duplicate simple.el, since
22925 2012-07-07 change to init_lread to not include installation lisp
22926 directories in load-path when running uninstalled. (Bug#14270)
22927
22928 2013-04-26 Leo Liu <sdl.web@gmail.com>
22929
22930 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
22931 (octave-mode, inferior-octave-mode): Use setq-local.
22932 (octave-not-in-string-or-comment-p): Rename to
22933 octave-in-string-or-comment-p.
22934 (octave-in-comment-p, octave-in-string-p)
22935 (octave-in-string-or-comment-p): Replace defsubst with defun.
22936
22937 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
22938
22939 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
22940
22941 2013-04-25 Bastien Guerry <bzg@gnu.org>
22942
22943 * textmodes/remember.el (remember-data-directory)
22944 (remember-directory-file-name-format): Fix custom types.
22945
22946 2013-04-25 Leo Liu <sdl.web@gmail.com>
22947
22948 * progmodes/octave.el (octave-completion-at-point-function):
22949 Make use of inferior octave process.
22950 (octave-initialize-completions): Remove.
22951 (inferior-octave-completion-table): New function.
22952 (inferior-octave-completion-at-point): Use it.
22953 (octave-completion-alist): Remove.
22954
22955 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22956
22957 * progmodes/opascal.el: Use font-lock and syntax-propertize.
22958 (opascal-mode-syntax-table): New var.
22959 (opascal-literal-kind, opascal-is-literal-end)
22960 (opascal-literal-token-at): Rewrite.
22961 (opascal--literal-start-re, opascal-font-lock-keywords)
22962 (opascal--syntax-propertize): New constants.
22963 (opascal-font-lock-defaults): Adjust.
22964 (opascal-mode): Use them. Set comment-<foo> variables as well.
22965 (delphi-comment-face, opascal-comment-face, delphi-string-face)
22966 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
22967 (delphi-other-face, opascal-other-face): Remove face variables.
22968 (opascal-save-state): Remove macro.
22969 (opascal-fontifying-progress-step): Remove constant.
22970 (opascal--ignore-changes): Remove var.
22971 (opascal-set-token-property, opascal-parse-next-literal)
22972 (opascal-is-stable-literal, opascal-complete-literal)
22973 (opascal-is-literal-start, opascal-face-of)
22974 (opascal-parse-region, opascal-parse-region-until-stable)
22975 (opascal-fontify-region, opascal-after-change)
22976 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
22977 (opascal-debug-parse-region, opascal-debug-parse-window)
22978 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
22979 (opascal-debug-fontify-buffer): Remove.
22980 (opascal-debug-mode-map): Adjust accordingly.
22981
22982 2013-04-25 Leo Liu <sdl.web@gmail.com>
22983
22984 Merge octave-mod.el and octave-inf.el into octave.el with some
22985 cleanups.
22986 * progmodes/octave.el: New file renamed from octave-mod.el.
22987 * progmodes/octave-inf.el: Merged into octave.el.
22988 * progmodes/octave-mod.el: Renamed to octave.el.
22989
22990 2013-04-25 Tassilo Horn <tsdh@gnu.org>
22991
22992 * textmodes/reftex-vars.el
22993 (reftex-label-ignored-macros-and-environments): New defcustom.
22994
22995 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
22996
22997 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22998
22999 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
23000 (smie-indent-keyword): Improve the check to ensure that the next
23001 comment is really on the same line.
23002 (smie-indent-comment): Don't align with a subsequent closer (or eob).
23003
23004 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
23005 semi-colons if the line is not otherwise empty (bug#14218).
23006
23007 2013-04-25 Glenn Morris <rgm@gnu.org>
23008
23009 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
23010
23011 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
23012
23013 * progmodes/opascal.el (opascal-set-token-property): Rename from
23014 opascal-set-text-properties and only set `token' (bug#14134).
23015 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
23016 (opascal-literal-text-properties): Remove.
23017 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
23018 Adjust callers.
23019
23020 2013-04-24 Reuben Thomas <rrt@sc3d.org>
23021
23022 * textmodes/remember.el (remember-handler-functions): Add an
23023 option for a new handler `remember-store-in-files'.
23024 (remember-data-directory, remember-directory-file-name-format):
23025 New options.
23026 (remember-store-in-files): New function to store remember notes
23027 as separate files within a directory.
23028
23029 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
23030
23031 * progmodes/compile.el (compilation-next-error-function):
23032 Pass "formats" to compilation-find-file (bug#11777).
23033
23034 2013-04-24 Glenn Morris <rgm@gnu.org>
23035
23036 * vc/vc-bzr.el (vc-bzr-print-log):
23037 * vc/vc-hg.el (vc-hg-print-log):
23038 * vc/vc-svn.el (vc-svn-print-log):
23039 Fix START-REVISION with LIMIT != 1. (Bug#14168)
23040
23041 * vc/vc-bzr.el (vc-bzr-print-log):
23042 * vc/vc-cvs.el (vc-cvs-print-log):
23043 * vc/vc-git.el (vc-git-print-log):
23044 * vc/vc-hg.el (vc-hg-print-log):
23045 * vc/vc-mtn.el (vc-mtn-print-log):
23046 * vc/vc-rcs.el (vc-rcs-print-log):
23047 * vc/vc-sccs.el (vc-sccs-print-log):
23048 * vc/vc-svn.el (vc-svn-print-log):
23049 * vc/vc.el (vc-print-log-internal): Doc fixes.
23050
23051 2013-04-23 Glenn Morris <rgm@gnu.org>
23052
23053 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
23054 Remove venerable code attempting to avoid substitute-command-keys.
23055
23056 2013-04-23 Tassilo Horn <tsdh@gnu.org>
23057
23058 * textmodes/reftex-vars.el (reftex-label-regexps):
23059 Call `reftex-compile-variables' after changes to this variable.
23060
23061 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
23062
23063 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
23064 Use lexical-binding.
23065 (jit-lock-force-redisplay): Use markers, check buffer's continued
23066 existence and beware narrowed buffers.
23067 (jit-lock-fontify-now): Adjust call accordingly.
23068
23069 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
23070
23071 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
23072 to avoid misleading the user.
23073
23074 2013-04-22 Leo Liu <sdl.web@gmail.com>
23075
23076 * info-look.el: Prefer latex2e.info. (Bug#14240)
23077
23078 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
23079
23080 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
23081
23082 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
23083 * net/tramp.el (tramp-call-process): ... here.
23084 (tramp-set-completion-function, tramp-parse-putty):
23085 * net/tramp-adb.el (tramp-adb-execute-adb-command):
23086 * net/tramp-gvfs.el (tramp-gvfs-send-command):
23087 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
23088 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
23089 (tramp-call-local-coding-command): Use `tramp-call-process'
23090 instead of `tramp-compat-call-process'.
23091
23092 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
23093 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
23094 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
23095 (tramp-find-inline-compress): Improve traces.
23096 (tramp-maybe-send-script): Check for Perl binary.
23097 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
23098
23099 2013-04-22 Daiki Ueno <ueno@gnu.org>
23100
23101 * epg.el (epg-context-pinentry-mode): New function.
23102 (epg-context-set-pinentry-mode): New function.
23103 (epg--start): Pass --pinentry-mode option to gpg command.
23104
23105 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
23106
23107 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
23108 `comint-dynamic-complete' is obsolete since 24.1, replaced by
23109 `completion-at-point'. (Bug#13774)
23110
23111 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
23112 default key binding for `describe-distribution' has been moved to
23113 `C-h C-o'. (Bug#13970)
23114
23115 2013-04-21 Glenn Morris <rgm@gnu.org>
23116
23117 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
23118 Add doc strings.
23119 (vc-print-log): Clarify interactive prompt.
23120
23121 2013-04-20 Glenn Morris <rgm@gnu.org>
23122
23123 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23124 No longer include timestamp etc information.
23125
23126 2013-04-20 Roland Winkler <winkler@gnu.org>
23127
23128 * faces.el (read-face-name): Bug fix, return just one face if arg
23129 multiple is nil. (Bug#14209)
23130
23131 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23132
23133 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23134 (remove-function): Autoload.
23135
23136 * comint.el (comint-redirect-original-filter-function): Remove.
23137 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23138 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23139 (vc-cvs-annotate-command):
23140 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23141 * progmodes/prolog.el (prolog-consult-compile):
23142 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23143 Use add/remove-function instead.
23144 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23145 (gud-tooltip-process-output, gud-tooltip-tips):
23146 Use add/remove-function instead.
23147 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23148 (scheme-interaction-mode, exit-scheme-interaction-mode):
23149 Use add/remove-function instead.
23150
23151 * vc/vc-dispatcher.el: Use lexical-binding.
23152 (vc--process-sentinel): Rename from vc-process-sentinel.
23153 Change last arg to be the code to run. Don't use vc-previous-sentinel
23154 and vc-sentinel-commands any more.
23155 (vc-exec-after): Allow code to be a function. Use add/remove-function.
23156 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23157
23158 2013-04-19 Masatake YAMATO <yamato@redhat.com>
23159
23160 * progmodes/sh-script.el (sh-imenu-generic-expression):
23161 Handle function names with a single character. (Bug#14111)
23162
23163 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
23164
23165 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23166 for subroutines defined in an eval (bug#14182).
23167
23168 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23169
23170 * bookmark.el (bookmark-completing-read): Improve handling of empty
23171 string (bug#14176).
23172
23173 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23174
23175 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23176
23177 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
23178
23179 New faster Imenu implementation (bug#14058).
23180 * progmodes/python.el (python-imenu-prev-index-position)
23181 (python-imenu-format-item-label-function)
23182 (python-imenu-format-parent-item-label-function)
23183 (python-imenu-format-parent-item-jump-label-function):
23184 New vars.
23185 (python-imenu-format-item-label)
23186 (python-imenu-format-parent-item-label)
23187 (python-imenu-format-parent-item-jump-label)
23188 (python-imenu--put-parent, python-imenu--build-tree)
23189 (python-imenu-create-index, python-imenu-create-flat-index)
23190 (python-util-popn): New functions.
23191 (python-mode): Set imenu-create-index-function to
23192 python-imenu-create-index.
23193
23194 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23195
23196 * winner.el (winner-active-region): Use region-active-p, activate-mark
23197 and deactivate-mark (bug#14225).
23198
23199 * simple.el (deactivate-mark): Don't inline it.
23200
23201 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
23202
23203 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23204
23205 2013-04-18 Tassilo Horn <tsdh@gnu.org>
23206
23207 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23208 file extensions from the archive-mode entry in order to prefer
23209 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23210
23211 2013-04-18 Leo Liu <sdl.web@gmail.com>
23212
23213 * bindings.el (help-event-list): Add ?\?.
23214
23215 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23216
23217 * subr.el (with-wrapper-hook): Declare obsolete.
23218 * simple.el (filter-buffer-substring-function): New hook.
23219 (filter-buffer-substring): Use it.
23220 (filter-buffer-substring-functions): Mark obsolete.
23221 * minibuffer.el (completion-in-region-function): New hook.
23222 (completion-in-region): Use it.
23223 (completion-in-region-functions): Mark obsolete.
23224 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23225 * abbrev.el (abbrev-expand-function): New hook.
23226 (expand-abbrev): Use it.
23227 (abbrev-expand-functions): Mark obsolete.
23228 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23229 and :filter-return.
23230
23231 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23232
23233 * progmodes/python.el (python-nav--syntactically): Fix cornercases
23234 and do not care about match data.
23235
23236 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23237
23238 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23239 completion tables when completing error conditions and
23240 `declare' arguments.
23241 (lisp-complete-symbol, field-complete): Mark as obsolete.
23242 (check-parens): Unmatched parens are user errors.
23243 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23244
23245 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
23246
23247 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23248 command changed buffer (ie. `flyspell-pre-buffer' is not current
23249 buffer), which prevents making decisions based on invalid value of
23250 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
23251 cause an error when `flyspell-pre-point' was nil after switching
23252 buffers.
23253 (flyspell-post-command-hook): No longer needs to change buffers when
23254 checking pre-word. While at it remove unnecessary progn.
23255
23256 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
23257
23258 * textmodes/ispell.el (ispell-add-per-file-word-list):
23259 Fix `flyspell-correct-word-before-point' error when accepting
23260 words and `coment-padding' is an integer by using
23261 `comment-normalize-vars' (Bug #14214).
23262
23263 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23264
23265 New defun movement commands.
23266 * progmodes/python.el (python-nav--syntactically)
23267 (python-nav--forward-defun, python-nav-backward-defun)
23268 (python-nav-forward-defun): New functions.
23269
23270 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23271
23272 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23273 (python-syntax-context): Use named compiler-macro for backwards
23274 compatibility with Emacs 24.x.
23275
23276 2013-04-17 Leo Liu <sdl.web@gmail.com>
23277
23278 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23279 octave-hide-process-buffer.
23280
23281 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23282
23283 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23284 (bug#14216).
23285
23286 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
23287
23288 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23289 Fix adjustment of offset when receiving incomplete responses from GDB
23290 (bug#14129).
23291
23292 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23293
23294 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23295 python-mode-abbrev-table.
23296 (python-skeleton-define): Adjust accordingly.
23297 (python-mode-abbrev-table): New table that inherits from it so that
23298 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23299
23300 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23301 (abbrev-symbol): Use it.
23302 (abbrev--before-point): Use it since we already handle inheritance.
23303
23304 2013-04-16 Leo Liu <sdl.web@gmail.com>
23305
23306 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23307 binding to info-lookup-symbol.
23308
23309 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
23310
23311 * minibuffer.el (completion--twq-all):
23312 * term/ns-win.el (ns-initialize-window-system):
23313 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23314
23315 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23316
23317 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23318 global bindings.
23319
23320 * doc-view.el (doc-view-start-process): Handle url-handler directories.
23321
23322 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
23323
23324 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23325 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23326 to nil.
23327 (ruby-end-of-defun): Remove the unused arg, change the docstring
23328 to reflect that this function is only used as the value of
23329 `end-of-defun-function'.
23330 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23331 to reflect an earlier change that beginning/end-of-defun functions
23332 jump between methods in a class definition, as well as top-level
23333 functions.
23334
23335 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23336
23337 * minibuffer.el (minibuffer-complete): Don't just scroll
23338 a *Completions* that's been iconified.
23339 (minibuffer-force-complete): Make sure repetitions do cycle when going
23340 through completion-in-region -> minibuffer-complete.
23341
23342 2013-04-15 Alan Mackenzie <acm@muc.de>
23343
23344 Correct the placement of c-cpp-delimiters when there're #s not at
23345 col 0.
23346
23347 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23348 place a submatch around the #.
23349 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23350 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
23351 on the #, not BOL.
23352
23353 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23354
23355 * emacs-lisp/nadvice.el: Properly test names when adding advice.
23356 (advice--member-p): New arg `name'.
23357 (advice--add-function, advice-member-p): Use it (bug#14202).
23358
23359 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
23360
23361 Reformulate java imenu-generic-expression.
23362 The old expression contained ill formed regexps.
23363
23364 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23365 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23366 (cc-imenu-java-method-arg-regexp): New defconsts.
23367 (cc-imenu-java-build-type-args-regex): New defun.
23368 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23369 handling of spaces in the regexp.
23370
23371 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23372
23373 * textmodes/ispell.el (ispell-command-loop): Remove
23374 flyspell highlight of a word when ispell accepts it (bug #14178).
23375
23376 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
23377
23378 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23379 uses code from the previous `ange-ftp-run-real-handler'.
23380 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23381 only in case that function exist. This is needed for proper
23382 unloading of Tramp.
23383
23384 2013-04-15 Tassilo Horn <tsdh@gnu.org>
23385
23386 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23387
23388 * textmodes/reftex.el (reftex-compile-variables): Use it.
23389
23390 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23391
23392 * files.el (normal-mode): Only use default major-mode if no other mode
23393 was specified.
23394
23395 * emacs-lisp/trace.el (trace-values): New function.
23396
23397 * files.el: Allow : in local variables (bug#14089).
23398 (hack-local-variable-regexp): New var.
23399 (hack-local-variables-prop-line, hack-local-variables): Use it.
23400
23401 2013-04-13 Roland Winkler <winkler@gnu.org>
23402
23403 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
23404 data before it gets modified by bibtex-beginning-of-entry.
23405
23406 2013-04-13 Roland Winkler <winkler@gnu.org>
23407
23408 * textmodes/bibtex.el (bibtex-url): Doc fix.
23409
23410 2013-04-13 Roland Winkler <winkler@gnu.org>
23411
23412 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
23413 does not visit a BibTeX file, exclude it from the list of buffers
23414 returned by bibtex-initialize.
23415
23416 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
23417
23418 * window.el (split-window): Remove interactive form, since as a
23419 command this function is a special case of split-window-below.
23420 Correct doc string.
23421
23422 2013-04-12 Roland Winkler <winkler@gnu.org>
23423
23424 * faces.el (read-face-name): Do not override value of arg default.
23425 Allow single faces and strings as default values. Remove those
23426 elements from return value that are not faces.
23427 (describe-face): Simplify.
23428 (face-at-point): New optional args thing and multiple so that this
23429 function can provide the same functionality previously provided by
23430 read-face-name.
23431 (make-face-bold, make-face-unbold, make-face-italic)
23432 (make-face-unitalic, make-face-bold-italic, invert-face)
23433 (modify-face, read-face-and-attribute): Use face-at-point.
23434
23435 * cus-edit.el (customize-face, customize-face-other-window)
23436 * cus-theme.el (custom-theme-add-face)
23437 * face-remap.el (buffer-face-set)
23438 * facemenu.el (facemenu-set-face): Use face-at-point.
23439
23440 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
23441
23442 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
23443
23444 2013-04-10 Tassilo Horn <tsdh@gnu.org>
23445
23446 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
23447 off leading { and trailing } from field values.
23448
23449 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
23450
23451 * emacs-lisp/timer.el (timer--check): New function.
23452 (timer--time, timer-set-function, timer-event-handler): Use it.
23453 (timer-set-idle-time): Simplify.
23454 (timer--activate): CSE.
23455 (timer-event-handler): Give more info in error message.
23456 (internal-timer-start-idle): New function, moved from C.
23457
23458 * mpc.el (mpc-proc): Add `restart' argument.
23459 (mpc-proc-cmd): Use it.
23460 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
23461 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
23462 less often.
23463
23464 2013-04-10 Masatake YAMATO <yamato@redhat.com>
23465
23466 * progmodes/sh-script.el: Implement `sh-mode' own
23467 `add-log-current-defun-function' (bug#14112).
23468 (sh-current-defun-name): New function.
23469 (sh-mode): Use the function.
23470
23471 2013-04-09 Bastien Guerry <bzg@gnu.org>
23472
23473 * simple.el (choose-completion-string): Fix docstring (bug#14163).
23474
23475 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
23476
23477 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
23478
23479 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
23480 timer (bug#14156).
23481
23482 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
23483
23484 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
23485 declaration.
23486
23487 2013-04-07 Leo Liu <sdl.web@gmail.com>
23488
23489 * pcmpl-x.el: New file.
23490
23491 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
23492
23493 Do not set x-display-name until X connection is established.
23494 This is needed to prevent from weird situation described at
23495 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
23496 * frame.el (make-frame): Set x-display-name after call to
23497 window system initialization function, not before.
23498 * term/x-win.el (x-initialize-window-system): Add optional
23499 display argument and use it.
23500 * term/w32-win.el (w32-initialize-window-system):
23501 * term/ns-win.el (ns-initialize-window-system):
23502 * term/pc-win.el (msdos-initialize-window-system):
23503 Add compatible optional display argument.
23504
23505 2013-04-06 Eli Zaretskii <eliz@gnu.org>
23506
23507 * files.el (normal-backup-enable-predicate): On MS-Windows and
23508 MS-DOS compare truenames of temporary-file-directory and of the
23509 file, so that 8+3 aliases (usually found in $TEMP on Windows)
23510 don't fail comparison by compare-strings. Also, compare file
23511 names case-insensitively on MS-Windows and MS-DOS.
23512
23513 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23514
23515 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
23516 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
23517
23518 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
23519
23520 * whitespace.el (whitespace-color-on, whitespace-color-off):
23521 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
23522
23523 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
23524
23525 * ispell.el (ispell-set-spellchecker-params):
23526 Really set `ispell-args' for all equivs.
23527
23528 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23529
23530 * ido.el (ido-completions): Use extra elements of ido-decorations
23531 (bug#14143).
23532 (ido-decorations): Update docstring.
23533
23534 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
23535
23536 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
23537 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
23538 nil during initialization, in order not to miss changes since the
23539 file was opened. (Bug#14140)
23540
23541 2013-04-05 Leo Liu <sdl.web@gmail.com>
23542
23543 * kmacro.el (kmacro-call-macro): Fix bug#14135.
23544
23545 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
23546
23547 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
23548
23549 2013-04-04 Glenn Morris <rgm@gnu.org>
23550
23551 * electric.el (electric-pair-inhibit-predicate): Add :version.
23552
23553 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
23554
23555 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
23556 when a package is required several times (bug#14082).
23557
23558 2013-04-04 Roland Winkler <winkler@gnu.org>
23559
23560 * faces.el (read-face-name): Behave as promised by the docstring.
23561 Assume that arg default is a list of faces.
23562 (describe-face): Call read-face-name with list of default faces.
23563
23564 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23565
23566 * bookmark.el: Fix deletion of bookmarks (bug#13972).
23567 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
23568 (bookmark-bmenu-execute-deletions): Only skip first line if it's
23569 the header.
23570 (bookmark-exit-hook-internal): Save even if list is empty.
23571
23572 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
23573
23574 * emacs-lisp/package.el (package-pinned-packages): New var.
23575 (package--add-to-archive-contents): Obey it (bug#14118).
23576
23577 2013-04-03 Alan Mackenzie <acm@muc.de>
23578
23579 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
23580 Also adapt to the new values of element 7 of a parse state.
23581
23582 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
23583 parameter `not-in-delimiter'. Handle being inside comment opener.
23584 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
23585 character in case we're typing a '*' after a '/'.
23586 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
23587 instead by passing the parameter to c-state-pp-to-literal.
23588
23589 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
23590 for elt. 7 of a parse state.
23591
23592 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
23593
23594 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
23595 * international/latin1-disp.el, international/mule-util.el:
23596 * language/cyril-util.el, language/european.el, language/ind-util.el:
23597 * language/lao-util.el, language/thai.el, language/tibet-util.el:
23598 * language/tibetan.el, language/viet-util.el:
23599 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
23600
23601 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23602
23603 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
23604 (electric-pair-post-self-insert-function): Use it.
23605 (electric-pair-default-inhibit): New function, extracted from
23606 electric-pair-post-self-insert-function.
23607
23608 2013-03-31 Roland Winkler <winkler@gnu.org>
23609
23610 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
23611
23612 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23613
23614 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
23615
23616 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
23617
23618 Un-indent after "pass" and "return" statements (Bug#13888)
23619 * progmodes/python.el (python-indent-block-enders): New var.
23620 (python-indent-calculate-indentation): Use it.
23621
23622 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
23623
23624 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
23625 defun. Defining it as defalias could introduce too eager
23626 byte-compiler optimization. (Bug#14030)
23627
23628 2013-03-30 Chong Yidong <cyd@gnu.org>
23629
23630 * iswitchb.el (iswitchb-read-buffer): Fix typo.
23631
23632 2013-03-30 Leo Liu <sdl.web@gmail.com>
23633
23634 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
23635 (kmacro-execute-from-register): Pass the keyboard macro to
23636 kmacro-call-macro or repeating won't work correctly.
23637
23638 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
23639
23640 * progmodes/subword.el: Back to using `forward-symbol'.
23641
23642 * subr.el (forward-whitespace, forward-symbol)
23643 (forward-same-syntax): Move from thingatpt.el.
23644
23645 2013-03-29 Leo Liu <sdl.web@gmail.com>
23646
23647 * kmacro.el (kmacro-to-register): New command.
23648 (kmacro-execute-from-register): New function.
23649 (kmacro-keymap): Bind to 'x'. (Bug#14071)
23650
23651 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
23652
23653 * mpc.el: Use defvar-local and setq-local.
23654 (mpc--proc-connect): Connection failures are not bugs.
23655 (mpc-mode-map): `follow-link' only applies to the buffer's content.
23656 (mpc-volume-map): Bind to the up-events.
23657
23658 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
23659
23660 * progmodes/subword.el (superword-mode): Use `forward-sexp'
23661 instead of `forward-symbol'.
23662
23663 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
23664
23665 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
23666 (edebug--recursive-edit): Use it.
23667 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
23668 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
23669
23670 2013-03-28 Leo Liu <sdl.web@gmail.com>
23671
23672 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
23673
23674 2013-03-27 Eli Zaretskii <eliz@gnu.org>
23675
23676 * facemenu.el (list-colors-callback): New defvar.
23677 (list-colors-redisplay): New function.
23678 (list-colors-display): Install list-colors-redisplay as the
23679 revert-buffer-function. (Bug#14063)
23680
23681 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
23682
23683 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
23684 and suffixes don't overlap (bug#14061).
23685
23686 * case-table.el: Use lexical-binding.
23687 (case-table-get-table): New function.
23688 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
23689
23690 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
23691
23692 * progmodes/subword.el: Add `superword-mode' to do word motion
23693 over symbol_words (parallels and leverages `subword-mode' which
23694 does word motion inside MixedCaseWords).
23695
23696 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
23697
23698 * eshell/em-unix.el: Move su and sudo to...
23699 * eshell/em-tramp.el: ...Eshell tramp module.
23700
23701 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23702
23703 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
23704 Change return value to be a sexp. Delay `get-buffer' to after
23705 restoring the desktop (bug#13951).
23706
23707 2013-03-26 Leo Liu <sdl.web@gmail.com>
23708
23709 * register.el: Move semantic tag handling back to
23710 cedet/semantic/senator.el. (Bug#14052)
23711
23712 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23713
23714 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
23715 into the prompt either (bug#13963).
23716
23717 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
23718
23719 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
23720 part of "(error-foo)".
23721
23722 2013-03-24 Juri Linkov <juri@jurta.org>
23723
23724 * replace.el (list-matching-lines-prefix-face): New defcustom.
23725 (occur-1): Pass `list-matching-lines-prefix-face' to the function
23726 `occur-engine' if `face-differs-from-default-p' returns t.
23727 (occur-engine): Add `,' inside backquote construct to evaluate
23728 `prefix-face'. Propertize the prefix with the `prefix-face' face.
23729 Pass `prefix-face' to the functions `occur-context-lines' and
23730 `occur-engine-add-prefix'.
23731 (occur-engine-add-prefix, occur-context-lines): Add optional arg
23732 `prefix-face' and propertize the prefix with `prefix-face'.
23733 (Bug#14017)
23734
23735 2013-03-24 Leo Liu <sdl.web@gmail.com>
23736
23737 * nxml/rng-valid.el (rng-validate-while-idle)
23738 (rng-validate-quick-while-idle): Guard against deleted buffer.
23739 (Bug#13999)
23740
23741 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
23742 is the last entry in kill-buffer-hook.
23743
23744 * files.el (kill-buffer-hook): Doc fix.
23745
23746 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
23747
23748 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
23749 Make it safe-local.
23750
23751 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
23752
23753 2013-03-23 Leo Liu <sdl.web@gmail.com>
23754
23755 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
23756 Remove.
23757
23758 * nxml/rng-valid.el (rng-validate-mode)
23759 (rng-after-change-function, rng-do-some-validation):
23760 * nxml/rng-maint.el (rng-validate-buffer):
23761 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
23762 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
23763 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
23764 (nxml-extend-after-change-region): Use with-silent-modifications.
23765
23766 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
23767 timer-idle-list.
23768
23769 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
23770 (rng-next-error-1, rng-previous-error-1): Do not let-bind
23771 timer-idle-list. (Bug#13999)
23772
23773 2013-03-23 Juri Linkov <juri@jurta.org>
23774
23775 * info.el (info-index-match): New face.
23776 (Info-index, Info-apropos-matches): Add a nested subgroup to the
23777 main pattern and add text properties with the new face to matches
23778 in index entries relative to the beginning of the index entry.
23779 (Bug#14015)
23780
23781 2013-03-21 Eric Ludlam <zappo@gnu.org>
23782
23783 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
23784 Inhibit read only while inserting objects.
23785
23786 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
23787
23788 * progmodes/cfengine.el: Update docs to mention
23789 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
23790 symbol motion. Remove "_" from the word syntax.
23791
23792 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
23793
23794 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
23795 syntax for both `cfengine2-mode' and `cfengine3-mode'.
23796
23797 2013-03-20 Juri Linkov <juri@jurta.org>
23798
23799 * info.el (Info-next-reference-or-link)
23800 (Info-prev-reference-or-link): New functions.
23801 (Info-next-reference, Info-prev-reference): Use them.
23802 (Info-try-follow-nearest-node): Handle footnote navigation.
23803 (Info-fontify-node): Fontify footnotes. (Bug#13989)
23804
23805 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
23806
23807 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
23808 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
23809
23810 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
23811
23812 Suppress unnecessary non-ASCII chatter during build process.
23813 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23814 (batch-skkdic-convert): Suppress most of the chatter.
23815 It's not needed so much now that machines are faster,
23816 and its non-ASCII component was confusing; see Dmitry Gutov in
23817 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
23818
23819 2013-03-20 Leo Liu <sdl.web@gmail.com>
23820
23821 * ido.el (ido-chop): Fix bug#10994.
23822
23823 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23824
23825 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
23826 Remove vars.
23827 (whitespace-color-on, whitespace-color-off):
23828 Use `font-lock-fontify-buffer' (Bug#13817).
23829
23830 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
23831
23832 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
23833 remapping in mode-line.
23834 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
23835
23836 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23837
23838 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
23839 value for `whitespace-line' face (Bug#13875).
23840 (whitespace-font-lock-keywords): Change description.
23841 (whitespace-color-on): Don't save `font-lock-keywords' value, save
23842 the constructed keywords instead.
23843 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
23844
23845 2013-03-19 Leo Liu <sdl.web@gmail.com>
23846
23847 * progmodes/compile.el (compilation-display-error): New command.
23848 (compilation-mode-map, compilation-minor-mode-map): Bind it to
23849 C-o. (Bug#13992)
23850
23851 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23852
23853 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
23854
23855 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
23856
23857 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
23858
23859 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
23860
23861 * net/tramp-compat.el (tramp-compat-user-error): New defun.
23862
23863 * net/tramp-adb.el (tramp-adb-handle-shell-command):
23864 * net/tramp-gvfs.el (top):
23865 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
23866 (tramp-handle-shell-command): Use it.
23867 (tramp-dissect-file-name): Raise an error when hostname is a
23868 method name, and neither method nor user is specified.
23869
23870 * net/trampver.el: Update release number.
23871
23872 2013-03-18 Leo Liu <sdl.web@gmail.com>
23873
23874 Make sure eldoc can be turned off properly.
23875 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
23876 eldoc-mode.
23877 (eldoc-display-message-p): Revert last change.
23878 (eldoc-display-message-no-interference-p)
23879 (eldoc-print-current-symbol-info): Tweak.
23880
23881 2013-03-18 Tassilo Horn <tsdh@gnu.org>
23882
23883 * doc-view.el (doc-view-new-window-function): Check the new window
23884 overlay's display property instead the char property of the
23885 buffer's first char. Use `with-selected-window' instead of
23886 `save-window-excursion' with `select-window'.
23887 (doc-view-document->bitmap): Check the current doc-view overlay's
23888 display property instead the char property of the buffer's first char.
23889
23890 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23891
23892 Automate the build of ja-dic.el (Bug#13984).
23893 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
23894 from the input, rather than assume that it's been done for us by the
23895 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
23896 the current date into a ja-dic.el comment, as that complicates
23897 regression testing.
23898
23899 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23900
23901 * whitespace.el: Fix double evaluation.
23902 (whitespace-space, whitespace-hspace, whitespace-tab)
23903 (whitespace-newline, whitespace-trailing, whitespace-line)
23904 (whitespace-space-before-tab, whitespace-indentation)
23905 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
23906 obsolete defvars.
23907 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
23908 (whitespace-color-on): Use a single font-lock-add-keywords call.
23909 Fix double-evaluation of face variables.
23910
23911 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
23912
23913 * net/tramp-adb.el (tramp-adb-parse-device-names):
23914 Use `start-process' instead of `call-process'. Otherwise, the
23915 function might be blocked under MS Windows. (Bug#13299)
23916
23917 2013-03-17 Leo Liu <sdl.web@gmail.com>
23918
23919 Extend eldoc to display info in the mode-line. (Bug#13978)
23920 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
23921 (eldoc-mode-line-string): New variable.
23922 (eldoc-minibuffer-message): New function.
23923 (eldoc-message-function): New variable.
23924 (eldoc-message): Use it.
23925 (eldoc-display-message-p)
23926 (eldoc-display-message-no-interference-p):
23927 Support eldoc-post-insert-mode.
23928
23929 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
23930 (eval-expression): Run it.
23931
23932 2013-03-17 Roland Winkler <winkler@gnu.org>
23933
23934 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
23935 strings in the list of return values.
23936
23937 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23938
23939 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
23940 radix before checking for HMS forms.
23941
23942 2013-03-16 Leo Liu <sdl.web@gmail.com>
23943
23944 * progmodes/scheme.el: Add indentation and font-locking for λ.
23945 (Bug#13975)
23946
23947 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
23948
23949 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
23950 token before point (bug#13942).
23951
23952 2013-03-16 Leo Liu <sdl.web@gmail.com>
23953
23954 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
23955
23956 2013-03-16 Eli Zaretskii <eliz@gnu.org>
23957
23958 * startup.el (command-line-normalize-file-name): Fix handling of
23959 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
23960 <xfq.free@gmail.com> in
23961 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
23962
23963 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
23964
23965 Sync with Tramp 2.2.7.
23966
23967 * net/trampver.el: Update release number.
23968
23969 2013-03-14 Tassilo Horn <tsdh@gnu.org>
23970
23971 * doc-view.el: Fix bug#13887.
23972 (doc-view-insert-image): Don't modify overlay associated to
23973 non-live windows, and implement horizontal centering of image in
23974 case it's smaller than the window.
23975 (doc-view-new-window-function): Force redisplay of new windows on
23976 doc-view buffers.
23977
23978 2013-03-13 Karl Fogel <kfogel@red-bean.com>
23979
23980 * saveplace.el (save-place-alist-to-file): Don't sort
23981 `save-place-alist', just pretty-print it (bug#13882).
23982
23983 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
23984
23985 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
23986 Check whether `default-file-name-coding-system' is bound.
23987 It isn't in XEmacs.
23988
23989 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
23990
23991 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
23992 backquotes for `obsolete' (bug#13929).
23993
23994 * international/mule.el (find-auto-coding): Include file name in
23995 obsolescence warning (bug#13922).
23996
23997 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
23998
23999 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
24000 for CFEngine 3-specific indentation.
24001 (cfengine3-indent-line): Use it. Fix up category regex.
24002 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
24003
24004 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24005
24006 * type-break.el (type-break-file-name):
24007 * textmodes/remember.el (remember-data-file):
24008 * strokes.el (strokes-file):
24009 * shadowfile.el (shadow-initialize):
24010 * saveplace.el (save-place-file):
24011 * ps-bdf.el (bdf-cache-file):
24012 * progmodes/idlwave.el (idlwave-config-directory):
24013 * net/quickurl.el (quickurl-url-file):
24014 * international/kkc.el (kkc-init-file-name):
24015 * ido.el (ido-save-directory-list-file):
24016 * emulation/viper.el (viper-custom-file-name):
24017 * emulation/vip.el (vip-startup-file):
24018 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
24019 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
24020
24021 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
24022
24023 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
24024 * language/thai-word.el: Switch to UTF-8.
24025
24026 See ChangeLog.16 for earlier changes.
24027
24028 ;; Local Variables:
24029 ;; coding: utf-8
24030 ;; End:
24031
24032 Copyright (C) 2011-2015 Free Software Foundation, Inc.
24033
24034 This file is part of GNU Emacs.
24035
24036 GNU Emacs is free software: you can redistribute it and/or modify
24037 it under the terms of the GNU General Public License as published by
24038 the Free Software Foundation, either version 3 of the License, or
24039 (at your option) any later version.
24040
24041 GNU Emacs is distributed in the hope that it will be useful,
24042 but WITHOUT ANY WARRANTY; without even the implied warranty of
24043 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24044 GNU General Public License for more details.
24045
24046 You should have received a copy of the GNU General Public License
24047 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.