]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from origin/emacs-24
[gnu-emacs] / lisp / ChangeLog
1 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Fix dired quoting bug with "Hit`N`Hide"
4 Fixes Bug#19498.
5 * files.el (shell-quote-wildcard-pattern): Also quote "`".
6
7 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
8
9 * emacs-lisp/cl.el (cl--function-convert):
10 Merge cache that cl--labels-convert adds (bug#19699).
11
12 2015-01-27 Ivan Shmakov <ivan@siamics.net>
13
14 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
15 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
16 (tar-header-serialize): New functions.
17 (tar-current-position): Split from tar-current-descriptor.
18 (tar-current-descriptor): Use it.
19 (tar-new-entry): New command.
20 (tar-mode-map): Bind it.
21
22 2015-01-27 Sam Steingold <sds@gnu.org>
23
24 * progmodes/python.el (python-check-custom-command): Buffer local
25 because it usually includes the buffer name.
26 (python-check-command): Set to epylint when pyflakes is not available.
27
28 2015-01-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
29
30 * net/eudcb-bbdb.el, net/eudcb-ldap.el, net/eudcb-mab.el,
31 net/eudc-bob.el, net/eudcb-ph.el, net/eudc.el, net/eudc-export.el,
32 net/eudc-hotlist.el, net/eudc-vars.el: New maintainer.
33
34 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
35
36 * isearch.el (isearch-process-search-char): Add docstring.
37
38 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
39
40 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
41
42 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
43
44 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
45 for the case cl-flet or cl-labels form is wrapped with lexical-let
46 (bug#19613).
47
48 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
51 (cl--generic): The method-table is now a (list-of cl--generic-method).
52 (cl--generic-member-method): New function.
53 (cl-generic-define-method): Use it.
54 (cl--generic-build-combined-method, cl--generic-cache-miss):
55 Adapt to new method-table.
56 (cl--generic-no-next-method-function): Add `method' argument.
57 (cl-generic-call-method): Adapt to new method representation.
58 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
59 (cl-find-method, cl-method-qualifiers): New functions.
60 (cl--generic-method-info): Adapt to new method representation.
61 Return a string for the qualifiers.
62 (cl--generic-describe):
63 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
64 (eieio-all-generic-functions, eieio-method-documentation):
65 Adjust to new method representation.
66
67 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
68
69 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/cl-generic.el: Add a method-combination hook.
72 (cl-generic-method-combination-function): New var.
73 (cl--generic-lambda): Remove `with-cnm' arg.
74 (cl-defmethod): Change accordingly.
75 (cl-generic-define-method): Don't check qualifiers validity.
76 Preserve all qualifiers in `method-table'.
77 (cl-generic-call-method): New function.
78 (cl--generic-nest): Remove (morph into cl-generic-call-method).
79 (cl--generic-build-combined-method): Adjust to new format of method-table
80 and use cl-generic-method-combination-function.
81 (cl--generic-standard-method-combination): New function, extracted from
82 cl--generic-build-combined-method.
83 (cl--generic-cnm-sample): Adjust to new format of method-table.
84
85 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
86 instead of :primary.
87
88 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
89 Remove obsolete function.
90
91 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
92
93 * net/shr.el (shr-make-table-1): Fix colspan typo.
94
95 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
96 slightly.
97
98 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
101 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
102 (bug#19672).
103 (cl--generic-typeof-types): Add support for `sequence'.
104 (cl-defmethod): Add non-keywords in the qualifiers.
105
106 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
107
108 * emacs-lisp/find-func.el (find-function-regexp): Don't match
109 `defgroup' (regression from the previous change here).
110
111 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
112
113 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
114 credentials error message.
115
116 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
117
118 * net/ldap.el (ldap-password-read): Validate password before
119 caching it.
120 (ldap-search-internal): Handle ldapsearch error conditions.
121
122 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
123
124 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
125
126 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
127
128 * net/eudc.el (eudc-expand-inline): Always restore former server
129 and protocol.
130
131 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
132
133 * net/eudcb-ldap.el: Don't nag the user in case a default base is
134 provided by the LDAP system configuration file.
135
136 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
137
138 * net/eudc.el (eudc-format-query): Preserve the
139 eudc-inline-query-format ordering of attributes in the returned list.
140 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
141 Append the LDAP wildcard character to the last attribute value.
142
143 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
144
145 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
146 Downcase field names of LDAP results.
147 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
148
149 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
150
151 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
152 (ldap-search-internal): Send password to ldapsearch through a pipe
153 instead of via the command line.
154
155 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
156
157 * net/ldap.el: Require password-cache.
158 (ldap-password-read): New function.
159 (ldap-search-internal): Call ldap-password-read when it is
160 configured to be called.
161
162 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
163
164 * net/eudc-vars.el (eudc-expansion-overwrites-query):
165 Change default to nil.
166
167 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
168
169 * net/eudc.el (eudc-expand-inline): Ignore text properties of
170 string-to-expand.
171
172 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
173
174 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
175 format that includes first name and surname.
176
177 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
178
179 * net/eudc-vars.el (eudc-inline-query-format): Change default to
180 query email and first name instead of surname.
181
182 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
183
184 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
185
186 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
187
188 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
189 eudc-server-hotlist.
190 (eudc-server-hotlist): Move from eudc.el and make defcustom.
191 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
192 (eudc-set-server): Allow setting protocol to nil.
193 (eudc-expand-inline): Support hotlist-only expansions when server
194 is not set.
195
196 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
199 (cl--generic-build-combined-method): Use it.
200
201 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
202
203 Don't downcase system diagnostics' first letters
204 * emacs-lisp/bytecomp.el (byte-compile-file):
205 * ffap.el (find-file-at-point):
206 * files.el (insert-file-1):
207 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
208 (ange-ftp-copy-file-internal):
209 * progmodes/etags.el (visit-tags-table):
210 Keep diagnostics consistent with system's.
211 * ffap.el (ffap-machine-p):
212 Ignore case while comparing diagnostics.
213
214 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
217 arg (bug#19645).
218 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
219 body with a docstring.
220
221 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
222
223 * progmodes/xref.el (xref-location-marker, xref-location-group):
224 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
225 counterparts.
226
227 * progmodes/etags.el (xref-location-marker): Same.
228
229 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
230 (xref--inhibit-mark-current): Rename from
231 `xref--inhibit-mark-selected'. Update the usages.
232 (xref-quit): Reword the docstring. Kill buffers after quitting
233 windows instead of before.
234 (xref--insert-xrefs): Tweak help-echo.
235 (xref--read-identifier-history, xref--read-pattern-history):
236 New variables.
237 (xref--read-identifier, xref-find-apropos): Use them.
238
239 2015-01-21 Ulrich Müller <ulm@gentoo.org>
240
241 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
242 Allow the 'update-game-score' helper program to run suid or sgid.
243
244 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * emacs-lisp/eieio.el: Use cl-defmethod.
247 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
248 (eieio-object-name-string): Declare as obsolete.
249
250 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
251 (eieio--specializers-apply-to-class-p): New function.
252 (eieio-all-generic-functions): Use it.
253 (eieio-method-documentation): Use it as well as cl--generic-method-info.
254 Change format of return value.
255 (eieio-help-class): Adapt accordingly.
256
257 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
258 errors when there's a `before' but no `primary' (bug#19645).
259 (next-method-p): Return nil rather than signal an error.
260 (eieio-defgeneric): Remove bogus (fboundp 'method).
261
262 * emacs-lisp/eieio-speedbar.el:
263 * emacs-lisp/eieio-datadebug.el:
264 * emacs-lisp/eieio-custom.el:
265 * emacs-lisp/eieio-base.el: Use cl-defmethod.
266
267 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
268 (cl--generic-setf-rewrite): Setup the setf expander right away.
269 (cl-defmethod): Make sure the setf expander is setup before we expand
270 the body.
271 (cl-defmethod): Silence byte-compiler warnings.
272 (cl-generic-define-method): Shuffle code to change return value.
273 (cl--generic-method-info): New function, extracted from
274 cl--generic-describe.
275 (cl--generic-describe): Use it.
276
277 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
278
279 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
280 the major mode. Remap `quit-window' to `xref-quit'.
281 (xref--xref-buffer-mode): Inherit from special-mode.
282
283 xref: Keep track of temporary buffers (bug#19466).
284 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
285 (xref--inhibit-mark-selected): New variables.
286 (xref--mark-selected): New function.
287 (xref--show-location): Maybe add the buffer to
288 `xref--temporary-buffers', add `xref--mark-selected' to
289 `buffer-list-update-hook' there.
290 (xref--window): Add docstring.
291 (xref-quit): Rename from `xref--quit'. Update both references.
292 Add KILL argument. When it's non-nil, kill the temporary buffers
293 that haven't been selected by the user.
294 (xref--show-xref-buffer): Change the second argument to alist,
295 extract the values for `xref--window' and
296 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
297 `buffer-list-update-hook' to each buffer in the list.
298 (xref--show-xrefs): Move the logic of calling `xref-find-function'
299 here. Save the difference between buffer lists before and after
300 it's called as "temporary buffers", and `pass it to
301 `xref-show-xrefs-function'.
302 (xref--find-definitions, xref-find-references)
303 (xref-find-apropos): Update accordingly.
304
305 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
306
307 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
308
309 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/eieio-generic.el: Remove.
312 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
313 * emacs-lisp/eieio-compat.el: New file.
314 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
315 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
316 Remove unused function.
317 (eieio-defclass): Move to eieio-compat.el.
318 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
319 (macroexp--expand-all): Use it.
320 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
321
322 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
323
324 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
325 major modes should use `add-function' to alter value of the variable.
326 * hexl.el (hexl-mode):
327 * ielm.el (inferior-emacs-lisp-mode):
328 * progmodes/cfengine.el (cfengine3-mode):
329 * progmodes/elisp-mode (emacs-lisp-mode):
330 * progmodes/octave.el (octave-mode):
331 * progmodes/python.el (python-mode):
332 * simple.el (read--expression): Set `eldoc-documentation-function'
333 using `add-function' so the default value is always used.
334
335 * descr-text.el (describe-char-eldoc): New function returning
336 basic Unicode codepoint information (e.g. name) about character
337 at point. It is meant to be used as a default value of the
338 `eldoc-documentation-function' variable.
339 (describe-char-eldoc--format, describe-char-eldoc--truncate):
340 New helper functions for `describe-char-eldoc' function.
341
342 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
343
344 * textmodes/paragraphs.el (sentence-end-base): Include an
345 ellipsis (…) and interrobang (‽) characters as end of a sentence,
346 and a closing single quote (’) as an end of a quote.
347
348 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
349
350 * textmodes/tildify.el (tildify-double-space-undos): A new
351 variable specifying whether pressing space in `tildify-mode' after
352 a space has been replaced with hard space undos the substitution.
353 (tildify-space): Add code branch for handling `tildify-doule-space'.
354
355 * textmodes/tildify.el (tildify-space): A new function
356 which can be used as a `post-self-insert-hook' to automatically
357 convert spaces into hard spaces.
358 (tildify-space-pattern): A new variable specifying pattern where
359 `tildify-space' should take effect.
360 (tildify-space-predicates): A new variable specifying list of
361 predicate functions that all must return non-nil for
362 `tildify-space' to take effect.
363 (tildify-space-region-predicate): A new functions meant to be
364 used as a predicate in `tildify-space-predicates' list.
365 (tildify-mode): A new minor mode enabling `tildify-space' as a
366 `post-self-insert-hook'
367
368 2015-01-20 Daniel Colascione <dancol@dancol.org>
369
370 * vc/vc-dir.el (vc-dir): Default to repository root, not
371 default-directory.
372
373 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
374
375 * progmodes/etags.el (xref-etags-location): New class.
376 (xref-make-etags-location): New function.
377 (etags--xref-find-definitions): Use it.
378 (xref-location-marker): New method implementation.
379
380 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
381 (xref--insert-xrefs): Expand help-echo string.
382
383 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
384
385 * ido.el: Update Customization instructions.
386
387 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
388
389 Define Ido keymaps once (bug#17000).
390 * ido.el (ido-common-completion-map)
391 (ido-file-dir-completion-map)
392 (ido-file-completion-map, ido-buffer-completion-map): Set up key
393 bindings when each variable is defined.
394 (ido-completion-map): Move definition.
395 (ido-init-completion-maps): Noop.
396 (ido-common-initialization): Don't call it.
397 (ido-setup-completion-map): Improve doc-string, cleanup.
398
399 2015-01-19 Ivan Shmakov <ivan@siamics.net>
400
401 * cus-dep.el (custom-make-dependencies): Ensure that
402 default-directory is interpreted as a directory (see bug#19140.)
403
404 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
405
406 * progmodes/xref.el (xref--display-position):
407 Set `other-window-scroll-buffer'.
408 (xref-goto-xref): Use `user-error'.
409
410 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
411
412 * progmodes/xref.el (xref--display-history): New variable.
413 (xref--window-configuration): Remove.
414 (xref--save-to-history): New function.
415 (xref--display-position): Use it. Add new argument.
416 (xref--restore-window-configuration): Remove.
417 (xref--show-location, xref-show-location-at-point):
418 Update accordingly.
419 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
420 (xref--quit): New command.
421 (xref-goto-xref): Use it.
422 (xref--xref-buffer-mode-map): Bind `q' to it.
423
424 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
425
426 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
427 indentation or at eol.
428
429 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
432 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
433 New functions.
434 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
435
436 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
437 `newname' argument.
438
439 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
440 introduction of a new dispatch argument.
441 (cl--generic-cache-miss): Handle dispatch on an argument which was not
442 considered as dispatchable for this method.
443 (cl-defmethod): Warn when adding a method to an obsolete generic function.
444 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
445
446 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
447
448 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
449
450 * emacs-lisp/package.el (package--append-to-alist): Rename from
451 `package--add-to-alist'
452 Updated docstring due to new name.
453
454 2015-01-18 Leo Liu <sdl.web@gmail.com>
455
456 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
457 multiple evaluation. (Bug#19519)
458
459 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
460 error. (Bug#19434)
461
462 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
465 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
466 New functions.
467 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
468
469 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
470 or print is nil.
471 (cl-struct-type-p): New function.
472
473 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
474 (cl-defmethod): Add edebug spec.
475 (cl--generic-build-combined-method): Fix call to
476 cl-no-applicable-method.
477 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
478 (cl--generic-isnot-nnm-p): New function.
479 (cl--generic-lambda): Use it to add support for cl-next-method-p.
480 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
481 (cl-next-method-p): New function.
482
483 2015-01-17 Ulrich Müller <ulm@gentoo.org>
484
485 * version.el (emacs-repository-get-version): Update docstring.
486
487 2015-01-17 Ivan Shmakov <ivan@siamics.net>
488
489 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
490 and print-level to nil to avoid writing a garbled list. (Bug#16805)
491
492 * files.el (find-file-other-window, find-file-other-frame):
493 Use mapc instead of mapcar. (Bug#18175)
494
495 * files.el (dir-locals-collect-variables): Use default-directory
496 in place of the file name while working on non-file buffers, just
497 like hack-dir-local-variables already does. (Bug#19140)
498
499 * textmodes/enriched.el (enriched-encode):
500 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
501 (Bug#18246)
502
503 * desktop.el (desktop-read): Do not call desktop-clear when no
504 desktop file is found. (Bug#18371)
505
506 * misearch.el (multi-isearch-unload-function): New function.
507 (misearch-unload-function): New alias. (Bug#19566)
508
509 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
512 class-constructor, and make it an alias for `identity'.
513 Update all callers.
514
515 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
516 argument here (bug#19620)...
517 (defclass): ...instead of in the constructor here.
518
519 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
520
521 * emacs-lisp/package.el (package-archive-priorities):
522 Specify correct type.
523
524 2015-01-17 Ulrich Müller <ulm@gentoo.org>
525
526 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
527 Remove.
528 (emacs-repository-get-version): Discard the Bazaar case.
529 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
530 emacs-bzr-version-dirstate and move from version.el to here.
531 (vc-bzr-working-revision): Use it.
532
533 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
536 eieio--scoped-class any more.
537
538 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
539 (eieio--scoped-class): Remove function.
540 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
541 (eieio--slot-name-index): Don't check the :protection anymore.
542 (eieio-initializing-object): Remove var.
543 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
544
545 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 Improve handling of doc-strings and describe-function for cl-generic.
548
549 * help-mode.el (help-function-def): Add optional arg `type'.
550
551 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
552 as it's a symbol.
553 (help-fns-short-filename): New function.
554 (describe-function-1): Use it. Use autoload-do-load.
555
556 * emacs-lisp/find-func.el: Use lexical-binding.
557 (find-function-regexp): Don't rule out `defgeneric'.
558 (find-function-regexp-alist): Document new possibility of including
559 a function instead of a regexp.
560 (find-function-search-for-symbol): Implement that new possibility.
561 (find-function-library): Don't assume that `function' is a symbol.
562 (find-function-do-it): Remove unused var `orig-buf'.
563
564 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
565 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
566 (eieio--method-optimize-primary): Don't mess with the docstring.
567 (defgeneric): Keep the `args' in the docstring.
568 (defmethod): Don't use the method's docstring for the generic
569 function's docstring.
570
571 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
572 (eieio-defclass-autoload): Don't record the superclasses any more.
573 (eieio-defclass-internal): Reuse the old class object if it was just an
574 autoload stub.
575 (eieio--class-precedence-list): Load the class if it's autoloaded.
576
577 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
578 override an autoload.
579 (cl-generic-current-method-specializers): Replace dyn-bind variable
580 with a lexically-scoped macro.
581 (cl--generic-lambda): Update accordingly.
582 (cl-generic-define-method): Record manually in the load-history with
583 type `cl-defmethod'.
584 (cl--generic-get-dispatcher): Minor optimization.
585 (cl--generic-search-method): New function.
586 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
587 (cl--generic-search-method): Add hyperlinks for methods. Merge the
588 specializers and the function's arguments.
589
590 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
591
592 * emacs-lisp/package.el (package--read-pkg-desc):
593 New function. Read a `define-package' form in current buffer.
594 Return the pkg-desc, with desc-kind set to KIND.
595 (package-dir-info): New function. Find package information for a
596 directory. The return result is a `package-desc'.
597 (package-install-from-buffer): Install packages from dired buffer.
598 (package-install-file): Install packages from directory.
599 (package-desc-suffix)
600 (package-install-from-archive)
601 * emacs-lisp/package-x.el (package-upload-buffer-internal):
602 Ensure all remaining instances of `package-desc-kind' handle the 'dir
603 value.
604
605 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
606
607 * emacs-lisp/package.el: Provide repository priorities.
608 (package-archive-priorities): New variable.
609 (package--add-to-alist): New function.
610 (package--add-to-archive-contents): Use it.
611 (package-menu--find-upgrades): Use it as well. Small clean up to
612 make the use of the package name here explicit.
613 (package-archive-priority): New function.
614 (package-desc-priority-version): New function.
615
616 2015-01-16 Daniel Colascione <dancol@dancol.org>
617
618 * cus-start.el (all): Make `ring-bell-function' customizable.
619
620 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
621
622 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
623 vc-svn-after-dir-status's second argument. (Bug#19429)
624
625 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
626
627 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
628 regardless of pcomplete-cycle-completions's value. (Bug#18950)
629
630 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
631
632 * dom.el (dom-strings): New function.
633
634 * files.el (directory-files-recursively): Don't use the word
635 "path" for a file name.
636
637 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
638
639 * calc/calc-units.el (math-units-in-expr-p)
640 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
641 (math-extract-units): Handle the `neg' operator. (Bug#19582)
642
643 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
646 (cl--labels-convert): Use it to ask the macro what is its replacement
647 in the #'f case.
648
649 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
650 Return the value of the primary rather than the after method.
651
652 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
653 (eieio--generic-tagcode): New function.
654 (cl-generic-tagcode-function): Use it.
655 (eieio--generic-tag-types): New function.
656 (cl-generic-tag-types-function): Use it.
657 (eieio-object-p): Tighten up the test.
658
659 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
660
661 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * emacs-lisp/cl-generic.el: New file.
664
665 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
666 (cl-load-time-value, cl-labels): Use closures rather than
667 backquoted lambdas.
668 (cl-macrolet): Use `eval' to create the function value, and support CL
669 style arguments in for the defined macros.
670
671 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * net/eww.el: Use lexical-binding.
674 (eww-links-at-point): Remove unused arg.
675 (eww-mode-map): Inherit from special-mode-map.
676 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
677
678 2015-01-13 Alan Mackenzie <acm@muc.de>
679
680 Allow compilation during loading of CC Mode-derived modes (bug#19206).
681 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
682 New function which walks the stack to discover whether we're compiling
683 or loading.
684 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
685 (cc-bytecomp-is-loading): New defsubst.
686 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
687 Use the above defsubsts.
688 (cc-require-when-compile, cc-bytecomp-defvar)
689 (cc-bytecomp-defun): Simplify conditionals.
690 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
691 "Borrow" this function from cc-bytecomp.el.
692 (c-get-current-file): Reformulate using the above.
693 (c-lang-defconst): Prevent duplicate entries of file names in a
694 symbol's 'source property.
695 (c-lang-const): Use cc-bytecomp-is-compiling.
696 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
697 Use cc-bytecomp-is-compiling.
698
699 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
702 (bug#19552).
703
704 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
705
706 * menu-bar.el (menu-bar-goto-menu): Before calling
707 `xref-marker-stack-empty-p', first check that `xref' is loaded.
708 (Bug#19554)
709
710 2015-01-12 Martin Rudalics <rudalics@gmx.at>
711
712 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
713 cookie (Bug#19554).
714
715 * frame.el (frame-notice-user-settings): Remove code dealing with
716 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
717 only if `window-system-frame-alist' or `default-frame-alist' ask
718 for it.
719 (make-frame): Update frame-adjust-size-history if needed.
720
721 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
722
723 Have 'make' output better GEN names
724 * Makefile.in (PHONY_EXTRAS): New macro.
725 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
726 relevant files' time stamps are ignored.
727 (custom-deps, $(lisp)/cus-load.el, finder-data)
728 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
729 (custom-deps, $(lisp)/cus-load.el, finder-data)
730 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
731 ($(lisp)/subdirs.el, update-subdirs):
732 Output more-accurate destination names with GEN.
733
734 Say "ELC foo.elc" instead of "GEN foo.elc"
735 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
736 New macros.
737 ($(THEFILE)c, .el.elc): Use them.
738
739 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
740
741 * files.el (directory-files-recursively): Do not include
742 superfluous remote file names.
743
744 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
745
746 * net/eww.el (eww): Interpret anything that looks like a protocol
747 designator as a full URL.
748
749 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
750
751 * net/shr.el (shr-urlify): Don't bother the user about
752 invalidly-encoded display strings.
753
754 2015-01-10 Ivan Shmakov <ivan@siamics.net>
755
756 * net/shr.el (shr-urlify): Decode URLs before using them as titles
757 (bug#19555).
758
759 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
760
761 * net/eww.el (eww): Always interpret URLs that start with https?:
762 as plain URLs, even if they have spaces in them (bug#19556).
763 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
764 software" as an URL.
765 (eww): Don't interpret "org/foo" as an URL.
766 (eww): Clear the title when loading so that we don't display
767 misleading information.
768
769 2015-01-10 Daniel Colascione <dancol@dancol.org>
770
771 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
772 by analogy with dired.
773
774 2015-01-09 Daniel Colascione <dancol@dancol.org>
775
776 * progmodes/js.el (js--function-heading-1-re)
777 (js--function-prologue-beginning): Parse ES6 generator function
778 declarations. (That is, "function* name()").
779
780 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
783 that creates functions, and most of the sanity checks.
784 Mark as obsolete the <class>-child-p function.
785 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
786 (eieio--class, eieio--object): Use cl-defstruct.
787 (eieio--object-num-slots): Define manually.
788 (eieio-defclass-autoload): Use eieio--class-make.
789 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
790 `(lambda...) definitions and most of the sanity checks to `defclass'.
791 Mark as obsolete the <class>-list-p function, the <class> variable and
792 the <initarg> variables. Use pcase-dolist.
793 (eieio-defclass): New compatibility function.
794 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
795 (eieio-class-speedbar): Don't use eieio-default-superclass var.
796
797 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emacs-lisp/eieio-generic.el: New file.
800 * emacs-lisp/eieio-core.el: Move all generic function code to
801 eieio-generic.el.
802 (eieio--defmethod): Declare.
803
804 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
805 function code to eieio-generic.el.
806 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
807 eieio-generic.el.
808 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
809 to eieio--generic-call.
810 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
811 <class>-child type.
812
813 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
816 Don't use <class> as a variable.
817
818 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
819 (call-next-method): Simplify.
820 (clone): Obey eieio-backward-compatibility.
821
822 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
823 (eieio-read-generic): Use `generic-p' instead.
824
825 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
826 (eieio-defclass-autoload): Obey it.
827 (eieio--class-object): Improve error behavior.
828 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
829 every use site.
830 (eieio--defgeneric-form-primary-only): Rename from
831 eieio-defgeneric-form-primary-only; update all callers.
832 (eieio--defgeneric-form-primary-only-one): Rename from
833 eieio-defgeneric-form-primary-only-one; update all callers.
834 (eieio-defgeneric-reset-generic-form)
835 (eieio-defgeneric-reset-generic-form-primary-only)
836 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
837 (eieio--method-optimize-primary): New function to replace them.
838 (eieio--defmethod, eieio-defmethod): Use it.
839 (eieio--perform-slot-validation): Rename from
840 eieio-perform-slot-validation; update all callers.
841 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
842 Change `class' to be a class object. Update all callers.
843 (eieio--validate-class-slot-value): Rename from
844 eieio-validate-class-slot-value. Change `class' to be a class object.
845 Update all callers.
846 (eieio-oset-default): Accept class object as well.
847 (eieio--generic-call-primary-only): Rename from
848 eieio-generic-call-primary-only. Update all callers.
849
850 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
851 Improve error messages.
852 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
853 well as user-defined types. Emit errors for legacy types like
854 <class>-child and <class>-list, if not eieio-backward-compatibility.
855
856 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
859 (eieio--class-slot-initarg): Rename from class-slot-initarg.
860 Change `class' arg to be a class object. Update all callers.
861 (call-next-method): Adjust to new return value of `eieio-generic-form'.
862 (eieio-default-superclass): Set var to the class object.
863 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
864 Change print behavior to affect class objects rather than
865 class symbols.
866
867 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
868 (eieio-class-parents-fast): Remove macro.
869 (eieio--class-option-assoc): Rename from class-option-assoc.
870 Update all callers.
871 (eieio--class-option): Rename from class-option. Change `class' arg to
872 be a class object. Update all callers.
873 (eieio--class-method-invocation-order): Rename from
874 class-method-invocation-order. Change `class' arg to be a class
875 object. Update all callers.
876 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
877 a list of class objects rather than names.
878 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
879 for accessors to class allocated slots.
880 (eieio--perform-slot-validation-for-default): Rename from
881 eieio-perform-slot-validation-for-default. Update all callers.
882 (eieio--add-new-slot): Rename from eieio-add-new-slot.
883 Update all callers. Use push.
884 (eieio-copy-parents-into-subclass): Adjust to new content of
885 `parent' field. Use dolist.
886 (eieio-oref): Remove support for providing a class rather than
887 an object.
888 (eieio-oref-default): Prefer class objects over class names.
889 (eieio--slot-originating-class-p): Rename from
890 eieio-slot-originating-class-p. Update all callers. Use `or'.
891 (eieio--slot-name-index): Turn check into assertion.
892 (eieio--class-slot-name-index): Rename from
893 eieio-class-slot-name-index. Change `class' arg to be a class object.
894 Update all callers.
895 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
896 (eieio--c3-candidate): Rename from eieio-c3-candidate.
897 Update all callers.
898 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
899 Update all callers.
900 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
901 Update all callers.
902 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
903 Update all callers.
904 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
905 Update all callers. Adjust to new `parent' content.
906 (eieio--class-precedence-list): Rename from -class-precedence-list.
907 Update all callers.
908 (eieio-generic-call): Use autoloadp and autoload-do-load.
909 Slight simplification.
910 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
911 return value of `eieio-generic-form'.
912 (eieiomt-add): Index the hashtable with class objects rather than
913 class names.
914 (eieio-generic-form): Accept class objects as well.
915
916 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
917 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
918 (eieio-persistent-validate/fix-slot-value):
919 Change `class' arg to be a class object. Update all callers.
920
921 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
924 additionally to class names.
925
926 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
927 (object): Remove first (constant) slot; rename second to `class-tag'.
928 (eieio--object-class-object, eieio--object-class-name): New funs
929 to replace eieio--object-class.
930 (eieio--class-object, eieio--class-p): New functions.
931 (same-class-fast-p): Make it a defsubst, change its implementation
932 to check the class objects rather than their names.
933 (eieio-object-p): Rewrite.
934 (eieio-defclass): Adjust the object initialization according to the new
935 object layout.
936 (eieio--scoped-class): Declare it returns a class object (not a class
937 name any more). Adjust calls accordingly (along with calls to
938 eieio--with-scoped-class).
939 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
940 its class arg to be a class object. Adjust callers accordingly.
941 (eieio-slot-originating-class-p): Make its start-class arg a class
942 object. Adjust all callers.
943 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
944 Make its `class' arg a class object. Adjust all callers.
945
946 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
947 Use eieio--slot-name-index rather than eieio-slot-name-index.
948
949 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
952 name argument.
953 (eieio-object-name): Use eieio-object-name-string.
954 (eieio--object-names): New const.
955 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
956 using a hashtable rather than a built-in slot.
957 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
958 (clone): Don't mess with the object's "name".
959
960 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
961 (eieio-object-value-get): Use eieio-object-set-name-string.
962
963 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
964 (eieio--object): Remove `name' field.
965 (eieio-defclass): Adjust to new convention where constructors don't
966 take an "object name" any more.
967 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
968 (eieio-validate-slot-value, eieio-oset-default)
969 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
970 (eieio-generic-call-primary-only): Simplify.
971
972 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
973 Use call-next-method.
974 (eieio-constructor): Rename from `constructor'.
975 (eieio-persistent-convert-list-to-object): Drop objname.
976 (eieio-persistent-validate/fix-slot-value): Don't hardcode
977 eieio--object-num-slots.
978 (eieio-named): Use a normal slot.
979 (slot-missing) <eieio-named>: Remove.
980 (eieio-object-name-string, eieio-object-set-name-string, clone)
981 <eieio-named>: New methods.
982
983 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
986 (method-*): Add a "eieio--" prefix to those constants.
987
988 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
989
990 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
991
992 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
995 `eieio-default-superclass'.
996
997 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
998
999 * emacs-lisp/eieio-custom.el: Use lexical-binding.
1000 (eieio-object-value-to-abstract): Simplify.
1001
1002 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
1003 (eieio-build-class-alist): Use dolist.
1004 (eieio-all-generic-functions): Adjust to use of hashtables.
1005
1006 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1007 symbol-hashtable. It contains a hashtable instead of an obarray.
1008 (generic-p): Use symbol property `eieio-method-hashtable' instead of
1009 `eieio-method-obarray'.
1010 (generic-primary-only-p, generic-primary-only-one-p):
1011 Slight optimization.
1012 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1013 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1014 (eieio-class-un-autoload): Use autoload-do-load.
1015 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1016 Use new cl-deftype-satisfies. Adjust to use of hashtables.
1017 Don't hardcode the value of eieio--object-num-slots.
1018 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1019 Use a closure rather than a backquoted lambda.
1020 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
1021 function-documentation property.
1022 (eieio-slot-originating-class-p, eieio-slot-name-index)
1023 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1024 (eieio-generic-form): Adjust to use of hashtables.
1025 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1026 additional class argument.
1027 (eieio-generic-call-methodname): Remove, unused.
1028
1029 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1030 Prefer \' to $.
1031
1032 2015-01-08 Eli Zaretskii <eliz@gnu.org>
1033
1034 * simple.el (line-move-visual): When converting X pixel coordinate
1035 to temporary-goal-column, adjust the value for right-to-left
1036 screen lines. This fixes vertical-motion, next/prev-line, etc.
1037
1038 2015-01-08 Glenn Morris <rgm@gnu.org>
1039
1040 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
1041
1042 2015-01-07 K. Handa <handa@gnu.org>
1043
1044 * international/ccl.el (define-ccl-program): Improve the docstring.
1045
1046 2015-01-06 Sam Steingold <sds@gnu.org>
1047
1048 * shell.el (shell-display-buffer-actions): Remove,
1049 use `display-buffer-alist' instead.
1050
1051 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1054 to the references.
1055
1056 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * minibuffer.el (completion-category-defaults): New var.
1059 Set unicode-name to use substring completion.
1060 (completion-category-defaults): Set it to nil.
1061
1062 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1063
1064 Add mouse interaction to xref.
1065 * progmodes/xref.el (xref--button-map): New variable.
1066 (xref--mouse-2): New command.
1067 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1068 the inserted references.
1069
1070 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
1071
1072 Less 'make' chatter for lisp dir
1073 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1074 to make it clearer that the caller must specify it.
1075 (compile-onefile): Remove, replacing by ...
1076 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
1077 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1078 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1079 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1080 Use AM_V_GEN to lessen 'make' chatter.
1081 (.el.elc): Omit duplicate comment.
1082
1083 Less 'make' chatter in batch mode
1084 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1085 * emacs-lisp/bytecomp.el (byte-compile-file):
1086 * files.el (save-buffer, basic-save-buffer):
1087 * international/quail.el (quail-update-leim-list-file):
1088 Don't output messages like "Generating ..." in batch mode.
1089
1090 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1091
1092 Unbreak `mouse-action' property in text buttons.
1093 * button.el (push-button): Fix regression from 2012-12-06.
1094
1095 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1096
1097 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1098
1099 * menu-bar.el (menu-bar-goto-menu): Use it.
1100
1101 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1102
1103 * progmodes/xref.el (xref--window-configuration): New variable.
1104 (xref-show-location-at-point): New command.
1105 (xref--restore-window-configuration): New function.
1106 (xref-next-line, xref-prev-line): Delegate to
1107 `xref-show-location-at-point'.
1108 (xref--location-at-point): Don't signal the error.
1109 (xref-goto-xref): Do that here instead.
1110 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1111 to `pre-command-hook'.
1112 (xref--xref-buffer-mode-map): Don't remap `next-line' and
1113 `previous-line'. Additionally bind `xref-next-line' and
1114 `xref-prev-line' to `n' and `p' respectively.
1115 Bind `xref-show-location-at-point' to `C-o'.
1116
1117 2015-01-01 Eli Zaretskii <eliz@gnu.org>
1118
1119 * tool-bar.el (tool-bar-local-item)
1120 (tool-bar-local-item-from-menu): Call force-mode-line-update to
1121 make sure the tool-bar changes show on display.
1122
1123 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
1124
1125 Sync with Tramp 2.2.11.
1126
1127 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1128 Make an alias for `default-toplevel-value' if it doesn't exist.
1129
1130 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1131 Use `tramp-compat-delete-directory'.
1132
1133 * net/trampver.el: Update release number.
1134
1135 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
1136
1137 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1138 for remote files. (Bug#19449)
1139
1140 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1141
1142 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1143
1144 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
1145
1146 Less 'make' chatter in lisp directory
1147 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1148 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1149 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1150
1151 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
1152
1153 * info.el (info-display-manual): Limit the completion alternatives
1154 to currently visited manuals if prefix argument is non-nil.
1155
1156 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
1157
1158 * Makefile.in (semantic): Simplify.
1159
1160 2014-12-30 Juri Linkov <juri@linkov.net>
1161
1162 * net/eww.el (eww-isearch-next-buffer): New function.
1163 (eww-mode): Set multi-isearch-next-buffer-function to it.
1164
1165 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
1166
1167 * progmodes/xref.el (xref-find-definitions): Mention "no
1168 identifier at point" case in the docstring.
1169
1170 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1171 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1172 and `separator-tag-file' items.
1173
1174 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
1175
1176 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1177 This is instead of system-name, which is both wrong here and obsolete.
1178 * desktop.el (desktop-save-frameset):
1179 * dnd.el (dnd-get-local-file-uri):
1180 * nxml/rng-uri.el (rng-uri-file-name-1):
1181 Prefer (system-name) to system-name, and avoid naming
1182 locals 'system-name'.
1183 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
1184
1185 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1186
1187 * menu-bar.el (menu-bar-next-tag-other-window)
1188 (menu-bar-next-tag): Remove.
1189
1190 2014-12-29 K. Handa <handa@gnu.org>
1191
1192 * international/mule.el (make-translation-table-from-alist):
1193 Accept nil or zero-length vector for FROM and TO.
1194
1195 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
1196
1197 * net/eww.el (eww-mode): Truncate overlong lines for prettier
1198 display when resizing.
1199
1200 * net/shr.el (shr-width): Default to using the window width when
1201 rendering.
1202
1203 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1204
1205 Unbreak jumping to an alias's definition.
1206 * emacs-lisp/find-func.el (find-function-library): Return a pair
1207 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1208 (find-function-noselect): Use it.
1209 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1210 `elisp--xref-identifier-location', incorporate logic from
1211 `elisp--xref-find-definitions', use the changed
1212 `find-function-library' return value.
1213
1214 2014-12-29 Juri Linkov <juri@linkov.net>
1215
1216 * comint.el (comint-history-isearch-message): Use field-beginning
1217 instead of comint-line-beginning-position - that's more fixes for
1218 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1219 (comint-history-isearch-message): Fix args of isearch-message-prefix.
1220
1221 2014-12-29 Juri Linkov <juri@linkov.net>
1222
1223 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1224 (vc-dir-mode-map): Bind it to "\C-o".
1225 (vc-dir-menu-map): Add it to menu.
1226
1227 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1228
1229 * progmodes/etags.el (find-tag-other-window)
1230 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1231 (tags-apropos): Declare obsolete.
1232
1233 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1234 with xref ones.
1235
1236 2014-12-28 Eli Zaretskii <eliz@gnu.org>
1237
1238 * international/mule.el (define-coding-system): Fix typos in the
1239 doc string.
1240
1241 2014-12-28 Kenichi Handa <handa@gnu.org>
1242
1243 * international/mule.el (define-coding-system): Improve the doc
1244 string.
1245
1246 2014-12-28 Ivan Shmakov <ivan@siamics.net>
1247
1248 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1249 elements in tables (bug#19444).
1250
1251 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1252 (bug#19445).
1253
1254 2014-12-28 Juri Linkov <juri@linkov.net>
1255
1256 * vc/compare-w.el: Require diff-mode for diff faces.
1257 (compare-windows-removed, compare-windows-added): New faces
1258 inheriting from diff faces.
1259 (compare-windows): Define obsolete face alias.
1260 (compare-windows-highlight): Replace face `compare-windows' with
1261 new faces `compare-windows-added' and `compare-windows-removed'
1262 (bug#19451).
1263 (compare-windows-get-recent-window): Signal an error when
1264 no other window is found (bug#19170).
1265
1266 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1267
1268 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1269 Skip features that have no sources.
1270
1271 * simple.el (execute-extended-command):
1272 When `suggest-key-bindings' is nil, don't.
1273
1274 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1275
1276 python.el: Native readline completion.
1277 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1278 (python-shell-completion-native-enable)
1279 (python-shell-completion-native-output-timeout): New defcustoms.
1280 (python-shell-completion-native-interpreter-disabled-p)
1281 (python-shell-completion-native-try)
1282 (python-shell-completion-native-setup)
1283 (python-shell-completion-native-turn-off)
1284 (python-shell-completion-native-turn-on)
1285 (python-shell-completion-native-turn-on-maybe)
1286 (python-shell-completion-native-turn-on-maybe-with-msg)
1287 (python-shell-completion-native-toggle): New functions.
1288 (python-shell-completion-native-get-completions): New function.
1289 (python-shell-completion-at-point): Use it.
1290
1291 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1292
1293 python.el: Enhance shell user interaction and deprecate
1294 python-shell-get-or-create-process.
1295 * progmodes/python.el (python-shell-get-process-or-error):
1296 New function.
1297 (python-shell-with-shell-buffer): Use it.
1298 (python-shell-send-string, python-shell-send-region)
1299 (python-shell-send-buffer, python-shell-send-defun)
1300 (python-shell-send-file, python-shell-switch-to-shell): Use it.
1301 Add argument MSG to display user-friendly message when no process
1302 is running.
1303 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
1304 (python-shell-make-comint): Rename argument SHOW from POP.
1305 Use display-buffer instead of pop-to-buffer.
1306 (run-python): Doc fix. Return process.
1307 (python-shell-get-or-create-process): Make obsolete.
1308
1309 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1310
1311 * progmodes/python.el (python-shell-buffer-substring):
1312 Handle cornercase when region sent starts at point-min.
1313
1314 2014-12-27 Eli Zaretskii <eliz@gnu.org>
1315
1316 * language/misc-lang.el (composition-function-table): Add Syriac
1317 characters and also ZWJ/ZWNJ.
1318 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
1319 for the details.
1320
1321 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1322
1323 python.el: Fix message when sending region.
1324 * progmodes/python.el (python-shell-send-region): Rename argument
1325 send-main from nomain. Fix message.
1326 (python-shell-send-buffer): Rename argument send-main from arg.
1327
1328 python.el: Cleanup temp files even with eval errors.
1329 * progmodes/python.el (python-shell-send-file): Make file-name
1330 mandatory. Fix temp file removal in the majority of cases.
1331
1332 python.el: Handle file encoding for shell.
1333 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
1334 (python-shell--save-temp-file): Write file with proper encoding.
1335 (python-shell-buffer-substring): Add coding cookie for detected
1336 encoding to generated content. Fix blank lines when removing
1337 if-name-main block.
1338 (python-shell-send-file): Handle file encoding.
1339 (python-info-encoding-from-cookie)
1340 (python-info-encoding): New functions.
1341
1342 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1345 Use `tramp-rsh-end-of-line', it ought to be more robust.
1346
1347 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1348
1349 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
1350 (bug#19397).
1351
1352 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
1355
1356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
1357 as end-of-line delimeter for passwords, when running on MS Windows.
1358
1359 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
1362 of indent-line-function (bug#19433).
1363
1364 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1365
1366 Fix line numbers on Python shell.
1367 * progmodes/python.el (python-shell--save-temp-file): Do not
1368 append coding cookie.
1369 (python-shell-send-string): Generalize for
1370 python-shell-send-region.
1371 (python--use-fake-loc): Delete var.
1372 (python-shell-buffer-substring): Cleanup fake-loc logic.
1373 (python-shell-send-region): Remove fake-loc logic, simplify.
1374
1375 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1376
1377 * progmodes/python.el (python-indent-post-self-insert-function):
1378 Make colon to re-indent only for dedenters, handling
1379 multiline-statements gracefully.
1380
1381 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/tramp.el (tramp-handle-insert-file-contents):
1384 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
1385
1386 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/tramp-sh.el (tramp-send-command-and-read): New optional
1389 arg MARKER.
1390 (tramp-get-remote-path): Use it.
1391
1392 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * subr.el (redisplay-dont-pause): Mark as obsolete.
1395
1396 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1397
1398 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
1399 (tramp-accept-process-output): Use nil as argument for
1400 `accept-process-output', when there is a gateway prepended.
1401
1402 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
1403 wrong debug buffer.
1404 (tramp-gw-open-connection): Set process coding system 'binary.
1405 (tramp-gw-open-network-stream): Handle HTTP error 403.
1406
1407 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
1408 wrong debug buffer.
1409 (tramp-maybe-open-connection): Set connection property "gateway".
1410
1411 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * subr.el (sit-for): Tweak docstring (bug#19381).
1414
1415 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1416
1417 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
1418 stage to after `diff-index' (bug#19386).
1419
1420 2014-12-27 João Távora <joaotavora@gmail.com>
1421
1422 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
1423 `electric-pair-mode' (bug#19356).
1424
1425 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1426
1427 elisp-xref-find: Don't create buffers eagerly.
1428
1429 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
1430 into `elisp--company-location'.
1431 (elisp--identifier-completion-table): Rename to
1432 `elisp--identifier-completion-table', and do not include just any
1433 symbols with a property list.
1434 (elisp-completion-at-point): Revert the 2014-12-25 change.
1435 (elisp--xref-identifier-file): New function.
1436 (elisp--xref-find-definitions): Use it.
1437
1438 * emacs-lisp/find-func.el (find-function-library): New function,
1439 extracted from `find-function-noselect'.
1440
1441 * progmodes/xref.el (xref-elisp-location): New class.
1442 (xref-make-elisp-location): New function.
1443 (xref-location-marker): New implementation.
1444
1445 2014-12-27 Juri Linkov <juri@linkov.net>
1446
1447 * minibuffer.el (minibuffer-completion-help):
1448 Use shrink-window-if-larger-than-buffer in window-height
1449 when temp-buffer-resize-mode is nil.
1450
1451 * window.el (with-displayed-buffer-window): Remove window-height
1452 from the action alist in the temp-buffer-window-show call
1453 when window-height is handled explicitly afterwards (bug#19355).
1454
1455 2014-12-27 Juri Linkov <juri@linkov.net>
1456
1457 Support subdirectories when saving places in dired.
1458 * saveplace.el (toggle-save-place, save-place-to-alist)
1459 (save-places-to-alist, save-place-dired-hook):
1460 Use dired-current-directory instead of dired-directory (bug#19436).
1461 (save-place-dired-hook): Add check for alist to make the new
1462 format future-proof to allow other possible formats.
1463
1464 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1465
1466 python.el: Generate clearer shell buffer names.
1467 * progmodes/python.el (python-shell-get-process-name)
1468 (python-shell-internal-get-process-name): Use `buffer-name`.
1469 (python-shell-internal-get-or-create-process): Simplify.
1470
1471 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
1472
1473 Add basic xref apropos implementation to elisp-mode.
1474
1475 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
1476 Filter out nil results.
1477 (elisp--xref-find-apropos): New function.
1478 (elisp-xref-find): Use it.
1479
1480 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
1481
1482 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
1483
1484 * dired-aux.el (dired-maybe-insert-subdir):
1485 Make dired-maybe-insert-subdir always skip trivial files.
1486
1487 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
1488 Dmitry Gutov <dgutov@yandex.ru>
1489
1490 Consolidate cross-referencing commands.
1491
1492 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
1493 `C-x 5 .' from etags.el to xref.el.
1494
1495 * progmodes/xref.el: New file.
1496
1497 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
1498 (elisp--identifier-location): New function, extracted from
1499 `elisp--company-location'.
1500 (elisp--company-location): Use it.
1501 (elisp--identifier-completion-table): New variable.
1502 (elisp-completion-at-point): Use it.
1503 (emacs-lisp-mode): Set the local values of `xref-find-function'
1504 and `xref-identifier-completion-table-function'.
1505 (elisp-xref-find, elisp--xref-find-definitions)
1506 (elisp--xref-identifier-completion-table): New functions.
1507
1508 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
1509 favor of `xref--marker-ring'.
1510 (tags-lazy-completion-table): Autoload.
1511 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
1512 (find-tag-noselect): Use `xref-push-marker-stack'.
1513 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
1514 (etags--xref-limit): New constant.
1515 (etags-xref-find, etags--xref-find-definitions): New functions.
1516
1517 2014-12-25 Martin Rudalics <rudalics@gmx.at>
1518
1519 * cus-start.el (resize-mini-windows): Make it customizable.
1520
1521 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
1522
1523 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
1524 to (info "(emacs)Contributing"). (Bug#19299)
1525
1526 2014-12-24 Martin Rudalics <rudalics@gmx.at>
1527
1528 * window.el (mouse-autoselect-window-position-1): New variable.
1529 (mouse-autoselect-window-cancel)
1530 (mouse-autoselect-window-select, handle-select-window):
1531 With delayed autoselection select window only if mouse moves after
1532 selecting its frame.
1533
1534 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
1535
1536 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
1537 remote file names. (Bug#18782)
1538
1539 2014-12-23 Sam Steingold <sds@gnu.org>
1540
1541 * shell.el (shell-display-buffer-actions): New user option.
1542 (shell): Pass it to `pop-to-buffer' instead of hard-coding
1543 `pop-to-buffer-same-window'.
1544
1545 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
1548 (js-syntax-propertize-regexp): Use it to recognize "slash in
1549 a character class" (bug#19397).
1550
1551 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * completion.el: Use post-self-insert-hook (bug#19400).
1554 (completion-separator-self-insert-command)
1555 (completion-separator-self-insert-autofilling): Remove.
1556 (completion-separator-chars): New var.
1557 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
1558 of changing the keymap.
1559 (completion--post-self-insert): New function.
1560 (dynamic-completion-mode): Use it instead of rebinding keys.
1561 (cmpl--completion-string): Rename from completion-string.
1562 (add-completion-to-head, delete-completion): Let-bind it explicitly.
1563
1564 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
1565
1566 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
1567 by leveraging `syntax-ppss'.
1568
1569 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
1570
1571 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
1572
1573 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-sh.el (tramp-histfile-override): Add :version.
1576
1577 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
1578
1579 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
1580
1581 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
1582
1583 * let-alist.el (let-alist): Enable access to deeper alists by
1584 using dots inside the dotted symbols.
1585
1586 2014-12-19 Alan Mackenzie <acm@muc.de>
1587
1588 Make C++11 uniform init syntax work.
1589 New keywords "final" and "override".
1590 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
1591 New function.
1592 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
1593 new function.
1594 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
1595 carefully for "are we at a declarator?" using
1596 c-back-over-member-initializers.
1597 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
1598 and "override" in the C++ value.
1599
1600 2014-12-19 Martin Rudalics <rudalics@gmx.at>
1601
1602 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
1603
1604 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
1605
1606 * net/nsm.el (nsm-save-host): Don't save the host name twice
1607 (bug#19269).
1608
1609 2014-12-18 Sam Steingold <sds@gnu.org>
1610
1611 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
1612 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
1613 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
1614 * menu-bar.el (menu-bar-buffer-vector): Extract from
1615 `menu-bar-update-buffers'.
1616 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
1617 (buffer-menu-open): New user command, bound globally to C-f10,
1618 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
1619 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
1620 convert the value returned by `mouse-buffer-menu-map' to a list
1621 acceptable to `popup-menu' for `buffer-menu-open'.
1622
1623 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
1624
1625 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
1626
1627 2014-12-18 Sam Steingold <sds@gnu.org>
1628
1629 * emacs-lisp/package.el: Avoid compilation warning by declaring
1630 the `find-library-name' function.
1631 (package-activate-1): Fix the `with-demoted-errors' calls:
1632 the first argument must be a string literal.
1633
1634 2014-12-18 Martin Rudalics <rudalics@gmx.at>
1635
1636 Add code for "preserving" window sizes.
1637 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
1638 `preserve-size' t.
1639 (dired-mark-pop-up): Preserve size of window showing marked files.
1640 * electric.el (Electric-pop-up-window):
1641 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
1642 with `preserve-size' t.
1643 * minibuffer.el (minibuffer-completion-help):
1644 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
1645 (Bug#19355). Preserve size of completions window.
1646 * register.el (register-preview): Preserve size of register
1647 preview window.
1648 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
1649 with `preserve-size' t (Bug#1291).
1650 * window.el (with-displayed-buffer-window): Add calls to
1651 `window-preserve-size'.
1652 (window-min-pixel-size, window--preservable-size)
1653 (window-preserve-size, window-preserved-size)
1654 (window--preserve-size, window--min-size-ignore-p): New functions.
1655 (window-min-size, window-min-delta, window--resizable)
1656 (window--resize-this-window, split-window-below)
1657 (split-window-right): Amend doc-string.
1658 (window--min-size-1, window-sizable, window--size-fixed-1)
1659 (window-size-fixed-p, window--min-delta-1)
1660 (frame-windows-min-size, window--max-delta-1, window-resize)
1661 (window--resize-child-windows, window--resize-siblings)
1662 (enlarge-window, shrink-window, split-window): Handle preserving
1663 window sizes.
1664 (adjust-window-trailing-edge): Handle preserving window
1665 sizes. Signal user-error instead of an error when there's no
1666 window above or below.
1667 (window--state-put-2): Handle horizontal scroll bars.
1668 (window--display-buffer): Call `preserve-size' if asked for.
1669 (display-buffer): Mention `preserve-size' alist member in doc-string.
1670 (fit-window-to-buffer): New argument PRESERVE-SIZE.
1671 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
1672 scroll bar on ispell's windows. Don't count window lines and
1673 don't deal with dedicated windows.
1674 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
1675 do the window handling.
1676 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
1677 (ispell-display-buffer): New function to reuse, create and fit
1678 window to ispell's buffers. (Bug#3413)
1679
1680 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1681
1682 * emacs-lisp/package.el (package-activate): Do not re-activate or
1683 reload the dependencies (bug#19390).
1684
1685 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
1688 (c-update-modeline):
1689 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
1690 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
1691 (c-mode-base-map): Use c-subword-mode.
1692
1693 2014-12-18 Eli Zaretskii <eliz@gnu.org>
1694
1695 * international/mule-diag.el (describe-font-internal):
1696 Display additional info returned by font-info.
1697
1698 * linum.el (linum--face-width): Rename from linum--face-height,
1699 and use the new functionality of font-info.
1700 (linum-update-window): Use linum--face-width and frame-char-width,
1701 instead of approximating with height.
1702
1703 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1704
1705 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
1706 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
1707
1708 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
1709 and a docstring.
1710 (package-activate): Call itself on dependencies on PACKAGE with
1711 the same FORCE argument. Pass FORCE as RELOAD into
1712 `package-activate-1' (bug#19390).
1713
1714 2014-12-17 Sam Steingold <sds@gnu.org>
1715
1716 * emacs-lisp/package.el (package--list-loaded-files):
1717 Handle `(nil ...)' elements in `load-history'.
1718
1719 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
1720
1721 * net/tramp-sh.el (tramp-histfile-override): New variable.
1722 (tramp-open-shell, tramp-maybe-open-connection): Use it.
1723
1724 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
1725
1726 * vc/vc.el: Improve `dir-status-files' description.
1727
1728 * emacs-lisp/package.el (package--list-loaded-files): Don't call
1729 file-truename on load-history elements (bug#19390).
1730
1731 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
1732
1733 * emacs-lisp/seq.el: New file.
1734
1735 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
1738 is 0 and there is no input pending.
1739
1740 2014-12-15 Juri Linkov <juri@linkov.net>
1741
1742 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
1743 only on the return value (bug#19383).
1744
1745 2014-12-15 Juri Linkov <juri@linkov.net>
1746
1747 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
1748 the wrapped search by the length of the search string to be able
1749 to lazy-highlight the whole search string at point (bug#19353).
1750
1751 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1752
1753 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
1754
1755 2014-12-14 Alan Mackenzie <acm@muc.de>
1756
1757 * cus-start.el (all): Add fast-but-imprecise-scrolling.
1758
1759 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
1760
1761 * let-alist.el: Add lexical binding.
1762
1763 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
1764
1765 * emacs-lisp/package.el (package-menu-mode): Use an extra column
1766 for the "Version" column, to accomodate date-and-time-based
1767 versions.
1768
1769 2014-12-14 Cameron Desautels <camdez@gmail.com>
1770
1771 * cus-edit.el (custom-unsaved-options): New function, extracted
1772 from `customize-unsaved'.
1773 (custom-unsaved): Use it.
1774 (custom-prompt-customize-unsaved-options): New function.
1775 (Bug#19328)
1776
1777 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
1780
1781 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 Move ASYNC argument to the `diff' VC command to the fifth
1784 position, for better compatibility with existing third-party code,
1785 and document it.
1786
1787 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
1788 backend `diff' command in the last position.
1789
1790 * vc/vc-svn.el (vc-svn-diff):
1791 * vc/vc-src.el (vc-src-diff):
1792 * vc/vc-sccs.el (vc-sccs-diff):
1793 * vc/vc-rcs.el (vc-rcs-diff):
1794 * vc/vc-mtn.el (vc-mtn-diff):
1795 * vc/vc-hg.el (vc-hg-diff):
1796 * vc/vc-git.el (vc-git-diff):
1797 * vc/vc-dav.el (vc-dav-diff):
1798 * vc/vc-cvs.el (vc-cvs-diff):
1799 * vc/vc-bzr.el (vc-bzr-diff):
1800 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
1801
1802 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
1803
1804 * emacs-lisp/cconv.el (cconv--analyze-use):
1805 Rename from cconv--analyse-use.
1806 (cconv--analyze-function): Rename from cconv--analyse-function.
1807 (cconv-analyze-form): Rename from cconv-analyse-form.
1808
1809 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
1810
1811 * net/shr.el (shr-next-link): Don't error out at eob.
1812
1813 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1814
1815 * isearch.el (isearch-open-necessary-overlays): Open overlay
1816 ending at point (bug#19333).
1817
1818 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1819
1820 * net/shr.el (shr-fold-text): New function.
1821 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
1822 alt/title texts.
1823 (shr-fold-text): Inhibit state from being altered.
1824
1825 * files.el (directory-files-recursively): Really check whether
1826 files are symlinks.
1827 (directory-name-p): New function.
1828 (directory-files-recursively): Use it.
1829
1830 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
1831
1832 * emacs-lisp/package.el (package--list-loaded-files): New function
1833 to list files in a given directory which correspond to already
1834 loaded files.
1835 (package-activate-1): Reload files given by `package--list-loaded-files'.
1836 Fix bug#10125, bug#18443, and bug#18448.
1837
1838 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
1839
1840 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
1841
1842 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * simple.el (password-word-equivalents): Add "passcode", used for
1845 numeric secrets like PINs or RSA tokens.
1846
1847 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1848
1849 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
1850 order to determine `tramp-own-remote-path'.
1851
1852 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1853
1854 * progmodes/python.el (python-shell-parse-command):
1855 Quote `python-shell-interpreter`. (Bug#19289)
1856
1857 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
1860 (python-indent-levels): Document extra value.
1861 (python-indent-calculate-indentation): Return `noindent' in strings.
1862 (python-indent-post-self-insert-function)
1863 (python-indent-calculate-levels): Handle new value.
1864
1865 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1866
1867 * net/network-stream.el (network-stream-open-starttls): No need to
1868 check for the availability of `gnutls-available-p'.
1869
1870 * files.el (directory-files-recursively): Don't follow symlinks to
1871 other directories.
1872
1873 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
1874
1875 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
1876 * vc/vc.el: latest-on-branch-p is no longer a public method.
1877
1878 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
1879 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
1880 Remove `rollback' method, to be replaced in the future by uncommit.
1881
1882 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
1883
1884 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
1885 that there is empty output.
1886
1887 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
1890 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
1891
1892 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
1893
1894 * let-alist.el: Add new package and macro.
1895
1896 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
1897
1898 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
1899 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
1900 it's a shoot-self-in-foot archaism. Workfiles are always kept.
1901
1902 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
1903
1904 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
1905 trouble with ls over ftp. These flags result in ls returning no
1906 output, causing Tramp-breakage. (bug#19192)
1907
1908 2014-12-10 Andreas Schwab <schwab@suse.de>
1909
1910 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
1911
1912 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1913
1914 * files.el (directory-files-recursively):
1915 Use `file-name-all-completions' instead of `directory-files' for
1916 greater speed.
1917
1918 * net/shr.el (shr-tag-object): Don't bug out on text elements in
1919 <object>.
1920
1921 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
1922
1923 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
1924 and Puppetfile.
1925 (ruby-toggle-string-quotes): New command that allows you to quickly
1926 toggle between single-quoted and double-quoted string literals.
1927
1928 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
1929
1930 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
1931 list, avoids problems witt names containing hyphens.
1932
1933 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
1934
1935 Sync with upstream verilog-mode revision aa4b777.
1936 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1937 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
1938 (verilog-set-auto-endcomments): Automatically comment property/
1939 endproperty blocks to match other similar blocks like sequence/
1940 endsequence, function/endfunction, etc. Reported by Alex Reed.
1941 (verilog-set-auto-endcomments): Fix end comments for functions of
1942 type void, etc. Detect the function- or task-name when
1943 auto-commenting blocks that lack an explicit portlist.
1944 Reported by Alex Reed.
1945 (verilog-nameable-item-re): Fix nameable items that can have an
1946 end-identifier to include endchecker, endgroup, endprogram,
1947 endproperty, and endsequence. Reported by Alex Reed.
1948 (verilog-preprocessor-re, verilog-beg-of-statement):
1949 Fix indentation of property/endproperty around pre-processor
1950 directives. Reported by Alex Reed.
1951 (verilog-label-be): When auto-commenting a buffer, consider
1952 auto-comments on all known keywords (not just a subset thereof).
1953 Reported by Alex Reed.
1954 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
1955 Reported by Alex Reed.
1956 (verilog-beg-of-statement-1, verilog-at-constraint-p):
1957 Fix hanging with many curly-bracket pairs, bug663.
1958 (verilog-do-indent): Fix electric tab deleting form-feeds.
1959 Note caused by indent-line-to deleting tabls pre 24.5.
1960 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
1961 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
1962 (verilog-read-always-signals, verilog-auto-sense-sigs)
1963 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
1964 bug844. Reported by Greg Hilton.
1965
1966 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
1967
1968 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
1969 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
1970 'foreach', and 'do' keywords.
1971 (verilog-endcomment-reason-re, verilog-beg-of-statement):
1972 Fix labeling do-while blocks, bug842.
1973 (verilog-backward-token): Fix indenting sensitivity lists with
1974 named events, bug840.
1975
1976 2014-12-09 Reto Zimmermann <reto@gnu.org>
1977
1978 Sync with upstream vhdl mode v3.36.1.
1979 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1980 (vhdl-compiler-alist): Anchor all error regexps.
1981 (vhdl-compile-use-local-error-regexp): Change default to nil.
1982 (vhdl-asort, vhdl-anot-head-p): Remove.
1983 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
1984 Remove optional argument of vhdl-aget and update all callers.
1985 (vhdl-import-project): Also set `vhdl-compiler'.
1986
1987 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1988
1989 * files.el (find-files): New function.
1990
1991 * net/shr.el (shr-dom-print): Don't print comments.
1992 (shr-tag-svg): Give inline SVG images the right type.
1993
1994 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
1995 certificates in the header line.
1996 (eww-invalid-certificate, eww-valid-certificate): New faces.
1997
1998 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1999
2000 * progmodes/python.el (inferior-python-mode):
2001 Set `comint-prompt-read-only` to `t` only locally.
2002
2003 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2004
2005 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2006 (nsm-format-certificate): Include more data about the connection.
2007 (nsm-query): Fill the text to that it looks nicer.
2008 (nsm-check-protocol): Also warn if using SSL3 or older.
2009
2010 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2013
2014 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2015
2016 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2017
2018 * info.el (Info-mode-map): Remove left-over binding.
2019
2020 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2021 (avl-tree--root): Remove redundant defsetf.
2022
2023 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2024
2025 * net/nsm.el (network-security-level): Remove the detailed
2026 description, which was already outdated, and refer the users to
2027 the manual.
2028 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2029 (bug#19153).
2030
2031 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
2032
2033 * net/eww.el (eww-buffers-mode): New major mode.
2034 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2035 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2036 New commands/functions (bug#19131).
2037
2038 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2039
2040 * net/gnutls.el (gnutls-negotiate): Ignore files found via
2041 'file-name-handler-alist' since the gnutls library can't use those
2042 (bug#15866).
2043
2044 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
2045
2046 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2047 when FILES is non-nil (bug#19304).
2048
2049 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
2050
2051 * vc/vc-arch.el: Move to obsolete directory so a test framework
2052 won't trip over bit-rot in it. There has been no Arch snapshot
2053 for nine years.
2054
2055 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2056
2057 * net/eww.el (eww-follow-link): Revert prefix behaviour to
2058 previous behavior.
2059 (eww-copy-page-url): Add doc string.
2060
2061 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2062
2063 * net/eww.el (eww): Move history recording here...
2064 (eww-browse-url): ... from here (bug#19253).
2065
2066 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2067 iterating over possible buffer names.)
2068
2069 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2070
2071 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2072 (eww-current-buffer): Compilation fix for bug#18550 patch.
2073
2074 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2075
2076 * net/eww.el (eww-list-histories): Restore the history in the
2077 correct buffer (bug#18550).
2078
2079 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2080
2081 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2082 displaying shortened titles first (bug#16398).
2083
2084 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
2085
2086 * progmodes/python.el: Recognize docstrings.
2087 (python-docstring-at-p, python-font-lock-syntactic-face-function):
2088 New functions.
2089 (python-mode): Use them.
2090
2091 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
2092
2093 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2094 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2095 (newsticker--treeview-create-groups-menu)
2096 (newsticker--treeview-create-tree-menu): Remove.
2097 (newsticker--treeview-tree-open-menu): New.
2098 (newsticker-treeview-tree-click): Pass event to
2099 `newsticker-treeview-tree-do-click'.
2100 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2101
2102 2014-12-05 Juri Linkov <juri@linkov.net>
2103
2104 * comint.el (comint-history-isearch-search)
2105 (comint-history-isearch-wrap): Use field-beginning instead of
2106 comint-line-beginning-position.
2107 (comint-send-input): Go to the end of the field instead of the end
2108 of the line to accept whole multi-line input.
2109 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2110
2111 2014-12-05 Juri Linkov <juri@linkov.net>
2112
2113 * minibuffer.el (minibuffer-completion-help):
2114 Compare selected-window with minibuffer-window to check whether
2115 completions should be displayed near the minibuffer. (Bug#17809)
2116 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2117
2118 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
2119
2120 * vc/vc-mtn.el (vc-mtn-root):
2121 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2122
2123 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2126 of the whole pipe when indenting an opening keyword after a |.
2127 Generalize this treatment to opening keywords like "while" (bug#18031).
2128
2129 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * simple.el (newline): Place the hook buffer-locally,
2132 to make sure it's first.
2133
2134 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2135 Fix handling of symbols with different syntax at beginning/end or with
2136 symbol rather than word syntax.
2137
2138 2014-12-05 Eli Zaretskii <eliz@gnu.org>
2139
2140 * simple.el (line-move): If noninteractive, call line-move-1, not
2141 forward-line, since the former is compatible with line-move-visual
2142 both in terms of the column to which it moves and the return
2143 value. (Bug#19211)
2144
2145 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * vc/ediff-init.el (ediff-odd-p): Remove.
2148 (ediff-background-face): Use cl-oddp instead.
2149 (ediff-buffer-live-p): Make it a defsubst.
2150
2151 * tooltip.el (tooltip-region-active-p): Remove.
2152
2153 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2154 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2155
2156 * fringe.el (fringe-bitmap-p): Make it a plain function.
2157
2158 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2159 (class-p, generic-p, eieio-object-p, class-abstract-p):
2160 Make them defsubst, so as to avoid corner case problems where
2161 the arg might be evaluated in the condition-case, or it can't be passed
2162 to higher-order functions like `cl-some'.
2163
2164 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2165
2166 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2167 and remove old menu-related code.
2168
2169 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2170
2171 * net/eww.el (eww-display-pdf): Let mailcap determine how to
2172 display PDF files (bug#19270).
2173
2174 2014-12-05 Juri Linkov <juri@linkov.net>
2175
2176 Compare with the most recent window by default.
2177 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2178 (compare-windows-get-recent-window)
2179 (compare-windows-get-next-window): New functions.
2180 (compare-windows, compare-windows-sync-default-function):
2181 Use `compare-windows-get-window-function' instead of `next-window'.
2182 (compare-windows): Add diff/match messages with region boundaries.
2183 (Bug#19170)
2184
2185 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2188
2189 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2190
2191 * net/shr.el (shr--extract-best-source): Ignore non-text children.
2192
2193 2014-12-04 Eli Zaretskii <eliz@gnu.org>
2194
2195 Implement copying of a buffer portion while preserving visual order.
2196 * simple.el (bidi-directional-controls-chars)
2197 (bidi-directional-non-controls-chars): New variables.
2198 (squeeze-bidi-context-1, squeeze-bidi-context)
2199 (line-substring-with-bidi-context)
2200 (buffer-substring-with-bidi-context): New functions.
2201
2202 * files.el (file-tree-walk): Doc fix.
2203
2204 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
2205 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2206
2207 * autoinsert.el (auto-insert-alist): Update C/C++ header and
2208 program support to match more extensions. Replace non-alnum
2209 characters when generating include guards (headers) and check for
2210 more extensions when generating includes (programs)
2211 (bug#19254).
2212
2213 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
2214
2215 * files.el (file-tree-walk): Fix docstring.
2216
2217 2014-12-03 Karl Fogel <kfogel@red-bean.com>
2218
2219 Fix bug whereby saving files hung in VC hook.
2220
2221 Saving a buffer visiting a file under SVN control would hang if
2222 the remote repository were unreachable, because the VC hooks tried
2223 to run "svn status -u" on the file, where the "-u" tells svn to
2224 get update information from the remote repository.
2225 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2226
2227 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2228 argument and always pass "-v" to "svn status", never "-u".
2229
2230 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * emacs-lisp/inline.el: Fix up copyright header.
2233 (inline-quote, inline-const-p, inline-const-val, inline-error):
2234 Silence compiler warnings.
2235 (inline-letevals): Fix edebug spec.
2236 (inline--testconst-p): Consider lambda expressions as const-p.
2237 (inline--getconst-val): Use inline--testconst-p.
2238
2239 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2240 and change default to stay in the minibuffer when called from
2241 the minibuffer (bug#19250).
2242 (lazy-completion-table): Use this new argument to preserve the
2243 old behavior.
2244
2245 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2246 incorrect lexical elements (bug#19250).
2247
2248 2014-12-03 A. N. Other <none@example.com>
2249
2250 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2251
2252 2014-12-02 Glenn Morris <rgm@gnu.org>
2253
2254 * whitespace.el (whitespace-big-indent-regexp): Add :version.
2255
2256 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2257
2258 * subr.el (filter): New macro. Because it's just silly for a Lisp
2259 not to have this in 2014. And VC needs it.
2260
2261 * vc.el: All backends: API simplification: Abolish dir-status.
2262 It's replaced by dir-status-files.
2263
2264 * vc.el: All backends: API simplification: Remove 4th
2265 'default-state' argument from vc-dir-status files and its backend
2266 methods - no backend method ever set it. It was used only in the
2267 fallback method to to set a default of 'up-to-date, though a
2268 convoluted call chain obscured this.
2269
2270 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2271
2272 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2273 improving behavior on directories using multiple file-oriented VCSes.
2274
2275 * vc/vc.el: All backends: API simplification; clear-headers
2276 is no longer a public method. It is now local to the one place
2277 it's used, in the RCS steal-lock method.
2278
2279 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2280
2281 * vc/vc.el: In all backends: API simplification; could-register
2282 is no longer a public method. (vc-cvs.el still has a private
2283 implementation.)
2284
2285 * vc/vc.el: In all backends: API cleanup; the backend diff method
2286 takes an explicit async flag. This eliminates a particularly ugly
2287 global.
2288
2289 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2290 VC randomly/unpredictably fails without it; cause not yet established.
2291
2292 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 Merge some of the differences from the standalone CC-mode.
2295 The main change is to only use the `category' text-property only when
2296 available. For that many calls are changed to use c-get-char-property,
2297 c-next-single-property-change, c-sc-scan-lists,
2298 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
2299
2300 * progmodes/cc-mode.el (c-just-done-before-change): New var.
2301 (c-basic-common-init): Initialize it.
2302 (c-common-init): Only use mode-require-final-newline when available.
2303 (c-before-change): Check and set c-just-done-before-change.
2304 (c-after-change): Re-set c-just-done-before-change.
2305 (c-advise-fl-for-region): New macro.
2306 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
2307 (font-lock-after-change-function, jit-lock-after-change):
2308 Advise if needed.
2309
2310 * progmodes/cc-langs.el (c-modified-constant): New lang var.
2311 (c-known-type-key): Don't make a list just to throw it away.
2312
2313 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
2314 Handle the case where categories are not available.
2315 (c-record-parse-state-state, c-replay-parse-state-state):
2316 Handle marker values.
2317 (c-before-change-check-<>-operators): Look for the `syntax-table'
2318 property rather than for the corresponding `category'.
2319 (c-looking-at-decl-block): Remove unused var
2320 `c-disallow-comma-in-<>-arglists'.
2321 (c-forward-<>-arglist-recur): Remove unused var
2322 `orig-record-found-types'.
2323
2324 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
2325 (c-use-category): New const.
2326 (c-next-single-property-change): New macro.
2327 (c-region-is-active-p): Prefer region-active-p when available.
2328 (c-search-backward-char-property): Fix old min/max typo; probably
2329 a copy/paste error.
2330 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
2331 Turn them into macros that obey c-use-category.
2332 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
2333 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
2334 (c-sc-scan-lists, c-sc-parse-partial-sexp)
2335 (c-looking-at-non-alphnumspace): New macros.
2336 (c-sc-parse-partial-sexp-no-category): New function.
2337 (c-emacs-features): Add `category-properties' element.
2338
2339 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2340 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
2341 not available.
2342 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
2343 (c-indent-line-or-region): Use c-region-is-active-p.
2344
2345 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
2346 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
2347 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
2348 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
2349 (cc-bytecomp-obsolete-fun): Delete unused functions.
2350
2351 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
2352
2353 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2354
2355 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
2356 dom.el changes.
2357
2358 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
2361 current "project" rather than just the current directory.
2362 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
2363 the file names make sense.
2364
2365 * vc/smerge-mode.el (smerge-swap): New command.
2366
2367 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
2368
2369 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
2370
2371 * net/newst-treeview.el (newsticker--treeview-item-show):
2372 Check window liveliness before measuring its width.
2373
2374 * net/newst-backend.el (newsticker--get-news-by-url-callback):
2375 Pass correct status to `newsticker--sentinel-work'.
2376 (newsticker--sentinel-work): Use "newsticker--download-error" as
2377 guid in order to prevent multiple "Could not download..."
2378 messages. Fixes bug#19166.
2379
2380 2014-12-01 Ivan Shmakov <ivan@siamics.net>
2381
2382 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
2383 correct buffer (bug#19225).
2384
2385 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2386
2387 * net/nsm.el (network-security-level): Change the default to `medium'.
2388
2389 * net/eww.el (eww): Leave point in a place that doesn't cause
2390 scrolling when displaying "Loading...".
2391
2392 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2393
2394 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
2395 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
2396 'merge-branch'. Prompting for merge revisions is pushed down to
2397 the back ends; this fixes a layering violation that caused bad
2398 behavior with SVN.
2399
2400 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2401 vc-stay-local-p and repository-hostname are no longer public
2402 methods. Only the CVS and SVN backends used these, and the SVN
2403 support was conditioned out because svn status -v is too slow.
2404 The CVS back end retains this machinery and the vc-stay-local
2405 configuration variable now only affects it.
2406
2407 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * emacs-lisp/inline.el: New file.
2410
2411 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2412
2413 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2414 vc-state-heuristic is no longer a public method, having been
2415 removed where it is redundant, unnecessary, or known buggy.
2416 This eliminated all backends except CVS. Eliminates bug#7850.
2417
2418 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
2419 Eliminate vc-mistrust-permissions. It was only relevant to the
2420 RCS and SCCS back ends and defaulted to t. Code now always
2421 mistrusts permissions - by actual measurement the effect on
2422 performance is negligible. As a side effect bug#11490 is now
2423 irrelevant.
2424
2425 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2426 vc-workfile-unchanged-p is no longer a public method (but the RCS
2427 and SCCS back ends retain it as a private method used in state
2428 computation). This method was redundant with vc-state and usually
2429 implemented as a trivial call to same. Fixes the failure mode
2430 described in bug#694.
2431
2432 * vc/vc.el: All backends: API simplification; init-revision is
2433 gone, and vc-registered functions no longer take an
2434 initial-revision argument.
2435
2436 2014-11-29 Glenn Morris <rgm@gnu.org>
2437
2438 * vc/vc-src.el (vc-src, vc-src-diff-switches)
2439 (vc-src-master-templates): Fix :version tags.
2440
2441 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
2442
2443 * outline.el (outline-move-subtree-down): Refactor and improve code.
2444
2445 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2446 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * outline.el (outline-move-subtree-down): Make sure we can move
2449 forward to find the end of the subtree and the insertion point
2450 (bug#19102).
2451
2452 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2453
2454 * progmodes/python.el (python-shell-completion-setup-code):
2455 Use __builtin__ module (or builtins in Python 3) and catch all errors
2456 when importing readline and rlcompleter.
2457
2458 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2459
2460 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
2461 (todo-revert-buffer): New function.
2462 (todo-modes-set-1): Use it as the buffer-local value of
2463 revert-buffer-function.
2464
2465 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2466
2467 * calendar/todo-mode.el (todo-mode): If called interactively, just
2468 display a message saying to call todo-show to enter Todo mode
2469 (Bug#19112).
2470
2471 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
2472
2473 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2474 (Bug#18579)
2475
2476 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
2477 files. (Bug#18579)
2478
2479 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2480
2481 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
2482 remote `buffer-file-name'.
2483
2484 2014-11-29 Leo Liu <sdl.web@gmail.com>
2485
2486 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2487
2488 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2489
2490 Set PYTHONUNBUFFERED on shell startup.
2491
2492 * progmodes/python.el (python-shell-unbuffered): New var.
2493 (python-shell-calculate-process-environment): Use it.
2494
2495 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2496
2497 * net/tramp.el (tramp-action-password): Clean password on subsequent
2498 attempts even if there was no wrong password indication. (Bug#19047)
2499
2500 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
2501 fallback.
2502 (tramp-open-connection-setup-interactive-shell): No need to check
2503 for nil as `tramp-get-remote-locale' return value.
2504
2505 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2506
2507 * vc/vc-git.el (vc-git-command, vc-git--call):
2508 Bind coding-system-for-read and coding-system-for-write to
2509 vc-git-commits-coding-system.
2510 (vc-git-previous-revision): Use "~1" instead of "^", since the
2511 latter is a special character for MS-Windows system shells.
2512
2513 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2514
2515 Improve XEmacs compatibility.
2516
2517 * net/tramp.el (tramp-autoload-file-name-handler):
2518 Wrap `temporary-file-directory' by `symbol-value', it doesn't
2519 exist in XEmacs.
2520 (tramp-read-passwd): Don't use `with-timeout-suspend' and
2521 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
2522 (tramp-time-less-p, tramp-time-subtract): Remove functions.
2523 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
2524 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
2525 * net/tramp-cache.el (tramp-get-file-property):
2526 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2527 Use `time-less-p' and `time-subtract, respectively.
2528
2529 * net/tramp-adb.el (top): Do not require time-date.el.
2530
2531 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
2532
2533 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2534 Check, whether `utf-8' is a valid coding system.
2535
2536 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2537
2538 * vc/vc.el (vc-retrieve-tag): Doc fix.
2539
2540 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
2543 (bug#19152).
2544
2545 2014-11-28 Martin Rudalics <rudalics@gmx.at>
2546
2547 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
2548 * help.el (help-window-old-frame): New variable.
2549 (help-window-select): Default to nil (Bug#11039).
2550 Rewrite doc-string.
2551 (help-window-setup): When the help window appears on another
2552 frame and `help-window-select' is non-nil, give that frame input
2553 focus too (Bug#19012).
2554 (with-help-window): Store selected frame in
2555 help-window-old-frame.
2556
2557 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
2558
2559 * net/newst-treeview.el (newsticker--treeview-load): Take care of
2560 nil value for `newsticker-groups-filename'.
2561
2562 2014-11-28 Daiki Ueno <ueno@gnu.org>
2563
2564 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2565 (epa-sign-region, epa-encrypt-region):
2566 Use `epg-context-set-{passphrase,progress}-callback', instead of
2567 `setf'. This partially reverts commit 9e48a95c (bug#19150).
2568 Reported by José A. Romero L.
2569
2570 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2571
2572 * net/eww.el (eww-restore-history):
2573 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
2574
2575 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2576
2577 * net/newst-backend.el (newsticker--parse-atom-1.0):
2578 Handle embedded (x)html in summary node.
2579
2580 2014-11-27 Sam Steingold <sds@gnu.org>
2581
2582 * menu-bar.el (menu-bar-open): When everything else fails,
2583 use (mouse-menu-bar-map).
2584
2585 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2586
2587 * net/newst-treeview.el (newsticker-groups-filename):
2588 Change default value to nil. Point out that variable is obsolete in doc
2589 string.
2590 (newsticker--treeview-load): Change wording of the questions the
2591 user is asked when `newsticker-groups-filename' is found to be
2592 used and we offer to read and remove the groups file. (Bug#19165)
2593
2594 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2595
2596 * net/eww.el (eww): Record the new URL immediately, so that if the
2597 HTTP fetch fails, we have the right URL in the buffer.
2598 (eww-process-text-input): Don't shorten the input field if
2599 deleting at the last character (bug#19085).
2600 (eww-restore-history): Inhibit change functions while restoring
2601 the history.
2602 (eww-process-text-input): Fix deletion at the start of the field, too.
2603 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
2604 (eww-process-text-input): Try to keep track of the size more reliably.
2605
2606 * dom.el (dom-pp): New function.
2607
2608 2014-11-27 Eli Zaretskii <eliz@gnu.org>
2609
2610 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
2611 Don't assume --long is the default for "bzr log", always specify
2612 it explicitly, in case the user defined an alias for 'log' that
2613 uses some other format.
2614
2615 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2616
2617 * progmodes/python.el (python-eldoc--get-doc-at-point):
2618 Strip shell output before returning. (bug#18794)
2619
2620 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
2621
2622 Fix indentation before `!=' and after `+='. Originally reported
2623 in https://github.com/mooz/js2-mode/issues/174.
2624 * progmodes/js.el (js--indent-operator-re): Make assignments and
2625 (in)equality operator a separate case.
2626 (js--continued-expression-p): Escape the second `+' in the regexp.
2627
2628 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
2631
2632 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2633
2634 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
2635 when querying about new certificates.
2636
2637 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
2638
2639 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
2640 can be strings.
2641 (dom-elements): Protect against non-text nodes.
2642 (dom-non-text-children): New function.
2643
2644 * net/eww.el (eww-tag-title): Use `dom-text'.
2645
2646 2014-11-26 Sam Steingold <sds@gnu.org>
2647
2648 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2649
2650 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2651
2652 * net/eww.el (eww-highest-readability): More dom.el fixes.
2653
2654 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
2655
2656 * net/newst-backend.el (newsticker--parse-generic-items):
2657 Take care of UIDs when adding elements to cache.
2658
2659 2014-11-26 Alan Mackenzie <acm@muc.de>
2660
2661 Remove spurious reference to symbol category_properties.
2662 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
2663
2664 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2665
2666 * net/eww.el: Use the new dom.el accessors throughout.
2667
2668 * net/shr.el: Ditto.
2669
2670 * dom.el: New file.
2671
2672 2014-11-26 Glenn Morris <rgm@gnu.org>
2673
2674 * arc-mode.el (archive-visit-single-files): Add :version.
2675
2676 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2677
2678 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
2679 elements.
2680 (nsm-warnings-ok-p): The new version of this function always
2681 returned nil when everything was OK.
2682
2683 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
2684
2685 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
2686
2687 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
2688 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
2689
2690 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2691
2692 * emacs-lisp/byte-run.el (function-put): Match argument names to
2693 docstring.
2694
2695 2014-11-24 Sam Steingold <sds@gnu.org>
2696
2697 * vc/vc-hooks.el (vc-directory-exclusion-list):
2698 Fix a trivial typo (bug#19171).
2699
2700 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * vc/vc-hooks.el (vc-state-base-face): Don't override
2703 mode-line-inactive.
2704
2705 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2706
2707 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
2708 (eww-process-text-input): Inhibit read only so that input fields
2709 don't get shortened (bug#19085).
2710
2711 2014-11-24 Leo Liu <sdl.web@gmail.com>
2712
2713 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
2714
2715 * window.el (with-temp-buffer-window)
2716 (with-current-buffer-window, with-displayed-buffer-window):
2717 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
2718 * emacs-lisp/cl-lib.el (substring):
2719 * emacs-lisp/cl-extra.el (cl-getf): Use it.
2720
2721 2014-11-24 Eli Zaretskii <eliz@gnu.org>
2722
2723 * isearch.el (isearch-update): Don't assume
2724 pos-visible-in-window-p will return nil when point is hscrolled
2725 out of view. (Bug#19157)
2726
2727 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
2728
2729 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
2730 (eww-follow-link): Follow in new buffer in case of prefix
2731 argument, open externally with double prefix (bug#19130).
2732
2733 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2734
2735 * net/eww.el (eww-display-html): Decode the document-defined charset.
2736 (eww): Pop to the *eww* buffer immediately after executing the
2737 `M-x eww' command to avoid having buffers pop up later.
2738 (eww-display-html): Don't pop the *eww* buffer.
2739 (eww-display-raw): Ditto.
2740 (eww-display-image): Ditto.
2741 (eww-follow-link): Make going to #targets in the page work again.
2742
2743 2014-11-23 Ivan Shmakov <ivan@siamics.net>
2744
2745 * net/eww.el (eww-suggest-uris): New variable.
2746 (eww-suggested-uris): New function.
2747 (eww): Default to URL under point.
2748 (eww-links-at-point): New function.
2749
2750 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2751
2752 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
2753
2754 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2755
2756 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
2757
2758 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2759
2760 * net/eww.el (eww-set-character-encoding): New command and keystroke.
2761 (eww-display-raw): Use it (bug#16225).
2762
2763 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2764
2765 * net/nsm.el (network-security-level): Rename from
2766 `nsm-security-level' and documented.
2767
2768 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
2769 we're sending a password.
2770
2771 * net/nsm.el: New file that implements a Network Security Manager.
2772
2773 * net/network-stream.el (open-network-stream): Add a new
2774 :warn-unless-encrypted parameter.
2775 (network-stream-open-plain): Allow warning unless encrypted.
2776 (network-stream-open-starttls): Call the Network Security Manager.
2777 (network-stream-open-tls): Ditto.
2778
2779 2014-11-23 Leo Liu <sdl.web@gmail.com>
2780
2781 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
2782 (calendar-chinese-to-absolute-for-diary)
2783 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
2784 Handle leap months in Chinese calendar. (Bug#18953)
2785
2786 2014-11-22 Alan Mackenzie <acm@muc.de>
2787
2788 Fix error with `mark-defun' and "protected:" in C++ Mode.
2789 Fixes: debbugs:19134.
2790
2791 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
2792 return code of (label) from c-beginning-of-decl-1.
2793
2794 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
2795
2796 * net/newst-backend.el (newsticker--sentinel-work):
2797 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
2798
2799 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
2800
2801 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
2802 (tramp-sh-handle-process-file): Propagate `process-environment'.
2803
2804 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
2805 Tramp propagates environment variables now.
2806
2807 2014-11-22 Eric S. Raymond <esr@snark>
2808
2809 * vc/vc-filewise.el: New file to isolate code used only by the
2810 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
2811 live in vc.el and certainly not in vc-hooks.el.
2812
2813 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
2814 This is preparatory to isolating all the 'master' functions
2815 used only by the file-oriented back ends. With this done first,
2816 the substantive diffs will be easier to read.
2817
2818 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2819
2820 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
2821 that is recognized by `help-mode'.
2822
2823 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2824
2825 * desktop.el (desktop-create-buffer): Use activate-mark to set
2826 `mark-active' (bug#19058).
2827
2828 2014-11-21 Eric S. Raymond <esr@snark>
2829
2830 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
2831 nil state.
2832
2833 2014-11-21 Eli Zaretskii <eliz@gnu.org>
2834
2835 * vc/vc.el (vc-deduce-fileset): Support invocation from
2836 *vc-change-log* buffer. (Bug#19084)
2837
2838 2014-11-13 Matthew Leach <matthew@mattleach.net>
2839
2840 * arc-mode.el (archive-visit-single-files): New.
2841 (archive-mode): Visit file if archive contains a single file.
2842 (Bug#1702)
2843
2844 2014-11-21 Ulrich Müller <ulm@gentoo.org>
2845
2846 * vc/vc.el: Fix a typo in the commentary.
2847
2848 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
2849
2850 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
2851 testing and a real log-view mode.
2852
2853 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
2854 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
2855 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
2856 checkout methods; where it matters (which is only in SCCS and RCS)
2857 files are always checked out editable. This may actually have
2858 been dynamically true already - it looks like the vc-next-action
2859 code evolved past visiting the other case. Tested with RCS.
2860
2861 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
2862 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
2863 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
2864 argument from the backend checkin methods. Only the RCS, SCCS,
2865 and CVS back ends tried to do anything with it, and that code was
2866 never exercised. Chiseling away the cruft of decades...
2867
2868 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2869
2870 * net/eww.el (eww-render): Remove a no-op :title setting.
2871
2872 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2873
2874 * net/eww.el (eww-history-limit): New variable.
2875 (eww-save-history): Use it (bug#19105).
2876 (eww-reload): Reload the page in the right buffer.
2877
2878 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2879
2880 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
2881
2882 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2883
2884 * net/eww.el (eww-desktop-remove-duplicates)
2885 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
2886 (eww-mode): Set up desktop mode (bug#18010).
2887 (eww-desktop-data-save, eww-desktop-data-1)
2888 (eww-desktop-history-duplicate, eww-desktop-misc-data)
2889 (eww-restore-desktop): New functions.
2890
2891 2014-11-19 Eli Zaretskii <eliz@gnu.org>
2892
2893 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
2894 correct buffer. (Bug#19101)
2895
2896 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2897
2898 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
2899 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
2900
2901 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
2902
2903 * ido.el (ido-bury-buffer-at-head): New command.
2904 (ido-buffer-completion-map): Bind it to C-S-b.
2905
2906 2014-11-18 Juri Linkov <juri@linkov.net>
2907
2908 * simple.el (next-line-or-history-element): Wrap next-line
2909 in with-no-warnings.
2910 (previous-line-or-history-element): Wrap previous-line
2911 in with-no-warnings.
2912
2913 2014-11-18 Juri Linkov <juri@linkov.net>
2914
2915 * progmodes/grep.el (grep-compute-defaults):
2916 Compute grep-highlight-matches before its use.
2917
2918 2014-11-18 Juri Linkov <juri@linkov.net>
2919
2920 * replace.el (query-replace-from-to-separator): Turn defvar into
2921 defcustom. Wrap char-displayable-p in ignore-errors because an
2922 attempt to autoload char-displayable-p fails during pre-loading.
2923 Move (propertize "\0" ... 'separator t) out of customizable part
2924 to query-replace-read-from.
2925 (query-replace-read-from): Call custom-reevaluate-setting on
2926 query-replace-from-to-separator to reevaluate the separator
2927 depending on the return value of char-displayable-p.
2928 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
2929
2930 2014-11-18 Juri Linkov <juri@linkov.net>
2931
2932 * bindings.el (minibuffer-local-map): Rebind [down] from
2933 next-history-element to next-line-or-history-element, and [up]
2934 from previous-history-element to previous-line-or-history-element.
2935
2936 * simple.el (next-line-or-history-element)
2937 (previous-line-or-history-element): New commands.
2938 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
2939
2940 2014-11-18 Leo Liu <sdl.web@gmail.com>
2941
2942 * emacs-lisp/nadvice.el (define-advice): New macro.
2943 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2944 Add define-advice.
2945 (lisp-font-lock-keywords-1): Add define-advice.
2946
2947 2014-11-18 Daiki Ueno <ueno@gnu.org>
2948
2949 * epg.el (epg-context): New slot EDIT-CALLBACK.
2950 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
2951 (epg-reset): Reset EDIT-CALLBACK of the context.
2952 (epg-start-edit-key): New function.
2953 (epg-edit-key): New function.
2954
2955 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
2956
2957 Port new time stamp handling to Emacs 23.2.
2958 This fix is for Gnus. Reported by Katsumi Yamaoka.
2959 * calendar/time-date.el (time-add, time-subtract, time-less-p):
2960 Use eval-and-compile, not eval-when-compile.
2961
2962 2014-11-18 Daiki Ueno <ueno@gnu.org>
2963
2964 * epg.el (epg-context-set-passphrase-callback)
2965 (epg-context-set-progress-callback): Check if the CALLBACK
2966 argument is a function, instead of a cons.
2967
2968 2014-11-18 Daiki Ueno <ueno@gnu.org>
2969
2970 * epa-file.el (epa-file-insert-file-contents)
2971 (epa-file-write-region): Remove redundant check of
2972 epa-pinentry-mode.
2973 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2974 (epa-sign-region, epa-encrypt-region): Remove redundant check of
2975 epa-pinentry-mode.
2976
2977 2014-11-18 Daiki Ueno <ueno@gnu.org>
2978
2979 * epa-file.el (epa-file-insert-file-contents): Don't show
2980 "*Error*" buffer if input file does not exist.
2981 Reported by Herbert J. Skuhra.
2982
2983 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
2984 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2985
2986 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
2987 An alternative version of the patch from bug#13871.
2988 (c-operators): Add "alignof".
2989 (c-primitive-type-kwds): Add "char16_t", "char32_t".
2990 (c-type-modifier-kwds): Add "constexpr", "noexcept".
2991 (c-modifier-kwds): Add "thread_local".
2992 (c-constant-kwds): Add "nullptr".
2993
2994 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
2995
2996 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
2997 New variables for specifying tildify pattern and representation of
2998 a hard space -- a no-break space by default -- respectively.
2999 Being buffer-local they are much easier to handle than
3000 `tildify-string-alist' and `tildify-pattern-alist' respectively
3001 that have been used so far. They also works better with derived
3002 modes.
3003 (tildify-foreach-region-function): New variable specifying
3004 a function determining portions of buffer that should be
3005 tildified. It allows major modes to create a filtering function
3006 more elaborate than a set of regular expressions. Initialised to
3007 `tildify--deprecated-ignore-evironments' by default to handle now
3008 deprecated `tildify-ignored-environments-alist' variable.
3009 (tildify--foreach-region): A new function that takes
3010 `tildify-foreach-region-function' into account and calls callback
3011 for regions of the buffer that should be tildified.
3012 (tildify-foreach-ignore-environments): A new function which can be
3013 partially applied and used as `tildify-foreach-region-function'.
3014 (tildify-ignored-environments-alist, tildify-pattern)
3015 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3016 (tildify--find-env): Rename from `tildify-find-env' and mark as
3017 obsolete.
3018 (tildify--deprecated-ignore-evironments): New function,
3019 immediately marked as obsolete, used to handle deprecated
3020 `tildify-ignored-environments-alist'.
3021
3022 * textmodes/tex-mode.el (tex-common-initialization):
3023 Set `tildify-space-string' and `tildify-foreach-region-function'
3024 variables in all variants of TeX mode since `tildify-string-alist'
3025 and `tildify-ignored-environments-alist' are now empty by default.
3026
3027 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3028 If encoding supports it use no-break space instead of character
3029 entity; this changes previous default which used a numeric
3030 reference.
3031
3032 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3033 If encoding does not support no-break space, use numeric reference;
3034 this changes previous default which used named entity (“&nbsp;”)
3035 in HTML mode.
3036
3037 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
3038
3039 * calendar/icalendar.el (icalendar-export-alarms):
3040 New customizable variable. (Bug#5433)
3041 (icalendar-export-region): Export alarms as specified in
3042 `icalendar-export-alarms'.
3043 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3044 New functions for exporting alarms.
3045
3046 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3047
3048 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3049
3050 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
3051
3052 Port new time stamp handling to old Emacs and to XEmacs.
3053 This is needed for Gnus, which copies time-date.el and which
3054 runs on older Emacs implementations.
3055 * calendar/time-date.el (with-decoded-time-value):
3056 Handle 'nil' and floating-point arg more compatibly with new Emacs.
3057 (encode-time-value, with-decoded-time-value):
3058 Obsolete only if new Emacs.
3059 (time-add, time-subtract, time-less-p): Define if not new Emacs.
3060
3061 Improve time stamp handling, and be more consistent about it.
3062 This implements a suggestion made in:
3063 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3064 Among other things, this means timer.el no longer needs to
3065 autoload the time-date module.
3066 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3067 * arc-mode.el (archive-ar-summarize):
3068 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3069 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3070 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3071 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3072 * proced.el (proced-time-lessp):
3073 * timezone.el (timezone-time-from-absolute):
3074 * type-break.el (type-break-schedule, type-break-time-sum):
3075 Simplify by using new functionality.
3076 * calendar/cal-dst.el (calendar-next-time-zone-transition):
3077 Do not return time values in obsolete and undocumented (HI . LO)
3078 format; use (HI LO) instead.
3079 * calendar/time-date.el (with-decoded-time-value):
3080 Treat 'nil' as current time. This is mostly for XEmacs.
3081 (encode-time-value, with-decoded-time-value): Obsolete.
3082 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3083 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
3084 * ldefs-boot.el: Update to match new time-date.el
3085 * proced.el: Do not require time-date.
3086
3087 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3088
3089 * net/eww.el (eww-mode): Make the buffer read-only.
3090 (eww-form-text): Inhibit read-only-ness in text input fields
3091 (bug#16476).
3092
3093 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * simple.el (execute-extended-command--shorter): Cut search here.
3096 (execute-extended-command): Instead of here.
3097
3098 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3099
3100 * progmodes/python.el (python-mode): Avoid use of set-local to
3101 keep Emacs 24.x compatibility.
3102
3103 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3104
3105 * net/shr.el (shr): Move to the new defgroup `web'.
3106
3107 * net/eww.el (eww): Ditto.
3108
3109 * simple.el (execute-extended-command): Don't show the help
3110 message if the binding isn't significantly shorter than the
3111 M-x command the user typed (bug#19013).
3112
3113 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
3114
3115 * calendar/icalendar.el (icalendar--convert-tz-offset):
3116 Return complete cons when offsets of standard time and daylight saving
3117 time are equal.
3118 (icalendar-export-region): Fix unbound variable warning.
3119
3120 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3121
3122 * progmodes/python.el (run-python): Allow CMD to be optional and
3123 default it to a safe command, even for Windows. (bug#18596)
3124
3125 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3126
3127 * progmodes/python.el (python-shell-calculate-command):
3128 Rename from python-shell-parse-command. Cleanup.
3129 (run-python, run-python-internal): Use it.
3130 (python-shell-calculate-pythonpath): Rename from
3131 python-new-pythonpath.
3132 (python-shell-calculate-process-environment): Use it.
3133 (python-shell-calculate-exec-path): Add comment.
3134
3135 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
3136
3137 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3138 for date handling.
3139
3140 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
3141
3142 * version.el (emacs-repository-get-version): Use git rev-parse
3143 instead of git log.
3144
3145 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3146
3147 * progmodes/python.el (python-indent-calculate-levels):
3148 Fix indentation behavior multiline dedenter statement. (Bug#18432)
3149
3150 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3151
3152 * progmodes/python.el (python-indent-region):
3153 Use python-indent-line and skip special cases. (Bug#18843)
3154
3155 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
3156
3157 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3158 envelope-from when reporting through sendmail (bug#19054).
3159
3160 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
3161
3162 Add faces for the VC modeline state indicator.
3163 * vc/vc-hooks.el:
3164 (vc-state-faces, vc-state-base-face)
3165 (vc-up-to-date-state, vc-needs-update-state)
3166 (vc-locked-state, vc-locally-added-state)
3167 (vc-conflict-state, vc-removed-state)
3168 (vc-missing-state, vc-edited-state):
3169 New faces.
3170 (vc-default-mode-line-string): Use them
3171
3172 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3175
3176 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3177
3178 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3179
3180 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
3181
3182 * progmodes/python.el (python-eldoc-setup-code): Enhance string
3183 type checks, simplify printing. (Bug#18962)
3184
3185 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
3186
3187 * progmodes/python.el (python-shell-font-lock-kill-buffer):
3188 (python-shell-font-lock-with-font-lock-buffer)
3189 (python-shell-get-buffer, python-ffap-module-path):
3190 Use `derived-mode-p' instead of equality test on `major-mode'.
3191
3192 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3193
3194 * progmodes/python.el (python-shell-virtualenv-root): Rename from
3195 python-shell-virtualenv-path.
3196 (python-shell-internal-get-process-name)
3197 (python-shell-calculate-process-environment)
3198 (python-shell-calculate-exec-path): Use it.
3199
3200 2014-11-14 Eli Zaretskii <eliz@gnu.org>
3201
3202 * bindings.el (search-map): Fix last change: don't use 'kbd' in
3203 bindings.el, since it is not yet loaded when bindings.el is
3204 preloaded.
3205
3206 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3207
3208 * progmodes/python.el (python-shell-completion-get-completions):
3209 Fix previous merge.
3210
3211 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3212
3213 * net/eww.el (eww-render): Don't set the title to the URL.
3214
3215 2014-11-13 Ulrich Müller <ulm@gentoo.org>
3216
3217 * version.el (emacs-repository-get-version): Call `git log'
3218 command with proper format argument (bug#19049).
3219
3220 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3221
3222 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3223
3224 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3225
3226 * net/eww.el (eww-search-words): New command (bug#16258).
3227
3228 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3229
3230 * net/shr.el (shr-inhibit-images): Add a doc string.
3231
3232 * net/eww.el (eww-after-render-hook): New variable.
3233 (eww-render): Use it.
3234
3235 * net/shr.el (shr-descend): Don't descend further than
3236 `max-specpdl-size' allows (bug#16587).
3237 (shr-depth): New variable.
3238 (shr-warning): New variable.
3239
3240 2014-11-13 Ivan Shmakov <ivan@siamics.net>
3241
3242 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3243 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3244
3245 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3246
3247 * net/eww.el (eww): Add comment to clarify.
3248
3249 * net/shr.el (shr-parse-image-data): Remove blocked bits from
3250 external SVG images.
3251 (shr-tag-object): Display images in <object> forms (bug#16244).
3252 (shr-tag-table): Also insert <objects> after the tables.
3253
3254 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
3257
3258 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3259
3260 * net/eww.el (eww-form-file): Fix version number.
3261
3262 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3263
3264 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3265
3266 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3267
3268 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3269 (eww-submit-file): New key map of file upload.
3270 (eww-form-file): New file upload button and file name context.
3271 (eww-select-file): Select file and display selected file name.
3272 (eww-tag-input): Handle input tag of file type.
3273 (eww-update-field): Add point offset.
3274 (eww-submit): Add submit with multipart/form-data.
3275
3276 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3277
3278 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3279 Allow taking a buffer to render data in. This allows using several
3280 eww buffers (bug#16211).
3281
3282 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
3283
3284 * net/eww.el (eww-download-callback): Save only the file contents,
3285 not the headers.
3286
3287 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3288
3289 * net/eww.el (eww-data): New plist to store all the data relevant
3290 to a single page, used throughout the file instead of the
3291 variables `eww-current-url', `eww-current-dom',
3292 `eww-current-source', and `eww-current-title'.
3293 (eww-readable): Copy over pertinent data from the parent page.
3294 (eww-save-history): Don't let the history grow infinitely.
3295
3296 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
3297 `eww-up-url', `eww-home-url', `eww-start-url' and
3298 `eww-contents-url' and put the data into the `eww-data' plist.
3299 This allow restoring these values after going back in the history.
3300
3301 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
3302
3303 Allow VTIMEZONE where daylight and standard time zones are equal.
3304 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
3305 * calendar/icalendar.el (icalendar--convert-tz-offset):
3306 Support timezone without daylight saving time.
3307
3308 2014-11-10 Glenn Morris <rgm@gnu.org>
3309
3310 * startup.el (command-line): Handle nil elements in load-path.
3311
3312 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * help.el (view-lossage): Include the actual commands run.
3315
3316 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
3319 no state is specified. (Bug#18964)
3320
3321 2014-11-09 Eric Ludlam <zappo@gnu.org>
3322
3323 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3324 Set eieio-cog (current group) to g, which is an improved form of input
3325 group.
3326
3327 2014-11-09 Juri Linkov <juri@jurta.org>
3328
3329 * isearch.el (isearch-message-prefix): Show "Multi-file" and
3330 "Multi-buffer" instead of "Multi". (Bug#13592)
3331
3332 * misearch.el (multi-isearch-file-list):
3333 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
3334 (multi-isearch-end): Reset multi-isearch-buffer-list and
3335 multi-isearch-file-list to nil.
3336
3337 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3340 Don't call byte-compile-preprocess since the result will go through
3341 cconv.
3342 (byte-compile-output-docform): Handle uninterned `name' correctly.
3343 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
3344 to circumvent byte-compiler bug.
3345
3346 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
3347 (macroexp--compiler-macro): Remove left-over debug code.
3348
3349 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
3350
3351 2014-11-08 Juri Linkov <juri@jurta.org>
3352
3353 * simple.el (shell-command): Use buffer-name when output-buffer is
3354 a buffer. (Bug#18096)
3355
3356 2014-11-08 Juri Linkov <juri@jurta.org>
3357
3358 * minibuffer.el (minibuffer-completion-help): Compare this-command
3359 with completion-at-point. (Bug#17809)
3360
3361 2014-11-08 Glenn Morris <rgm@gnu.org>
3362
3363 * emacs-lisp/bytecomp.el (byte-compile-report-error):
3364 Allow the argument to be a string. Due to the vague doc,
3365 it was already being used this way.
3366
3367 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/tramp.el (tramp-check-cached-permissions): Include hop in
3370 the constructed Tramp file name. (Bug#18943)
3371
3372 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
3375 (bug#18952).
3376 (cua-set-mark, cua--post-command-handler-1):
3377 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
3378
3379 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * files.el (file-name-non-special): Wrap the call of
3382 `insert-file-contents' by `unwind-protect', in order to set the
3383 buffer's file name anyway. (Bug#18891)
3384
3385 2014-11-08 Alan Mackenzie <acm@muc.de>
3386
3387 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
3388 * progmodes/cc-fonts.el (c-font-lock-declarations):
3389 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
3390 the buffer is sometimes narrowed to less than "limit" (e.g., in
3391 the presence of macros).
3392
3393 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3394
3395 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
3396 only when message appeared in minibuffer. (Bug#18891)
3397
3398 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
3399 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
3400 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
3401 case of errors.
3402
3403 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3406 Don't compile before eval in `eval-and-compile'.
3407 (byte-compile-arglist-warn): Add check for defining macros after their
3408 first use. Check call use even if the function is fboundp.
3409
3410 2014-11-08 Richard Stallman <rms@gnu.org>
3411
3412 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
3413 Check more carefully for mime-part specified character set.
3414 Check for mime-part Content Transfer Encoding.
3415 Notify if no armor found.
3416
3417 2014-11-08 Martin Rudalics <rudalics@gmx.at>
3418
3419 * faces.el (face-set-after-frame-default): Enable running
3420 `window-configuration-change-hook'.
3421
3422 2014-11-07 Juri Linkov <juri@jurta.org>
3423
3424 * replace.el: History for query replace pairs.
3425 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
3426 (query-replace-from-to-separator): New variable.
3427 (query-replace-read-from): Let-bind query-replace-from-to-history
3428 to a list of FROM-TO strings created from query-replace-defaults
3429 and separated by query-replace-from-to-separator. Use it as
3430 the history while reading from the minibuffer. Split the returned
3431 string by the separator to get FROM and TO parts, and add them
3432 to the history variables.
3433 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
3434 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
3435 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
3436
3437 * isearch.el (isearch-text-char-description): Keep characters
3438 intact and put formatted strings with the `display' property.
3439
3440 2014-11-07 Martin Rudalics <rudalics@gmx.at>
3441
3442 * cus-start.el (frame-resize-pixelwise): Fix group.
3443 (frame-inhibit-implied-resize): Add entry.
3444
3445 2014-11-07 Daiki Ueno <ueno@gnu.org>
3446
3447 * epa.el (epa-pinentry-mode): New user option.
3448 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3449 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
3450 * epa-file.el (epa-file-insert-file-contents)
3451 (epa-file-write-region): Respect epa-pinentry-mode.
3452
3453 2014-11-07 Daiki Ueno <ueno@gnu.org>
3454
3455 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
3456 (bug#18979). Reported by Hideki Saito.
3457
3458 2014-11-06 Daiki Ueno <ueno@gnu.org>
3459
3460 * emacs-lisp/package.el (package--display-verify-error): New function.
3461 (package--check-signature): Use it to display output sent to stderr.
3462
3463 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * subr.el (pop): Don't call the getter twice (bug#18968).
3466
3467 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
3468 uses of `funcall'.
3469
3470 2014-11-06 Daiki Ueno <ueno@gnu.org>
3471
3472 * epa.el (epa-error-buffer): New variable.
3473 (epa-display-error): New function.
3474 (epa-decrypt-file, epa-verify-file, epa-verify-region)
3475 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
3476 (epa-sign-file, epa-sign-region, epa-encrypt-region)
3477 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
3478 Use setf instead of epg-context-set-*.
3479 * epa-file.el (epa-file-insert-file-contents):
3480 Use epa-display-error instead of epa-display-info. Mimic the behavior
3481 of jka-compr when decryption program is not found.
3482 (epa-file-write-region): Use epa-display-error instead of
3483 epa-display-info.
3484
3485 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * vc/vc.el (vc-region-history): New command.
3488 (vc-print-log-internal): Use cl-some.
3489
3490 * vc/vc-git.el (vc-git-region-history): New function.
3491 (vc-git-region-history-mode-map)
3492 (vc-git--log-view-long-font-lock-keywords)
3493 (vc-git-region-history-font-lock-keywords): New vars.
3494 (vc-git-region-history-font-lock): New function.
3495 (vc-git-region-history-mode): New major mode.
3496
3497 2014-11-05 Tassilo Horn <tsdh@gnu.org>
3498
3499 * net/eww.el (subr-x): Require subr-x at compile-time because eww
3500 uses string-trim.
3501
3502 2014-11-05 Daiki Ueno <ueno@gnu.org>
3503
3504 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
3505 (epg-error-output): New buffer-local variable.
3506 (epg--start): Initialize epg-error-output.
3507 (epg--process-filter): Record output lines sent to stderr, in
3508 epg-error-output.
3509 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
3510 slot of context.
3511 * epa-file.el (epa-file-insert-file-contents): On error, display
3512 output sent to stderr.
3513 (epa-file-write-region): Likewise.
3514
3515 2014-11-05 Eli Zaretskii <eliz@gnu.org>
3516
3517 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
3518 returned by load-average.
3519
3520 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
3523 a local copy; setting `inhibit-file-name-handlers' proper might be
3524 more performant. (Bug#18751)
3525
3526 2014-11-05 Glenn Morris <rgm@gnu.org>
3527
3528 * mail/emacsbug.el (report-emacs-bug): No longer include
3529 recent-keys in the report. (Bug#18900)
3530
3531 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
3532
3533 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
3534
3535 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3536
3537 * net/eww.el (eww): Trim URL with `string-trim'.
3538 Suggested by Vibhav Pant <vibhavp@gmail.com>.
3539
3540 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3541
3542 * net/eww.el (eww-score-readability): Don't count comments positively.
3543
3544 * net/shr.el (shr-retransform-dom): Typo fix.
3545
3546 * net/eww.el (eww-score-readability): Parse SVC images correctly.
3547 (eww-display-html): Don't leave point inside forms.
3548
3549 * net/shr.el: Ditto.
3550
3551 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
3554 edebug-prin1-to-string already handles circularity.
3555
3556 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
3557 autoloading when specified as a lambda.
3558
3559 * simple.el (execute-extended-command--last-typed): New var.
3560 (read-extended-command): Set it.
3561 Don't complete obsolete commands.
3562 (execute-extended-command--shorter-1)
3563 (execute-extended-command--shorter): New functions.
3564 (execute-extended-command): Use them to suggest shorter names.
3565 (indicate-copied-region, deactivate-mark): Use region-active-p.
3566
3567 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
3568
3569 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
3570 local copy of FILENAME, when it is remote. (Bug#18751)
3571
3572 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
3573 an error when the command fails; the return code must indicate.
3574 (tramp-adb-send-command-and-check): Fix docstring.
3575
3576 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3577
3578 * net/shr.el (shr-retransform-dom): Don't ignore elements that
3579 have no children like <br />.
3580
3581 * net/eww.el (eww-display-html): Clear `url-queue'.
3582 (eww-display-pdf): New function.
3583 (eww-render): Display PDFs with `doc-view'.
3584 (url-queue): Require `url-queue' to avoid compilation warning.
3585 (eww-colorize-region): Remove duplicate function.
3586 (eww-tag-body): Use `shr-colorize-region'.
3587
3588 2014-11-03 Yoni Rabkin <yrk@gnu.org>
3589
3590 * net/eww.el (eww-list-bookmarks): Autoload.
3591
3592 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3593
3594 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
3595
3596 * net/eww.el (eww-display-html): The charset is called `utf-8',
3597 not `utf8'.
3598 (eww-readable): Decode the saved text correctly.
3599 (eww-readable): Save the history before displaying so that we can
3600 go back to the non-readable version.
3601 (eww-display-html): Don't try to decode the text if we've been
3602 passed in a pre-parsed DOM.
3603 (eww-tag-title): Remove newlines and extra whitespace from the
3604 displayed title.
3605
3606 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3607
3608 * net/eww.el (eww-readable): New command and keystroke.
3609
3610 * net/shr.el (shr-retransform-dom): New function.
3611
3612 * net/eww.el (eww-display-html): Set `eww-current-source' in the
3613 correct buffer.
3614 (eww-view-source): Use it.
3615
3616 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3617
3618 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
3619 (Bug#18603).
3620
3621 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
3622
3623 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
3624
3625 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3626
3627 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
3628
3629 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3630
3631 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
3632 (Bug#18834).
3633
3634 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
3635
3636 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
3637 use as advice.
3638 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
3639
3640 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
3643 (bug#18821).
3644 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
3645
3646 2014-11-01 Michael R. Mauger <michael@mauger.com>
3647
3648 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
3649 syntax, add new keywords, and parse longer keywords first.
3650 (sql-redirect-one): Protect against empty command.
3651 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
3652 to SQL. (Bug#14759)
3653
3654 2014-11-01 Michael R. Mauger <michael@mauger.com>
3655
3656 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
3657 Bug#16814 with let-bind of comint-input-ring variables around read
3658 and save functions.
3659
3660 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
3661
3662 * net/tramp-cache.el (tramp-get-file-property)
3663 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
3664 and `tramp-cache-set-count-*' are bound. Otherwise, there might
3665 be compiler warnings.
3666
3667 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
3668 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
3669
3670 2014-11-01 Eli Zaretskii <eliz@gnu.org>
3671
3672 * progmodes/compile.el (compilation-mode): Turn off deferred
3673 fontifications locally. (Bug#18856)
3674
3675 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
3676
3677 * net/tramp-sh.el (tramp-send-command): Fix the case where the
3678 remote-echo connection property is non-nil (bug#18858).
3679
3680 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * simple.el (newline): Add assertions to try and help catch bug#18913.
3683
3684 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
3685 (bug#18886).
3686 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
3687
3688 2014-11-01 Kim F. Storm <storm@cua.dk>
3689
3690 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
3691 * delsel.el (delete-selection-save-to-register)
3692 (delsel--replace-text-or-position): New vars.
3693 (delete-active-region): Use them.
3694 (delete-selection-repeat-replace-region): New command, moved from
3695 cua-base.el.
3696 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
3697 (cua-repeat-replace-region): Move command to delsel.el.
3698 (cua--init-keymaps): Update binding accordingly.
3699 (cua-mode): Set delete-selection-save-to-register.
3700
3701 2014-11-01 Alan Mackenzie <acm@muc.de>
3702
3703 Make blink-parens work with a closing template delimiter.
3704 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
3705 before calling blink-paren-function, so as to apply syntax-table
3706 properties to the ">".
3707
3708 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
3709
3710 * select.el (gui-get-selection): Comment: data-type ignored on NS.
3711
3712 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
3715 (macroexp--expand-all): Unrelated tweaks.
3716
3717 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
3718
3719 2014-10-30 Glenn Morris <rgm@gnu.org>
3720
3721 * startup.el (command-line): Remove pointless attempt to avoid
3722 statting the file-system (which expand-file-name doesn't do).
3723
3724 2014-10-30 Daniel Colascione <dancol@dancol.org>
3725
3726 Add "enum class" support to C++ mode.
3727 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
3728 (c-after-brace-list-key): New language consts/variables.
3729 * progmodes/cc-engine.el (c-looking-at-decl-block):
3730 Exclude spurious match of "enum struct" from decl-block recognition.
3731 (c-backward-colon-prefixed-type): New function.
3732 (c-backward-over-enum-header): Call above function to extend
3733 recognition of enum structure.
3734
3735 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
3738 (c-lang-defconst):
3739 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
3740
3741 2014-10-30 Eli Zaretskii <eliz@gnu.org>
3742
3743 * progmodes/compile.el (compilation-start):
3744 If compilation-scroll-output is non-nil, don't force window-start of
3745 the compilation buffer to be at beginning of buffer. (Bug#18874)
3746
3747 * startup.el (fancy-about-text): Read the entire tutorial, not
3748 just its first 256 bytes. (Bug#18760)
3749
3750 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
3753 * emacs-lisp/cl-extra.el: Add missing provide.
3754
3755 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
3756 all args are copyable (bug#18767).
3757 (=, <, >, <=, >=): Re-enable the optimization.
3758
3759 2014-10-29 Glenn Morris <rgm@gnu.org>
3760
3761 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
3762
3763 * version.el (emacs-bzr-version, emacs-bzr-get-version):
3764 Revert 2014-10-26 change.
3765
3766 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
3767
3768 Simplify use of current-time and friends.
3769 * allout-widgets.el (allout-widgets-hook-error-handler):
3770 * calendar/appt.el (appt-display-message):
3771 * calendar/icalendar.el (icalendar--convert-float-to-ical):
3772 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
3773 (timeclock-last-period, timeclock-day-base):
3774 * eshell/em-ls.el (eshell-ls-file):
3775 * eshell/esh-util.el (eshell-parse-ange-ls):
3776 * generic-x.el (named-database-print-serial):
3777 * net/newst-backend.el (newsticker--get-news-by-url-callback)
3778 (newsticker-get-news, newsticker--sentinel-work)
3779 (newsticker--image-get, newsticker--image-sentinel):
3780 * net/tramp-sh.el (tramp-get-remote-touch):
3781 * progmodes/opascal.el (opascal-debug-log):
3782 * textmodes/remember.el (remember-mail-date)
3783 (remember-store-in-files):
3784 * vc/vc-annotate.el (vc-annotate-display-autoscale)
3785 (vc-default-annotate-current-time):
3786 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
3787 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
3788 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
3789 Omit unnecessary call to current-time.
3790 * calendar/time-date.el (time-to-seconds) [!float-time]:
3791 * vc/vc-annotate.el (vc-annotate-convert-time):
3792 Use current time if arg is nil, to be compatible with float-time.
3793 (time-date--day-in-year): New function, with most of the guts of
3794 the old time-to-day-in-year.
3795 (time-to-day-in-year): Use it.
3796 (time-to-days): Use it, to avoid decoding the same time stamp twice.
3797 * calendar/timeclock.el (timeclock-time-to-date):
3798 Arg is now optional, like current-time-string.
3799 (timeclock-update-mode-line):
3800 Don't call current-time twice to get the current time stamp,
3801 as this can lead to inconsistent results.
3802 * completion.el (cmpl-hours-since-origin):
3803 * ido.el (ido-time-stamp):
3804 * vc/vc-annotate.el (vc-annotate-convert-time):
3805 Simplify by using float-time.
3806 * completion.el (save-completions-to-file):
3807 Rename local var to avoid confusion.
3808 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
3809 time-to-seconds now behaves like float-time with respect to nil arg.
3810 * subr.el (progress-reporter-do-update):
3811 Don't call float-time unless needed.
3812
3813 2014-10-29 Leo Liu <sdl.web@gmail.com>
3814
3815 * net/rcirc.el (rcirc-fill-column): Use function.
3816 (rcirc-markup-fill): Remove adjustment.
3817
3818 2014-10-28 Christopher Schmidt <ch@ristopher.com>
3819
3820 * calc/calc.el (quick-calc):
3821 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
3822
3823 2014-10-28 Sam Steingold <sds@gnu.org>
3824
3825 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
3826 the sake of `window-body-width' (in addition to `frame-width').
3827
3828 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
3829
3830 * version.el: Fix some fallback values to conform to the actual
3831 release number.
3832
3833 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
3834
3835 * Makefile.in: Change some production names so they're neutral
3836 about the repository type.
3837
3838 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
3841 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
3842 during initialization. (Bug#18774)
3843
3844 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
3845
3846 * ses.el (macroexp): Add require for this package, so that
3847 function `ses--cell' gets macroexp-quote --- this change was
3848 supposed to be in my previous commit, but left out by mistake.
3849 (ses--cell): Do not make formula a macroexp-quote of value when
3850 value, not formula, is *skip*.
3851
3852 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3853
3854 * ses.el (macroexp): Add require for this package, so that function
3855 `ses--cell gets macroexp-quote.
3856 (ses--cell): Makes formula a macroexp-quote of value when formula
3857 is nil. The rationale of this changr is to allow in the future
3858 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
3859 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
3860 reference list REFLIST would be re-computed after load --- thus
3861 trading off load time against file size.
3862
3863 * emacs-lisp/package.el (package--alist-to-plist-args):
3864 Use macroexp-quote instead of a lambda expression which has the same
3865 content as macroexp-quote.
3866 (macroexp): Add require for this package, so that function
3867 `package--alist-to-plist-args' gets macroexp-quote.
3868
3869 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
3870
3871 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * term/ns-win.el (ns-store-cut-buffer-internal)
3874 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
3875
3876 2014-10-24 Martin Rudalics <rudalics@gmx.at>
3877
3878 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
3879 Calculate increment from last position instead of window edge.
3880 Add right- and bottom-divider bindings to transient map.
3881
3882 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
3885 even if :predicate was nil, for the benefit of typep.
3886 Record the name of the predicate for typep's use.
3887 (cl--make-type-test): Use pcase. Obey new
3888 cl-deftype-satisfies property.
3889
3890 * epg.el: Use cl-defstruct.
3891 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
3892 (epg-data-string): Define via cl-defstruct.
3893 (epg--gv-nreverse): New macro.
3894 (epg-context--make): New constructor (provided vi cl-defstruct).
3895 (epg-make-context): Rewrite using it.
3896 (epg-context-protocol, epg-context-program)
3897 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
3898 (epg-context-include-certs, epg-context-cipher-algorithm)
3899 (epg-context-digest-algorithm, epg-context-compress-algorithm)
3900 (epg-context-passphrase-callback, epg-context-progress-callback)
3901 (epg-context-signers, epg-context-sig-notations, epg-context-process)
3902 (epg-context-output-file, epg-context-result, epg-context-operation)
3903 (epg-context-pinentry-mode): Define using cl-defstruct.
3904 (epg-context-set-protocol, epg-context-set-program)
3905 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
3906 (epg-context-set-digest-algorithm)
3907 (epg-context-set-sig-notations, epg-context-set-process)
3908 (epg-context-set-output-file, epg-context-set-result)
3909 (epg-context-set-operation, epg-context-set-pinentry-mode)
3910 (epg-context-set-compress-algorithm): Remove. Use setf instead.
3911 (epg-context-set-armor, epg-context-set-textmode)
3912 (epg-context-set-signers): Redefine using setf
3913 and declare as obsolete.
3914 (epg-context-set-passphrase-callback)
3915 (epg-context-set-progress-callback): Use setf.
3916 (epg-signature-notations): Rename from epg-sig-notations.
3917 (epg-make-signature, epg-signature-status, epg-signature-key-id)
3918 (epg-signature-validity, epg-signature-fingerprint)
3919 (epg-signature-creation-time, epg-signature-expiration-time)
3920 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
3921 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
3922 (epg-signature-set-status, epg-signature-set-key-id)
3923 (epg-signature-set-validity, epg-signature-set-fingerprint)
3924 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
3925 (epg-signature-set-pubkey-algorithm)
3926 (epg-signature-set-digest-algorithm, epg-signature-set-class)
3927 (epg-signature-set-version, epg-signature-set-notations): Remove.
3928 Use setf instead.
3929 (epg-make-new-signature, epg-new-signature-type)
3930 (epg-new-signature-pubkey-algorithm)
3931 (epg-new-signature-digest-algorithm, epg-new-signature-class)
3932 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
3933 Define using cl-defstruct.
3934 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
3935 (epg-key-user-id-list): Define using cl-defstruct.
3936 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
3937 Use setf instead.
3938 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
3939 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
3940 (epg-sub-key-id, epg-sub-key-creation-time)
3941 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
3942 cl-defstruct.
3943 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
3944 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
3945 (epg-user-id-signature-list): Define using cl-defstruct.
3946 (epg-user-id-set-signature-list): Remove. Use setf instead.
3947 (epg-make-key-signature, epg-key-signature-validity)
3948 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
3949 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
3950 (epg-key-signature-user-id, epg-key-signature-class)
3951 (epg-key-signature-exportable-p): Define using cl-defstruct.
3952 (epg-make-sig-notation, epg-sig-notation-name)
3953 (epg-sig-notation-value, epg-sig-notation-human-readable)
3954 (epg-sig-notation-critical): Define using cl-defstruct.
3955 (epg-sig-notation-set-value): Remove. Use setf instead.
3956 (epg-make-import-status, epg-import-status-fingerprint)
3957 (epg-import-status-reason, epg-import-status-new)
3958 (epg-import-status-user-id, epg-import-status-signature)
3959 (epg-import-status-sub-key, epg-import-status-secret): Define using
3960 cl-defstruct.
3961 (epg-make-import-result, epg-import-result-considered)
3962 (epg-import-result-no-user-id, epg-import-result-imported)
3963 (epg-import-result-imported-rsa, epg-import-result-unchanged)
3964 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
3965 (epg-import-result-new-signatures, epg-import-result-new-revocations)
3966 (epg-import-result-secret-read, epg-import-result-secret-imported)
3967 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
3968 (epg-import-result-imports): Define using cl-defstruct.
3969
3970 * emacs-lisp/package.el: Require EPG during macroexpansion.
3971 (package--check-signature, package-import-keyring): Use setf instead of
3972 epg-context-set-home-directory.
3973
3974 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
3977
3978 2014-10-23 Leo Liu <sdl.web@gmail.com>
3979
3980 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
3981 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
3982 (cfengine3-current-defun): New function.
3983 (cfengine3-mode): Set add-log-current-defun-function.
3984
3985 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * select.el: Use lexical-binding.
3988 (gui-set-selection): Provide an implementation for non-GUI frames
3989 (bug#18791).
3990 * term/x-win.el: Use lexical-binding.
3991 (x-clipboard-yank): Fix up missed renamings.
3992 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
3993 (w32--set-selection): Fix up var names.
3994 * term/pc-win.el: Use lexical-binding.
3995 (w16-selection-exists-p): Silence compiler warning.
3996 (w16-selection-owner-p): Fix up missed renamings.
3997
3998 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
3999
4000 * frame.el (frame-notice-user-settings): Fix excessive quoting.
4001
4002 2014-10-22 Tassilo Horn <tsdh@gnu.org>
4003
4004 * doc-view.el (doc-view-open-text): View the document's plain text
4005 in the current buffer instead of a new one.
4006 (doc-view-toggle-display): Handle the case where the current
4007 buffer contains the plain text contents of the document.
4008 (doc-view-initiate-display): Don't switch to fallback mode if the
4009 user wants to view the doc's plain text.
4010 (doc-view-set-doc-type): Use assoc-string instead of
4011 assoc-ignore-case.
4012
4013 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * subr.el (read-key): Fix clicks on the mode-line.
4016 (set-transient-map): Return exit function.
4017
4018 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4019 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4020 (mouse-yank-secondary): Use gui-get-selection.
4021 (mouse--down-1-maybe-follows-link): Use read-key.
4022
4023 * xt-mouse.el: Add `event-kind' property on the fly from
4024 xterm-mouse-translate-1 rather than statically at the outset.
4025
4026 2014-10-21 Daniel Colascione <dancol@dancol.org>
4027
4028 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4029 change window configuration when we turn it off.
4030
4031 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 Get rid of backend-dependent selection-handling functions for kill/yank
4034 and make it generic instead by relying on the lower-level selection
4035 management functions.
4036
4037 * select.el (select-enable-clipboard): Rename from
4038 gui-select-enable-clipboard.
4039 (select-enable-primary): Move from x-win.el and rename from
4040 x-select-enable-primary.
4041 (gui-last-selected-text): Remove.
4042 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4043 New vars.
4044 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4045 (gui-select-text-alist, gui-selection-value-alist): Remove.
4046 (x-select-request-type): Move from x-win.el.
4047 (gui--selection-value-internal): New function, taken from x-win's
4048 x-selection-value-internal.
4049 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4050 (gui-set-selection-alist): Rename from gui-own-selection-alist and
4051 extend it to handle a nil value as a "disown" request.
4052 (gui-disown-selection-alist): Remove.
4053 (xselect-convert-to-delete): Adjust accordingly.
4054 (gui-set-selection): Simplify accordingly as well. Use dotimes.
4055
4056 * term/x-win.el (x-last-selected-text-primary)
4057 (x-select-enable-primary): Remove (moved to select.el).
4058 (x-select-request-type): Move to select.el.
4059 (x-selection-value-internal, x--selection-value): Remove functions.
4060 (gui-selection-value, gui-select-text): Remove moethods.
4061 (gui-set-selection): Merge own and disown methods.
4062
4063 * term/w32-win.el (w32--select-text, w32--get-selection-value):
4064 Delete function (move functionality into w32--set-selection and
4065 w32--get-selection).
4066 (gui-select-text, gui-selection-value): Don't define methods.
4067 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4068 New functions.
4069 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4070 Use them.
4071 (gui-selection-exists-p): Adjust to new name of C primitive.
4072
4073 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4074 test of gui-select-enable-clipboard, to make it usable as
4075 a gui-get-selection method.
4076 (gui-selection-exists-p): Adjust to new name of C primitive.
4077 (gui-set-selection): Merge own and disown methods.
4078 (gui-select-text, gui-selection-value): Delete methods.
4079 (w16--select-text): Delete function.
4080
4081 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4082 (ns-selection-value): Remove functions.
4083 (gui-select-text, gui-selection-value): Don't define method any more.
4084 (gui-set-selection): Merge the old own and disown methods.
4085 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4086 underlying C primitive.
4087
4088 * startup.el (command-line): Adjust now that `gui-method' expects nil
4089 for ttys.
4090
4091 * frame.el (gui-method): Use window-system rather than framep.
4092 (gui-method-declare): The tty case is now nil rather than t.
4093 (make-frame): Adjust accordingly.
4094
4095 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * net/newst-reader.el (newsticker--image-read): Simplify.
4098 (newsticker--icon-read): Use dolist and fix free var error.
4099
4100 * imenu.el (imenu--menubar-keymap): New var.
4101 (imenu-add-to-menubar): Set it to remember the keymap we used.
4102 (imenu-update-menubar): Use it instead of asking lookup-key.
4103
4104 * obsolete/cc-compat.el: Make obsolete (bug#18561).
4105
4106 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4107
4108 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4109 case (bug#18767).
4110
4111 2014-10-21 Glenn Morris <rgm@gnu.org>
4112
4113 * Merge in all changes up to version 24.4 release.
4114
4115 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4118 case (bug#18767).
4119
4120 2014-10-20 Glenn Morris <rgm@gnu.org>
4121
4122 * Merge in all changes up to 24.4 release.
4123
4124 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
4125
4126 * net/newst-backend.el
4127 (newsticker--image-download-by-url-callback): Make this function
4128 actually work: Check status properly, then save image.
4129
4130 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4133 `this-event'.
4134 (mouse-drag-line): Unless there's no actual mouse, use the event's
4135 position info.
4136
4137 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * textmodes/css-mode.el (scss-mode): New major-mode.
4140 (css-mode-syntax-table): Use d style comment, to ease the scss case.
4141 (css-ident-re): Allow things like @-moz-keyframes.
4142 (scss--hash-re): New const.
4143 (css--font-lock-keywords): New function, extracted from
4144 css-font-lock-keywords.
4145
4146 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
4147
4148 * net/newst-backend.el: Require url-parse.
4149 (newsticker--get-news-by-wget): Store feed name as process property.
4150 (newsticker--sentinel): Read feed name from process property.
4151 (newsticker--sentinel-work): Rename argument name to feed-name.
4152 Rename variable imageurl to image-url. Pick icon url from Atom
4153 1.0 data. Launch download of feed icon.
4154 (newsticker--get-icon-url-atom-1.0): New.
4155 (newsticker--unxml)
4156 (newsticker--unxml-node)
4157 (newsticker--unxml-attribute): Documentation.
4158 (newsticker--icons-dir): New.
4159 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4160 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4161 (newsticker--image-download-by-wget): New. Use process properties
4162 for storing informations.
4163 (newsticker--image-sentinel): Read informations from process properties.
4164 (newsticker--image-save)
4165 (newsticker--image-remove)
4166 (newsticker--image-download-by-url)
4167 (newsticker--image-download-by-url-callback): New.
4168 (newsticker-opml-export): Handle url list entries containing a
4169 function instead of an url string.
4170
4171 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4172 (newsticker--print-extra-elements)
4173 (newsticker--do-print-extra-element):
4174 Documentation (newsticker--image-read): Optionally limit image height.
4175 Use imagemagick if possible.
4176 (newsticker--icon-read): New.
4177
4178 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4179 (newsticker--treeview-tree-expand): Use feed icons in treeview.
4180 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
4181 (newsticker--tree-widget-leaf-icon): Use feed icon.
4182
4183 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4186 Use help-function-arglist instead.
4187
4188 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4189 (eieio--with-scoped-class): Use `declare'.
4190 (eieio-defclass): Remove compatibility code.
4191 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4192 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4193
4194 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
4195
4196 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4197
4198 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4199 replacements to stock names before stock names in a list.
4200 Cdr may be a list, each name is tried in turn until one is found.
4201
4202 2014-10-18 Alan Mackenzie <acm@muc.de>
4203
4204 Check that a "macro" found near point-min isn't a ## operator.
4205 Fixes bug #18749.
4206 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4207 (c-beginning-of-macro): Use the above new function.
4208
4209 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
4210
4211 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4212 correct data to `gnutls-boot' (Bug#18664).
4213 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4214
4215 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
4216
4217 * whitespace.el (whitespace-style, whitespace-big-indent)
4218 (whitespace-big-indent-regexp, whitespace-style-value-list)
4219 (whitespace-toggle-option-alist, whitespace-interactive-char)
4220 (whitespace-toggle-options)
4221 (global-whitespace-toggle-options, whitespace-help-text)
4222 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4223 style to `whitespace-mode' to indicate that the line indentation
4224 is too deep. By default, 32 SPACEs or four TABs are considered
4225 too many but `whitespace-big-indent-regexp' can be configured.
4226
4227 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
4228
4229 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4230 tildify-mode-alist.
4231
4232 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4235 (defclass, defgeneric, defmethod): Add doc-string position.
4236 (with-slots): Require cl-lib.
4237
4238 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4239 (list-of): New type.
4240 (eieio--typep): Remove.
4241 (eieio-perform-slot-validation): Use cl-typep instead.
4242
4243 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4244
4245 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4246
4247 2014-10-16 Alan Mackenzie <acm@muc.de>
4248
4249 Trigger showing when point is in the "periphery" of a line or just
4250 inside a paren.
4251 * paren.el (show-paren-style, show-paren-delay)
4252 (show-paren-priority, show-paren-ring-bell-on-mismatch):
4253 Remove superfluous :group specifications.
4254 (show-paren-when-point-inside-paren)
4255 (show-paren-when-point-in-periphery): New customizable variables.
4256 (show-paren-highlight-openparen): Make into a defcustom.
4257 (show-paren--unescaped-p, show-paren--categorize-paren)
4258 (show-paren--locate-near-paren): New defuns.
4259 (show-paren--default): Refaactor and trigger on more paren
4260 positions.
4261 (show-paren-function): Small consequential changes.
4262
4263 2014-10-16 Tom Tromey <tom@tromey.com>
4264
4265 * files.el (auto-mode-alist): Use javascript-mode for .jsm
4266 (bug #18719).
4267
4268 2014-10-16 Eli Zaretskii <eliz@gnu.org>
4269
4270 * international/characters.el (bracket-type): Force pre-loading of
4271 uni-brackets.el.
4272
4273 2014-10-16 Alan Mackenzie <acm@muc.de>
4274
4275 * cus-edit.el (custom-command-apply): Specify the return value in
4276 the doc string.
4277 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4278 custom-command-apply has returned non-nil.
4279
4280 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4283 Remove incorrect handling of eldoc-print-after-edit.
4284 (eldoc-message-commands, eldoc-last-data): Use defvar.
4285 * loadup.el (emacs-lisp/eldoc): Load it.
4286
4287 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4288 (m4-mode): Use it.
4289 (m4--quoted-p): New function.
4290 (m4-font-lock-keywords): Don't handle #..\n comments any more.
4291 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4292 for most special characters.
4293
4294 * progmodes/compile.el (compilation--previous-directory): Simplify.
4295 (compilation-next-error): Ensure the parse before we look at
4296 compilation-message property.
4297
4298 2014-10-15 Eli Zaretskii <eliz@gnu.org>
4299
4300 * simple.el (what-cursor-position):
4301 * descr-text.el (describe-char): Update to support the new bidi
4302 characters.
4303
4304 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
4305 Force bidi-paragraph-direction to 'left-to-right'. This fixes
4306 buffer-menu display when the first buffer happens to start with
4307 R2L letter.
4308
4309 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * progmodes/elisp-mode.el (elisp--local-variables-1):
4312 Handle quoted expressions (bug#18688).
4313
4314 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
4315 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4318 Reduce the amount of set environment variable commands.
4319
4320 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4321
4322 Fix import completion. (Bug#18582)
4323 * progmodes/python.el (python-shell-completion-get-completions):
4324 Fix import case regexp.
4325
4326 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
4329 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
4330 * progmodes/prolog.el (prolog-electric--underscore): Same.
4331
4332 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
4335
4336 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4337
4338 * cus-start.el (all): Add missing ns and boolean to
4339 ns-use-fullscreen-animation.
4340
4341 2014-10-11 Leo Liu <sdl.web@gmail.com>
4342
4343 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
4344 Use strings.
4345 (cfengine3-create-imenu-index): New function.
4346 (cfengine3-mode): Use it for `imenu-create-index-function'.
4347 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
4348 buffer is empty.
4349
4350 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4351
4352 * cus-start.el (all): Add ns-use-fullscreen-animation.
4353
4354 2014-10-11 Glenn Morris <rgm@gnu.org>
4355
4356 * calendar/diary-lib.el (diary-display-function):
4357 Drop support for deprecated nil and list forms.
4358 (diary-list-entries): Update for the above.
4359 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
4360
4361 2014-10-10 Leo Liu <sdl.web@gmail.com>
4362
4363 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
4364 (Bug#18656)
4365
4366 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * select.el (gui-selection-exists-p-alist): New method.
4369 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
4370 * simple.el (deactivate-mark): Use it.
4371 * term/x-win.el (gui-selection-exists-p):
4372 * term/w32-win.el (gui-selection-exists-p):
4373 * term/pc-win.el (gui-selection-exists-p):
4374 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
4375
4376 2014-10-10 Glenn Morris <rgm@gnu.org>
4377
4378 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
4379 Fix :type. Allow t to mean no limit.
4380 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
4381
4382 2014-10-09 Glenn Morris <rgm@gnu.org>
4383
4384 * frame.el (display-monitor-attributes-list): Doc tweaks.
4385
4386 2014-10-09 Eli Zaretskii <eliz@gnu.org>
4387
4388 * faces.el (display-grayscale-p): Mention in the doc string that
4389 the argument can be either a display name or a frame.
4390
4391 * frame.el (display-pixel-height, display-pixel-width)
4392 (display-mm-height, display-mm-width, display-backing-store)
4393 (display-save-under, display-planes, display-color-cells)
4394 (display-visual-class, display-monitor-attributes-list)
4395 (display-screens): Mention in the doc string that the argument can
4396 be either a display name or a frame. Improve the docs of the
4397 monitor attributes. (Bug#18636)
4398
4399 2014-10-09 Martin Rudalics <rudalics@gmx.at>
4400
4401 * term.el (term-window-width): Subtract 1 from the width when
4402 any fringe has zero width, not just the right fringe. (Bug#18601)
4403
4404 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
4407
4408 2014-10-08 Leo Liu <sdl.web@gmail.com>
4409
4410 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
4411
4412 2014-10-08 Glenn Morris <rgm@gnu.org>
4413
4414 * calendar/cal-x.el (calendar-dedicate-diary):
4415 Drop support for recently deleted aliases.
4416
4417 2014-10-08 Leo Liu <sdl.web@gmail.com>
4418
4419 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
4420 Always return a syntax. Replace call-process-shell-command with
4421 process-file. Ensure cfengine-mode-syntax-functions-regex is
4422 always set. Ensure cache when cfengine-cf-promises fails.
4423 (Bug#18620)
4424
4425 2014-10-07 Glenn Morris <rgm@gnu.org>
4426
4427 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
4428
4429 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
4430
4431 Sync with upstream verilog-mode revision c075a492.
4432 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4433 (verilog-menu): Add AUTOINSERTLAST.
4434 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
4435 is nil, fix indenting initial/final to match always statements, bug825.
4436 Reported by Tim Clapp.
4437 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
4438 bug557. Reported by ZeDong Mao and Jason Forkey.
4439 (verilog-read-decls): Fix parsing typed interfaces.
4440 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
4441 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
4442 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
4443 Reported by Pierre-David Pfister.
4444 (verilog-auto-insert-lisp): Doc fix.
4445 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
4446 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
4447 (verilog-sk-ovm-class, verilog-sk-uvm-object)
4448 (verilog-sk-uvm-component): Fix missing string keyword in class
4449 skeletons, bug824. Reported by eldad faruhi.
4450
4451 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * term/w32-win.el: Move all code from 32-common-fns.el here.
4454 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
4455 console as well (bug#18629).
4456 * w32-common-fns.el: Remove.
4457 * loadup.el: Don't load w32-common-fns.el.
4458 * w32-fns.elc: Don't require w32-common-fns.
4459
4460 * icomplete.el: Move Iswitchb autoload here. Much simpler.
4461 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
4462 Remove redundant obsolescence thingy.
4463 * loadup.el: Don't load obsolete/loaddefs.el.
4464 * Makefile.in (obsolete-autoloads): Remove.
4465 (AUTOGENEL): Remove obsolete/loaddefs.el.
4466
4467 2014-10-06 Glenn Morris <rgm@gnu.org>
4468
4469 * Makefile.in (obsolete-autoloads): Write to a separate file,
4470 to workaround autoloads bug. (Bug#17407)
4471 (AUTOGENEL): Add obsolete/loaddefs.el.
4472 * loadup.el: Load obsolete/loaddefs.el if present.
4473 * subr.el (do-after-load-evaluation):
4474 Don't warn about obsolete/loaddefs.el.
4475
4476 * menu-bar.el (menu-bar-games-menu): Remove landmark.
4477 It has zero relationship to a game.
4478
4479 2014-10-06 Leo Liu <sdl.web@gmail.com>
4480
4481 * imenu.el (imenu): Re-write for clarity.
4482
4483 2014-10-06 Glenn Morris <rgm@gnu.org>
4484
4485 Remove calendar code obsolete since at least version 23.1.
4486 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
4487 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
4488 (calendar-goto-bahai-date, list-bahai-diary-entries)
4489 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
4490 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4491 (insert-yearly-bahai-diary-entry):
4492 * calendar/cal-china.el (chinese-calendar-time-zone)
4493 (chinese-calendar-location-name)
4494 (chinese-calendar-daylight-time-offset)
4495 (chinese-calendar-standard-time-zone-name)
4496 (chinese-calendar-daylight-time-zone-name)
4497 (chinese-calendar-daylight-savings-starts)
4498 (chinese-calendar-daylight-savings-ends)
4499 (chinese-calendar-daylight-savings-starts-time)
4500 (chinese-calendar-daylight-savings-ends-time)
4501 (chinese-calendar-celestial-stem)
4502 (chinese-calendar-terrestrial-branch)
4503 (calendar-absolute-from-chinese, calendar-print-chinese-date)
4504 (calendar-goto-chinese-date):
4505 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
4506 (calendar-print-coptic-date, coptic-prompt-for-date)
4507 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
4508 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
4509 * calendar/cal-french.el (calendar-absolute-from-french)
4510 (calendar-print-french-date, calendar-goto-french-date):
4511 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
4512 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
4513 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
4514 (holiday-rosh-hashanah-etc, holiday-hanukkah)
4515 (holiday-passover-etc, holiday-tisha-b-av-etc)
4516 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
4517 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
4518 (insert-monthly-hebrew-diary-entry)
4519 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
4520 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
4521 (diary-sabbath-candles):
4522 * calendar/cal-islam.el (calendar-absolute-from-islamic)
4523 (calendar-print-islamic-date, calendar-goto-islamic-date)
4524 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
4525 (mark-islamic-diary-entries, insert-islamic-diary-entry)
4526 (insert-monthly-islamic-diary-entry)
4527 (insert-yearly-islamic-diary-entry):
4528 * calendar/cal-iso.el (calendar-absolute-from-iso)
4529 (calendar-print-iso-date, calendar-iso-read-args)
4530 (calendar-goto-iso-date, calendar-goto-iso-week):
4531 * calendar/cal-julian.el (calendar-absolute-from-julian)
4532 (calendar-print-julian-date, calendar-goto-julian-date)
4533 (calendar-absolute-from-astro, calendar-print-astro-day-number)
4534 (calendar-goto-astro-day-number):
4535 * calendar/cal-mayan.el (calendar-print-mayan-date)
4536 (calendar-next-haab-date, calendar-previous-haab-date)
4537 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
4538 (calendar-next-calendar-round-date)
4539 (calendar-previous-calendar-round-date)
4540 (calendar-absolute-from-mayan-long-count)
4541 (calendar-goto-mayan-long-count-date):
4542 * calendar/cal-move.el (scroll-calendar-left)
4543 (scroll-calendar-right, scroll-calendar-left-three-months)
4544 (scroll-calendar-right-three-months):
4545 * calendar/cal-persia.el (calendar-absolute-from-persian)
4546 (calendar-print-persian-date, persian-prompt-for-date)
4547 (calendar-goto-persian-date):
4548 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
4549 * calendar/calendar.el (view-diary-entries-initially)
4550 (mark-diary-entries-in-calendar, calendar-today-face)
4551 (diary-face, holiday-face, view-calendar-holidays-initially)
4552 (mark-holidays-in-calendar, initial-calendar-window-hook)
4553 (today-visible-calendar-hook, today-invisible-calendar-hook)
4554 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
4555 (bahai-diary-entry-symbol, american-date-diary-pattern)
4556 (european-date-diary-pattern, european-calendar-display-form)
4557 (american-calendar-display-form, holidays-in-diary-buffer)
4558 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
4559 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
4560 (fancy-diary-buffer, increment-calendar-month)
4561 (extract-calendar-month, extract-calendar-day)
4562 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
4563 (mark-visible-calendar-date, calendar-version):
4564 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
4565 (diary-display-hook, list-diary-entries-hook)
4566 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
4567 (nongregorian-diary-marking-hook, print-diary-entries-hook)
4568 (abbreviated-calendar-year, number-of-diary-entries)
4569 (view-other-diary-entries, add-to-diary-list)
4570 (include-other-diary-files, simple-diary-display)
4571 (fancy-diary-display, print-diary-entries, mark-diary-entries)
4572 (mark-sexp-diary-entries, mark-included-diary-files)
4573 (mark-calendar-days-named, mark-calendar-month)
4574 (mark-calendar-date-pattern, sort-diary-entries)
4575 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
4576 (insert-weekly-diary-entry, insert-monthly-diary-entry)
4577 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
4578 (insert-block-diary-entry, insert-cyclic-diary-entry)
4579 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
4580 * calendar/holidays.el (general-holidays, oriental-holidays)
4581 (local-holidays, other-holidays, hebrew-holidays)
4582 (christian-holidays, islamic-holidays, bahai-holidays)
4583 (solar-holidays, list-calendar-holidays)
4584 (check-calendar-holidays, mark-calendar-holidays)
4585 (filter-visible-calendar-holidays):
4586 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
4587 (diary-phases-of-moon): Remove obsolete aliases.
4588 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
4589 * calendar/cal-x.el (calendar-one-frame-setup)
4590 (calendar-only-one-frame-setup, calendar-two-frame-setup):
4591 Remove obsolete functions.
4592 (cal-x-load-hook): Remove obsolete hook.
4593 * calendar/calendar.el (european-calendar-style):
4594 Remove obsolete variable.
4595 (calendar-date-style): No longer consult european-calendar-style.
4596 * calendar/calendar.el (european-calendar, american-calendar):
4597 Remove obsolete commands.
4598 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
4599 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
4600 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
4601 Use the face `diary' instead of the variable `diary-face'.
4602 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
4603 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
4604 * calendar/icalendar.el (icalendar--date-style): Remove function.
4605 Replace all uses with calendar-date-style.
4606 * textmodes/remember.el (calendar-date-style): Declare.
4607 (remember-diary-convert-entry):
4608 No longer consult european-calendar-style.
4609
4610 2014-10-05 Leo Liu <sdl.web@gmail.com>
4611
4612 * imenu.el (imenu-default-goto-function): Fix typo.
4613
4614 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4615
4616 * net/ntlm.el (ntlm-build-auth-request):
4617 Add NTLM2 Session support. (Bug#15603)
4618
4619 2014-10-04 Glenn Morris <rgm@gnu.org>
4620
4621 * apropos.el (apropos-symbols-internal):
4622 Avoid error with non-symbol properties. (Bug#18337#16)
4623
4624 * startup.el (command-line):
4625 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
4626
4627 2014-10-04 Martin Rudalics <rudalics@gmx.at>
4628
4629 * window.el (window-full-height-p): Make it behave correctly for
4630 minibuffer window.
4631 (window-current-scroll-bars): Fix code.
4632 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
4633 window-scroll-bars.
4634 * frame.el (frame-current-scroll-bars): Fix doc-string.
4635 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
4636
4637 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4638
4639 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
4640
4641 2014-10-04 Glenn Morris <rgm@gnu.org>
4642
4643 * frame.el (frame-monitor-attributes)
4644 (display-monitor-attributes-list): Doc fixes.
4645
4646 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 Merge trivially safe differences from standalone CC-mode.
4649 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
4650 just to then pass it to `symbol-value'.
4651 (prog-mode): Provide fallback definition, if needed.
4652 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
4653 Remove "cl-" prefix accordingly.
4654 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
4655 characterp depending on the type of characters.
4656 (c-font-lock-enum-tail): Remove unused var `start'.
4657 * progmodes/cc-engine.el: Load CL at compile-time.
4658 (c-declare-lang-variables): Use mapcan.
4659 (c-append-to-state-cache): Remove unused var `ce+1'.
4660 (c-parse-state-state): Make buffer-local.
4661 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
4662 (c-just-after-func-arglist-p): Remove unused var `end'.
4663 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
4664 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
4665 (c-make-keywords-re): Use delete-dups.
4666 (c-get-current-file): Avoid file-name-base.
4667 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
4668 `close-paren-inserted'.
4669 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
4670
4671 * progmodes/python.el: Avoid building unneeded markers.
4672 (python-font-lock-keywords, python-indent-dedent-line)
4673 (python-fill-paren, python-shell-completion-complete-or-indent):
4674 Prefer point over point-marker.
4675 (inferior-python-mode): Remove redundant completion settings.
4676
4677 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
4678
4679 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4680 (vc-svn-ignore): Use it. (Bug#18619)
4681
4682 2014-10-03 Martin Rudalics <rudalics@gmx.at>
4683
4684 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4685 In doc-string mention need to set `frame-resize-pixelwise'.
4686
4687 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
4690 similarly to Rogers's 2010-06-16 change for the remote case
4691 (bug#18605).
4692
4693 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 New gui-selection-value consolidating x-selection-value.
4696 * select.el (gui-selection-value-alist): New method.
4697 (gui-selection-value): New function.
4698 (x-selection-value): Make it an obsolete alias.
4699 * simple.el (interprogram-paste-function): Default to
4700 gui-selection-value.
4701 * w32-common-fns.el (w32-get-selection-value): Simplify.
4702 (x-selection-value): Remove alias.
4703 (interprogram-paste-function): Don't set.
4704 (gui-selection-value): Define for w32.
4705 * term/x-win.el (gui-selection-value): Define for x.
4706 (x--selection-value): Rename from x--selection-value.
4707 (interprogram-paste-function): Don't set.
4708 * term/pc-win.el (w16-get-selection-value): Simplify.
4709 (msdos-initialize-window-system): Don't set
4710 interprogram-paste-function.
4711 (gui-selection-value): Define for pc.
4712 * term/ns-win.el (x-selection-value): Remove.
4713 (gui-selection-value): Define for ns, instead.
4714 * term/common-win.el (x-setup-function-keys): Don't set
4715 interprogram-paste-function.
4716 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
4717 Use gui-selection-value.
4718
4719 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
4720
4721 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
4722
4723 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * obsolete/lucid.el (read-number): Remove, redundant.
4726 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
4727 Remove, broken.
4728
4729 2014-10-02 Glenn Morris <rgm@gnu.org>
4730
4731 * emacs-lisp/package.el (package-import-keyring):
4732 Create gnupg directory private. (Bug#17625#155)
4733
4734 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * progmodes/python.el (python-shell-completion-get-completions):
4737 Use python-shell--prompt-calculated-input-regexp from the
4738 process buffer (bug#18582).
4739 Don't assume that `line' comes from the process buffer.
4740
4741 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * frame.el: Use lexical-binding (bug#18598).
4744 (make-frame): Use t rather than nil for tty's window-system.
4745 * startup.el (command-line): Use gui-method.
4746
4747 Consolidate management/ownership of selections.
4748 * select.el (gui-get-selection-alist): New method.
4749 (gui-get-selection): Use it. Rename from x-get-selection.
4750 (x-get-selection): Define as obsolete alias.
4751 (x-get-clipboard): Mark obsolete.
4752 (gui-get-primary-selection): New function.
4753 (x-get-selection-value): Mark obsolete.
4754 (gui-own-selection-alist, gui-disown-selection-alist)
4755 (gui-selection-owner-p-alist): New methods.
4756 (gui-set-selection): Use them. Rename from x-set-selection.
4757 (x-set-selection): Define as obsolete alias.
4758 (gui--valid-simple-selection-p): Rename from
4759 x-valid-simple-selection-p.
4760 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
4761 (gui-selection-owner-p, gui-get-selection): Define for w32.
4762 (w32-get-selection-value): Rename from x-get-selection-value.
4763 Use the new gui-last-selected-text.
4764 * term/x-win.el (x-get-selection-value): Remove.
4765 (x-clipboard-yank): Declare obsolete.
4766 (gui-own-selection, gui-disown-selection, gui-get-selection)
4767 (gui-selection-owner-p): Define for x.
4768 * term/w32-win.el (w32-win-suspend-error): Rename from
4769 x-win-suspend-error.
4770 * term/pc-win.el (w16-get-selection-value): Rename from
4771 x-get-selection-value.
4772 (w16-selection-owner-p): Rename from x-selection-owner-p.
4773 (gui-own-selection, gui-disown-selection, gui-get-selection)
4774 (gui-selection-owner-p): Define for pc.
4775 (w16--select-text): New function.
4776 * term/ns-win.el (gui-own-selection, gui-disown-selection)
4777 (gui-get-selection, gui-selection-owner-p): Define for ns.
4778 * term.el (term-mouse-paste):
4779 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
4780
4781 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
4782
4783 * calc/calc-help.el (calc-describe-thing): Quote strings
4784 which could look like regexps.
4785
4786 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 Consolidate x-select-text.
4789 * frame.el (gui-method, gui-method-define, gui-method-declare)
4790 (gui-call): New macros.
4791 (gui-method--name): New function.
4792 (frame-creation-function-alist): Use gui-method-declare.
4793 (make-frame): Use gui-method.
4794 * select.el (gui-select-enable-clipboard): Rename from
4795 x-select-enable-clipboard and move here.
4796 (x-select-enable-clipboard): Define as obsolete alias.
4797 (gui-last-selected-text): New var, to replace x-last-selected-text.
4798 (gui-select-text): New GUI method.
4799 (gui-select-text): New function.
4800 (x-select-text): Define as obsolete alias.
4801 * term/common-win.el (x-select-enable-clipboard, x-select-text):
4802 Move to select.el.
4803 * simple.el (interprogram-cut-function): Change default to
4804 x-select-text.
4805 (interprogram-paste-function): Change default to `ignore'.
4806 * w32-common-fns.el (interprogram-cut-function): Don't modify.
4807 * term/x-win.el (interprogram-cut-function): Don't modify.
4808 (gui-select-text): Add method for x.
4809 * term/w32-win.el (gui-select-text): Add method for w32.
4810 * term/pc-win.el (x-last-selected-text): Remove, use
4811 gui-last-selected-text instead.
4812 (msdos-initialize-window-system): Don't set interprogram-cut-function.
4813 (gui-select-text): Add method for pc.
4814 * term/ns-win.el (ns-last-selected-text): Remove, use
4815 gui-last-selected-text instead.
4816 (gui-select-text): Add method for ns.
4817 (x-setup-function-keys): Don't change interprogram-cut-function.
4818 * loadup.el ("startup"): Load after "frame".
4819 * subr.el (package--builtin-versions, package--description-file):
4820 Move from startup.el.
4821 * startup.el (package--builtin-versions, package--description-file):
4822 Move to subr.el.
4823 (handle-args-function-alist, window-system-initialization-alist):
4824 Use gui-method-declare.
4825 (command-line): Use gui-method.
4826
4827 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * subr.el (alist-get): New accessor.
4830 * emacs-lisp/gv.el (alist-get): Provide expander.
4831 * winner.el (winner-remember):
4832 * tempo.el (tempo-use-tag-list):
4833 * progmodes/gud.el (minor-mode-map-alist):
4834 * international/mule-cmds.el (define-char-code-property):
4835 * frameset.el (frameset-filter-params):
4836 * files.el (dir-locals-set-class-variables):
4837 * register.el (get-register, set-register):
4838 * calc/calc-yank.el (calc-set-register): Use it.
4839 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
4840 * tooltip.el (tooltip-set-param): Mark as obsolete.
4841 (tooltip-show): Use alist-get instead.
4842 * ses.el (ses--alist-get): Remove. Use alist-get instead.
4843
4844 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
4845
4846 * net/newst-backend.el: Remove Time-stamp. Rename variable
4847 `newsticker--download-logos' to `newsticker-download-logos' and
4848 make it customizable.
4849 (newsticker--sentinel-work): Move xml-workarounds to function
4850 `newsticker--do-xml-workarounds', call unless libxml-parser is
4851 used. Allow single quote in regexp for encoding.
4852 Use libxml-parser if available, else fall back to `xml-parse-region'.
4853 Take care of possibly missing namespace prefixes (like "RDF"
4854 instead of "rdf:RDF") when checking xml nodes and attributes (as
4855 libxml correctly removes the prefixes). Always use Atom 1.0 as
4856 fallback feed type. Rename `newsticker--download-logos' to
4857 `newsticker-download-logos'
4858 (newsticker--unxml, newsticker--unxml-node)
4859 (newsticker--unxml-attribute): New.
4860 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
4861 HTML code has become part of the xml parse tree.
4862 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
4863 of possibly missing namespace prefixes.
4864 (newsticker--parse-generic-items): Code formatting. Typo.
4865 (newsticker--images-dir): Add trailing slash.
4866 (newsticker--image-get): Fix error message.
4867
4868 * net/newst-plainview.el: Remove Time-stamp.
4869
4870 * net/newst-reader.el: Remove Time-stamp.
4871 (newsticker-download-logos): Rename variable
4872 `newsticker--download-logos' to `newsticker-download-logos' and
4873 make it customizable.
4874 (newsticker--print-extra-elements): Add optional parameter
4875 'htmlish for using html markup. Amend list of ignored elements.
4876 (newsticker--do-print-extra-element): Add parameter 'htmlish for
4877 using html markup.
4878
4879 * net/newst-ticker.el: Remove Time-stamp.
4880
4881 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
4882 for formatting extra elements.
4883
4884 * net/newsticker.el: Remove Time-stamp, Version.
4885 (newsticker-version): Make obsolete.
4886
4887 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
4888
4889 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
4890 (bug#18462).
4891
4892 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * emacs-lisp/package.el (package-check-signature): Default to nil if
4895 GPG is not available.
4896 (package-refresh-contents): Don't mess with the keyring if we won't
4897 check the signatures anyway.
4898
4899 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
4902 (ses-center, ses-center-span): Use them.
4903 (ses-print-cell): Bind them while calling the printer.
4904 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
4905 (ses-dorange): Revert last change.
4906 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
4907 the formula.
4908 (ses-set-cell): Avoid `eval'.
4909 (ses--time-check): Rename it from ses-time-check and turn it into
4910 a macro.
4911
4912 * ses.el (ses-setup): Don't assume modifying the iteration var of
4913 dotimes affects the iteration (bug#18191).
4914
4915 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
4916
4917 * ses.el (ses-calculate-cell): Bind row and col dynamically to
4918 their values with 'cl-progv'.
4919 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
4920 their values with 'cl-progv', also use non-interned symbols for
4921 row, minrow, maxrow, mincol and maxcol.
4922 (maxrow maxcol): New defvar, to make the compiler happy.
4923
4924 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
4927 completion functions.
4928
4929 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * ses.el (ses--letref): Quote value before it gets re-evaluated.
4932
4933 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
4934
4935 Font-lock `cl-flet*', too.
4936 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
4937 Add "flet*" to intermediate var `cl-lib-kw'.
4938
4939 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * epg-config.el (epg-gpg-program): Use the plain program names rather
4942 than their absolute file name.
4943
4944 * subr.el (track-mouse): New macro.
4945 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4946 Remove track-mouse case.
4947 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
4948
4949 2014-09-27 Leo Liu <sdl.web@gmail.com>
4950
4951 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
4952
4953 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
4954
4955 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
4958 Handle the case where `match' is :pcase--succeed or :pcase--fail
4959 (bug#18554).
4960
4961 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
4962 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
4963 (eldoc-schedule-timer): Obey it.
4964 (eldoc-documentation-function): Default to nil.
4965 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
4966 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
4967 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
4968 (eldoc-last-data-store, eldoc-docstring-first-line)
4969 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
4970 (eldoc-beginning-of-sexp, eldoc-current-symbol)
4971 (eldoc-function-argstring): Move to elisp-mode.el.
4972 (eldoc-symbol-function): Remove, unused.
4973 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
4974 (elisp-completion-at-point): Rename from lisp-completion-at-point.
4975 (elisp--preceding-sexp): Rename from preceding-sexp.
4976 * loadup.el: Load new file progmodes/elisp-mode.
4977 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
4978 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
4979 (lisp--local-variables-completion-table, lisp--expect-function-p)
4980 (lisp--form-quoted-p, lisp--company-doc-buffer)
4981 (lisp--company-doc-string, lisp--company-location)
4982 (lisp-completion-at-point): Move to elisp-mode.el.
4983 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
4984 extracted from emacs-lisp-mode-syntax-table.
4985 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
4986 elisp-mode.el.
4987 (lisp-imenu-generic-expression): Add comments to document what comes
4988 from which Lisp dialect.
4989 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
4990 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
4991 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
4992 (emacs-lisp-byte-code-comment)
4993 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
4994 (lisp-interaction-mode-map, lisp-interaction-mode)
4995 (eval-print-last-sexp, last-sexp-setup-props)
4996 (last-sexp-toggle-display, prin1-char, preceding-sexp)
4997 (eval-last-sexp-1, eval-last-sexp-print-value)
4998 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
4999 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
5000
5001 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
5002
5003 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
5004 Do not match file names that end in '/', as they cannot be 'grep'
5005 hits nowadays. This prevents confusion when 'grep -r' reports a
5006 match in a file whose basename is ':12345:'. Conversely, do not
5007 require exactly the same sequence of spaces and tabs after both
5008 colons, and allow spaces or tabs before the second colon, as per
5009 the POSIX spec for 'grep' output.
5010
5011 2014-09-26 Leo Liu <sdl.web@gmail.com>
5012
5013 Add cl-parse-integer based on parse-integer (Bug#18557)
5014 * calendar/parse-time.el (parse-time-digits): Remove.
5015 (digit-char-p, parse-integer) Moved to cl-lib.el.
5016 (parse-time-tokenize, parse-time-rules, parse-time-string):
5017 Use cl-parse-integer.
5018
5019 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5020
5021 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5022 (cl-digit-char-p): New function.
5023
5024 2014-09-25 Juri Linkov <juri@jurta.org>
5025
5026 * vc/add-log.el (change-log-next-buffer): Don't create an empty
5027 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5028 Return the current buffer if no files match the default pattern
5029 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
5030
5031 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5034 the global vc-handled-backends (bug#18535).
5035
5036 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5039 Suggested by <lompik@voila.fr>.
5040
5041 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
5042
5043 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5044 Rename from `newsticker--treeview-do-get-node'.
5045 (newsticker--treeview-get-node-by-id):
5046 Rename from `newsticker--treeview-get-node'.
5047 (newsticker--treeview-buffer-init)
5048 (newsticker--treeview-buffer-init): Disable buffer undo.
5049 (newsticker--treeview-unfold-node): Adapt to modified
5050 `newsticker--group-find-parent-group'.
5051 (newsticker--group-do-find-group):
5052 Rename from `newsticker--group-do-find-group-for-feed'.
5053 Now works for both, groups and feeds.
5054 (newsticker--group-find-parent-group):
5055 Rename from `newsticker--group-find-group-for-feed'.
5056 Now works for both, groups and feeds.
5057 (newsticker--group-do-get-parent-group)
5058 (newsticker--group-get-parent-group): Remove.
5059 (newsticker-group-add-group): Change interactive prompts.
5060 (newsticker-group-add-group): Finally jump to added group.
5061 (newsticker-group-delete-group): Finally jump to current feed.
5062 (newsticker--group-do-rename-group, newsticker-group-rename-group)
5063 (newsticker--get-group-names, newsticker--group-names): New.
5064 (newsticker-group-move-feed): Finally jump to moved feed.
5065 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5066 (newsticker-group-shift-group-down)
5067 (newsticker-group-shift-group-up, newsticker--group-shift): New.
5068 (newsticker-treeview-mode-map): New keybindings for new shift commands.
5069
5070 * net/newst-backend.el (newsticker--item-list)
5071 (newsticker--item-position, newsticker--prev-message)
5072 (newsticker--scrollable-text): Move to newst-ticker.el.
5073
5074 * net/newst-ticker.el (newsticker--item-list)
5075 (newsticker--item-position, newsticker--prev-message)
5076 (newsticker--scrollable-text): Move from newst-backend.el.
5077
5078 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
5079
5080 * window.el (fit-window-to-buffer): When counting buffer width,
5081 count the whole visible buffer. Correctly convert the body-height
5082 to pixel size for window-text-pixel-size (Bug#18498).
5083
5084 2014-09-22 Sam Steingold <sds@gnu.org>
5085
5086 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5087 (sql-execute): Use `special-mode'.
5088
5089 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 Add pcase-defmacro, as well as `quote' and `app' patterns.
5092 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5093 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5094 (pcase--funcall, pcase--eval): New functions.
5095 (pcase--u1): Use them for guard, pred, let, and app.
5096 (\`): Use the new feature to generate better code for vector patterns.
5097 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5098 (pcase--upat): Remove.
5099 (pcase--macroexpand): Don't hardcode handling of `.
5100 (pcase--split-consp, pcase--split-vector): Remove.
5101 (pcase--split-equal): Disregard ` since it's expanded away.
5102 (pcase--split-member): Optimize for quote rather than for `.
5103 (pcase--split-pred): Optimize for quote rather than for `.
5104 (pcase--u1): Remove handling of ` (and of `or' and `and').
5105 Quote non-selfquoting values when passing them to `eq'.
5106 Drop `app's let-binding if the variable is not used.
5107 (pcase--q1): Remove.
5108 (`): Define as a pattern macro.
5109 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5110 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5111 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5112 quote patterns.
5113 (pcase--split-match): Don't hoist or/and here any more.
5114 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5115 (pcase--flip): New helper macro.
5116 (pcase--u1): Optimize the memq case directly.
5117 Don't handle neither self-quoting nor and/or patterns any more.
5118 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5119 (pcase--macroexpand): New function.
5120 (pcase--expand): Use it.
5121 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5122 New optimization functions.
5123 (pcase--u1): Add support for `quote' and `app'.
5124 (pcase): Document them in the docstring.
5125
5126 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 Use lexical-bindin in Ibuffer.
5129 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5130 (ibuffer-compile-format): Simplify.
5131 (ibuffer-clear-summary-columns): Simplify.
5132 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5133 elem of dotimes when we don't refer to the iteration var from it.
5134 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5135 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5136 Silence byte-compiler.
5137
5138 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5141 expression for a list.
5142
5143 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5144 for functions with no arguments.
5145
5146 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5147 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5148
5149 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
5150
5151 * simple.el (clone-indirect-buffer): Mention the return value
5152 (bug#18478).
5153
5154 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5155 Text mode in docstring (bug#18464).
5156
5157 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5158
5159 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5160 Accept underscores in identifiers after "sub" (bug#18502).
5161
5162 2014-09-21 Tassilo Horn <tsdh@gnu.org>
5163
5164 * textmodes/reftex-sel.el (reftex-select-label-mode)
5165 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5166 from special-mode (instead of fundamental-mode) and propertize
5167 with font-lock-face instead of just face. (Bug#18496)
5168
5169 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5170
5171 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5172
5173 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5174 `table-etc' when `end' is non-nil.
5175 (lisp-completion-at-point): Move `end' back if it's after quote.
5176 If in comment or string, only complete when after backquote.
5177 (Bug#18265)
5178 (lisp-completion-at-point): Don't use
5179 `lisp--local-variables-completion-table' in the
5180 `lisp--form-quoted-p' case.
5181
5182 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5183
5184 * emacs-lisp/lisp.el (lisp--expect-function-p)
5185 (lisp--form-quoted-p): New functions.
5186 (lisp-completion-at-point): Use them to see if we're completing a
5187 variable reference, a function name, or just any symbol.
5188 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5189
5190 2014-09-18 Ivan Kanis <ivan@kanis.fr>
5191
5192 * net/shr.el, net/eww.el: Don't override `shr-width', but
5193 introduce a new variable `shr-internal-width'. This allows users
5194 to specify a width themselves.
5195
5196 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197
5198 * image-mode.el (image-toggle-display-image): If we have a
5199 `fit-width' or a `fit-height', don't limit the size of the image
5200 to the window size, because that doesn't preserve the aspect ratio.
5201 * image-mode.el: Move defvars earlier to avoid a byte-compilation
5202 warning.
5203
5204 2014-09-17 Reuben Thomas <rrt@sc3d.org>
5205
5206 * progmodes/js.el: Add interpreter-mode-alist support for various
5207 JavaScript interpreters.
5208
5209 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
5210
5211 Don't assume 'grep' supports GREP_OPTIONS.
5212 The GREP_OPTIONS environment variable is planned to be marked
5213 obsolescent in GNU grep, due to problems in its use, so stop
5214 relying on it.
5215 * progmodes/grep.el (grep-highlight-matches): Document this.
5216 (grep-process-setup): Do not set GREP_OPTIONS.
5217 (grep-compute-defaults): Use an explicit --color option if supported.
5218
5219 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5222 Don't add outdated key-shortcut cache (bug#18482).
5223
5224 2014-09-15 Glenn Morris <rgm@gnu.org>
5225
5226 * image.el (image-multi-frame-p): Fix thinko - do not force
5227 a delay if none was specified. (Bug#18334)
5228
5229 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
5230
5231 * window.el (fit-window-to-buffer): Doc fix.
5232
5233 2014-09-15 Ivan Shmakov <ivan@siamics.net>
5234
5235 * desktop.el (desktop-create-buffer): Check that buffers are still live
5236 before burying them (bug#18373).
5237
5238 2014-09-15 Glenn Morris <rgm@gnu.org>
5239
5240 * calendar/diary-lib.el (diary-list-entries):
5241 Restore 24.3 display behavior. (Bug#18381)
5242
5243 2014-09-15 Eli Zaretskii <eliz@gnu.org>
5244
5245 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5246 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
5247 discrepancy between window-pixel-edges and mouse events, and
5248 avoids moving mode line up when the mouse click is on the modeline
5249 and no drag is attempted.
5250
5251 2014-09-14 Daniel Colascione <dancol@dancol.org>
5252
5253 * register.el (insert-register): Change default interactive
5254 insertion mode.
5255
5256 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
5257
5258 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5259 Suppress debug messages.
5260
5261 * net/tramp.el (tramp-file-name-handler):
5262 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5263 appropriate.
5264
5265 2014-09-13 Christopher Schmidt <ch@ristopher.com>
5266
5267 * calendar/calendar.el (calendar-update-mode-line):
5268 Do not overwrite mode-line-format if calendar-mode-line-format is
5269 nil. (Bug#18467)
5270
5271 2014-09-13 Leo Liu <sdl.web@gmail.com>
5272
5273 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5274 (pcase--expand): Use it.
5275 (pcase-exhaustive): New macro. (Bug#16567)
5276
5277 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5278 Add pcase-exhaustive.
5279
5280 2014-09-13 Eli Zaretskii <eliz@gnu.org>
5281
5282 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5283 using the specified transfer-encoding, if any, or 'undecided'.
5284 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5285 broken at the window margin.
5286
5287 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
5288
5289 Support rendering of HTML parts in Rmail (bug#4258).
5290 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5291 separately from other text/ types. Suppress tagline for
5292 multipart body.
5293 (rmail-mime-parse): Don't change visibility of tagline here.
5294 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5295 Handle text/html specially.
5296 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
5297 (rmail-mime-insert-html, rmail-mime-render-html-shr)
5298 (rmail-mime-render-html-lynx): New functions.
5299 (rmail-mime-fix-inserted-faces): New function.
5300 (rmail-mime-process-multipart): Find the best part to show
5301 following rmail-mime-prefer-html if set.
5302 (rmail-mime-searching): New variable.
5303 (rmail-search-mime-message): Bind rmail-mime-searching to
5304 suppress rendering while searching.
5305
5306 2014-09-12 Sam Steingold <sds@gnu.org>
5307
5308 * progmodes/sql.el (sql-product-alist): Add vertica.
5309 (sql-vertica-program, sql-vertica-options)
5310 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
5311 New functions and variables to support Vertica.
5312 Inspired by code by Roman Scherer <roman@burningswell.com>.
5313
5314 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
5315
5316 * ses.el (ses-file-format-extend-parameter-list): Rename from
5317 ses-file-format-extend-paramter-list, to correct a misspelling.
5318 All uses changed.
5319
5320 2014-09-10 Alan Mackenzie <acm@muc.de>
5321
5322 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
5323 gets loaded at run-time).
5324 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
5325 c-lang-const to c-make-no-parens-syntax-table and correct the
5326 logic.
5327 (c-no-parens-syntax-table): Correct the logic of the
5328 c-lang-defvar.
5329
5330 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
5333 plus misc cleanup.
5334 * progmodes/cc-mode.el (c-basic-common-init):
5335 Set open-paren-in-column-0-is-defun-start.
5336 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
5337 Remove declarations, unused.
5338 (run-mode-hooks): Remove declaration.
5339 (font-lock-defaults): Use plain `defvar' to declare.
5340 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
5341 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
5342 (c-make-mode-syntax-table): Don't micro-optimize.
5343 (c-keywords, c-keyword-member-alist): Simplify.
5344 (c-kwds-lang-consts): Don't eval at compile-time.
5345 (c-primary-expr-regexp): Comment out unused vars.
5346 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
5347 (c-font-byte-compile): New var.
5348 (c--compile): New function. Use it instead of `byte-compile'.
5349 (c-cpp-matchers): Quote the value returned by
5350 `c-make-syntactic-matcher' in case it's not self-evaluating.
5351 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
5352 parentheses instead (in case MATCHER happens to be a list).
5353 (c-font-lock-enum-tail): Remove unused var `start'.
5354 (c-font-lock-objc-methods): Silence byte-compiler warnings.
5355 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
5356 test into an argument.
5357 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
5358 (c-get-char-property): Don't use `eval' just to unquote a constant.
5359 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
5360 more efficiently.
5361 (c-put-char-property-fun): Don't call `byte-compile' by hand.
5362 (c-clear-char-property, c-clear-char-properties): Check that `property'
5363 is a quoted constant.
5364 (c-emacs-features): Remove `infodock', `syntax-properties', and
5365 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
5366 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
5367 changing buffer, so we don't have to setq them again afterwards.
5368 (c-lang-const): Remove redundant symbolp assertions.
5369 (c-find-assignment-for-mode): Use `or'.
5370 * Makefile.in (compile-one-process): Remove cc-mode dependency.
5371
5372 2014-09-09 Sam Steingold <sds@gnu.org>
5373
5374 * progmodes/sql.el (sql-default-directory): Fix type annotation.
5375
5376 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5377
5378 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
5379 Change doc comments into docstrings.
5380 * Makefile.in: Remove cc-awk dependency.
5381
5382 2014-09-08 Sam Steingold <sds@gnu.org>
5383
5384 * progmodes/sql.el (sql-send-line-and-next): New command,
5385 bound to C-c C-n.
5386 (sql-show-sqli-buffer): Display the buffer instead of its name and
5387 bind the command to C-c C-z.
5388 (sql-default-directory): New user option.
5389 (sql-product-interactive): Bind `default-directory' to it to
5390 enable remote connections using Tramp.
5391 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
5392 suitable buffer is available.
5393
5394 2014-09-08 Glenn Morris <rgm@gnu.org>
5395
5396 * calendar/calendar.el (calendar-basic-setup):
5397 Fix calendar-view-holidays-initially-flag and fancy display.
5398 * calendar/diary-lib.el (diary-live-p): Doc fix.
5399
5400 * calendar/calendar.el (calendar-basic-setup):
5401 Avoid clobbering calendar with diary. (Bug#18381)
5402
5403 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
5406
5407 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
5408
5409 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
5410 as well (bug#18400).
5411
5412 2014-09-08 Eli Zaretskii <eliz@gnu.org>
5413
5414 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
5415
5416 2014-09-06 Leo Liu <sdl.web@gmail.com>
5417
5418 * emacs-lisp/pcase.el (pcase): Doc fix.
5419 (pcase--split-vector): New function.
5420 (pcase--q1): Support vector qpattern. (Bug#18327)
5421
5422 2014-09-05 Sam Steingold <sds@gnu.org>
5423
5424 * textmodes/tex-mode.el (tex-print-file-extension): New user
5425 option.
5426 (tex-print): Use it instead of the hard-coded string.
5427
5428 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
5429
5430 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5431 Expand `default-directory'.
5432
5433 2014-09-05 Martin Rudalics <rudalics@gmx.at>
5434
5435 * scroll-bar.el (horizontal-scroll-bars-available-p):
5436 New function.
5437 (horizontal-scroll-bar-mode): Rewrite using
5438 horizontal-scroll-bars-available-p.
5439 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
5440 horizontal-scroll-bars-available-p.
5441
5442 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * subr.el (call-process-shell-command, process-file-shell-command):
5445 Make the `args' obsolete (bug#18409).
5446 (start-process-shell-command, start-file-process-shell-command):
5447 Use `declare'.
5448
5449 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
5450
5451 * calc/calc-forms.el (math-normalize-hms): Do a better check for
5452 "negative" hms forms.
5453
5454 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
5455
5456 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
5457 returns nil (bug#18391).
5458
5459 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
5462 terminating paren (bug#18352).
5463 (eldoc-last-data-store): Return cached data.
5464 (eldoc-get-var-docstring): Avoid setq.
5465 (eldoc-get-fnsym-args-string): Clarify data flow.
5466
5467 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5468
5469 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
5470 case where we're currently providing part of the &rest arg after some
5471 &key args, as in define-ibuffer-op (bug#18048).
5472
5473 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
5476 buffer-local setting of which-func-mode.
5477 (which-func-mode): Use defvar-local.
5478 (which-function-mode): Don't reset which-func-mode in each buffer since
5479 it might have been set by someone else.
5480 (which-func-update-ediff-windows): Check which-function-mode.
5481
5482 2014-09-03 Martin Rudalics <rudalics@gmx.at>
5483
5484 * frame.el (frame-initialize): Remove horizontal-scroll-bars
5485 from frame-initial-frame-alist.
5486 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
5487 (horizontal-scroll-bar-mode-explicit)
5488 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
5489 (toggle-horizontal-scroll-bar): Remove.
5490 (horizontal-scroll-bar-mode): Remove defcustom.
5491 (horizontal-scroll-bar-mode): Fix doc-string.
5492 (scroll-bar-toolkit-scroll)
5493 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
5494
5495 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * emacs-lisp/package.el (package-generate-description-file):
5498 Properly quote the arguments (bug#18332). Change second arg.
5499 (package--alist-to-plist-args): Rename from package--alist-to-plist and
5500 quote the elements.
5501 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
5502 the *-pkg.el file. Adjust to new calling convention of
5503 package-generate-description-file.
5504
5505 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
5506 (gud-gdb-completions): Remove obsolete workaround.
5507
5508 2014-09-03 Eli Zaretskii <eliz@gnu.org>
5509
5510 * subr.el (posn-col-row): Revert the change from commit
5511 2010-11-13T21:07:58Z!eliz@gnu.org, which
5512 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
5513 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
5514 introduced an off-by-one error in the reported row when there is a
5515 header line. (Bug#18384)
5516
5517 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5518
5519 * progmodes/python.el (python-indent-post-self-insert-function):
5520 Avoid electric colon at beginning-of-defun. (Bug#18228)
5521
5522 2014-09-03 Glenn Morris <rgm@gnu.org>
5523
5524 * tutorial.el (tutorial--display-changes):
5525 Fix 2014-08-01 change. (Bug#18382)
5526
5527 2014-09-03 Ken Brown <kbrown@cornell.edu>
5528
5529 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
5530 the Cygwin-w32 build. (Bug#18347)
5531
5532 2014-09-03 Glenn Morris <rgm@gnu.org>
5533
5534 * tar-mode.el (tar--extract, tar-extract):
5535 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
5536
5537 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
5540 handle multiline elements (bug#18380).
5541
5542 2014-09-01 Eli Zaretskii <eliz@gnu.org>
5543
5544 * ls-lisp.el (ls-lisp-use-string-collate)
5545 (ls-lisp-UCA-like-collation): New defcustoms.
5546 (ls-lisp-string-lessp): Use them to control sorting by file
5547 names. (Bug#18051)
5548 (ls-lisp-version-lessp): New function.
5549 (ls-lisp-handle-switches): Use it to implement the -v switch of
5550 GNU ls.
5551 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
5552
5553 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
5554
5555 * ibuffer.el: Replace mode-specific quit function with
5556 `quit-window' via `special-mode'.
5557 (ibuffer-mode-map): Use keybindings from special-mode-map instead
5558 of local overrides.
5559 (ibuffer): Don't store previous windows configuration.
5560 Let `quit-window' handle restoring.
5561 (ibuffer-quit): Remove function. Use `quit-window' instead.
5562 (ibuffer-restore-window-config-on-quit): Remove variable.
5563 (ibuffer-prev-window-config): Remove variable.
5564
5565 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
5566
5567 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
5568 name instead of variable name in hook docstring. (Bug#18349)
5569
5570 2014-08-29 Martin Rudalics <rudalics@gmx.at>
5571
5572 * window.el (display-buffer-at-bottom): Prefer bottom-left
5573 window to other bottom windows. Reuse a bottom window if it
5574 shows the buffer already. Suggested by Juri Linkov
5575 <juri@jurta.org> in discussion of (Bug#18181).
5576
5577 2014-08-29 Leo Liu <sdl.web@gmail.com>
5578
5579 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
5580 append to minibuffer-setup-hook. (Bug#18341)
5581
5582 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
5585 byte-compiler.
5586 (lookup-syntax-properties): Silence byte-compiler.
5587 (c-lang-defconst): Quote the code with `lambda' rather than with
5588 `quote'.
5589 (c-lang-const): Avoid unneeded setq.
5590 (c-lang-constants-under-evaluation): Add docstring.
5591 (c-lang--novalue): New constant.
5592 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
5593 (c-get-lang-constant): Same here.
5594 Get the mode's value using `funcall' now that the code is quoted
5595 with `lambda'.
5596
5597 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
5600 (Bug#18326)
5601
5602 2014-08-28 Martin Rudalics <rudalics@gmx.at>
5603
5604 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
5605 interpretation of `portion-whole'.
5606
5607 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5608
5609 * net/tramp-adb.el: Spell author name correctly.
5610
5611 2014-08-28 João Távora <joaotavora@gmail.com>
5612
5613 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
5614 use url-expand-file-name. (Bug#18310)
5615
5616 2014-08-28 Glenn Morris <rgm@gnu.org>
5617
5618 * emulation/cua-rect.el (cua--highlight-rectangle):
5619 Avoid error at point-min. (Bug#18309)
5620
5621 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
5624 executable-find (bug#18244).
5625
5626 * simple.el (self-insert-uses-region-functions): Defvar.
5627
5628 2014-08-28 Glenn Morris <rgm@gnu.org>
5629
5630 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
5631
5632 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
5633
5634 * startup.el (normal-top-level): Now use internal--top-level-message.
5635
5636 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
5637
5638 * startup.el (normal-top-level): Use top-level-message.
5639
5640 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5641
5642 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
5643 URLs containing spaces and the like.
5644
5645 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5646
5647 * subr.el (remq): Fix docstring (Bug#18253).
5648
5649 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5650
5651 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
5652
5653 2014-08-24 Alan Mackenzie <acm@muc.de>
5654
5655 Handle C++11's "auto" and "decltype" constructions.
5656 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
5657 and return 'decltype.
5658 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
5659 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
5660 keyword.
5661 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
5662 "decltype" keyword.
5663 (c-font-lock-c++-new): Handle "decltype" constructions.
5664 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
5665 New c-lang-defconsts/defvars.
5666 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
5667 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
5668 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
5669 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
5670
5671 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
5672 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
5673 off from c->-op-cont-re.
5674 (c->-op-cont-tokens): Change to use the above.
5675 (c->-op-without->-cont-regexp): New lang-const.
5676 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
5677 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
5678
5679
5680 2014-08-23 Alan Mackenzie <acm@muc.de>
5681
5682 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
5683 loop, bug #18306. The bug was introduced on 2014-08-02.
5684
5685 2014-08-21 Eli Zaretskii <eliz@gnu.org>
5686
5687 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
5688 Don't recognize a Top node if there are other sectioning commands
5689 earlier in the Texinfo file. This fixes a bug in
5690 texinfo-make-menu and avoids inflooping in
5691 texinfo-all-menus-update when they are invoked on texinfo.texi.
5692
5693 2014-08-21 Martin Rudalics <rudalics@gmx.at>
5694
5695 * window.el (window--side-window-p): New function.
5696 (split-window, window-splittable-p): Use window--side-window-p to
5697 determine whether WINDOW can be split (Bug#18304).
5698 * calendar/calendar.el (calendar-basic-setup): Fix one call of
5699 `window-splittable-p' and add another (Bug#18304).
5700
5701 2014-08-20 Sam Steingold <sds@gnu.org>
5702
5703 * progmodes/python.el (python-new-pythonpath): Extract from
5704 `python-shell-calculate-process-environment'.
5705
5706 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5707
5708 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
5709 for &key args (bug#18048).
5710
5711 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
5714 (eldoc-function-argstring-format): Remove.
5715 (eldoc-function-argstring): Always return upcase args.
5716 Use help-make-usage. Don't add parens.
5717 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
5718 it's too late to do it right (bug#18048).
5719
5720 2014-08-18 Eli Zaretskii <eliz@gnu.org>
5721
5722 * scroll-bar.el (scroll-bar-horizontal-drag-1)
5723 (scroll-bar-toolkit-horizontal-scroll): When determining the
5724 paragraph direction, use the buffer of the window designated in
5725 the event.
5726
5727 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
5728
5729 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
5730 context of unified diff.
5731
5732 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
5733
5734 Add dependencies to fix loaddefs race during parallel builds.
5735 Without this, for example, 'make -j bootstrap' can fail and report
5736 "Opening input file: no such file or directory,
5737 .../lisp/calendar/diary-loaddefs.el ... recipe for target
5738 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
5739 got confused because diary-loaddefs.el was being built in parallel.
5740 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
5741 Depend on $(CAL_DIR)/cal-loaddefs.el.
5742 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
5743
5744 2014-08-16 Martin Rudalics <rudalics@gmx.at>
5745
5746 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
5747 portion-whole for scrolling right-to-left text.
5748
5749 2014-08-15 Leo Liu <sdl.web@gmail.com>
5750
5751 * speedbar.el (speedbar-generic-list-tag-p): Allow special
5752 elements from imenu.
5753
5754 2014-08-15 Glenn Morris <rgm@gnu.org>
5755
5756 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
5757
5758 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5759
5760 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5761 Add Guile regexpses.
5762
5763 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5764
5765 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
5766 add Guile debugger support for GUD.
5767
5768 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
5771 (mouse-sel--ignore): New function.
5772 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
5773 (mouse-sel-original-interprogram-cut-function)
5774 (mouse-sel-original-interprogram-paste-function): Remove.
5775
5776 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
5777
5778 * vc/vc-git.el (vc-git-resolve-when-done): New function.
5779 Call "git add" when there are no longer conflict markers.
5780
5781 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5782
5783 * vc/vc-git.el (vc-git-find-file-hook): New function.
5784 Adds support for calling smerge (and resolve) on a conflicted file.
5785 (vc-git-conflicted-files): New function.
5786 Useful in itself and a step towards better smerge support.
5787
5788 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
5791 to the first part if they're the same as the selection.
5792
5793 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5794
5795 * image-mode.el (image-transform-reset): New command and menu item.
5796 (image-mode-map): Rearrange the menu items to put presumably more
5797 obscure items at the end.
5798
5799 2014-08-12 Juri Linkov <juri@jurta.org>
5800
5801 * vc/vc-annotate.el (vc-annotate-background-mode):
5802 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
5803
5804 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * files.el (out-of-memory-warning-percentage): Turn it off by default.
5807
5808 2014-08-11 Sam Steingold <sds@gnu.org>
5809
5810 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
5811 the presence of known validators (tidy, (o)nsgmls).
5812
5813 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
5814
5815 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
5816 * net/newst-treeview.el (newsticker-treeview-date-format): New.
5817 (newsticker--treeview-list-add-item):
5818 Use `newsticker-treeview-date-format'.
5819
5820 2014-08-11 Glenn Morris <rgm@gnu.org>
5821
5822 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
5823 chose coding system for writing before backing up, since it causes
5824 a more serious problem than the one it solves. (Closes Bug#18141,
5825 reopens Bug#13522.)
5826
5827 2014-08-11 Martin Rudalics <rudalics@gmx.at>
5828
5829 * window.el (window-total-size): Make doc-string more self-contained.
5830
5831 * window.el (display-buffer-below-selected): Restore original
5832 behavior if buffer is already displayed in the window below the
5833 selected one (Bug#18181).
5834
5835 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
5838 event (bug#18212).
5839
5840 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5841
5842 * info.el (info): Doc fix.
5843
5844 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * info.el (Info-mode-map): Override a global down-mouse-2 binding
5847 (bug#18212).
5848
5849 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5850
5851 * simple.el (default-line-height): A floating-point value of
5852 line-spacing means a fraction of the default frame font's height,
5853 not of the font currently used by the 'default' face.
5854 Truncate the pixel value, like the display engine does.
5855 (window-screen-lines): Use window-inside-pixel-edges for
5856 determining the window height in pixels. (Bug#18195)
5857
5858 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
5859
5860 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
5861
5862 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
5863
5864 Enumerate evaluated sexp diary entries (Bug#7911).
5865 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
5866 (icalendar-export-sexp-enumeration-days): New.
5867 (icalendar-export-region): Now `icalendar--convert-to-ical'
5868 returns a cons cell or a list of cons cells.
5869 (icalendar--convert-to-ical): Take care of
5870 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
5871 (icalendar--convert-ordinary-to-ical)
5872 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5873 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
5874 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
5875 (icalendar--convert-anniversary-to-ical): Return cons cell.
5876 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
5877 entries. Return (list of) cons cells.
5878
5879 2014-08-09 Juri Linkov <juri@jurta.org>
5880
5881 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
5882 to reevaluate `vc-annotate-color-map'. (Bug#18189)
5883
5884 2014-08-09 Alan Mackenzie <acm@muc.de>
5885
5886 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
5887 for top-level that can cause unacceptable slow-down in scrolling.
5888 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
5889 Antipov from 2013-10-14 in emacs-devel.
5890
5891 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5892
5893 * ibuffer.el (ibuffer-mode-map): Use toggle button for
5894 `ibuffer-auto-mode' menu entry.
5895 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
5896
5897 2014-08-08 Matthias Meulien <orontee@gmail.com>
5898
5899 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
5900 (Bug#16394)
5901
5902 2014-08-07 Martin Rudalics <rudalics@gmx.at>
5903
5904 * window.el (window--min-size-1): Explicitly set WINDOW arg in
5905 calls of window-min-pixel-height and window-min-pixel-width.
5906
5907 2014-08-07 Reuben Thomas <rrt@sc3d.org>
5908
5909 * progmodes/ada-mode.el:
5910 * net/tramp.el (tramp-handle-file-symlink-p):
5911 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
5912 about VMS, which we no longer support.
5913 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
5914 and fix a FIXME, using convert-standard-filename in place of
5915 removed ada-convert-file-name.
5916
5917 2014-08-07 Eli Zaretskii <eliz@gnu.org>
5918
5919 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
5920
5921 2014-08-07 Reuben Thomas <rrt@sc3d.org>
5922
5923 Refer to MS-DOS using the same name everywhere.
5924 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
5925 ``msdog'' become ``MS-DOS''.
5926
5927 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
5928
5929 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5930 Use cached "remote-copy-args" value, if available. (Bug#18199)
5931
5932 2014-08-07 Leo Liu <sdl.web@gmail.com>
5933
5934 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
5935 Revert change on 2014-03-22.
5936
5937 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
5938
5939 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
5940 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
5941 (Bug#13750).
5942
5943
5944 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5945
5946 * image-mode.el (image-toggle-display-image): Always rescale images
5947 to not be bigger than the current window.
5948
5949 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
5950
5951 * net/eww.el (eww-bookmarks-directory): New variable.
5952 (eww-write-bookmarks): Use it.
5953 (eww-read-bookmarks): Ditto.
5954
5955 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5956
5957 * net/shr.el (shr-copy-url): Also copy the image URL.
5958
5959 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
5960
5961 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
5962 also for Tramp working buffers.
5963
5964 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
5965
5966 * progmodes/python.el: Fix completions inside (i)pdb.
5967 (python-shell-completion-pdb-string-code): Make obsolete.
5968 (python-shell-completion-get-completions):
5969 Use python-shell-completion-string-code resending setup code
5970 continuously for (i)pdb.
5971
5972 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
5973
5974 * rect.el (rectangle--default-line-number-format): Rename
5975 from misspelled rectange--default-line-number-format (Bug#18045).
5976 All uses changed.
5977
5978 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
5979
5980 Don't mishandle year-9999 dates (Bug#18176).
5981 * calendar/parse-time.el (parse-time-rules):
5982 Allow years up to most-positive-fixnum.
5983 * calendar/time-date.el (date-to-time):
5984 Pass "Specified time is not representable" errors through.
5985
5986 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5987
5988 * progmodes/python.el: Completion code cleanups.
5989 (python-shell-completion-get-completions): Detect and send import
5990 statements directly to completion function.
5991 (python-shell-completion-at-point): Simplify prompt calculation
5992 and import vs input completion logic.
5993
5994 2014-08-02 Alan Mackenzie <acm@muc.de>
5995
5996 Fix confusion in C++ file caused by comma in "= {1,2},".
5997 Bug #17756.
5998 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
5999 for a statement boundary marked by "}", check there's no "="
6000 before the "{".
6001 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
6002 non-nil `comma-delim' argument.
6003 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
6004 initializer expression more accurately.
6005
6006 Correct loop termination condition in c-syntactic-skip-backward.
6007 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6008 the situation where, after moving back out of a literal,
6009 skip-chars-backward doesn't move further, yet checks have still to
6010 be done.
6011
6012 2014-08-01 Eli Zaretskii <eliz@gnu.org>
6013
6014 * tutorial.el (tutorial--display-changes): Accept punctuation
6015 characters before the key binding. (Bug#18146)
6016
6017 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
6018
6019 * progmodes/python.el: Shell output capture enhancements.
6020 (python-shell-accept-process-output): New function.
6021 (inferior-python-mode)
6022 (python-shell-send-setup-code): Use it.
6023
6024 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
6025
6026 * calendar/icalendar.el (icalendar--decode-isodatetime):
6027 Use actual current-time-zone when converting to local time. (Bug#15408)
6028
6029 2014-07-29 Martin Rudalics <rudalics@gmx.at>
6030
6031 * window.el (window--state-put-2): Handle horizontal scroll
6032 bars, if present.
6033
6034 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6035
6036 * menu-bar.el (menu-bar-update-buffers): Update item list format
6037 in `buffers-menu' to confirm with changes to `get_keyelt'
6038 (r117463). (Bug#18016)
6039
6040 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6041
6042 * progmodes/python.el (inferior-python-mode): Make input prompts
6043 read-only.
6044
6045 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
6046
6047 * net/tramp-sh.el (tramp-get-remote-python): Also search for
6048 executables named "python2" or "python3".
6049 (tramp-get-remote-uid-with-python): Use parentheses around
6050 arguments to `print' to make it compatible with Python 3.
6051 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
6052
6053 2014-07-28 Eli Zaretskii <eliz@gnu.org>
6054
6055 * window.el (window--pixel-to-total): Use FRAME's root window, not
6056 that of the selected frame. (Bug#18112, Bug#16674)
6057
6058 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
6059
6060 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6061 (Bug#18117)
6062
6063 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6064
6065 * progmodes/python.el (inferior-python-mode): Doc fix.
6066
6067 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6068
6069 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6070 not a character, ignore it instead of raising an error.
6071
6072 * calendar/todo-mode.el: Fix handling of marked items and make
6073 minor code improvements.
6074 (todo-edit-item): If there are marked items, ensure user can only
6075 invoke editing commands that work with marked items.
6076 (todo-edit-item--text): When there are marked items, make it a
6077 noop if invoked with point not on an item; otherwise, ensure it
6078 applies only to item at point.
6079 (todo-item-undone): If there are marked not-done items, return
6080 point to its original position before signaling user error.
6081 (todo--user-error-if-marked-done-item): New function.
6082 (todo-edit-item--header, todo-edit-item--diary-inclusion)
6083 (todo-item-done): Use it.
6084
6085 2014-07-28 Glenn Morris <rgm@gnu.org>
6086
6087 * files.el (toggle-read-only): Re-add basic doc-string.
6088 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6089
6090 * progmodes/prolog.el (prolog-mode-keybindings-edit):
6091 Replace missing `switch-to-prolog' with `run-prolog'.
6092 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6093
6094 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6095
6096 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6097 of file-wide setting when changing category-wide setting.
6098
6099 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6100
6101 * doc-view.el (doc-view-open-text): Don't require that the
6102 document is saved in a file (e.g., email attachment).
6103
6104 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6105
6106 Parse completion input in a iPython friendly way. (Bug#18084)
6107 * progmodes/python.el
6108 (python-shell-completion-at-point): Rename from
6109 python-shell-completion-complete-at-point.
6110 (inferior-python-mode): Use it.
6111 (python-completion-at-point): Rename from
6112 python-completion-complete-at-point. Parse input up to first
6113 backward occurrence of whitespace, open-paren, close-paren or
6114 string delimiter.
6115 (python-mode): Use it.
6116
6117 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6118
6119 * progmodes/python.el
6120 (python-shell-with-shell-buffer): New macro.
6121 (python-shell-font-lock-get-or-create-buffer)
6122 (python-shell-font-lock-kill-buffer)
6123 (python-shell-font-lock-with-font-lock-buffer)
6124 (python-shell-font-lock-cleanup-buffer)
6125 (python-shell-font-lock-toggle): Use it.
6126 (python-shell-font-lock-turn-on)
6127 (python-shell-font-lock-turn-off): Use it. Make command.
6128
6129 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6130
6131 Grab all Python process output before inferior-python-mode hooks.
6132 * progmodes/python.el (inferior-python-mode):
6133 Call accept-process-output and sit-for to ensure all output for process
6134 has been received before running hooks.
6135 (python-shell-internal-get-or-create-process):
6136 Cleanup accept-process-output and sit-for calls.
6137
6138 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6139
6140 More robust shell startup and code setup.
6141 * progmodes/python.el (python-shell-make-comint):
6142 Remove accept-process-output call.
6143 (python-shell-get-buffer): Return current buffer if major-mode is
6144 inferior-python-mode.
6145 (python-shell-get-or-create-process): Use it.
6146 (python-shell-send-setup-code): Send all setup code in one string,
6147 output success message and accept-process-output.
6148
6149 2014-07-27 Eli Zaretskii <eliz@gnu.org>
6150
6151 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6152 Add rudimentary support for bidirectional text.
6153
6154 2014-07-27 Martin Rudalics <rudalics@gmx.at>
6155
6156 * frame.el (frame-notice-user-settings): Rewrite using
6157 frame-initial-frame-tool-bar-height.
6158 * menu-bar.el (menu-bar-horizontal-scroll-bar)
6159 (menu-bar-no-horizontal-scroll-bar): New functions.
6160 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6161 scroll bars.
6162 * scroll-bar.el (scroll-bar-lines)
6163 (set-horizontal-scroll-bar-mode)
6164 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6165 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6166 (scroll-bar-toolkit-horizontal-scroll): New functions.
6167 (horizontal-scroll-bar-mode)
6168 (previous-horizontal-scroll-bar-mode)
6169 (horizontal-scroll-bar-mode-explicit): New variables.
6170 (horizontal-scroll-bar-mode): New option.
6171 (toggle-horizontal-scroll-bar): Do something.
6172 (top-level): Bind horizontal-scroll-bar mouse-1.
6173 * startup.el (tool-bar-originally-present): Remove variable.
6174 (command-line): Don't set tool-bar-originally-present.
6175 * window.el (window-min-height): Update doc-string.
6176 (window--dump-frame): Dump horizontal scroll bar values.
6177 (window--min-size-1): Handle minibuffer window separately.
6178 Count in margins and horizontal scroll bar. Return safe value
6179 iff IGNORE equals 'safe.
6180 (frame-windows-min-size): New function (used by frame resizing
6181 routines).
6182 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6183 scroll bars.
6184 (window--sanitize-window-sizes): New function.
6185 (window-split-min-size): Remove.
6186 (split-window): Count divider-width. Don't use
6187 `window-split-min-size' any more. Reword error messages.
6188 Sanitize windows sizes after splitting.
6189
6190 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
6191
6192 Use `defvar-local' more.
6193 * progmodes/hideshow.el
6194 (hs-c-start-regexp, hs-block-start-regexp)
6195 (hs-block-start-mdata-select, hs-block-end-regexp)
6196 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6197 remove corresponding `make-variable-buffer-local' top-level calls.
6198
6199 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6200
6201 Cleanup error signals. (Bug#18067)
6202 * progmodes/python.el
6203 (python-indent-shift-left): Use user-error instead.
6204 (python-shell-prompt-detect): Use lwarn with python group.
6205 (python-completion-complete-at-point)
6206 (python-eldoc--get-doc-at-point): Don't signal error.
6207
6208 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6209
6210 Support for packages in Python shell. (Bug#13570)
6211 * progmodes/python.el (python-shell--package-depth): New var.
6212 (python-shell-package-enable): New command.
6213 (python-util-list-directories, python-util-list-files)
6214 (python-util-list-packages): New functions.
6215
6216 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6217
6218 Faster comint output. (Bug#16875)
6219 * progmodes/python.el:
6220 (python-comint-output-filter-function): Make obsolete.
6221 (python-comint-postoutput-scroll-to-bottom): New function.
6222 (inferior-python-mode): Set comint-output-filter-functions to a
6223 minimum.
6224
6225 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6226
6227 * progmodes/python.el (python-shell-font-lock-post-command-hook):
6228 Safeguard current point and undo history.
6229
6230 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6231
6232 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
6233 * progmodes/python.el:
6234 (python-shell-prompt-input-regexps): Add iPython block prompt.
6235 (python-shell-output-syntax-table): Delete var.
6236 (python-shell-font-lock-with-font-lock-buffer): New macro.
6237 (python-shell-font-lock-get-or-create-buffer)
6238 (python-shell-font-lock-kill-buffer)
6239 (python-shell-font-lock-cleanup-buffer)
6240 (python-shell-font-lock-post-command-hook)
6241 (python-shell-font-lock-turn-off): New functions.
6242 (python-shell-font-lock-turn-on): New function.
6243 (inferior-python-mode): Use it.
6244 (python-shell-font-lock-toggle): New command.
6245 (python-shell-font-lock-enable): Rename from
6246 python-shell-enable-font-lock.
6247 (run-python-internal): Use it.
6248 (python-shell-font-lock-comint-output-filter-function): New function.
6249 (python-shell-comint-end-of-output-p): New function.
6250 (python-shell-output-filter): Use it.
6251 (python-util-comint-last-prompt): New function.
6252 (python-util-text-properties-replace-name): New function.
6253
6254 2014-07-25 Glenn Morris <rgm@gnu.org>
6255
6256 * vc/ediff-init.el (ediff-toggle-read-only-function):
6257 * vc/ediff-util.el (ediff-toggle-read-only):
6258 Replace obsolete toggle-read-only with read-only-mode.
6259
6260 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
6261
6262 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6263 with `save-match-data'. (Bug#18095)
6264
6265 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
6266
6267 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6268 order to ensure that row and col are lexically bound inside the
6269 evaluated sexp.
6270
6271 2014-07-21 Glenn Morris <rgm@gnu.org>
6272
6273 * progmodes/hideif.el (hide-ifdef-mode-submap):
6274 Also substitute read-only-mode.
6275 * bindings.el (mode-line-toggle-read-only):
6276 * bs.el (bs-toggle-readonly):
6277 * buff-menu.el (Buffer-menu-toggle-read-only):
6278 * dired.el (dired-toggle-read-only):
6279 * files.el (view-read-only, find-file-read-only)
6280 (find-file-read-only-other-window)
6281 (find-file-read-only-other-frame):
6282 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6283 Doc fixes re toggle-read-only.
6284
6285 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6286
6287 * progmodes/python.el: Add comment about pipe buffering and
6288 solutions for missing/delayed output in inferior Python shells.
6289 (Bug#17304)
6290
6291 * progmodes/python.el (python-mode): Don't set
6292 mode-require-final-newline. (Bug#17990)
6293
6294 Make python.el work with IPython automatically. (Bug#15510)
6295 * progmodes/python.el:
6296 (python-shell-completion-setup-code): New value supporting iPython.
6297 (python-shell-completion-string-code): New value supporting iPython.
6298 (python-shell-completion-get-completions): Use them.
6299 (python-shell-completion-module-string-code): Make obsolete.
6300 (python-shell-prompt-input-regexps)
6301 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
6302 (python-shell-output-filter): Fix comment typo.
6303
6304 Fix Python shell prompts detection for remote hosts.
6305 * progmodes/python.el (python-shell-prompt-detect):
6306 Replace call-process with process-file and make it more robust.
6307
6308 Autodetect Python shell prompts. (Bug#17370)
6309 * progmodes/python.el:
6310 (python-shell-interpreter-interactive-arg)
6311 (python-shell-prompt-detect-enabled)
6312 (python-shell-prompt-detect-failure-warning)
6313 (python-shell-prompt-input-regexps)
6314 (python-shell-prompt-output-regexps): New vars.
6315 (python-shell-prompt-calculated-input-regexp)
6316 (python-shell-prompt-calculated-output-regexp): New vars.
6317 (python-shell-get-process-name)
6318 (python-shell-internal-get-process-name)
6319 (python-shell-output-filter)
6320 (python-shell-completion-get-completions): Use them.
6321 (python-shell-prompt-detect)
6322 (python-shell-prompt-validate-regexps): New functions.
6323 (python-shell-prompt-set-calculated-regexps): New function.
6324 (inferior-python-mode): Use it. Also honor overriden
6325 python-shell-interpreter and python-shell-interpreter-args.
6326 (python-shell-make-comint): Honor overriden
6327 python-shell-interpreter and python-shell-interpreter-args.
6328 (python-shell-get-or-create-process): Make it testable by allowing
6329 to call run-python non-interactively.
6330 (python-util-valid-regexp-p): New function.
6331 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
6332 (python-shell-prompt-output-regexp)
6333 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
6334
6335 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * emacs-lisp/smie.el (smie-config--guess-1): Split from
6338 smie-config--guess.
6339 (smie-config--guess): Use it.
6340
6341 * emacs-lisp/edebug.el: Use nadvice.
6342 (edebug-original-read): Remove.
6343 (edebug--read): Rename from edebug-read and add `orig' arg.
6344 (edebug-uninstall-read-eval-functions)
6345 (edebug-install-read-eval-functions): Use nadvice.
6346 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
6347 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
6348 (edebug-read-string, edebug-read-function): Use just `read'.
6349 (edebug-original-debug-on-entry): Remove.
6350 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
6351 `orig' arg.
6352 (debug-on-entry): Override with nadvice.
6353
6354 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
6355 it also makes sense to bind it to a non-mouse event.
6356
6357 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
6358
6359 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
6362 (bug#18015).
6363
6364 * rect.el (rectangle--string-preview): Don't assume there
6365 a non-nil default (bug#17984).
6366
6367 2014-07-16 Glenn Morris <rgm@gnu.org>
6368
6369 * desktop.el (after-init-hook): Disable startup frame restoration
6370 in non-graphical situations. (Bug#17693)
6371
6372 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
6373 if it was "empty", or used for a different set of files. (Bug#17884)
6374
6375 2014-07-16 Eli Zaretskii <eliz@gnu.org>
6376
6377 * bindings.el (mode-line-remote): If default-directory is not a
6378 string, don't call file-remote-p on it; instead state in the
6379 help-echo that it is nil. (Bug#17986)
6380
6381 2014-07-14 Daniel Colascione <dancol@dancol.org>
6382
6383 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
6384 to `macroexpand-all'
6385
6386 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
6387 Use `macroexpand-all' instead of `cl-macroexpand-all'.
6388
6389 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
6390
6391 Fix bug: C-x v v discarded existing log message (Bug#17884).
6392 * vc/vc-dispatcher.el (vc-log-edit):
6393 Don't clobber an already-existing log message.
6394
6395 2014-07-12 Glenn Morris <rgm@gnu.org>
6396
6397 * vc/log-edit.el (log-edit-changelog-entries):
6398 Check for a visited-but-never-saved ChangeLog.
6399
6400 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
6403 a non-existing file (bug#17970).
6404
6405 * faces.el (face-name): Undo last change.
6406 (x-resolve-font-name): Don't call face-name (bug#17956).
6407
6408 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6409
6410 Fix dedenters and electric colon handling. (Bug#15163)
6411 * progmodes/python.el
6412 (python-rx-constituents): Add dedenter and block-ender.
6413 (python-indent-dedenters, python-indent-block-enders): Delete.
6414 (python-indent-context): Return new case for dedenter-statement.
6415 (python-indent-calculate-indentation): Handle new case.
6416 (python-indent-calculate-levels): Fix levels calculation for
6417 dedenter statements.
6418 (python-indent-post-self-insert-function): Fix colon handling.
6419 (python-info-dedenter-opening-block-message): New function.
6420 (python-indent-line): Use it.
6421 (python-info-closing-block)
6422 (python-info-closing-block-message): Remove.
6423 (python-info-dedenter-opening-block-position)
6424 (python-info-dedenter-opening-block-positions)
6425 (python-info-dedenter-statement-p): New functions.
6426
6427 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
6428
6429 * files.el (out-of-memory-warning-percentage): New defcustom.
6430 (warn-maybe-out-of-memory): Use it.
6431
6432 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
6433
6434 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
6435 when calling `read-string'. (Bug#17839)
6436
6437 2014-07-10 Eli Zaretskii <eliz@gnu.org>
6438
6439 * files.el (warn-maybe-out-of-memory): Fix the wording of the
6440 warning.
6441
6442 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
6443
6444 * files.el (warn-maybe-out-of-memory): New function.
6445 (find-file-noselect): Use it.
6446
6447 2014-07-09 Sam Steingold <sds@gnu.org>
6448
6449 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
6450 `constant' like `bless', `return' &c
6451
6452 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * rect.el (apply-on-rectangle): Check forward-line really moved to the
6455 next line.
6456
6457 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
6460 the middle of a line (bug#17896).
6461
6462 2014-07-09 Juri Linkov <juri@jurta.org>
6463
6464 * startup.el (command-line): Append displaying the warning about
6465 the errors in the init file to the end of `after-init-hook'.
6466 (Bug#17927)
6467
6468 * faces.el (face-name): Return input arg `face' as-is
6469 when it's not a symbol.
6470 (x-resolve-font-name): Don't check if the face is a symbol.
6471 (Bug#17956)
6472
6473 * facemenu.el (list-colors-print): In help-echo format use %.2f
6474 instead of %d because now HSV values are floating-point components
6475 between 0.0 and 1.0.
6476
6477 2014-07-09 Glenn Morris <rgm@gnu.org>
6478
6479 * emulation/cua-rect.el (cua--activate-rectangle):
6480 Avoid setting cua--rectangle to nil. (Bug#17877)
6481
6482 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6483
6484 * calendar/todo-mode.el: Fix wrong-type-argument error when
6485 marking multiple consecutive items.
6486 (todo-toggle-mark-item): Don't try to mark the empty lines at the
6487 end of the todo and done items sections. Note in doc string that
6488 items marked by passing a numeric prefix argument can include the
6489 last todo and first done items.
6490 (todo-mark-category): Don't try to mark the empty line between the
6491 todo and done items sections.
6492
6493 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
6496 proper Lisp quoting (bug#17934).
6497
6498 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
6499 require-final-newline since prog-mode already took care of it (bug#17947).
6500
6501 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6502
6503 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
6504 refer to the Todo mode Info manual. Update the comment on
6505 requiring cl-lib.
6506 (todo-find-filtered-items-file): Add todo-prefix overlays.
6507 (todo-filter-items): Reorder a let-bound variable to avoid a
6508 wrong-type-argument error on canceling the file choice dialog.
6509
6510 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * progmodes/octave.el (inferior-octave-mode):
6513 Set comint-input-ring-size to a number (bug#17912).
6514
6515 2014-07-09 Juri Linkov <juri@jurta.org>
6516
6517 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
6518 and `isearch-mode' associated with nil. (Bug#17849)
6519
6520 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * linum.el (linum--face-height): New function (bug#17813).
6523 (linum-update-window): Use it to adjust margin to linum's width.
6524
6525 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
6526 * eshell/em-smart.el (eshell-smart-scroll-window):
6527 Use with-selected-window.
6528
6529 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
6530 Remove also pointless window&mark manipulation.
6531
6532 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
6533 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
6534 (perl-continuation-line-p): Don't skip over anything else than labels.
6535 Return the previous char.
6536 (perl-calculate-indent): Use syntax-ppss instead of parse-start
6537 and update callers accordingly. For continuation lines, check the
6538 the case of array hashes.
6539 (perl-backward-to-noncomment): Make it non-interactive.
6540 (perl-backward-to-start-of-continued-exp): Rewrite.
6541
6542 2014-07-08 Sam Steingold <sds@gnu.org>
6543
6544 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
6545 New user commands.
6546
6547 2014-07-08 Juri Linkov <juri@jurta.org>
6548
6549 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
6550 (vc-annotate-color-map): Use less saturated colors (20%) for
6551 background-mode.
6552 (vc-annotate-very-old-color): Add default value for background-mode.
6553 (vc-annotate-background): Set default value to nil since now text on
6554 the default backgrounds should be legible in light and dark modes.
6555 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
6556 (Bug#17808)
6557
6558 2014-07-08 Juri Linkov <juri@jurta.org>
6559
6560 * simple.el (transpose-chars): Don't move point into read-only area.
6561 (Bug#17829)
6562
6563 2014-07-08 Juri Linkov <juri@jurta.org>
6564
6565 * window.el (with-displayed-buffer-window): New macro.
6566 (with-temp-buffer-window, with-current-buffer-window):
6567 Use `macroexp-let2' to evaluate and bind variables
6568 in the same order as macro arguments.
6569 (display-buffer--action-function-custom-type):
6570 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
6571
6572 * minibuffer.el (minibuffer-completion-help): Replace
6573 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
6574 with actions that display *Completions* at-bottom when called
6575 from the minibuffer, or below-selected in a normal buffer.
6576 Associate `window-height' with `fit-window-to-buffer'.
6577 Let-bind `pop-up-windows' to nil.
6578
6579 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
6580 instead of `with-current-buffer-window'. (Bug#17809)
6581
6582 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
6583
6584 * progmodes/hideif.el (hide-ifdef-env): Change to global.
6585 (hide-ifdef-env-backup): New variable.
6586 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
6587 New customizable variables.
6588 (hif-clear-all-ifdef-defined): New defun.
6589 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
6590 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
6591 (hif-tokenize): Fix for MS-DOS/Win EOL style.
6592 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
6593 Fix bug to hide the correct #elif region(s).
6594 (hif-range-elif): New defun.
6595 (hif-recurse-level): New var.
6596 (hif-evaluate-region, hif-evaluate-macro): New defun.
6597 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
6598 fully hidden.
6599 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
6600 Better interaction.
6601
6602 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
6603
6604 * net/dbus.el (dbus-peer-handler): New defun.
6605 (dbus-register-service): Register it. (Bug#17858)
6606 (dbus-managed-objects-handler): Fix docstring.
6607
6608 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
6609
6610 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
6611 (narrow-to-defun): New arg include-comments, defaulting to it
6612 (bug#16328).
6613
6614 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
6617 different calling convention to rectangle--unhighlight-for-redisplay.
6618
6619 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
6620
6621 * net/tramp.el (tramp-call-process): Handle error strings.
6622
6623 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
6624
6625 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
6626 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
6627
6628 * net/trampver.el: Update release number.
6629
6630 2014-07-03 Juri Linkov <juri@jurta.org>
6631
6632 * desktop.el (desktop-save): Rename arg `auto-save' to
6633 `only-if-changed'. Doc fix. (Bug#17873)
6634
6635 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6638 Use insert-for-yank (bug#17271).
6639
6640 2014-07-03 Leo Liu <sdl.web@gmail.com>
6641
6642 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
6643 Support lexical-binding.
6644
6645 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * vc/log-edit.el (log-edit-goto-eoh): New function.
6648 (log-edit--match-first-line): Use it (bug#17861).
6649
6650 2014-07-03 Glenn Morris <rgm@gnu.org>
6651
6652 * vc/log-edit.el (log-edit-hook): Add missing :version.
6653
6654 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6655
6656 * progmodes/python.el (python-indent-post-self-insert-function):
6657 Enhancements to electric indentation behavior inside
6658 parens. (Bug#17658)
6659
6660 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
6663 buffer-invisibility-spec (bug#17867).
6664
6665 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
6666
6667 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
6668 pass "-a".
6669
6670 2014-07-03 Glenn Morris <rgm@gnu.org>
6671
6672 * cus-edit.el (help):
6673 * finder.el (finder-known-keywords):
6674 * help.el (help-for-help-internal):
6675 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
6676 (ediff-redraw-registry-buffer):
6677 * vc/ediff-ptch.el (ediff-patch-file-internal):
6678 Doc fixes re "online" help. (Bug#17803)
6679
6680 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
6681 (idlwave-mode): Doc URL update.
6682
6683 2014-07-01 Juri Linkov <juri@jurta.org>
6684
6685 * man.el: Display man pages immediately and use process-filter
6686 to format them asynchronously.
6687 (Man-width): Doc fix.
6688 (man): Doc fix.
6689 (Man-start-calling): Use `with-selected-window' to get
6690 `frame-width' and `window-width'.
6691 (Man-getpage-in-background): Call `Man-notify-when-ready'
6692 immediately after creating a new buffer. Call `Man-mode' and set
6693 `mode-line-process' in the created buffer. Set process-filter to
6694 `Man-bgproc-filter' in start-process branch. In call-process branch
6695 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
6696 Use `Man-start-calling' inside `with-current-buffer'.
6697 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
6698 (Man-cleanup-manpage): Don't print messages.
6699 (Man-bgproc-filter): New function.
6700 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
6701 user moved it during asynchronous formatting. Move calls of
6702 `Man-fontify-manpage' and `Man-cleanup-manpage' to
6703 `Man-bgproc-filter'. Move the call of `Man-mode' to
6704 `Man-getpage-in-background'. Use `quit-restore-window'
6705 instead of `kill-buffer'. Use `message' instead of `error'
6706 because errors are caught by process sentinel.
6707 (Man-mode): Move calls of `Man-build-page-list',
6708 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
6709 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
6710
6711 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
6712 for the message about the man page cleaned up.
6713
6714 2014-07-01 Mario Lang <mlang@delysid.org>
6715
6716 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
6717 cosutomization option `gnutls-verify-error'.
6718
6719 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
6722 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
6723
6724 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
6725 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
6726 is suspended (bug#17857).
6727
6728 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
6729
6730 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6731 Prefer utf-8 coding. (Bug#17859)
6732
6733 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6734
6735 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
6736 for `reverse'.
6737
6738 2014-06-30 Glenn Morris <rgm@gnu.org>
6739
6740 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
6741 (autoload-ensure-default-file): Maybe make existing output writable.
6742 * Makefile.in (AUTOGEN_VCS): Remove.
6743 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
6744
6745 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6746
6747 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
6748
6749 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6750
6751 New if-let, when-let, thread-first and thread-last macros.
6752
6753 * emacs-lisp/subr-x.el
6754 (internal--listify, internal--check-binding)
6755 (internal--build-binding-value-form, internal--build-binding)
6756 (internal--build-bindings): New functions.
6757 (internal--thread-argument, thread-first, thread-last)
6758 (if-let, when-let): New macros.
6759
6760 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
6761
6762 * net/rcirc.el (rcirc-buffer-process): Restore previous
6763 behaviour. (Bug#17772)
6764
6765 2014-06-29 Alan Mackenzie <acm@muc.de>
6766
6767 Don't call c-parse-state when c++-template-syntax-table is active.
6768 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
6769 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
6770 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
6771
6772 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6773
6774 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
6775 account for file-wide setting of todo-top-priorities-overrides.
6776 Make code a bit cleaner.
6777
6778 2014-06-28 Glenn Morris <rgm@gnu.org>
6779
6780 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
6781
6782 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6783
6784 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
6785 category-wide setting of todo-top-priorities-overrides, check for
6786 a file-wide setting and fontify accordingly.
6787
6788 2014-06-28 Glenn Morris <rgm@gnu.org>
6789
6790 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
6791
6792 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
6795
6796 2014-06-28 K. Handa <handa@gnu.org>
6797
6798 Fix Bug#17739.
6799
6800 * composite.el: Setup composition-function-table for dotted circle.
6801 (compose-gstring-for-dotted-circle): New function.
6802
6803 * international/characters.el: Add category "^" to all
6804 non-spacing characters.
6805
6806 2014-06-28 Glenn Morris <rgm@gnu.org>
6807
6808 * Makefile.in (doit): Remove force rule.
6809 (custom-deps, finder-data, autoloads, update-subdirs)
6810 (compile-one-process): PHONY targets do not need force rules.
6811
6812 * Makefile.in (compile-main, compile, compile-always):
6813 No need to explicitly pass variables to ourself in recursive calls.
6814
6815 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
6818
6819 2014-06-26 Glenn Morris <rgm@gnu.org>
6820
6821 * Makefile.in (update-authors): Update for moved authors.el.
6822
6823 2014-06-26 Leo Liu <sdl.web@gmail.com>
6824
6825 * skeleton.el (skeleton-end-hook): Default to nil and move the
6826 work to skeleton-insert. (Bug#17850)
6827
6828 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
6829
6830 * calc/calc-alg.el (math-beforep):
6831 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
6832 Simplify because string-lessp can accept symbols as args.
6833
6834 2014-06-26 Daiki Ueno <ueno@gnu.org>
6835
6836 * emacs-lisp/package.el (package--check-signature):
6837 If package-check-signature is allow-unsigned, don't signal error when
6838 we can't verify signature because of missing public key
6839 (bug#17625).
6840
6841 2014-06-26 Glenn Morris <rgm@gnu.org>
6842
6843 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
6844 Remove outdated declaration.
6845
6846 * emacs-lisp/authors.el (authors-valid-file-names)
6847 (authors-renamed-files-alist): Additions.
6848
6849 2014-06-26 Leo Liu <sdl.web@gmail.com>
6850
6851 * textmodes/picture.el (picture-set-tab-stops):
6852 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
6853 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
6854
6855 * progmodes/asm-mode.el (asm-calculate-indentation):
6856 Use indent-next-tab-stop.
6857
6858 * indent.el (indent-accumulate-tab-stops): New function.
6859
6860 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
6863 (package-desc-status): Obey it.
6864
6865 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
6866
6867 * calendar/todo-mode.el: Fix two bugs.
6868 (todo-insert-item--basic): If user cancels item insertion to
6869 another category before setting priority, show original category
6870 whether it is in the same or a different file.
6871 (todo-set-item-priority): After selecting category, instead of
6872 moving point to top, which extends an active region, restore it.
6873
6874 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * help-fns.el (describe-function-1): Check file-name is a string before
6877 calling help-fns--autoloaded-p (bug#17564).
6878
6879 2014-06-26 Juri Linkov <juri@jurta.org>
6880
6881 * desktop.el (desktop-auto-save-enable)
6882 (desktop-auto-save-disable): New functions.
6883 (desktop-save-mode, desktop-auto-save-timeout): Use them.
6884 (desktop-read): Disable the autosave before loading the desktop,
6885 and enable afterwards. (Bug#17351)
6886
6887 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 Fix some indentation problem with \; and pipes (bug#17842).
6890 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
6891 (sh-smie--default-forward-token, sh-smie--default-backward-token):
6892 New functions.
6893 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
6894 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
6895 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
6896
6897 2014-06-26 Glenn Morris <rgm@gnu.org>
6898
6899 * emacs-lisp/find-func.el (find-function-C-source-directory):
6900 Use file-accessible-directory-p.
6901
6902 * ps-samp.el: Make it slightly less awful.
6903 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
6904 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
6905 Only set local values.
6906 (ps-article-subject, ps-article-author): Use standard functions
6907 like mail-fetch-field.
6908 (ps-info-file, ps-info-node): Use match-string.
6909 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
6910 (ps-samp-ps-setup): ... new function.
6911
6912 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
6913 Optimize away code unneeded on any modern Emacs.
6914
6915 * emacs-lisp/authors.el: Move to ../admin.
6916
6917 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
6918
6919 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
6920
6921 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
6922 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
6923 performance enhancements.
6924 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
6925 expansion.
6926 (hif-factor, hif-string-concatenation, intern-safe): Support string
6927 concatenation and argumented macro expansion.
6928 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
6929 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
6930 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
6931 (hif-canonicalize-tokens, hif-place-macro-invocation)
6932 (hif-parse-macro-arglist): Mostly new functions for supporting
6933 argumented macro expansion.
6934 (hif-string-concatenation, hif-stringify, hif-token-concat)
6935 (hif-token-stringification, hif-token-concatenation):
6936 Stringification and concatenation.
6937 (hif-find-next-relevant): Fix comments.
6938 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
6939 some cases involving #elif.
6940 (hif-find-define, hif-add-new-defines): New functions for automatically
6941 scanning of defined symbols.
6942 (hide-ifdef-guts): Fix for defined symbol auto scanning.
6943 (hide-ifdef-undef): Fix behavior to match CPP.
6944
6945 2014-06-25 Glenn Morris <rgm@gnu.org>
6946
6947 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
6948 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
6949 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
6950 files. They are not relevant to the original issue (bug#1004),
6951 and cause unnecessary recompilation (bug#2151).
6952
6953 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * play/landmark.el: Use lexical-binding and avoid `intangible'.
6956 (landmark--last-pos): New var.
6957 (landmark--intangible-chars): New const.
6958 (landmark--intangible): New function.
6959 (landmark-mode, landmark-move): Use it.
6960 (landmark-mode): Remove properties.
6961 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
6962 (landmark-cross-qtuple):
6963 Don't worry about `intangible' any more.
6964 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
6965 (landmark-init-display): Don't set `intangible' and `point-entered'.
6966 (square): Remove. Inline it instead.
6967 (landmark--distance): Rename from `distance'.
6968 (landmark-calc-distance-of-robot-from): Rename from
6969 calc-distance-of-robot-from.
6970 (landmark-calc-smell-internal): Rename from calc-smell-internal.
6971
6972 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
6973
6974 * files.el (dir-locals-find-file, file-relative-name):
6975 * info.el (Info-complete-menu-item):
6976 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
6977 to compare-strings to avoid out-of-range errors.
6978 * subr.el (string-prefix-p): Adjust to match strict range
6979 checking in compare-strings.
6980
6981 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
6982
6983 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
6984 for comment lines non-greedy and stopping at newlines to fix stack
6985 overflows with large files.
6986
6987 2014-06-24 Eli Barzilay <eli@barzilay.org>
6988
6989 * calculator.el (calculator-last-input): Drop 'ascii-character property
6990 lookup.
6991
6992 2014-06-24 Leo Liu <sdl.web@gmail.com>
6993
6994 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
6995 tab-stop-list to nil. (Bug#16381)
6996
6997 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
6998 (indent-rigidly-left-to-tab-stop)
6999 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
7000 (move-to-tab-stop): Change callers.
7001
7002 2014-06-24 Eli Zaretskii <eliz@gnu.org>
7003
7004 * skeleton.el (skeleton-insert): Yet another fix of the doc string
7005 wrt behavior of \n as the first/last element of a skeleton.
7006
7007 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
7008
7009 * net/tramp-adb.el (tramp-adb-handle-process-file):
7010 * net/tramp-sh.el (tramp-sh-handle-process-file):
7011 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7012 the output buffer when DISPLAY is non-nil. (Bug#17815)
7013
7014 2014-06-24 Glenn Morris <rgm@gnu.org>
7015
7016 * play/landmark.el (landmark-move-down, landmark-move-up):
7017 Fix 2007-10-20 change - preserve horizontal position.
7018
7019 2014-06-23 Sam Steingold <sds@gnu.org>
7020
7021 * simple.el (kill-append): Remove undo boundary depending on ...
7022 (kill-append-merge-undo): New user option.
7023
7024 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * simple.el (handle-shift-selection, exchange-point-and-mark)
7027 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7028 (transient-mark-mode): Use&set the global value.
7029 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7030 * emulation/edt.el (edt-emulation-off): Save&restore the global
7031 transient-mark-mode setting.
7032 * obsolete/pc-select.el (pc-selection-mode): Use the
7033 transient-mark-mode function.
7034
7035 2014-06-23 Eli Zaretskii <eliz@gnu.org>
7036
7037 * international/fontset.el (script-representative-chars):
7038 Add representative characters for scripts added in Unicode 7.0.
7039 (otf-script-alist): Synchronize with the latest registry of OTF
7040 script tags.
7041
7042 * international/characters.el (char-script-table): Update for
7043 scripts added and codepoint ranges changed in Unicode 7.0.
7044
7045 2014-06-23 Eli Barzilay <eli@barzilay.org>
7046
7047 * calculator.el (calculator-standard-displayer): Fix bug in use of
7048 `calculator-groupize-number'.
7049 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7050 `eval' code, so it works in v24.3.1 too.
7051 (calculator-last-input): Comment to clarify purpose.
7052
7053 2014-06-22 Mario Lang <mlang@delysid.org>
7054
7055 * textmodes/rst.el (rst-comment-region): From from -> from.
7056
7057 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7058
7059 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
7060
7061 * electric.el (electric-layout-post-self-insert-function):
7062 * emacs-lisp/ert.el (ert--insert-infos):
7063 * obsolete/vi.el (vi-set-mark):
7064 * term.el (term-handle-scroll):
7065 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7066 * wid-edit.el (widget-editable-list-value-create):
7067 Prefer point-marker to copy-marker of point.
7068
7069 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7070
7071 Fix completion retrieval parsing (bug#17209).
7072 * progmodes/python.el (python-mode):
7073 (python-util-strip-string): New function.
7074 (python-shell-completion-get-completions): Use it.
7075
7076 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7077
7078 * skeleton.el (skeleton-insert): Fix last change.
7079
7080 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7081
7082 Enhancements for outline integration (bug#17796).
7083 * progmodes/python.el (python-mode): Properly set
7084 outline-heading-end-regexp so that comments after colons for
7085 defuns are supported.
7086
7087 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7088
7089 * skeleton.el (skeleton-insert): Doc fix.
7090
7091 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7094 (smie-config-guess): Use smie-config-local so the rules are obeyed
7095 (bug#17818).
7096
7097 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7098 since it's already done inside the loop (bug#17819).
7099
7100 2014-06-21 Martin Rudalics <rudalics@gmx.at>
7101
7102 * mouse.el (mouse-drag-line): Re-remove code initially removed
7103 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7104 (Bug#17819).
7105
7106 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7109 align with the surrounding parent (bug#17721).
7110
7111 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7112
7113 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7114 locally to nil.
7115 (texinfo-insert-block, texinfo-insert-@end)
7116 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7117 local setting of skeleton-end-newline by adding an explicit \n to
7118 the skeletons where appropriate. (Bug#17801)
7119
7120 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7123 (smie-indent--hanging-p): Use it.
7124 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7125
7126 2014-06-21 Leo Liu <sdl.web@gmail.com>
7127
7128 * simple.el (read-quoted-char): Don't let help chars pop up help
7129 buffer. (Bug#16617)
7130
7131 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7134 for | (bug#17621).
7135
7136 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7137 Drop unknown events instead of burping.
7138
7139 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7140
7141 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7142 and later. (Bug#17790)
7143
7144 2014-06-21 Juri Linkov <juri@jurta.org>
7145
7146 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7147 to `soft'. (Bug#17554)
7148
7149 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7152 (bug#17737).
7153
7154 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
7155
7156 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7157 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
7158
7159 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
7160
7161 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7162 `unread-command-events'.
7163
7164 2014-06-19 William Xu <william.xwl@gmail.com>
7165
7166 * progmodes/hideif.el (hif-string-to-number): Don't return float for
7167 hex integer constants (bug#17807).
7168
7169 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * international/mule-util.el (truncate-string-ellipsis): New var.
7172 (truncate-string-to-width): Use it.
7173
7174 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
7175
7176 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7177 (lisp-string-in-doc-position-p): New function, extracted from
7178 lisp-font-lock-syntactic-face-function.
7179 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7180
7181 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
7182
7183 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
7184
7185 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7188 (bubbles--game-over): Don't add `intangible' properties since they
7189 didn't work anyway.
7190
7191 2014-06-18 Juri Linkov <juri@jurta.org>
7192
7193 * vc/ediff-init.el (ediff-current-diff-Ancestor)
7194 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7195 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7196 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7197 Add `min-colors 88' version with removed black/white foregrounds.
7198 (Bug#10181)
7199
7200 2014-06-18 Juri Linkov <juri@jurta.org>
7201
7202 * vc/diff-mode.el (diff-changed): Empty face definition to use
7203 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
7204 (diff-context): Use darker color on light background and
7205 lighter color on dark background.
7206
7207 2014-06-18 Juri Linkov <juri@jurta.org>
7208
7209 * vc/diff-mode.el (diff-refine-changed): Rename from
7210 `diff-refine-change' for consistency with `diff-changed'.
7211 (diff-refine-change): Add obsolete face alias. (Bug#10181)
7212
7213 * vc/smerge-mode.el (smerge-refined-changed): Rename from
7214 `smerge-refined-change'.
7215 (smerge-refined-change): Add obsolete face alias.
7216
7217 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * rect.el (rectangle-preview): New custom.
7220 (rectangle): New group.
7221 (rectangle--pos-cols): Add `window' argument.
7222 (rectangle--string-preview-state, rectangle--string-preview-window):
7223 New vars.
7224 (rectangle--string-flush-preview, rectangle--string-erase-preview)
7225 (rectangle--space-to, rectangle--string-preview): New functions.
7226 (string-rectangle): Use them.
7227 (rectangle--inhibit-region-highlight): New var.
7228 (rectangle--highlight-for-redisplay): Obey it. Make sure
7229 `apply-on-region' uses the point-crutches of the right window.
7230 Use :align-to rather than multiple spaces.
7231
7232 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
7233
7234 * ruler-mode.el (ruler-mode-window-col)
7235 (ruler-mode-mouse-set-left-margin)
7236 (ruler-mode-mouse-set-right-margin): Fix calculation of column
7237 from mouse position (Bug#17768).
7238
7239 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
7240
7241 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7242 without varname or rhs causes crash.
7243 (dun-ftp): Fix bug where blank ftp password is allowed, making it
7244 impossible to win endgame.
7245 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7246 rlogin is anymore.
7247 (dun-help): Bump version number; update contact info.
7248
7249 2014-06-15 Eli Barzilay <eli@barzilay.org>
7250
7251 * calculator.el (calculator-prompt, calculator-remove-zeros)
7252 (calculator-mode-hook, calculator-operators, calculator-stack)
7253 (calculator-mode): Tweak docstring.
7254 (calculator-user-operators): Tweak docstring, fix a bug in the last
7255 example.
7256 (calculator-displayer): `std' case has an optional boolean.
7257 (calculator-displayers): Use the new boolean to group in decimal mode.
7258 (calculator-mode-map, calculator, calculator-message)
7259 (calculator-op-arity, calculator-add-operators)
7260 (calculator-string-to-number, calculator-displayer-prev)
7261 (calculator-displayer-next, calculator-remove-zeros)
7262 (calculator-eng-display, calculator-number-to-string)
7263 (calculator-update-display, calculator-last-input)
7264 (calculator-clear-fragile, calculator-digit, calculator-decimal)
7265 (calculator-exp, calculator-saved-move, calculator-clear)
7266 (calculator-copy, calculator-put-value, calculator-help)
7267 (calculator-expt, calculator-truncate): Minor code improvements.
7268 (calculator-need-3-lines): New function pulling out code from
7269 `calculator'.
7270 (calculator-get-display): Rename from `calculator-get-prompt', and
7271 improved.
7272 (calculator-push-curnum): Rename from `calculator-curnum-value', and
7273 extended for all uses of it. All callers changed.
7274 (calculator-groupize-number): New utility for splitting a number into
7275 groups.
7276 (calculator-standard-displayer): Improve code, new optional argument to
7277 use comma-split groups, make second argument optional too to use with
7278 'left/'right inputs. All callers changed.
7279 (calculator-reduce-stack-once): New utility, doing the meat of what
7280 `calculator-reduce-stack' used to do, much improved (mostly using
7281 `pcase' for conciseness and clarity).
7282 (calculator-reduce-stack): Now doing just the reduction loop using
7283 `calculator-reduce-stack-once'.
7284 (calculator-funcall): Improve code, make it work in v24.3.1 too.
7285 (calculator-last-input): Improve code, remove some old cruft.
7286 (calculator-quit): Kill `calculator-buffer' in electric mode too.
7287 (calculator-integer-p): Remove.
7288 (calculator-fact): Improve code, make it work on non-integer values
7289 too (using truncated numbers).
7290
7291 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
7292
7293 Sync with Tramp 2.2.10.
7294
7295 * net/tramp.el (tramp-methods): Tweak docstring.
7296 (tramp-handle-file-accessible-directory-p): Check for
7297 `file-readable-p' instead of `file-executable-p'.
7298 (tramp-check-cached-permissions):
7299 Use `tramp-compat-file-attributes'.
7300 (tramp-call-process): Add new argument VEC. Adapt callees in all
7301 tramp*.el files.
7302
7303 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
7304 (tramp-adb-maybe-open-connection): Don't set
7305 `tramp-current-*' variables.
7306
7307 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
7308 file properties of temporary buffers.
7309
7310 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
7311
7312 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
7313 (tramp-gvfs-handle-delete-file): Flush file
7314 properties, not directory properties.
7315 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
7316 reading "unix::mode".
7317 (tramp-gvfs-handle-file-name-all-completions):
7318 Use "-h" option for "gvfs-ls".
7319 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
7320 (tramp-gvfs-send-command): Simplify traces.
7321
7322 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
7323 (vc-git-program, vc-hg-program): Declare.
7324 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
7325 (tramp-methods) <nc>: Add new method.
7326 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
7327 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
7328 `tramp-login-args'.
7329 (tramp-default-user-alist): Add "nc".
7330 (top): Remove completion function for "sftp". Add completion
7331 functions for "nc" and "psftp".
7332 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
7333 Implement support for "nc" method.
7334 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
7335 (tramp-remote-coding-commands, tramp-call-local-coding-command):
7336 Tweak docstring.
7337 (tramp-sh-handle-write-region): Tweak error message.
7338 (tramp-sh-handle-vc-registered): Remove backends when the remote
7339 binary does not exist.
7340 (tramp-find-inline-encoding): Do not raise an error.
7341 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
7342 the "nc" case. Quote result also locally.
7343
7344 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7345 (tramp-smb-handle-set-file-acl): Use `start-process'.
7346 (tramp-smb-handle-insert-directory): Use progress reporter.
7347 (tramp-smb-handle-rename-file): Flush also file properties of
7348 FILENAME.
7349
7350 * net/trampver.el: Update release number.
7351
7352 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
7355 add-to-list.
7356 (ses-localvars): Remove ses--local-printer-list, unused.
7357 (ses--metaprogramming): New macro. Use it to defvar variables.
7358 (ses-set-localvars): Simplify.
7359 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
7360 property-list into an alist.
7361 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7362 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
7363 Remove; use defstruct accessors/setters instead.
7364 (ses-cell-formula-aset, ses-cell-printer-aset)
7365 (ses-cell-references-aset): Remove, use setf instead.
7366 (ses--alist-get): New function.
7367 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
7368 Use an alist instead of a plist and don't do move-to-front since the
7369 list is always short.
7370 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
7371 (ses-cell-property-set-fun, ses-cell-property-set)
7372 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
7373 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
7374 (ses--letref): New macro.
7375 (ses-cell-property-pop): Rewrite.
7376 (ses--cell): Rename from ses-cell and make it into a function.
7377 Make `formula' fallback on `value' if nil.
7378 (ses--local-printer): Rename from ses-local-printer and make it into
7379 a function.
7380 (ses-set-cell): Turn it into a macro so finding the accessor from the
7381 field name is done at compile time.
7382 (ses-repair-cell-reference-all): Test presence of `sym' rather than
7383 `ref' before adding `sym' to :ses-repair-reference.
7384 (ses-calculate-cell): Use ses--letref rather than
7385 ses-cell-property-get-handle.
7386 (ses-write-cells): Use a single prin1-to-string.
7387 (ses-setter-with-undo): New function.
7388 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
7389 (ses-unset-with-undo): Remove.
7390 (ses-load): Prefer apply' over `eval'.
7391 (ses-read-printer, ses-set-column-width): Use standard "(default
7392 foo)" format.
7393
7394 2014-06-15 Glenn Morris <rgm@gnu.org>
7395
7396 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
7397
7398 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
7399 Replace delete-duplicates and mapcan by cl- versions throughout.
7400 And cl-macroexpand-all by macroexpand-all.
7401 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
7402
7403 2014-06-15 Eli Zaretskii <eliz@gnu.org>
7404
7405 * subr.el (posn-col-row): Doc fix. (Bug#17768)
7406
7407 2014-06-15 Juri Linkov <juri@jurta.org>
7408
7409 * bindings.el: Put `ascii-character' property on keypad keys
7410 mapped to characters. (Bug#17759)
7411
7412 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
7415 bumping forward into a closing paren (bug#17761).
7416
7417 * term/xterm.el (xterm--version-handler): Work around for OSX
7418 Terminal.app (bug#17607).
7419
7420 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
7421
7422 * play/dunnet.el (dun-describe-room, dun-mode):
7423 If a lamp is in the room, you won't be eaten by a grue.
7424
7425 2014-06-13 Glenn Morris <rgm@gnu.org>
7426
7427 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
7428 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
7429 (compile-always): GNU make automatically passes
7430 command-line arguments to sub-makes.
7431
7432 * calendar/calendar.el (calendar-generate-window):
7433 Remove pointless call to font-lock-fontify-buffer.
7434
7435 2014-06-13 Matthias Meulien <orontee@gmail.com>
7436
7437 * simple.el (completion-list-mode-map): Navigate with tab and backtab
7438 (bug#17767).
7439
7440 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7441
7442 * simple.el (set-mark-command): Simplify a bit.
7443
7444 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7445
7446 * help.el (help--key-binding-keymap): New function.
7447 (help--binding-locus): New function.
7448 (describe-key): Mention the keymap in which the binding was
7449 found. (bug#13948)
7450
7451 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * hippie-exp.el (he--all-buffers): New function.
7454 (try-expand-line-all-buffers, try-expand-list-all-buffers)
7455 (try-expand-dabbrev-all-buffers): Use it.
7456
7457 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
7458
7459 * hippie-exp.el (try-expand-line-all-buffers)
7460 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
7461 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
7462 original buffer, in case they're buffer-local.
7463
7464 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
7465
7466 * ses.el (ses-initial-global-parameters-re): New defconst, a
7467 specific regexp is needed now that ses.el can handle both
7468 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
7469 local printers.
7470 (ses-localvars): Add local variables needed for local printer handling.
7471 (ses-set-localvars): Handle hashmap initialisation.
7472 (ses-paramlines-plist): Add param-line for number of local printers.
7473 (ses-paramfmt-plist): New defconst, needed for code factorization
7474 between functions `ses-set-parameter' and
7475 `ses-file-format-extend-paramter-list'
7476 (ses-make-local-printer-info): New defsubst.
7477 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7478 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
7479 (ses-cell-printer-aset): New defmacro.
7480 (ses-local-printer-compile): New defun.
7481 (ses-local-printer): New defmacro.
7482 (ses-printer-validate, ses-call-printer): Add support for local
7483 printer functions.
7484 (ses-file-format-extend-paramter-list): New defun.
7485 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
7486 factorization.
7487 (ses-load): Add support for local printer functions.
7488 (ses-read-printer): Update docstring and add support for local printer
7489 functions.
7490 (ses-refresh-local-printer, ses-define-local-printer): New defun.
7491 (ses-safe-printer): Add support for local printer functions.
7492
7493 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
7494
7495 * ffap.el (ffap-lax-url): New var (bug#17723).
7496 (ffap-url-at-point): Use it.
7497 (ffap-file-at-point): Avoid returning just "/".
7498
7499 2014-06-12 Matthias Meulien <orontee@gmail.com>
7500
7501 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
7502 (python-mode-map): Bind it.
7503
7504 * progmodes/python.el (class skeleton): Don't erase last char of class
7505 name (bug#17683).
7506
7507 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
7508
7509 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
7510
7511 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
7512
7513 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
7514 (bug#17745).
7515
7516 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * international/mule-cmds.el: Use lexical-binding.
7519 (ucs-names): Simplify.
7520
7521 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
7522
7523 * progmodes/python.el (run-python): Use read-shell-command.
7524
7525 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * rect.el: Make it possible to move bounds past EOL or into TABs.
7528 (operate-on-rectangle): Use apply-on-rectangle.
7529 (rectangle--mark-crutches): New var.
7530 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
7531 (rectangle--crutches, rectangle--reset-crutches): New functions.
7532 (apply-on-rectangle): Obey crutches. Avoid setq.
7533 Fix missing final iteration if end is at EOB&BOL.
7534 (rectangle-mark-mode-map): Add remap bindings for
7535 exchange-point-and-mark and char/line movements.
7536 (rectangle--*-char): New function.
7537 (rectangle-exchange-point-and-mark, rectangle-right-char)
7538 (rectangle-left-char, rectangle-forward-char)
7539 (rectangle-backward-char, rectangle-next-line)
7540 (rectangle-previous-line): New commands.
7541 (rectangle--place-cursor): New function.
7542 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
7543
7544 2014-06-08 Glenn Morris <rgm@gnu.org>
7545
7546 * startup.el (initial-buffer-choice): Doc fix.
7547 Reset :version (adding an option does not merit a :version bump).
7548
7549 * bookmark.el (bookmark-load):
7550 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
7551
7552 2014-06-08 Juri Linkov <juri@jurta.org>
7553
7554 * desktop.el: Activate auto-saving on window configuration changes.
7555 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
7556 `desktop-auto-save-set-timer' to/from
7557 `window-configuration-change-hook'.
7558 (desktop-auto-save-set-timer): Change REPEAT arg of
7559 `run-with-idle-timer' from t to nil.
7560 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
7561
7562 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
7563
7564 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
7565 vc-hg-command (bug#17570).
7566
7567 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * international/mule-cmds.el (ucs-names): Add special entry for BEL
7570 (bug#17702).
7571
7572 2014-06-08 Glenn Morris <rgm@gnu.org>
7573
7574 * startup.el (window-setup-hook): Doc fix.
7575
7576 * emacs-lisp/package.el (package-check-signature)
7577 (package-unsigned-archives): Doc fixes.
7578
7579 2014-06-08 Martin Rudalics <rudalics@gmx.at>
7580
7581 * window.el (display-buffer-use-some-window): Don't make window
7582 used smaller than it was before (Bug#17671).
7583
7584 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7585
7586 * menu-bar.el (menu-bar-open): Fix last change: use the PC
7587 'redisplay' instead of '(sit-for 0)'.
7588
7589 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
7590
7591 * net/tramp.el (tramp-ssh-controlmaster-options):
7592 Improve search regexp. (Bug#17653)
7593
7594 2014-06-08 Glenn Morris <rgm@gnu.org>
7595
7596 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
7597
7598 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7599
7600 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
7601
7602 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
7603
7604 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
7605 (bug#17586).
7606
7607 * vc/vc-hg.el (vc-hg-log-graph): New var.
7608 (vc-hg-print-log): Use it.
7609 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
7610 graph output (bug#17515).
7611
7612 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * mouse.el (mouse-posn-property): Ignore buffer position info when the
7615 even happened elsewhere.
7616
7617 2014-06-06 Mario Lang <mlang@delysid.org>
7618
7619 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
7620 `recenter' if `current-buffer' is equal to `window-buffer'.
7621
7622 2014-06-05 Leo Liu <sdl.web@gmail.com>
7623
7624 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
7625
7626 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
7627
7628 * textmodes/tildify.el (tildify-foreach-region-outside-env):
7629 New function which calls a callback on portions of the buffer that are
7630 outside of ignored environments.
7631 (tildify-build-regexp): Remove function since it is now
7632 incorporated in `tildify-foreach-region-outside-env' where it is
7633 optimized and simplified by the use of `mapconcat'.
7634 (tildify-tildify): Return number of substitutions made so that…
7635 (tildify-count): …can be removed.
7636 (tildify-find-env): Accept a new PAIRS argument which was
7637 previously looked up in `tildify-ignored-environments-alist' each
7638 time the function was called. With this change, the lookup is
7639 performed only once in `tildify-foreach-region-outside-env'.
7640 (tildify-region): Greatly simplify the function since now most of
7641 the work is done by `tildify-foreach-region-outside-env'.
7642 (tildify-mode-alist): Simplify slightly by avoiding if and setq
7643 and instead using or.
7644
7645 * textmodes/tildify.el (tildify-ignored-environments-alist):
7646 Optimize environments regexes
7647
7648 Each time beginning of an environment to ignore is found,
7649 `tildify-find-env' needs to identify regexp for the ending
7650 of the environment. This is done by trying all the opening
7651 regexes on matched text in a loop, so to speed that up, this
7652 loop should have fewer things to match, which can be done by
7653 using alternatives in the opening regexes.
7654
7655 Coincidentally, this should make matching of the opening
7656 regexp faster as well thanks to the use of `regexp-opt' and
7657 having common prefix pulled from many regexes.
7658
7659 * textmodes/tildify.el (tildify-string-alist)
7660 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
7661 of supported modes since `xml-mode' is no longer a thing but just
7662 an alias to the former. Also include comments and insides of tags
7663 in `tildify-ignored-environments-alist' for XML modes. Finally,
7664 since XML does not define “&nbsp;”[1], use a numeric reference for
7665 a no-break space (namely “&#160;”)
7666
7667 [1] XML specification defines only a handful of predefined entities.
7668 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
7669 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
7670 >, &, ' and " respectively). This is in contrast to HTML and even
7671 XHTML which defined a whole bunch of entities including “&nbsp;”.
7672
7673 * textmodes/tildify.el (tildify-pattern-alist)
7674 (tildify-string-alist, tildify-ignored-environments-alist):
7675 Improve defcustom's types by adding more tags explaining what each
7676 value means and replace “sexp” used in
7677 `tildify-ignored-environments-alist' with a full type declaration.
7678
7679 * textmodes/tildify.el (tildify-find-env): Fix matched group
7680 indexes in end-regex building
7681
7682 When looking for a start of an ignore-environment, the regex is built
7683 by concatenating regexes of all the environments configured in
7684 `tildify-ignored-environments-alist'. So for example, the following
7685 list could be used to match TeX's \verb and \verb* commands:
7686
7687 (("\\\\verb\\(.\\)" . (1))
7688 ("\\\\verb\\*\\(.\\)" . (1)))
7689
7690 This would result in the following regex being used to find the start
7691 of any of the variants of the \verb command:
7692
7693 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
7694
7695 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
7696 won't match anything, and thus (match-string 1) will be nil, which
7697 will cause building of the end-matching regex to fail.
7698
7699 Fix this by using capture groups from the time when the opening
7700 regexes are matched individually.
7701
7702 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
7703 in `tildify-find-env'
7704
7705 The `tildify-ignored-environments-alist' allows the end-regex to
7706 be provided not as a static string but mix of strings and indexes
7707 of groups matched the begin-regex. For example, the “\verb!…!”
7708 TeX-command (where “!” is an arbitrary character) is handled
7709 using:
7710
7711 ("\\\\verb\\*?\\(.\\)" . (1))
7712
7713 In the same way, the following should be supported as well:
7714
7715 ("open-\\(.\\)" . ("end-" 1))
7716
7717 However the tildify-find-env function fails at
7718
7719 (concat result
7720 (if (stringp (setq aux (car expression)))
7721 expression ; BUG: expression is a list
7722 (regexp-quote (match-string aux))))
7723
7724 where the string part is handled incorrectly.
7725
7726 The most trivial fix would be to replace `expression' in the
7727 true-part of the if-statement with `aux', but instead, this commit
7728 optimizes `tildify-find-env' by changing it to use `mapconcat'
7729 rather than open-coded while-loop.
7730
7731 2014-06-05 Mario Lang <mlang@delysid.org>
7732
7733 * woman.el (woman-mapcan): Remove.
7734 (woman-parse-colon-path): Use cl-mapcan instead.
7735
7736 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7737
7738 * register.el: Add link to Emacs manual in Commentary.
7739
7740 2014-06-02 Sam Steingold <sds@gnu.org>
7741
7742 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
7743 (popup-menu): ...here.
7744 (menu-bar-open): Use it to avoid an error when `lookup-key'
7745 returns a number.
7746
7747 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
7748
7749 * net/tramp.el (tramp-call-process): Add traces.
7750 (tramp-handle-unhandled-file-name-directory): Return "/".
7751
7752 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
7753
7754 Sync with upstream verilog-mode revision 3cd8144.
7755 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
7756 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
7757 (verilog-type-font-keywords): Add nor.
7758 (verilog-batch-execute-func): Force reading of Local Variables.
7759 Fix printing "no changes to be saved" with verilog-batch.
7760 (verilog-auto-arg-ports): Doc fix.
7761 Add verilog-auto-arg-format to support newlines in AUTOARG.
7762 (verilog-auto-arg): Doc fix.
7763
7764 2014-06-02 Glenn Morris <rgm@gnu.org>
7765
7766 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
7767 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
7768 * emulation/ws-mode.el: Move to obsolete/.
7769 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
7770
7771 2014-06-02 Eli Zaretskii <eliz@gnu.org>
7772
7773 * simple.el (keyboard-quit): Force update of mode lines, to remove
7774 the "Def" indicator, if we were defining a macro. (Bug#17615)
7775
7776 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * minibuffer.el (minibuffer-force-complete-and-exit):
7779 Obey minibuffer-default (bug#17545).
7780
7781 * progmodes/js.el (js-indent-line): Don't mix columns and chars
7782 (bug#17619).
7783
7784 * subr.el (set-transient-map): Don't wait for some "nested"
7785 transient-map to finish if we're only supposed to be active for
7786 the next command (bug#17642).
7787
7788 2014-06-02 Leo Liu <sdl.web@gmail.com>
7789
7790 * emacs-lisp/gv.el (window-buffer, window-display-table)
7791 (window-dedicated-p, window-hscroll, window-point, window-start):
7792 Fix gv-expander. (Bug#17630)
7793
7794 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
7797 clicks (bug#17633).
7798
7799 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
7800 for the single comma, since ", " is *very* common in normal French text
7801 (bug#17643).
7802
7803 2014-06-02 Glenn Morris <rgm@gnu.org>
7804
7805 * emacs-lisp/package.el (package-check-signature)
7806 (package-unsigned-archives): Fix :version.
7807
7808 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7809
7810 * subr.el (sit-for): Don't run input-methods (bug#15614).
7811
7812 2014-06-02 Glenn Morris <rgm@gnu.org>
7813
7814 * cus-start.el: Fix some :version numbers.
7815
7816 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * simple.el (deactivate-mark): Set mark-active to nil even if
7819 deactivation is done via setting transient-mark-mode to nil,
7820 since one is buffer-local and the other is global.
7821
7822 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
7823 there can't be more than 2 arguments (bug#17584).
7824
7825 2014-06-02 Glenn Morris <rgm@gnu.org>
7826
7827 * simple.el (filter-buffer-substring-functions)
7828 (filter-buffer-substring-function, buffer-substring-filters)
7829 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
7830
7831 * minibuffer.el (completion-in-region-functions, completion-in-region)
7832 (completion--in-region): Doc fixes.
7833
7834 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
7835 (expand-abbrev, abbrev--default-expand): Doc fixes.
7836
7837 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
7838
7839 Include sources used to create macuvs.h.
7840 * international/README: Refer to the Unicode Terms of Use rather
7841 than copying it bodily here, as that simplifies maintenance.
7842
7843 2014-06-01 Glenn Morris <rgm@gnu.org>
7844
7845 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
7846
7847 2014-05-31 Glenn Morris <rgm@gnu.org>
7848
7849 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
7850
7851 2014-05-30 Glenn Morris <rgm@gnu.org>
7852
7853 * loadup.el: Treat `command-line-args' more flexibly.
7854
7855 2014-05-30 Alan Mackenzie <acm@muc.de>
7856
7857 Guard (looking-at "\\s!") from XEmacs.
7858 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
7859
7860 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
7861
7862 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
7863 The argument COUNT is now optional, to be more backward-compatible.
7864 Doc fix. (Bug#17560)
7865
7866 2014-05-29 Reuben Thomas <rrt@sc3d.org>
7867
7868 * whitespace.el (whitespace-report-region):
7869 Simplify documentation.
7870 (whitespace-report-region): Allow report-if-bogus to take the
7871 value `never', for non-interactive use.
7872 (whitespace-report): Refer to whitespace-report-region's
7873 documentation.
7874
7875 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * whitespace.el: Use font-lock-flush. Minimize refontifications.
7878 Side benefit: it works without jit-lock.
7879 (whitespace-point--used): New buffer-local var.
7880 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
7881 (whitespace-color-off): Use font-lock-flush.
7882 (whitespace-point--used, whitespace-point--flush-used): New functions.
7883 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
7884 (whitespace-empty-at-eob-regexp): Use them.
7885 (whitespace-post-command-hook): Rewrite.
7886
7887 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
7888 (font-lock-fontify-buffer): Mark interactive-only.
7889 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
7890 Make buffer-local.
7891 (font-lock-specified-p): Remove redundant boundp check.
7892 (font-lock-flush-function, font-lock-ensure-function): New vars.
7893 (font-lock-turn-on-thing-lock): Set them.
7894 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
7895 (font-lock-after-change-function): Make `old-len' optional.
7896 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
7897 Call font-lock-flush, just in case.
7898 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
7899 recent Emacsen.
7900 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
7901 (vera-mode-map, vera-mode-menu): Remove bindings to it.
7902 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
7903 and with-syntax-table.
7904 * textmodes/conf-mode.el (conf-quote-normal):
7905 * progmodes/sh-script.el (sh-set-shell):
7906 * progmodes/prog-mode.el (prettify-symbols-mode):
7907 * progmodes/f90.el (f90-font-lock-n):
7908 * progmodes/cwarn.el (cwarn-mode):
7909 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
7910 * progmodes/compile.el (compilation-setup, compilation--unsetup):
7911 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
7912 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
7913 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
7914 font-lock-fontify-buffer-function and
7915 font-lock-unfontify-buffer-function.
7916 (rmail-unfontify-buffer-function, rmail-fontify-message):
7917 Use with-silent-modifications.
7918 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
7919 and font-lock-ensure.
7920 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
7921
7922 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
7923
7924 * emacs-lisp/package.el (package-generate-autoloads):
7925 Inhibit backup files.
7926
7927 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
7930 (bug#17608).
7931
7932 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
7933
7934 * textmodes/tildify.el (tildify-buffer, tildify-region):
7935 Add dont-ask option.
7936
7937 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
7940 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
7941
7942 * subr.el (internal--funcall-interactively): New.
7943 (internal--call-interactively): Remove.
7944 (called-interactively-p): Detect funcall-interactively instead of
7945 call-interactively.
7946 * simple.el (repeat-complex-command): Use funcall-interactively.
7947 (repeat-complex-command--called-interactively-skip): Remove.
7948
7949 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7950
7951 * register.el (register-read-with-preview): Don't burp on
7952 frame switches (e.g. due to the frame we just popped).
7953
7954 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
7955 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
7956
7957 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
7958
7959 * cus-face.el (custom-face-attributes): Add :distant-foreground.
7960
7961 2014-05-26 Martin Rudalics <rudalics@gmx.at>
7962
7963 * window.el (window--dump-frame): Remove interactive specification.
7964
7965 2014-05-26 Glenn Morris <rgm@gnu.org>
7966
7967 * hippie-exp.el (he-line-search-regexp):
7968 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
7969
7970 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
7971
7972 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
7973 to avoid errors when trying to create or visit a file foo.todo
7974 located outside to todo-directory, and to allow having such files
7975 without them being tied to Todo mode (bug#17482).
7976 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
7977 (todo-archive-done-item, todo-find-filtered-items-file)
7978 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
7979 (todo-category-completions, todo-read-category): When visiting a
7980 Todo file, make sure we're in the right mode and the buffer local
7981 variables are set.
7982 (todo-make-categories-list, todo-reset-nondiary-marker)
7983 (todo-reset-done-string, todo-reset-comment-string):
7984 After processing all Todo files, kill the buffers of those files that
7985 weren't being visited before the processing.
7986 (todo-display-as-todo-file, todo-add-to-buffer-list)
7987 (todo-visit-files-commands): Comment out.
7988 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
7989 (auto-mode-alist): Remove add-to-list calls making Todo file
7990 extensions unrestrictedly tied to Todo modes.
7991
7992 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7993
7994 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
7995 (advice-function-member-p): Tell it to check both names and functions
7996 (bug#17531).
7997 (advice--add-function): Adjust call accordingly.
7998
7999 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8000
8001 * calendar/todo-mode.el: Miscellaneous bug fixes.
8002 (todo-delete-file): When deleting an archive but not its todo
8003 file, make sure to update the todo file's category sexp.
8004 (todo-move-category): Keep the moved category's name unless the
8005 file moved to already has a category with that name. If the
8006 numerically last category of the source file was moved, make the
8007 first category current to avoid selecting a nonexisting category.
8008 (todo-merge-category): Fix implementation to make merging to a
8009 category in another file work as documented. Eliminate now
8010 insufficient and unnecessary renaming of archive category, correct
8011 document string accordingly, and clarify it. If the numerically
8012 last category of the source file was merged, make the first
8013 category current to avoid selecting a nonexisting category.
8014 (todo-archive-done-item): When there are marked items and point
8015 happens to be on an unmarked item, ignore the latter. Don't leave
8016 point below last item after archiving marked items.
8017 (todo-unarchive-items): Fix logic to ensure unarchiving an item
8018 from an archive with only one category deletes the archive only
8019 when the category is empty after unarchiving. Make sure the todo
8020 file's category sexp is updated.
8021 (todo-read-file-name): Allow an existing file name even when it is
8022 not required (todo-move-category needs this to work as documented).
8023 (todo-add-file): Call todo-validate-name to reject the name of an
8024 existing todo file (needed due to fix in todo-read-file-name).
8025 (todo-reset-nondiary-marker): Also reset in filtered items files.
8026 (todo-reset-done-string, todo-reset-comment-string): Also reset in
8027 regexp filtered items files.
8028 (todo-reset-highlight-item): Also reset in filtered items files.
8029 Fix incorrect variable reference in document string.
8030
8031 2014-05-26 Glenn Morris <rgm@gnu.org>
8032
8033 * window.el (window--dump-frame): Avoid error in --without-x builds.
8034
8035 2014-05-26 Glenn Morris <rgm@gnu.org>
8036
8037 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8038
8039 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8040
8041 * frame.el (set-frame-font): Doc fix.
8042
8043 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
8044
8045 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
8046
8047 * emacs-lisp/package.el (package--download-one-archive):
8048 Use `write-region' instead of `save-buffer' to avoid running various
8049 hooks. (Bug#17155)
8050 (describe-package-1): Same. Insert newline at the end of the
8051 buffer if appropriate.
8052
8053 2014-05-26 Juri Linkov <juri@jurta.org>
8054
8055 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8056 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8057 Add more modifiers: meta, control, shift, hyper, super, alt.
8058 (Bug#17439)
8059
8060 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8061 to allow changing its value with `set-variable'.
8062
8063 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8064
8065 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8066 #; comments.
8067 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8068 New functions.
8069 (scheme-mode-variables): Set syntax-propertize-function instead of
8070 font-lock-syntactic-face-function.
8071 (scheme-font-lock-syntactic-face-function): Delete.
8072
8073 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8074
8075 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8076 (bug#17392).
8077
8078 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8079
8080 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8081 for a temporary file name.
8082
8083 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8084
8085 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
8086
8087 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8088
8089 * net/dbus.el (dbus-init-bus, dbus-call-method)
8090 (dbus-call-method-asynchronously, dbus-send-signal)
8091 (dbus-method-return-internal, dbus-method-error-internal):
8092 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
8093
8094 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8095
8096 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8097 methods which do not have a doc string. (Bug#17490)
8098
8099 2014-05-25 Tassilo Horn <tsdh@gnu.org>
8100
8101 * textmodes/reftex-ref.el (reftex-format-special): Make it work
8102 also for AMS Math's \eqref macro.
8103
8104 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8105
8106 Arrange to never byte-compile the generated -pkg.el file.
8107
8108 * emacs-lisp/package.el (package-generate-description-file):
8109 Output first-line comment to set buffer-local var `no-byte-compile'.
8110 Suggested by Dmitry Gutov:
8111 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8112
8113 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8114
8115 Fix bug: Properly quote args to generated -pkg.el `define-package'.
8116
8117 * emacs-lisp/package.el (package-generate-description-file):
8118 Inline `package--alist-to-plist'; rewrite to selectively
8119 quote alist values that are not self-quoting.
8120 (package--alist-to-plist): Delete func.
8121
8122 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
8123
8124 * term/xterm.el (xterm-function-map): Add mapping for shifted
8125 keypad keys.
8126
8127 2014-05-24 Daniel Colascione <dancol@dancol.org>
8128
8129 * progmodes/subword.el (subword-find-word-boundary): Move point to
8130 correct spot before search. (Bug#17580)
8131
8132 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8133 breaking the build.
8134
8135 2014-05-24 Leo Liu <sdl.web@gmail.com>
8136
8137 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
8138
8139 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * minibuffer.el (completion--sreverse): Remove.
8142 (completion--common-suffix): Use `reverse' instead.
8143 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8144
8145 2014-05-22 Glenn Morris <rgm@gnu.org>
8146
8147 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8148
8149 2014-05-21 Daniel Colascione <dancol@dancol.org>
8150
8151 * files.el (interpreter-mode-alist): Add mksh.
8152
8153 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8154 derivative.
8155 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8156 mksh. Improve custom spec; allow regular expressions.
8157 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8158 (sh-after-hack-local-variables): New function.
8159 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
8160 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8161 the normalization.
8162 (sh-canonicalize-shell): Rewrite to support regexes.
8163
8164 2014-05-21 Leo Liu <sdl.web@gmail.com>
8165
8166 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8167
8168 2014-05-19 Leo Liu <sdl.web@gmail.com>
8169
8170 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8171
8172 2014-05-18 Glenn Morris <rgm@gnu.org>
8173
8174 * loadup.el:
8175 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8176
8177 2014-05-14 Sam Steingold <sds@gnu.org>
8178
8179 * progmodes/python.el (python-shell-get-or-create-process):
8180 Do not bind `current-prefix-arg' so that C-c C-z does not talk
8181 back unless requested.
8182
8183 2014-05-14 Glenn Morris <rgm@gnu.org>
8184
8185 * subr.el (with-file-modes): New macro.
8186 * printing.el (pr-save-file-modes): Make obsolete.
8187 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8188 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8189 Add with-file-modes.
8190 * doc-view.el (doc-view-make-safe-dir):
8191 * epg.el (epg--start):
8192 * files.el (locate-user-emacs-file, make-temp-file)
8193 (backup-buffer-copy, move-file-to-trash):
8194 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8195 * eshell/esh-util.el (eshell-with-private-file-modes)
8196 (eshell-make-private-directory):
8197 * net/browse-url.el (browse-url-mosaic):
8198 * obsolete/mailpost.el (post-mail-send-it):
8199 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8200 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8201 Use with-file-modes.
8202
8203 * vc/emerge.el (emerge-make-temp-file): Simplify.
8204
8205 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
8206 Stefan Monnier <monnier@iro.umontreal.ca>
8207
8208 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8209 suffix (bug#15419).
8210
8211 2014-05-14 Glenn Morris <rgm@gnu.org>
8212
8213 * vc/emerge.el (emerge-temp-file-prefix):
8214 Make pointless option obsolete.
8215 (emerge-temp-file-mode): Make non-functional option obsolete.
8216
8217 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
8218
8219 * net/browse-url.el (browse-url):
8220 Use `unhandled-file-name-directory' when setting `default-directory',
8221 in order to circumvent stalled remote connections. (Bug#17425)
8222
8223 2014-05-14 Glenn Morris <rgm@gnu.org>
8224
8225 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8226 Optimize on Emacs, which has the relevant functions for ages.
8227
8228 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * simple.el (undo-make-selective-list): Obey undo-no-redo.
8231
8232 2014-05-12 Sam Steingold <sds@gnu.org>
8233
8234 * calendar/time-date.el (seconds-to-string): New function to
8235 pretty print time delay in seconds.
8236
8237 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * mpc.el (mpc-format): Trim Date to the year.
8240 (mpc-songs-hashcons): Shorten the Date field.
8241
8242 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8243 into autoloading just because of a silly indirection.
8244
8245 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
8246
8247 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
8248
8249 2014-05-12 Glenn Morris <rgm@gnu.org>
8250
8251 * emacs-lisp/find-gc.el: Move to ../admin.
8252
8253 * printing.el (pr-version):
8254 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8255
8256 * net/browse-url.el (browse-url-mosaic):
8257 Create /tmp/Mosaic.PID as a private file.
8258
8259 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8262 (advice--member-p): If name is given, only compare the name.
8263 (advice--remove-function): Don't stop at the first match.
8264 (advice--normalize-place): New function.
8265 (add-function, remove-function): Use it.
8266 (advice--add-function): Pass the name, if any, to
8267 advice--remove-function.
8268
8269 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
8270
8271 * electric.el (electric-indent-post-self-insert-function): Don't use
8272 `pos' after modifying the buffer (bug#17449).
8273
8274 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
8275
8276 * calendar/todo-mode.el (todo-insert-item-from-calendar):
8277 Correct argument list to conform to todo-insert-item--basic.
8278
8279 2014-05-12 Glenn Morris <rgm@gnu.org>
8280
8281 * files.el (cd-absolute): Test if directory is accessible
8282 rather than executable. (Bug#17330)
8283
8284 * progmodes/compile.el (recompile):
8285 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
8286
8287 * net/browse-url.el (browse-url-mosaic):
8288 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
8289 This is CVE-2014-3423.
8290
8291 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * mouse.el: Use the normal toplevel loop while dragging.
8294 (mouse-set-point): Handle multi-clicks.
8295 (mouse-set-region): Handle multi-clicks for drags.
8296 (mouse-drag-region): Update call accordingly.
8297 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8298 Use the normal event loop instead of a local while/read-event loop.
8299 (global-map): Remove redundant bindings for double/triple-mouse-1.
8300 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
8301 Generate synthetic down events when the protocol only sends up events.
8302 (xterm-mouse-last): Remove.
8303 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
8304 terminal parameter instead.
8305 (xterm-mouse--set-click-count): New function.
8306 (xterm-mouse-event): Detect/generate double/triple clicks.
8307 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
8308
8309 * info.el (Info-quoted): New face.
8310 (Info-mode-font-lock-keywords): New var.
8311 (Info-mode): Use it.
8312
8313 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
8314 are a hindrance for C-x C-e.
8315
8316 2014-05-11 Leo Liu <sdl.web@gmail.com>
8317
8318 * net/rcirc.el (rcirc-sentinel): Fix last change.
8319
8320 2014-05-08 Sam Steingold <sds@gnu.org>
8321
8322 * net/rcirc.el (rcirc-reconnect-delay): New user option.
8323 (rcirc-sentinel): Auto-reconnect to the server if
8324 `rcirc-reconnect-delay' is non-0 (but not more often than its
8325 value in case the host is off-line).
8326
8327 2014-05-09 Eli Zaretskii <eliz@gnu.org>
8328
8329 * progmodes/grep.el (lgrep): Fix a typo in last commit.
8330
8331 2014-05-09 Glenn Morris <rgm@gnu.org>
8332
8333 * files.el (file-expand-wildcards):
8334 * man.el (Man-support-local-filenames):
8335 * printing.el (pr-i-directory, pr-interface-directory):
8336 * progmodes/grep.el (lgrep, rgrep):
8337 * textmodes/ispell.el (ispell-call-process)
8338 (ispell-call-process-region, ispell-start-process)
8339 (ispell-init-process): Use file-accessible-directory-p.
8340
8341 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
8344 (xterm-mouse--read-event-sequence-1000): Return nil if something
8345 looks fishy.
8346 (xterm-mouse-event): Propagate it.
8347 (xterm-mouse-translate-1): Handle it.
8348
8349 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
8350
8351 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
8352 four slots of the parameter list are filled, make sure to pass it
8353 to the argument list of todo-insert-item--basic.
8354
8355 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
8358 Add optional `seen' argument to detect and break infinite loops.
8359
8360 2014-05-08 Eli Zaretskii <eliz@gnu.org>
8361
8362 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
8363 (trace-unsafe, trace-use-tree): Make parentheses style be
8364 according to Emacs style.
8365
8366 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
8367
8368 * net/tramp-sh.el (tramp-remote-process-environment):
8369 Remove HISTFILE and HISTSIZE; it's too late to set them here.
8370 Add :version entry.
8371 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
8372 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
8373 extra "PSx=..." commands.
8374 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
8375 (Bug#17295)
8376
8377 (tramp-uudecode): Replace the hard-coded temporary file name by a
8378 format specifier.
8379 (tramp-remote-coding-commands): Enhance docstring.
8380 (tramp-find-inline-encoding): Replace "%t" by a temporary file
8381 name. (Bug#17415)
8382 This is CVE-2014-3424.
8383
8384 2014-05-08 Glenn Morris <rgm@gnu.org>
8385
8386 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
8387 (find-gc-source-files): Update some names.
8388 (trace-call-tree): Simplify and update.
8389 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
8390 This is CVE-2014-3422.
8391
8392 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * minibuffer.el (completion--try-word-completion): Revert fix for
8395 Bug#15980 (bug#17375).
8396
8397 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
8398 Always store button numbers in the same way in xterm-mouse-last;
8399 Don't burp is xterm-mouse-last is not set as expected.
8400 Never return negative indices.
8401
8402 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
8403
8404 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8405 Backtrack one char if the global/char-literal var matcher hits
8406 inside a string. The next char could be the beginning of an
8407 expression expansion.
8408
8409 2014-05-08 Glenn Morris <rgm@gnu.org>
8410
8411 * help-fns.el (describe-function-1): Test for an autoload before a
8412 macro, since `macrop' works on autoloads. (Bug#17410)
8413
8414 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * electric.el (electric-indent-functions-without-reindent): Add yaml.
8417
8418 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
8419 Make sure the new point we return is within the new string (bug#17239).
8420
8421 2014-05-05 Daniel Colascione <dancol@dancol.org>
8422
8423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8424 Port `gnu' pattern to rx.
8425
8426 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
8427
8428 Remove unneeded prompt when closing a buffer with active
8429 emacsclient ("Buffer ... still has clients"), #16548.
8430 * server.el (server-start): Remove the only call to:
8431 (server-kill-buffer-query-function): Remove.
8432
8433 2014-05-04 Leo Liu <sdl.web@gmail.com>
8434
8435 * calendar/diary-lib.el (calendar-chinese-month-name-array):
8436 Defvar to pacify compiler.
8437
8438 2014-05-04 Eli Zaretskii <eliz@gnu.org>
8439
8440 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
8441
8442 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8445 Use nil rather than `default' for the "default" appearance (bug#17388).
8446 * vc/ediff-util.el (ediff-inferior-compare-regions)
8447 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
8448 a misleading `default' value when it's really a boolean.
8449 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
8450 overlay is not visible.
8451
8452 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8453
8454 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
8455 (todo-menu): Uncomment and update.
8456
8457 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8458
8459 * calendar/todo-mode.el: Reimplement item editing to have the same
8460 basic user interface as item insertion, and make small UI and
8461 larger internal improvements to the latter.
8462 (todo-insert-item): Add reference to the Todo mode user manual to
8463 the documentation string.
8464 (todo-insert-item--basic): Rename from todo-basic-insert-item and
8465 adjust all callers. Change signature to combine diary and
8466 nonmarking arguments. Incorporate functionality of deleted item
8467 copying command and add error checking. Remove detailed
8468 descriptions of the arguments from the documentation string, since
8469 this is treated in the Todo mode user manual.
8470 (todo-copy-item, todo-edit-multiline-item)
8471 (todo-edit-done-item-comment, todo-edit-item-header)
8472 (todo-edit-item-time, todo-edit-item-date-from-calendar)
8473 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
8474 (todo-edit-item-date-year, todo-edit-item-date-month)
8475 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
8476 Remove.
8477 (todo-edit-item): Reimplement as wrapper command for
8478 todo-edit-item--next-key and make it distinguish done and not done
8479 todo items.
8480 (todo-edit-item--text): New function, replacing old command
8481 todo-edit-item and incorporating deleted commands
8482 todo-edit-multiline-item and todo-edit-done-item-comment.
8483 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
8484 Use only numeric value of prefix argument. Remove detailed
8485 descriptions of the arguments from the documentation string, since
8486 this is treated in the Todo mode user manual.
8487 (todo-edit-item--diary-inclusion): New function, replacing old
8488 command todo-edit-item-diary-inclusion and incorporating and fixing
8489 functionality of deleted command todo-edit-item-diary-nonmarking,
8490 making sure to remove todo-nondiary-marker when adding
8491 diary-nonmarking-symbol.
8492 (todo-edit-category-diary-inclusion): Make sure to delete
8493 diary-nonmarking-symbol when adding todo-nondiary-marker.
8494 (todo-edit-category-diary-nonmarking): Fix indentation.
8495 (todo-insert-item--parameters): Group diary and nonmarking
8496 parameters together.
8497 (todo-insert-item--apply-args): Adjust to signature of
8498 todo-insert-item--basic and incorporate copy parameter.
8499 Make small code improvements.
8500 (todo-insert-item--next-param): Improve prompt and adjust it to
8501 new parameter grouping. Remove obsolete code.
8502 (todo-edit-item--param-key-alist)
8503 (todo-edit-item--date-param-key-alist)
8504 (todo-edit-done-item--param-key-alist): New defconsts.
8505 (todo-edit-item--prompt): New variable.
8506 (todo-edit-item--next-key): New function.
8507 (todo-key-bindings-t): Bind "e" to todo-edit-item.
8508 Remove bindings of deleted commands.
8509
8510 2014-05-04 Leo Liu <sdl.web@gmail.com>
8511
8512 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
8513
8514 2014-05-04 Glenn Morris <rgm@gnu.org>
8515
8516 * allout-widgets.el (allout-widgets-tally)
8517 (allout-decorate-item-guides):
8518 * menu-bar.el (menu-bar-positive-p):
8519 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8520 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
8521 * progmodes/js.el (js--inside-param-list-p)
8522 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
8523 * progmodes/prolog.el (region-exists-p):
8524 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
8525 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
8526 Doc fixes (replace `iff').
8527
8528 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
8531
8532 2014-05-04 Leo Liu <sdl.web@gmail.com>
8533
8534 Support Chinese diary entries in calendar and diary. (Bug#17393)
8535 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
8536 (calendar-chinese-from-absolute-for-diary)
8537 (calendar-chinese-to-absolute-for-diary)
8538 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8539 (diary-chinese-list-entries): New functions to list and mark
8540 Chinese diary entries in the calendar window.
8541 (diary-chinese-anniversary)
8542 (diary-chinese-insert-anniversary-entry)
8543 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
8544 (diary-chinese-insert-yearly-entry): New commands to insert
8545 Chinese diary entries.
8546
8547 * calendar/diary-lib.el (diary-font-lock-keywords):
8548 Support font-locking Chinese dates.
8549
8550 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
8551 inserting Chinese diary entries.
8552
8553 * calendar/calendar.el (diary-chinese-entry-symbol):
8554 New customizable variable.
8555 (calendar-mode-map): Add bindings for inserting Chinese diary
8556 entries.
8557
8558 2014-05-03 Juri Linkov <juri@jurta.org>
8559
8560 * dired.el (dired-check-switches, dired-switches-recursive-p):
8561 New functions. (Bug#17218)
8562 (dired-switches-escape-p, dired-move-to-end-of-filename):
8563 Use `dired-check-switches'.
8564 (dired-insert-old-subdirs, dired-build-subdir-alist)
8565 (dired-sort-R-check): Use `dired-switches-recursive-p'.
8566
8567 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
8568
8569 * simple.el (undo-make-selective-list): New algorithm fixes
8570 incorrectness of position adjustments when undoing in region.
8571 (Bug#17235)
8572 (undo-elt-crosses-region): Make obsolete.
8573 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
8574 New functions to adjust positions using undo-deltas.
8575
8576 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
8579 the last consecutive closing paren (bug#17345).
8580
8581 2014-04-30 Reuben Thomas <rrt@sc3d.org>
8582
8583 * dired.el (dired-mode): make terminology for eXpunge command
8584 consistent. (Bug#17276)
8585
8586 2014-04-30 Eli Zaretskii <eliz@gnu.org>
8587
8588 * dired.el (dired-initial-position-hook, dired-initial-position):
8589 Doc string fixes.
8590
8591 2014-04-30 Glenn Morris <rgm@gnu.org>
8592
8593 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
8594
8595 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
8596
8597 * faces.el (face-spec-recalc): Apply X resources only after the
8598 defface spec has been applied. Thus, X resources are no longer
8599 overriden by the defface spec which also fixes issues on win32 where
8600 the toolbar coloring was wrong because it is set through X resources
8601 and was (wrongfully) overriden. (Bug#16694)
8602
8603 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * textmodes/rst.el (electric-pair-pairs): Declare.
8606 (rst-mode): Set it (bug#17131).
8607
8608 2014-04-30 Juri Linkov <juri@jurta.org>
8609
8610 * desktop.el (desktop-value-to-string): Let-bind `print-length'
8611 and `print-level' to nil. (Bug#17351)
8612
8613 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8614
8615 * battery.el (battery-update): Handle the case where battery
8616 status is "N/A" (bug#17319).
8617
8618 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
8621 to syntax-propertize.
8622 (ps-mode-auto-indent): Mark as obsolete.
8623 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
8624 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
8625 word regexp operators.
8626 (ps-mode-map): Move initialization into declaration. Remove binding
8627 for TAB, RET, >, ], and }.
8628 (ps-mode-syntax-table): Move initialization into declaration.
8629 Don't give word syntax to non-word chars.
8630 (ps-run-mode-map): Move initialization into declaration.
8631 (ps-mode-menu-main): Remove auto-indent entry.
8632 (ps-mode-smie-rules): New function.
8633 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
8634 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
8635 (ps-mode--string-syntax-table): New const.
8636 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
8637 New functions.
8638 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
8639 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
8640
8641 2014-04-27 Daniel Colascione <dancol@dancol.org>
8642
8643 * term/xterm.el (xterm-paste): Use large finite timeout when
8644 reading event to avoid putting keys in this-command-keys.
8645
8646 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
8649 (perl-syntax-propertize-function): Use it. Extend handling of
8650 here-docs to the unquoted case.
8651
8652 2014-04-25 Eli Zaretskii <eliz@gnu.org>
8653
8654 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
8655 Use equal-including-properties to compare help-echo strings (bug#17331).
8656
8657 2014-04-25 Leo Liu <sdl.web@gmail.com>
8658
8659 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8660 Fix syntax for @. (Bug#17325)
8661
8662 2014-04-25 Daniel Colascione <dancol@dancol.org>
8663
8664 * emacs-lisp/cl.el (gv): Require gv early to break eager
8665 macro-expansion cycles.
8666
8667 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * simple.el (region-active-p): Check there's a mark (bug#17324).
8670
8671 * simple.el (completion-list-mode-map): Use choose-completion for the
8672 mouse binding as well (bug#17302).
8673 (completion-list-mode, completion-setup-function): Adjust docstring and
8674 echo area message accordingly.
8675 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
8676 calling convention of choose-completion.
8677 * comint.el (comint-dynamic-list-completions):
8678 * term.el (term-dynamic-list-completions): Accept choose-completion.
8679
8680 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
8681 &, |, +, - and * can't be a division (bug#17317).
8682
8683 * term/xterm.el (xterm--version-handler): Don't use modern xterm
8684 features on gnome-terminal (bug#16988).
8685
8686 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
8687
8688 Improve Scheme font-locking for (define ((foo ...) ...) ...).
8689
8690 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
8691 the declared object, ignore zero or more parens, not zero or one.
8692
8693 2014-04-24 Leo Liu <sdl.web@gmail.com>
8694
8695 * progmodes/xscheme.el (xscheme-expressions-ring)
8696 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
8697 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
8698 (xscheme-allow-output-p, xscheme-prompt)
8699 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
8700
8701 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
8702 Comment out unused functions.
8703
8704 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * info.el: Use lexical-binding and cl-lib.
8707 Use defvar-local and setq-local instead of make-local-variable.
8708 (Info-apropos-matches): Avoid add-to-list.
8709 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
8710
8711 2014-04-24 Daniel Colascione <dancol@dancol.org>
8712
8713 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
8714
8715 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
8718
8719 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
8720
8721 * dired.el (dired-insert-set-properties): Do not consider
8722 subdirectory headings and empty lines to be information that
8723 `dired-hide-details-mode' should hide. (Bug#17228)
8724
8725 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8726
8727 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8728 Remove test messages.
8729 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
8730 and `target' twice.
8731
8732 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
8735 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
8736
8737 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
8738
8739 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8742 Set "IFS=" when using read builtin, in order to preserve spaces in
8743 the file name. Add test messages for hunting a bug on hydra.
8744 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
8745
8746 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
8749 Don't prettify a word within a symbol.
8750
8751 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8752
8753 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
8754 possible.
8755
8756 2014-04-22 Daniel Colascione <dancol@dancol.org>
8757
8758 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
8759 use defun to define `function-put'.
8760
8761 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
8764 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
8765 (lisp-mode-variables): Set font-lock-extra-managed-props.
8766
8767 * emacs-lisp/byte-run.el (function-put): New function.
8768 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
8769 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
8770 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
8771 Use them.
8772
8773 2014-04-22 Daniel Colascione <dancol@dancol.org>
8774
8775 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
8776 Add `full-p' parameter; when nil, call `macroexpand' instead of
8777 `macroexpand-all'.
8778
8779 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
8780 Improve docstrings.
8781
8782 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8783 Use lambda function values, not quoted lambdas.
8784 (byte-compile-recurse-toplevel): Remove extraneous &optional.
8785
8786 * emacs-lisp/cl-macs.el
8787 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
8788 (cl-struct-slot-value): Conditionally use aref or nth so that the
8789 compiler produces optimal code.
8790
8791 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
8794 (inline): Don't inline cl--set-elt.
8795 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
8796 Define as inlinable instead.
8797 (cl-struct-set-slot-value): Remove.
8798
8799 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
8800 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
8801 Use setf instead.
8802
8803 2014-04-21 Daniel Colascione <dancol@dancol.org>
8804
8805 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
8806 last two parameters after all.
8807 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
8808 (cl--compiler-macro-assoc,cl-struct-slot-value)
8809 (cl-struct-set-slot-value): Stop using them.
8810
8811 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
8814 entry in image-mode-winprops-alist.
8815
8816 2014-04-21 Daniel Colascione <dancol@dancol.org>
8817
8818 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
8819 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
8820 (byte-compile-toplevel-file-form): Use it.
8821
8822 * emacs-lisp/cl-macs.el:
8823 (cl--loop-let): Properly destructure `while' clauses.
8824
8825 2014-04-20 Daniel Colascione <dancol@dancol.org>
8826
8827 * vc/vc.el (vc-root-dir): New public autoloaded function for
8828 generically finding the current VC root.
8829 * vc/vc-hooks.el (vc-not-supported): New error.
8830 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
8831
8832 2014-04-20 Daniel Colascione <dancol@dancol.org>
8833
8834 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
8835 argument.
8836 (cl--const-expr-val): cl--const-expr-val should macroexpand its
8837 argument in case we're inside a symbol-macrolet.
8838 (cl--do-arglist, cl--compiler-macro-typep)
8839 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
8840 environment to `cl--const-expr-val'.
8841 (cl-struct-sequence-type,cl-struct-slot-info)
8842 (cl-struct-slot-offset, cl-struct-slot-value)
8843 (cl-struct-set-slot-value): New functions.
8844
8845 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
8848 assignments such as "case=hello" (bug#17297).
8849
8850 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
8853 Do not autoload.
8854 (tramp-file-name-handler, tramp-completion-file-name-handler):
8855 Revert patch from 2014-04-10, it isn't necessary anymore.
8856 (tramp-autoload-file-name-handler)
8857 (tramp-register-autoload-file-name-handlers): New defuns.
8858 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
8859 (tramp-register-file-name-handlers): Remove also
8860 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
8861 Do not autoload its invocation, but eval it after loading of 'tramp.
8862
8863 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
8864
8865 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
8866
8867 2014-04-17 Daniel Colascione <dancol@dancol.org>
8868
8869 Add support for bracketed paste mode; add infrastructure for
8870 managing terminal mode enabling and disabling automatically.
8871
8872 * xt-mouse.el:
8873 (xterm-mouse-mode): Simplify.
8874 (xterm-mouse-tracking-enable-sequence)
8875 (xterm-mouse-tracking-disable-sequence): New constants.
8876 (turn-on-xterm-mouse-tracking-on-terminal)
8877 (turn-off-xterm-mouse-tracking-on-terminal):
8878 Use tty-mode-set-strings and tty-mode-reset-strings terminal
8879 parameters instead of random hooks.
8880 (turn-on-xterm-mouse-tracking)
8881 (turn-off-xterm-mouse-tracking): Delete.
8882
8883 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
8884 (xterm-paste-ending-sequence): New constant.
8885 (xterm-paste): New command used for bracketed paste support.
8886
8887 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
8888 (terminal-init-xterm-bracketed-paste-mode): New function.
8889 (terminal-init-xterm): Call it.
8890 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
8891 and tty-mode-reset-strings instead of random hooks.
8892 (xterm-turn-on-modify-other-keys)
8893 (xterm-turn-off-modify-other-keys)
8894 (xterm-remove-modify-other-keys): Delete obsolete functions.
8895
8896 * term/screen.el: Rewrite to just use the xterm code.
8897 Add copyright notice. Mention tmux.
8898
8899 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
8900
8901 * image-mode.el (image-mode-window-put): Also update the property of
8902 the "default window".
8903 * doc-view.el (doc-view-new-window-function): If no window
8904 exists, move to the last known page.
8905
8906 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
8909 here-documents (bug#17262).
8910
8911 2014-04-16 Eli Zaretskii <eliz@gnu.org>
8912
8913 * term/pc-win.el (x-list-fonts, x-get-selection-value):
8914 Provide doc strings, as required by snarf-documentation.
8915
8916 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
8919 arg of overlays-at. Use `invisible-p'.
8920
8921 * obsolete/lucid.el (extent-at):
8922 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
8923 overlays-at.
8924 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
8925
8926 2014-04-16 João Távora <joaotavora@gmail.com>
8927
8928 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
8929 links. (Bug#17217).
8930
8931 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8932
8933 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8934 Use mapc to loop over a vector. (Bug#17257).
8935
8936 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
8937
8938 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
8939 patch, there are new problems with file names containing spaces.
8940 Get rid of backticks. (Bug#17238)
8941
8942 2014-04-16 João Távora <joaotavora@gmail.com>
8943
8944 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
8945 possible bug.
8946
8947 2014-04-16 Eli Zaretskii <eliz@gnu.org>
8948
8949 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
8950 (blink-cursor-mode): Mention customization variables and the
8951 effect of 'blink-cursor-blinks'.
8952
8953 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
8954
8955 * simple.el (undo): Prevent insertion of identity mapping into
8956 undo-equiv-table so as undo-only does not inf loop in the presence
8957 of consecutive nils in undo list.
8958
8959 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
8960
8961 * faces.el (make-face): Deprecate optional argument as it is no
8962 longer needed/used since the conditional X resources handling
8963 has been pushed down to make-face-x-resource-internal itself.
8964 (make-empty-face): Don't pass optional argument to make-face.
8965
8966 2014-04-16 Karl Fogel <kfogel@red-bean.com>
8967
8968 * savehist.el (savehist-save): Remove workaround for a read-passwd
8969 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
8970 noticing that the shim was still present.
8971
8972 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
8975
8976 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
8977
8978 * faces.el (face-set-after-frame-default): Remove unused local variable.
8979
8980 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * progmodes/grep.el: Use lexical-binding.
8983 (grep-expand-template): Pass explicit lexical env to `eval'.
8984 (zrgrep): Let-bind grep-find-template explicitly.
8985
8986 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
8987 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
8988
8989 2014-04-12 Eli Zaretskii <eliz@gnu.org>
8990
8991 * international/characters.el <standard-case-table>: Add entries
8992 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
8993 Set category of Coptic characters be 'g' (Greek).
8994
8995 2014-04-12 Leo Liu <sdl.web@gmail.com>
8996
8997 * progmodes/octave.el (completion-table-with-cache):
8998 Define if not available.
8999 (octave-goto-function-definition, octave-sync-function-file-names)
9000 (octave-find-definition-default-filename):
9001 Backquote upattern for compatibility.
9002
9003 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
9004
9005 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9006 name twice due to backticks. (Bug#17238)
9007
9008 2014-04-12 Glenn Morris <rgm@gnu.org>
9009
9010 * term/w32-win.el (x-win-suspend-error):
9011 * term/x-win.el (x-win-suspend-error): Sync docs.
9012
9013 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
9014
9015 * faces.el (make-face): Remove deprecated optional argument.
9016 The conditional application of X resources is handled directly by
9017 make-face-x-resource-internal since Emacs 24.4.
9018 (make-empty-face): Don't pass optional argument to make-face.
9019
9020 2014-04-11 Glenn Morris <rgm@gnu.org>
9021
9022 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
9023
9024 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 Ediff's overlay priorities cause more trouble than they solve.
9027 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9028 (ediff-highest-priority): Remove function (bug#17234).
9029 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9030 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9031 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9032 overlay priorities.
9033
9034 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
9035
9036 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9037 entry; use symbol boundaries to avoid mis-matches.
9038
9039 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
9040
9041 * net/tramp.el (tramp-file-name-handler)
9042 (tramp-completion-file-name-handler): Avoid recursive loading.
9043
9044 * net/tramp-sh.el (tramp-make-copy-program-file-name):
9045 Quote result also locally.
9046
9047 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9050 Remove left-over code.
9051
9052 * newcomment.el (comment-indent-new-line): Sink code where it's used.
9053 Reuse the previous comment's indentation unconditionally if it's on its
9054 own line.
9055
9056 2014-04-09 Daniel Colascione <dancol@dancol.org>
9057
9058 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9059 `no-syntax-crossing' arguments. Forward to `up-list'.
9060 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9061 Implement logic for escaping from strings. Use narrowing to deal
9062 with corner cases.
9063
9064 2014-04-09 Leo Liu <sdl.web@gmail.com>
9065
9066 * net/rcirc.el (rcirc-connection-info): New variable.
9067 (rcirc-connect): Use it to store connection info.
9068 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9069 for killed process.
9070 (rcirc-cmd-reconnect): New command. (Bug#17045)
9071 (rcirc-mode, set-rcirc-encode-coding-system)
9072 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9073
9074 2014-04-09 Daniel Colascione <dancol@dancol.org>
9075
9076 * emacs-lisp/cl-indent.el: Add comment claiming
9077 facility is also good for elisp.
9078 (lisp-indent-find-method): New function.
9079 (common-lisp-indent-function): Recognize cl-loop.
9080 (common-lisp-indent-function-1): Recognize cl constructs; use
9081 `lisp-indent-find-method' instead of `get' directly.
9082 (if): Use else-body style for elisp.
9083
9084 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
9085
9086 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9087 Module methods. (Bug#17216)
9088
9089 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * help.el (describe-bindings): Fix buffer handling (bug#17210).
9092 (describe-bindings-internal): Mark obsolete.
9093
9094 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9097 buffer-file-name, and buffer-file-truename any more.
9098
9099 2014-04-08 Leo Liu <sdl.web@gmail.com>
9100
9101 Use lexical-binding and require cl-lib.
9102 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9103 (rcirc-handler-generic, rcirc-fill-paragraph)
9104 (rcirc-format-response-string, rcirc-target-buffer)
9105 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9106 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9107 (rcirc-ctcp-sender-PING, rcirc-browse-url)
9108 (rcirc-markup-timestamp, rcirc-markup-attributes)
9109 (rcirc-markup-my-nick, rcirc-markup-urls)
9110 (rcirc-markup-bright-nicks, rcirc-markup-fill)
9111 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9112 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9113 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9114 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9115 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9116 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9117 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9118 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9119 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9120 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9121 use cl-lib.
9122
9123 2014-04-07 João Távora <joaotavora@gmail.com>
9124
9125 * elec-pair.el (electric-pair--syntax-ppss):
9126 When inside comments parse from comment beginning.
9127 (electric-pair--balance-info): Fix typo in comment.
9128 (electric-pair--in-unterminated-string-p): Delete.
9129 (electric-pair--unbalanced-strings-p): New function.
9130 (electric-pair-string-bound-function): New var.
9131 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9132 according to `electric-pair--in-unterminated-string-p'
9133
9134 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9135 Inhibit quote pairing if point-max is inside an unterminated string.
9136 (electric-pair--looking-at-unterminated-string-p): Delete.
9137 (electric-pair--in-unterminated-string-p): New function.
9138
9139 2014-04-07 Glenn Morris <rgm@gnu.org>
9140
9141 * shell.el (shell-directory-tracker):
9142 Go back to just ignoring failures. (Bug#17159)
9143
9144 2014-04-07 João Távora <joaotavora@gmail.com>
9145
9146 Fix `electric-pair-delete-adjacent-pairs' in modes binding
9147 backspace. (Bug#16981)
9148 * elec-pair.el (electric-pair-backward-delete-char): Delete.
9149 (electric-pair-backward-delete-char-untabify): Delete.
9150 (electric-pair-mode-map): Bind backspace to a menu item filtering
9151 a new `electric-pair-delete-pair' command.
9152 (electric-pair-delete-pair): New command.
9153
9154 * progmodes/python.el (python-electric-pair-string-delimiter):
9155 Fix triple-quoting electricity. (Bug#17192)
9156
9157 * elec-pair.el (electric-pair-post-self-insert-function):
9158 Don't skip whitespace when `electric-pair-text-pairs' and
9159 `electric-pair-pairs' were used. syntax to
9160 electric-pair--skip-whitespace. (Bug#17183)
9161
9162 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9163
9164 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9165 "<F>". (Bug#17199)
9166
9167 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9170 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9171
9172 2014-04-07 Glenn Morris <rgm@gnu.org>
9173
9174 * help.el (view-lossage): Doc tweak.
9175
9176 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
9177
9178 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9179 only when inhibit-x-resources is nil, and do that earlier in the
9180 function. Doc fix. (Bug#16694)
9181 (face-spec-choose): Accept additional optional argument, whose
9182 value is returned if no matching attributes are found.
9183 (face-spec-recalc): Use the new optional argument when calling
9184 face-spec-choose. (Bug#16378)
9185 (make-face-x-resource-internal): Do nothing when
9186 inhibit-x-resources is non-nil. Don't touch the default face if
9187 reversed video is given--as was done in previous versions of Emacs.
9188 (face-set-after-frame-default): Don't call
9189 make-face-x-resource-internal here. (Bug#16434)
9190
9191 2014-04-07 Tassilo Horn <tsdh@gnu.org>
9192
9193 * doc-view.el (doc-view-bookmark-jump):
9194 Use `bookmark-after-jump-hook' to jump to the right page after the
9195 buffer is shown in a window. (bug#16090)
9196
9197 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9198
9199 * international/characters.el (mirroring): Fix last change:
9200 instead of loading uni-mirrored.el explicitly, do that implicitly
9201 by creating the 'mirroring' uniprop table. This avoids announcing
9202 the loading of uni-mirrored.el.
9203
9204 2014-04-07 Glenn Morris <rgm@gnu.org>
9205
9206 * files.el (buffer-stale--default-function)
9207 (buffer-stale-function, revert-buffer--default):
9208 * autorevert.el (auto-revert-buffers): Doc tweaks.
9209
9210 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9211
9212 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
9213
9214 2014-04-07 Glenn Morris <rgm@gnu.org>
9215
9216 * files.el (make-backup-file-name-function)
9217 (make-backup-file-name, make-backup-file-name--default-function)
9218 (make-backup-file-name-1, find-backup-file-name)
9219 (revert-buffer-function, revert-buffer-insert-file-contents-function)
9220 (buffer-stale--default-function, buffer-stale-function)
9221 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9222 (revert-buffer, revert-buffer--default)
9223 (revert-buffer-insert-file-contents--default-function):
9224 Doc fixes related to defaults no longer being nil.
9225 (make-backup-file-name-function): Bump :version.
9226 Restore nil as a valid but deprecated custom type.
9227
9228 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9231 Handle $' used as a variable (bug#17174).
9232
9233 * progmodes/perl-mode.el (perl-indent-new-calculate):
9234 Handle forward-sexp failure (bug#16985).
9235 (perl-syntax-propertize-function): Add "foreach" and "for" statement
9236 modifiers introducing expressions (bug#17116).
9237
9238 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9241
9242 2014-04-05 Leo Liu <sdl.web@gmail.com>
9243
9244 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9245 Add define-compilation-mode.
9246
9247 2014-04-04 João Távora <joaotavora@gmail.com>
9248
9249 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9250 parse from comment beginning.
9251 (electric-pair--balance-info): Fix typo in comment.
9252 (electric-pair--in-unterminated-string-p): Delete.
9253 (electric-pair--unbalanced-strings-p): New function.
9254 (electric-pair-string-bound-function): New var.
9255 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9256 according to `electric-pair--in-unterminated-string-p'.
9257
9258 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9261 Move declaration before first use.
9262 (reftex-move-to-next-arg): Silence compiler warning.
9263
9264 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
9265
9266 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9267 Use `window-total-width' instead of `window-width'.
9268
9269 2014-04-03 Daniel Colascione <dancol@dancol.org>
9270
9271 * subr.el (set-transient-map): Remove rms's workaround entirely;
9272 use new `suspicious-object' subr to mark our lambda for closer
9273 scrutiny during gc.
9274
9275 2014-04-02 Richard Stallman <rms@gnu.org>
9276
9277 * subr.el (set-transient-map): Comment out previous change.
9278
9279 2014-04-02 Glenn Morris <rgm@gnu.org>
9280
9281 * menu-bar.el (menu-bar-file-menu):
9282 * vc/ediff.el (ediff-current-file):
9283 Update for revert-buffer-function no longer being nil by default.
9284
9285 * simple.el (command-execute): Respect nil disabled-command-function.
9286
9287 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9288
9289 * simple.el (command-execute): Do not execute the command when it
9290 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
9291
9292 2014-04-02 Juri Linkov <juri@jurta.org>
9293
9294 * dired-aux.el (dired-compress-file): Don't use string-match-p
9295 because its match data is used afterwards.
9296
9297 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
9300 0 like nil.
9301
9302 2014-04-02 João Távora <joaotavora@gmail.com>
9303
9304 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9305 Inhibit quote pairing if point-max is inside an unterminated string.
9306 (electric-pair--looking-at-unterminated-string-p):
9307 Delete.
9308 (electric-pair--in-unterminated-string-p): New function.
9309
9310 2014-04-01 Daniel Colascione <dancol@dancol.org>
9311
9312 * minibuffer.el (minibuffer-complete): Prevent assertion failure
9313 when trying to complete the prompt.
9314
9315 2014-03-31 Leo Liu <sdl.web@gmail.com>
9316
9317 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9318 Refactor out eldoc-documentation-function-default.
9319 (eldoc-documentation-function-default): New function.
9320 (eldoc-documentation-function): Change value.
9321
9322 2014-03-31 Glenn Morris <rgm@gnu.org>
9323
9324 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
9325
9326 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
9327 (vhdl-compose-components-package, vhdl-compose-configuration):
9328 Abbreviate default-directory (missing from some previous upstream sync).
9329
9330 2014-03-31 Reto Zimmermann <reto@gnu.org>
9331
9332 Sync with upstream vhdl mode v3.35.2.
9333 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9334 (top-level): No longer require assoc.
9335 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
9336 New functions. Use throughout to replace aget etc.
9337 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
9338 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
9339 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
9340 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
9341 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
9342 except `vhdl-compiler'.
9343 (vhdl-error-regexp-add-emacs): Remove all other compilers,
9344 when appropriate.
9345
9346 2014-03-31 Glenn Morris <rgm@gnu.org>
9347
9348 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
9349 Revert 2014-03-26 merge goof; go back to using defalias.
9350
9351 2014-03-30 Daniel Colascione <dancol@dancol.org>
9352
9353 * comint.el (comint-send-input):
9354 Deactivate completion-in-region-mode before we send comint input.
9355 (Bug#17139).
9356
9357 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
9358 on keyboard-quit.
9359
9360 2014-03-29 Glenn Morris <rgm@gnu.org>
9361
9362 * textmodes/reftex.el: Manage most autoloads automatically.
9363 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
9364 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
9365 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
9366 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
9367 * textmodes/reftex-toc.el: Set generated-autoload-file,
9368 and add autoload cookies for reftex.el.
9369 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
9370
9371 2014-03-28 Glenn Morris <rgm@gnu.org>
9372
9373 * cus-start.el (report-emacs-bug-address): Set custom properties.
9374 * mail/emacsbug.el (report-emacs-bug-address):
9375 Variable is now defined in emacs.c.
9376
9377 * mail/emacsbug.el (report-emacs-bug):
9378 Include system-configuration-features.
9379
9380 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
9381
9382 * simple.el (cycle-spacing): Never delete spaces on first run by
9383 default, but do so in a new 'fast mode and if there are already
9384 N spaces (the previous behavior).
9385 Compare N with its value in previous invocation so that changing
9386 prefix argument restarts `cycle-spacing' sequence.
9387 The idea is that with this change, binding M-SPC to
9388 `cycle-spacing' should not introduce any changes in behavior of
9389 the binding so long as users do not type M-SPC twice in a raw with
9390 the same prefix argument or lack thereof.
9391
9392 2014-03-28 Glenn Morris <rgm@gnu.org>
9393
9394 * faces.el (term-file-aliases): New variable.
9395 (tty-run-terminal-initialization): Respect term-file-aliases.
9396 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
9397 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
9398 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
9399
9400 2014-03-27 Glenn Morris <rgm@gnu.org>
9401
9402 * startup.el (inhibit-startup-hooks): Doc tweak.
9403 (normal-top-level): Simplify running of hooks.
9404 For window-setup-hook, respect inhibit-startup-hooks.
9405 (command-line-1): Don't set window-setup-hook to nil.
9406
9407 Allow selective autoloading from obsolete/ directory.
9408 * Makefile.in (obsolete-autoloads): New rule.
9409 (autoloads): Run obsolete-autoloads.
9410 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
9411 * simple.el (iswitchb-mode): Remove hand-written autoloads.
9412
9413 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
9414
9415 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9416 Highlight special globals with font-lock-builtin-face. (Bug#17057)
9417
9418 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9419 Don't propertize `?' or `!' as symbol constituent when after
9420 colon. (Bug#17097)
9421
9422 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
9423
9424 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
9425 which is no longer needed and causes trouble in GTK builds (bug#17046).
9426
9427 * emacs-lisp/package-x.el (package--archive-contents-from-url):
9428 Use url-insert-file-contents; package-handle-response no longer exists.
9429
9430 2014-03-26 Daniel Colascione <dancol@dancol.org>
9431
9432 * simple.el (process-menu-mode-map): New variable.
9433 (process-menu-delete-process): New command.
9434
9435 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9436
9437 * emacs-lisp/package.el: Fix bug#16733 (again).
9438 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
9439 (url-http-target-url): Remove unused declarations.
9440 (package-handle-response): Remove.
9441 (package--with-work-buffer): Use url-insert-file-contents and simplify.
9442 (package--download-one-archive): Use current-buffer instead of
9443 dynamic binding of `buffer'.
9444 (describe-package-1): Do not decode readme-string.
9445
9446 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
9447
9448 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
9449
9450 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
9451 from 2014-03-07, it decreases performance unnecessarily. Let-bind
9452 `remote-file-name-inhibit-cache' to nil in the second pass.
9453 (tramp-find-executable): Do not call "which" on SunOS.
9454 (tramp-send-command-and-check): Fix docstring.
9455 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
9456 check whether source directory has set the sticky bit.
9457
9458 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
9459
9460 * simple.el (primitive-undo): Only process marker adjustments
9461 validated against their corresponding (TEXT . POS). Issue warning
9462 for lone marker adjustments in undo history. (Bug#16818)
9463 (undo-make-selective-list): Add marker adjustments to selective
9464 undo list based on whether their corresponding (TEXT . POS) is in
9465 the region. Remove variable adjusted-markers, which was unused
9466 and only non nil during undo-make-selective-list.
9467 (undo-elt-in-region): Return nil when passed a marker adjustment
9468 and explain in function doc.
9469
9470 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9471
9472 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
9473
9474 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9475
9476 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
9477 Match special global variables without curlies, too.
9478 (ruby-font-lock-keywords): Simplify the matcher for special global
9479 variables. Don't require a non-word character after the variable.
9480 (Bug#17057)
9481
9482 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * simple.el (redisplay-highlight-region-function): Increase priority of
9485 overlay to make sure boundaries are visible (bug#15899).
9486
9487 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * frameset.el (frameset--initial-params): Fix typo in parameter name.
9490 (frameset-restore): Compare display strings with equal.
9491
9492 * frame.el (make-frame): Don't quote display name in error message,
9493 it is already a string.
9494
9495 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9496
9497 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
9498 the password.
9499
9500 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9501
9502 * emacs-lisp/package.el (package--add-to-archive-contents):
9503 Include already installed and built-in packages in
9504 `package-archive-contents'.
9505 (package-install): Don't include already installed packages in the
9506 options during interactive invocation. (Bug#16762)
9507 (package-show-package-list): If the buffer is already displayed in
9508 another window, switch to that window.
9509
9510 2014-03-26 Reto Zimmermann <reto@gnu.org>
9511
9512 Sync with upstream vhdl mode v3.35.1.
9513 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9514 (vhdl-compiler-alist): Doc fix.
9515 (vhdl-goto-line): Remove.
9516 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
9517 (vhdl-mode) <paragraph-start>: Fix value.
9518 (vhdl-fix-statement-region): Not `for' in wait-statement.
9519 (vhdl-beautify-region): Also (un)tabify.
9520 (vhdl-get-visible-signals):
9521 Scan declarative part of generate statements.
9522 (vhdl-template-record): Fix indentation for record type declaration.
9523 (vhdl-expand-abbrev, vhdl-expand-paren):
9524 Revert to using fset again rather than defalias.
9525 (vhdl-scan-directory-contents): Tweak.
9526 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
9527 (vhdl-compose-components-package):
9528 Replace vhdl-goto-line with forward-line.
9529 (top-level): Tweak speedbar frame selection.
9530 (vhdl-generate-makefile-1): Support for compilers with no
9531 unit-to-file name mapping (create directory with dummy files).
9532
9533 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
9534
9535 Sync with upstream verilog-mode revision 702457d.
9536 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9537 (create-lockfiles): Declare.
9538 (verilog-read-decls): Fix module header imports, bug709.
9539 Reported by Victor Lau.
9540 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
9541 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9542 interface-only modules, bug721. Reported by Dean Hoyt.
9543
9544 2014-03-26 Glenn Morris <rgm@gnu.org>
9545
9546 * obsolete/gulp.el: Move here from emacs-lisp/.
9547
9548 * files.el (lock-buffer, unlock-buffer, file-locked-p):
9549 Remove fallback aliases, since they are always defined now.
9550
9551 2014-03-24 Daniel Colascione <dancol@dancol.org>
9552
9553 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9554 instead of cl-loop search function.
9555
9556 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9557
9558 * calendar/parse-time.el (parse-time-iso8601-regexp)
9559 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
9560 it more generally.
9561
9562 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9563
9564 * net/dns.el (network-interface-list): Define for XEmacs.
9565
9566 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
9567
9568 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
9569 the network interfaces changed.
9570 (dns-query): Use it to flush the data.
9571
9572 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
9573
9574 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
9575
9576 2014-03-23 Daniel Colascione <dancol@dancol.org>
9577
9578 Change subword-mode to use `find-word-boundary-function-table' and
9579 replace `capitalized-words-mode'. Also, convert to lexical binding.
9580 * progmodes/cap-words.el: Delete now-obsolete file.
9581 * progmodes/subword.el: Reimplement using
9582 `find-word-boundary-function-table'.
9583 (subword-mode-map): Hollow out.
9584 (capitalized-words-mode): Define as obsolete alias for
9585 `subword-mode'.
9586 (subword-mode, superword-mode): Tweak documentation to reflect new
9587 implementation; call `subword-setup-buffer'.
9588 (subword-forward, subword-capitalize): Add underscore to indicate
9589 unused variable.
9590 (subword-find-word-boundary-function-table): New constant.
9591 (subword-empty-char-table): New constant.
9592 (subword-setup-buffer): New function.
9593 (subword-find-word-boundary): New function.
9594
9595 2014-03-23 Daniel Colascione <dancol@dancol.org>
9596
9597 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9598 list to look for keyword arguments instead of `memq', fixing
9599 (Bug#3647) --- unfortunately, only for freshly-compiled code.
9600 Please make bootstrap.
9601
9602 2014-03-22 Glenn Morris <rgm@gnu.org>
9603
9604 * dired.el (dired-read-regexp): Make obsolete.
9605 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
9606 (dired-flag-files-regexp):
9607 * dired-aux.el (dired-mark-read-regexp):
9608 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9609
9610 * startup.el (fancy-startup-text):
9611 * help.el (describe-gnu-project): Visit online info about GNU project.
9612
9613 * help-fns.el (help-fns--interactive-only): New function.
9614 (help-fns-describe-function-functions): Add the above function.
9615 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
9616 (next-line, previous-line): Remove hand-written interactive-only
9617 information from doc strings, it is auto-generated now.
9618 * bookmark.el (bookmark-write):
9619 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
9620 (epa-mail-import-keys): Mark interactive-only,
9621 and remove hand-written interactive-only information from doc strings.
9622 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
9623 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
9624 * files.el (not-modified):
9625 * simple.el (mark-whole-buffer): Mark interactive-only.
9626
9627 * emacs-lisp/byte-run.el (defun-declarations-alist):
9628 Add interactive-only. Doc tweak.
9629 (macro-declarations-alist): Doc tweak.
9630 * subr.el (declare): Doc tweak (add xref to manual).
9631 * comint.el (comint-run):
9632 * files.el (insert-file-literally, insert-file):
9633 * replace.el (replace-string, replace-regexp):
9634 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9635 (delete-forward-char, goto-line, insert-buffer, next-line)
9636 (previous-line): Set interactive-only via declare.
9637
9638 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
9639
9640 * emacs-lisp/package.el (package-desc): Use the contents of the
9641 quoted form, not its cdr. (Bug#16873)
9642
9643 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
9646 benefit of doc.c; change parameter profile to match the X function.
9647
9648 2014-03-22 Leo Liu <sdl.web@gmail.com>
9649
9650 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
9651 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
9652
9653 2014-03-21 Richard Stallman <rms@gnu.org>
9654
9655 * battery.el (battery-linux-sysfs): Search for each field
9656 from the beginning of the buffer.
9657
9658 * subr.el (set-transient-map): Clear out function and value
9659 of the temporary symbol when we're done with it.
9660
9661 * mail/rmailsum.el (rmail-summary-delete-forward):
9662 Optimize case of reaching end and handling count.
9663 (rmail-summary-mark-deleted): Optimize when N is current msg.
9664 Don't create new summary line.
9665 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
9666 (rmail-summary-undelete-many): Rewrite for speed.
9667 (rmail-summary-msg-number): New function.
9668
9669 * mail/rmail.el (rmail-delete-message): Update summary.
9670 (rmail-undelete-previous-message): Handle repeat count arg.
9671 (rmail-delete-backward, rmail-delete-forward): Likewise.
9672
9673 2014-03-21 Daniel Colascione <dancol@dancol.org>
9674
9675 * mail/emacsbug.el (report-emacs-bug): Include memory usage
9676 information in bug reports.
9677
9678 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
9679
9680 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
9681 and `tramp-copy-env'.
9682
9683 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
9684 (tramp-maybe-open-connection): Handle `tramp-login-env'.
9685
9686 2014-03-21 Glenn Morris <rgm@gnu.org>
9687
9688 * electric.el (electric-indent-post-self-insert-function): Add doc.
9689
9690 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
9691
9692 * emacs-lisp/package.el (package-compute-transaction):
9693 Use `version-list-<=' to compare the requirement version against
9694 the version of package already to be installed. Update the error
9695 message. (Bug#16826)
9696
9697 * progmodes/ruby-mode.el (ruby-smie-rules):
9698 Add indentation rule for ` @ '. (Bug#17050)
9699
9700 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9701
9702 * align.el (align-regexp): Remove superfluous backslash.
9703
9704 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
9705 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
9706 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
9707 Fix docstring typos.
9708 (ffap-next): Use C-u in docstring.
9709 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
9710 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
9711 Remove superfluous backslashes.
9712 (ffap-string-at-point): Reflow docstring.
9713
9714 * server.el (server-host): Reflow docstring.
9715 (server-unload-function): Fix docstring typo.
9716 (server-eval-at): Remove superfluous backslash.
9717
9718 * skeleton.el (skeleton-insert): Remove superfluous backslash.
9719 (skeleton-insert): Doc fix.
9720 (skeleton-insert): Reflow docstring.
9721
9722 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
9723 (tty-color-approximate, tty-color-by-index, tty-color-values)
9724 (tty-color-desc): Remove superfluous backslashes.
9725
9726 2014-03-21 Glenn Morris <rgm@gnu.org>
9727
9728 * cus-start.el (history-length): Bump :version.
9729
9730 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9731 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9732 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9733 Don't set `make-backup-files'.
9734
9735 * info.el (info--prettify-description): New function,
9736 to give info-finder descriptions consistent case, punctuation.
9737 (Info-finder-find-node): Use it. Sort packages.
9738 Refer to "description" rather than "commentary".
9739
9740 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9741
9742 * frameset.el (frameset--print-register): New function.
9743 (frameset-to-register): Use it.
9744
9745 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
9746
9747 * progmodes/hideif.el (hif-string-to-number): New function.
9748 (hif-tokenize): Use it to understand non-decimal floats.
9749
9750 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
9751
9752 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
9753
9754 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * electric.el (electric-newline-and-maybe-indent): New command.
9757 Bind it globally to C-j.
9758 (electric-indent-mode): Don't mess with the global map any more.
9759 Don't drop the post-self-insert-hook is some buffer is still using it
9760 (bug#16770).
9761
9762 * bindings.el (global-map): Remove C-j binding.
9763
9764 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
9765 the docstring of functions advised before dumping (bug#16993).
9766
9767 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
9768
9769 * ps-print.el (ps-generate-postscript-with-faces):
9770 Explicitly deactivate the mark (bug#16866).
9771 * simple.el (deactivate-mark): Update region highlight.
9772
9773 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
9774
9775 * emacs-lisp/package.el (describe-package-1):
9776 Decode commentary (bug#16733).
9777
9778 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
9779
9780 * custom.el (defcustom): Doc fix: recommend avoiding destructive
9781 modification of the value argument of :set (bug#16755).
9782
9783 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * simple.el (newline-and-indent): Do autofill (bug#17031).
9786
9787 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
9788
9789 * newcomment.el (comment-normalize-vars): Only add escaping check
9790 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
9791 (comment-beginning): Use `narrow-to-region' instead of moving back
9792 one character.
9793 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
9794 (comment-start-skip): Update the docstring.
9795
9796 2014-03-18 Richard Stallman <rms@gnu.org>
9797
9798 * dired.el (dired-display-file): Force use of other window.
9799
9800 2014-03-18 Daniel Colascione <dancol@dancol.org>
9801
9802 * startup.el (tty-handle-args): Remove debug message from 2007.
9803
9804 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
9807 (advice--make-interactive-form): Use it to avoid (auto)loading function.
9808 (advice--make-1, advice-add, advice-remove):
9809 Remove braindead :advice-pending hack.
9810
9811 2014-03-17 Glenn Morris <rgm@gnu.org>
9812
9813 * calendar/calendar.el (calendar-generate-month): Apply weekend
9814 face to the right days; fixes 2013-08-06 change. (Bug#17028)
9815
9816 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
9817
9818 * net/tramp.el (tramp-action-out-of-band): Read pending output.
9819 (tramp-call-process): Trace also DESTINATION.
9820
9821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9822 Quote file names when they are local. Remove superfluous trace.
9823
9824 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
9825
9826 * newcomment.el (comment-beginning): If `comment-start-skip'
9827 doesn't match, move back one char and try again. (Bug#16971)
9828
9829 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9830 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
9831 Set `comment-start-skip' to a simpler value that doesn't try to
9832 check if the semicolon is escaped (this is handled by
9833 `syntax-ppss' now). (Bug#16971)
9834
9835 * progmodes/scheme.el (scheme-mode-variables): Same.
9836
9837 2014-03-16 Martin Rudalics <rudalics@gmx.at>
9838
9839 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
9840 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
9841 current (Bug#16816, Bug#17007).
9842 (with-current-buffer-window): New macro doing the same as
9843 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
9844 * help.el (help-print-return-message): Warn in doc-string to not
9845 use this in `with-help-window'.
9846 (describe-bindings-internal): Call `describe-buffer-bindings'
9847 from within help buffer. See Juanma's scenario in (Bug#16816).
9848 (with-help-window): Update doc-string.
9849 * dired.el (dired-mark-pop-up):
9850 * files.el (save-buffers-kill-emacs):
9851 * register.el (register-preview): Use `with-current-buffer-window'
9852 instead of `with-temp-buffer-window'.
9853
9854 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
9855
9856 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
9857 Implement inserting into current buffer, documented in their docstrings.
9858 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
9859 (rst-section-tree-point, rst-forward-section, rst-indent)
9860 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
9861 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
9862 (rst-font-lock-handle-adornment-pre-match-form)
9863 (rst-repeat-last-character): Reflow docstrings.
9864 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
9865 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
9866 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
9867 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
9868 Fix docstring typos.
9869 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
9870 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
9871 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
9872
9873 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
9874
9875 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
9876 for compatibility with other ports.
9877 (ns-initialize-window-system): Use it. It is set in term/common-win.el
9878 from the -xrm command line argument, but in the Nextstep port its value
9879 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
9880
9881 * progmodes/python.el (defconst, python-syntax-count-quotes)
9882 (python-indent-region, python-indent-shift-right)
9883 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
9884 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
9885 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
9886 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
9887 (inferior-python-mode, python-shell-make-comint, run-python-internal)
9888 (python-shell-buffer-substring, python-shell-send-buffer)
9889 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
9890 (python-completion-complete-at-point, python-fill-docstring-style)
9891 (python-eldoc-function, python-imenu-format-item-label)
9892 (python-imenu-format-parent-item-label)
9893 (python-imenu-format-parent-item-jump-label)
9894 (python-imenu--build-tree, python-imenu-create-index)
9895 (python-imenu-create-flat-index): Fix docstring typos.
9896 (python-indent-context, python-shell-prompt-regexp, run-python):
9897 Remove superfluous backslashes.
9898 (python-indent-line, python-nav-beginning-of-defun)
9899 (python-shell-get-buffer, python-shell-get-process)
9900 (python-info-current-defun, python-info-current-line-comment-p)
9901 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
9902 (python-indent-post-self-insert-function, python-shell-send-file)
9903 (python-shell-completion-get-completions)
9904 (python-shell-completion-complete-or-indent)
9905 (python-eldoc--get-doc-at-point): Reflow docstrings.
9906
9907 2014-03-14 Glenn Morris <rgm@gnu.org>
9908
9909 * emacs-lisp/package.el (package-menu-mode-map):
9910 Replace use of obsolete function alias. Tweak menu item text.
9911
9912 * info.el (Info-finder-find-node):
9913 Ignore the `emacs' metapackage. (Bug#10813)
9914
9915 * finder.el (finder-list-matches): Include unversioned packages
9916 in the result of a keyword search.
9917
9918 * finder.el (finder--builtins-descriptions): New constant.
9919 (finder-compile-keywords): Use finder--builtins-descriptions.
9920
9921 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
9922
9923 * simple.el (blink-matching-paren): Describe the new value,
9924 `jump', enabling the old behavior.
9925 (blink-matching-open): Use that value. (Bug#17008)
9926
9927 2014-03-14 Glenn Morris <rgm@gnu.org>
9928
9929 * finder.el (finder-no-scan-regexp): Add leim-list.
9930 (finder-compile-keywords):
9931 Don't skip files with same basename. (Bug#14010)
9932 * Makefile.in (setwins_finder): New, excluding leim.
9933 (finder-data): Use setwins_finder.
9934
9935 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
9936 (help-function-arglist, help-make-usage): Move from here...
9937 * help.el (help-split-fundoc, help-add-fundoc-usage)
9938 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
9939 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
9940
9941 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
9942
9943 * net/socks.el (socks, socks-override-functions)
9944 (socks-find-services-entry):
9945 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
9946 (hif-find-ifdef-block):
9947 * progmodes/modula2.el (m2-indent): Fix docstring typos.
9948
9949 * net/tls.el (tls-program): Reflow docstring.
9950
9951 * progmodes/pascal.el (pascal-mode-abbrev-table)
9952 (pascal-imenu-generic-expression, pascal-auto-endcomments)
9953 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
9954 (pascal-outline-mode): Fix docstring typos.
9955 (pascal-mode): Let define-derived-mode document mode hook.
9956 (pascal-uncomment-area): Reflow.
9957 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
9958
9959 * progmodes/opascal.el (opascal-compound-block-indent)
9960 (opascal-case-label-indent): Fix docstring typos.
9961 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
9962
9963 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
9964
9965 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9966 Fontify multiple adjacent negation chars. (Bug#17004)
9967
9968 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
9969
9970 * emacs-lisp/package.el (package--prepare-dependencies):
9971 Accept requirements without explicit version (bug#14941).
9972
9973 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9974
9975 * register.el (register-separator, copy-to-register): Doc fixes.
9976 (register-preview-default): Remove unnecessary call to concat.
9977
9978 * frameset.el (frameset-restore): When checking for a visible frame,
9979 use the action map instead of calling visible-frame-list.
9980
9981 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
9982
9983 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
9984
9985 2014-03-12 Martin Rudalics <rudalics@gmx.at>
9986
9987 * window.el (fit-frame-to-buffer): Get maximum width from
9988 display's width instead of height.
9989
9990 2014-03-12 Glenn Morris <rgm@gnu.org>
9991
9992 * desktop.el (desktop-restore-frames)
9993 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
9994 (desktop-restore-reuses-frames): Doc tweaks.
9995
9996 * electric.el (electric-indent-mode): Doc fix.
9997
9998 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9999
10000 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
10001 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
10002 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
10003 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
10004 (cvs-dired-use-hook): Fix docstring typos.
10005 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10006 Doc fixes.
10007
10008 * vc/pcvs-defs.el (cvs-auto-remove-handled)
10009 (cvs-auto-remove-directories, cvs-default-ignore-marks)
10010 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10011 (cvs-execute-single-dir): Fix docstring typos.
10012
10013 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10014 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10015
10016 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10017
10018 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10019 Fix docstring typos.
10020
10021 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10022
10023 * frameset.el (frameset--jump-to-register): Add autoload; it could be
10024 called from jump-to-register after unloading the frameset package.
10025
10026 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10029 (bug#16975). Deactivate the mark before setting it to nil.
10030 (activate-mark): Do nothing if region is already active.
10031
10032 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10033
10034 * frameset.el (frameset--target-display): Remove definition; declare.
10035 (frameset-save, frameset-restore): Let-bind frameset--target-display.
10036
10037 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10040 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10041 when the advice is pending.
10042 (advice-remove): Remove this marker when not needed any more.
10043
10044 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10045
10046 * frameset.el: Separate options for reusing frames and cleaning up.
10047 (frameset--reuse-list): Remove definition; declare.
10048 (frameset--action-map): Declare.
10049 (frameset--find-frame-if): Doc fix.
10050 (frameset--restore-frame): Cache frame action.
10051 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10052 how to clean up the frame list after restoring. Remove cleaning
10053 options from REUSE-FRAMES. Change all keyword values to symbols.
10054 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10055
10056 * desktop.el (desktop-restore-forces-onscreen)
10057 (desktop-restore-reuses-frames): Use non-keyword values.
10058 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10059
10060 2014-03-10 Glenn Morris <rgm@gnu.org>
10061
10062 * files.el (find-file): Doc fix: update info node name.
10063
10064 * emacs-lisp/advice.el (ad-add-advice, defadvice):
10065 Doc fix: remove references to deleted info nodes.
10066
10067 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
10068
10069 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10070 Do not add nil to the environment, when there's no remote `locale'.
10071 (tramp-find-inline-encoding): Check, that the remote host has
10072 installed perl, before sending scripts.
10073
10074 2014-03-10 Leo Liu <sdl.web@gmail.com>
10075
10076 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10077 Clear eldoc-last-message. (Bug#16920)
10078
10079 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10082 (bug#14430).
10083
10084 2014-03-09 Juri Linkov <juri@jurta.org>
10085
10086 * ansi-color.el (ansi-color-names-vector): Copy default colors
10087 from `xterm-standard-colors' that look well on the default white
10088 background (and also on the black background) to avoid illegible
10089 color combinations like yellow-on-white and white-on-white.
10090 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10091
10092 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * frameset.el (frameset-restore): When no frame is visible, do not
10095 generate a list of frames, just make visible the selected one.
10096
10097 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
10098
10099 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10100 it only contains the repository root. (Bug#16897)
10101
10102 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
10103
10104 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10105 only when `remote-file-name-inhibit-cache' is nil.
10106 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
10107
10108 2014-03-06 Martin Rudalics <rudalics@gmx.at>
10109
10110 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10111 Fix doc-strings.
10112 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
10113 fit-frame-to-buffer variable. Fix doc-string.
10114 (fit-window-to-buffer): Set ONLY argument in call of
10115 fit-frame-to-buffer. Fix doc-string.
10116
10117 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
10118
10119 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10120 (tramp-action-password): Clear password cache if needed.
10121 (tramp-read-passwd): Do not clear password cache.
10122
10123 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10124 cache unless it is the first password request.
10125
10126 2014-03-06 Glenn Morris <rgm@gnu.org>
10127
10128 * simple.el (newline): Doc tweak.
10129
10130 * emacs-lisp/shadow.el (load-path-shadows-find):
10131 Ignore dir-locals. (Bug#12357)
10132
10133 2014-03-05 Glenn Morris <rgm@gnu.org>
10134
10135 * files.el (interpreter-mode-alist):
10136 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
10137
10138 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10139
10140 * frameset.el (frameset--initial-params): Filter out null entries.
10141
10142 2014-03-05 Martin Rudalics <rudalics@gmx.at>
10143
10144 * window.el (window-min-height, window-min-width):
10145 Rewrite doc-strings.
10146 (window-body-size): Add PIXELWISE argument to make it consistent
10147 with its callees.
10148
10149 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10150
10151 * finder.el (finder-mode-map, finder-mode-syntax-table):
10152 Revert part of 2014-02-28 change.
10153
10154 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
10155
10156 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10157 (eww-setup-buffer): Clear next/prev/etc more reliably.
10158 (eww-textarea-map): [tab] doesn't work on tty.
10159 Reported by Mario Lang.
10160
10161 * net/shr.el (shr-map): Ditto.
10162
10163 2014-03-04 Glenn Morris <rgm@gnu.org>
10164
10165 * minibuffer.el (completion-hilit-commonality):
10166 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10167
10168 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10169
10170 * hilit-chg.el (hilit-chg-unload-function): New function.
10171 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10172 (hilit-chg-map-changes): Prefer cardinal number to digit.
10173 (hilit-chg-display-changes): Reflow docstring.
10174 (highlight-changes-rotate-faces): Remove superfluous backslash.
10175
10176 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
10177
10178 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10179 `tramp-send-command-and-check'.
10180
10181 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10182
10183 * hexl.el (hexl-address-region, hexl-ascii-region)
10184 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10185 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10186 (hexl-forward-word, hexl-previous-line, hexl-next-line):
10187 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10188 (hexl-mode): Doc fix.
10189 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10190 (hexl-mode-ruler): Fix typos in docstrings.
10191
10192 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10193 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10194 Remove superfluous backslashes.
10195 (strokes-last-stroke, strokes-global-map, strokes-mode):
10196 Reflow docstrings.
10197 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10198 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10199 (strokes-distance-squared, strokes-global-set-stroke)
10200 (strokes-global-set-stroke-string): Doc fixes.
10201 (strokes-help): Fix typos; reflow docstring.
10202
10203 2014-03-04 Martin Rudalics <rudalics@gmx.at>
10204
10205 * window.el (window-in-direction): Fix doc-string.
10206
10207 2014-03-04 Glenn Morris <rgm@gnu.org>
10208
10209 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10210 Explicit error if no grammar.
10211 (smie-config-save): Doc fix. Fix quote typo.
10212
10213 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10216 electric-indent-mode-hook if we obey electric-indent-mode.
10217 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10218 decide whether we obey electric-indent-mode.
10219 (c-change-set-fl-decl-start, c-extend-after-change-region):
10220 Silence warnings.
10221 (c-electric-indent-mode-hook): Assume we do want to obey
10222 electric-indent-mode.
10223
10224 * electric.el (electric-indent-mode-has-been-called): Remove.
10225 (electric-indent-mode): Fix accordingly.
10226
10227 * files.el (hack-local-variables): Mention file name in warning.
10228
10229 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10230
10231 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
10232
10233 * bindings.el: Add comment describing why C-d binds to `delete-char'.
10234 * simple.el (delete-forward-char): Mark as interactive-only.
10235
10236 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
10237
10238 * icomplete.el (icomplete-completions):
10239 Follow-up to 2014-03-01 change.
10240
10241 * icomplete.el: Miscellaneous doc fixes.
10242 Use Icomplete everywhere instead of icomplete for consistency.
10243 (icomplete-max-delay-chars): Fix typo.
10244 (icomplete-mode): Use \[].
10245 (icomplete-tidy, icomplete-exhibit): Reflow.
10246 (icomplete-minibuffer-setup-hook, icomplete-completions):
10247 Remove superfluous backlashes.
10248
10249 * ido.el: Miscellaneous doc fixes.
10250 Use Ido everywhere instead of ido or `ido' for consistency.
10251 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10252 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10253 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10254 (ido-separator): Extract obsolescence info from docstring and declare
10255 with make-obsolete-variable.
10256 (ido-minibuffer-setup-hook): Simplify example.
10257 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10258 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10259 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10260 (ido-everywhere): Reflow docstring.
10261 (ido-toggle-vc): Doc fix.
10262 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10263 of long list of keybindings.
10264
10265 2014-03-03 Glenn Morris <rgm@gnu.org>
10266
10267 * frame.el (display-pixel-height, display-pixel-width)
10268 (display-mm-dimensions-alist, display-mm-height)
10269 (display-mm-width): Doc tweaks.
10270
10271 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
10272
10273 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10274 case of undo in region.
10275
10276 2014-03-02 Martin Rudalics <rudalics@gmx.at>
10277
10278 * window.el (fit-window-to-buffer): Fix argument in window-size
10279 call when window is horizontally combined.
10280
10281 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * icomplete.el (icomplete-completions): Use string-width.
10284 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10285
10286 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
10287
10288 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10289 Highlight regexp options. (Bug#16914)
10290
10291 2014-03-01 Martin Rudalics <rudalics@gmx.at>
10292
10293 * window.el (window--max-delta-1): Round down when calculating
10294 how many lines/columns we can get from a window.
10295
10296 2014-03-01 Glenn Morris <rgm@gnu.org>
10297
10298 * isearch.el (search-invisible): Doc fix.
10299
10300 * minibuffer.el (completion-hilit-commonality):
10301 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
10302 * comint.el (comint-dynamic-list-completions): Doc fix.
10303 * comint.el (comint-dynamic-list-completions):
10304 * filecache.el (file-cache-minibuffer-complete):
10305 * tempo.el (tempo-display-completions):
10306 * eshell/em-hist.el (eshell-list-history):
10307 Replace use of obsolete argument of display-completion-list.
10308
10309 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
10310
10311 * icomplete.el (icomplete-completions):
10312 Revert back to using "..." when ?… cannot be displayed.
10313
10314 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10315
10316 * finder.el (finder-unload-function): New function.
10317
10318 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10319
10320 * dframe.el (dframe-detach):
10321 * find-dired.el (find-dired, find-name-dired):
10322 * finder.el (finder-mode-map, finder-mode-syntax-table)
10323 (finder-headmark, finder-select, finder-mouse-select):
10324 Fix docstring typos.
10325
10326 2014-02-28 Martin Rudalics <rudalics@gmx.at>
10327
10328 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
10329 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
10330 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10331 Fix doc-string based on a suggestion by Nicolas Richard
10332 <theonewiththeevillook@yahoo.fr>.
10333 * help.el (with-help-window): Fix doc-string.
10334
10335 2014-02-28 Ivan Kanis <ivan@kanis.fr>
10336
10337 * net/shr.el (shr-image-animate): New option.
10338 (shr-put-image): Respect shr-image-animate.
10339
10340 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
10341
10342 * net/tramp-adb.el (tramp-adb-parse-device-names):
10343 Use `accept-process-output'.
10344 (tramp-adb-handle-file-truename): Cache the localname only.
10345 (tramp-adb-handle-make-directory)
10346 (tramp-adb-handle-delete-directory): Flush file properties correctly.
10347 (tramp-adb-handle-set-file-modes): Do not raise an error when file
10348 modes cannot be changed.
10349
10350 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
10351 file properties of symlinks.
10352
10353 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
10354
10355 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
10356 required/optional fields to match development biblatex. (Bug#16781)
10357
10358 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
10359
10360 * saveplace.el (toggle-save-place):
10361 Fix argument handling. (Bug#16673)
10362
10363 2014-02-28 Glenn Morris <rgm@gnu.org>
10364
10365 * minibuffer.el (completions-first-difference)
10366 (completions-common-part, completion-hilit-commonality): Doc fixes.
10367
10368 2014-02-28 Karl Berry <karl@gnu.org>
10369
10370 * info.el (Info-mode-map): Add H for describe-mode,
10371 to synchronize with standalone Info.
10372
10373 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
10374
10375 * progmodes/sql.el (sql-interactive-mode):
10376 Avoid setting global comint-input-ring-separator. (Bug#16814)
10377
10378 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10379
10380 * net/dbus.el (dbus--init-bus): Declare function.
10381 (dbus-path-local, dbus-interface-local): New defconst.
10382 (dbus-init-bus): Use them.
10383 (dbus-return-values-table): Extend doc.
10384 (dbus-handle-bus-disconnect): Extend error message.
10385
10386 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * subr.el (y-or-n-p): Fix double space issue in message.
10389
10390 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10391
10392 * net/tramp.el (tramp-call-process): Improve trace message.
10393 (tramp-handle-insert-file-contents): Trace error case.
10394
10395 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10396 <insert-directory>: Use `tramp-handle-insert-directory'.
10397 (tramp-adb-handle-insert-directory): Remove function.
10398 (tramp-adb-send-command-and-check): New defun, replacing
10399 `tramp-adb-command-exit-status'. Change all callees.
10400 (tramp-adb-handle-file-attributes)
10401 (tramp-adb-handle-directory-files-and-attributes): Use it.
10402 (tramp-adb-ls-output-name-less-p):
10403 Use `directory-listing-before-filename-regexp'.
10404 (tramp-adb-handle-delete-directory): Flush also file properties of
10405 the truename of directory.
10406 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
10407 (tramp-adb-handle-file-local-copy): Make the local copy readable.
10408 (tramp-adb-handle-write-region): Implement APPEND.
10409 (tramp-adb-handle-rename-file): Make it more robust. Flush file
10410 properties correctly.
10411 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
10412 variables. Check for connected devices only when needed.
10413
10414 2014-02-27 Glenn Morris <rgm@gnu.org>
10415
10416 * minibuffer.el (completion-table-dynamic)
10417 (completion-table-with-cache): Doc fixes.
10418
10419 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
10420 (completing-read-multiple): Doc fixes.
10421
10422 2014-02-27 Daniel Colascione <dancol@dancol.org>
10423
10424 * minibuffer.el (completion--nth-completion): Fix indentation.
10425
10426 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
10427 explicit tramp path is empty.
10428
10429 2014-02-27 Glenn Morris <rgm@gnu.org>
10430
10431 * emacs-lisp/crm.el (completing-read-multiple):
10432 Empower help-enable-auto-load.
10433
10434 2014-02-26 Glenn Morris <rgm@gnu.org>
10435
10436 * startup.el (command-line): Don't init the tty in daemon mode.
10437
10438 Avoid calling tty-setup-hook twice, eg if a term file
10439 explicitly calls tty-run-terminal-initialization. (Bug#16859)
10440 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
10441 (tty-create-frame-with-faces): Use it.
10442 * startup.el (command-line): Pass run-hook argument
10443 to tty-run-terminal-initialization.
10444
10445 * dired.el (dired-restore-desktop-buffer): Demote errors;
10446 eg in case a glob match fails. (Bug#16884)
10447
10448 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
10449
10450 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
10451 error from `read-from-string'. (Bug#16850)
10452
10453 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
10454 result of `completing-read' in the interactive form. (Bug#16854)
10455
10456 2014-02-25 Glenn Morris <rgm@gnu.org>
10457
10458 * image.el (image-animate, image-animate-timeout):
10459 Stop animating images in dead buffers. (Bug#16878)
10460
10461 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
10462
10463 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
10464 Doc fixes.
10465 * startup.el (term-setup-hook): Doc fix. Make obsolete.
10466 * term/sun.el (sun-raw-prefix-hooks):
10467 Use tty-setup-hook instead of term-setup-hook.
10468 (terminal-init-sun): Construct message from bytecomp plist.
10469 * term/wyse50.el (enable-arrow-keys): Doc fix.
10470
10471 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10472
10473 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
10474 Fix docstring typos.
10475
10476 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
10477
10478 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
10479
10480 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10481
10482 * minibuffer.el (completion--try-word-completion):
10483 Fix error when completing M-x commands (bug#16808).
10484
10485 2014-02-24 Leo Liu <sdl.web@gmail.com>
10486
10487 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10488
10489 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10490
10491 * apropos.el (apropos-print): Avoid formatting error when
10492 apropos-do-all and apropos-compact-layout are both t.
10493
10494 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * apropos.el (apropos-property, apropos-all-words-regexp)
10497 (apropos-true-hit, apropos-variable, apropos-print):
10498 Fix docstring typos, and remove obsolete comment.
10499
10500 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
10501
10502 * net/tramp-sh.el (tramp-sh-handle-file-truename):
10503 Preserve trailing "/". (Bug#16851)
10504
10505 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
10506
10507 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
10508 after `=>' (bug#16811).
10509 (ruby-smie-rules): Handle the inconsistent second element of the
10510 list returned by `smie-indent--parent'.
10511 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
10512 method call.
10513
10514 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10515
10516 * elec-pair.el (electric-pair-text-syntax-table)
10517 (electric-pair-syntax-info, electric-pair--syntax-ppss)
10518 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
10519 (electric-pair--looking-at-unterminated-string-p): Doc fix.
10520 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
10521
10522 2014-02-22 Glenn Morris <rgm@gnu.org>
10523
10524 * imenu.el (imenu--generic-function): Doc fix.
10525
10526 * register.el (frame-configuration-to-register): Make obsolete.
10527
10528 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
10529
10530 * desktop.el (desktop-save-buffer-p): Do not fail when
10531 desktop-files-not-to-save is nil. Return t for true result
10532 as the doc says.
10533
10534 2014-02-22 Daniel Colascione <dancol@dancol.org>
10535
10536 * net/secrets.el (secrets-create-item, secrets-search-items):
10537 Check that attribute values are strings, avoiding the construction
10538 of invalid dbus messages.
10539
10540 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10541
10542 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
10543 defun-declarations-alist.
10544
10545 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10546
10547 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
10548 (bug#16829).
10549
10550 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10551
10552 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
10553 (whitespace-newline, whitespace-trailing, whitespace-line)
10554 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
10555 (whitespace-space-after-tab): Fix typo in docstrings.
10556
10557 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
10558
10559 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
10560
10561 * electric.el (electric-indent-functions-without-reindent):
10562 Add `yaml-indent-line'.
10563
10564 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10565
10566 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
10567 It has done nothing for years; should be removed after the release.
10568
10569 * simple.el (choose-completion): Fix docstring typo.
10570 (read-quoted-char-radix): Remove unneeded * in docstring.
10571 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
10572 Don't escape parentheses unnecessarily in docstrings.
10573
10574 2014-02-21 Martin Rudalics <rudalics@gmx.at>
10575
10576 Fix handling of window-min-height/-width (Bug#16738).
10577 * window.el (window--dump-window, window--dump-frame):
10578 New functions.
10579 (window--min-size-1): Account for window dividers.
10580 When window-resize-pixelwise is nil, delay rounding till after the
10581 sum of the window components has been calculated.
10582 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
10583 nil make sure at least one text line and two text columns remain
10584 fully visible.
10585 (window-resize): Signal an error when window-resize-apply fails.
10586 (window--resize-child-windows): Fix calculation of by how many
10587 pixels a window can still be shrunk via window-new-normal.
10588 (adjust-window-trailing-edge): Call window--resizable with
10589 correct TRAIL argument.
10590
10591 (with-temp-buffer-window): Don't evaluate BODY within
10592 with-current-buffer (Bug#16816).
10593
10594 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
10595
10596 * net/tramp.el (tramp-check-cached-permissions):
10597 Call `file-attributes' with `suffix' being a symbol but a string.
10598
10599 2014-02-21 Daniel Colascione <dancol@dancol.org>
10600
10601 * net/dbus.el (dbus-init-bus-1): Declare new subr.
10602 (dbus-init-bus): New function: call into dbus-init-bus-1
10603 and installs a handler for the disconnect signal.
10604 (dbus-call-method): Rewrite to look for result in cons.
10605 (dbus-call-method-handler): Store result in cons.
10606 (dbus-check-event): Recognize events with nil sender as valid.
10607 (dbus-handle-bus-disconnect): New function. React to bus
10608 disconnection signal by synthesizing dbus error for each
10609 pending synchronous or asynchronous call.
10610 (dbus-notice-synchronous-call-errors): New function.
10611 (dbus-handle-event): Raise errors directly only when `dbus-debug'
10612 is true, not all the time.
10613
10614 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10615
10616 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
10617 Remove obsolescence declarations, these variables do not exist anymore.
10618
10619 * savehist.el (savehist-save-minibuffer-history)
10620 (savehist-additional-variables, savehist-file, savehist-mode-hook)
10621 (savehist-save-hook, savehist-coding-system, savehist-loaded)
10622 (savehist-load, savehist-install, savehist-autosave): Fix typos;
10623 mostly, refer to "Savehist mode" when talking about the mode,
10624 and not the function.
10625
10626 * saveplace.el (save-place): Remove redundant info in docstring.
10627 (save-place-forget-unreadable-files, toggle-save-place)
10628 (save-place-forget-unreadable-files, save-place-dired-hook):
10629 Fix typos and remove unneeded backslashes.
10630
10631 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
10632
10633 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
10634 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
10635
10636 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10637 <insert-directory>: Use `tramp-handle-insert-directory'.
10638 (tramp-gvfs-handle-insert-directory): Remove function.
10639
10640 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10641 Call `tramp-handle-insert-directory'.
10642
10643 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
10644
10645 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
10646 before the start of buffer/region (bug#16799).
10647
10648 2014-02-20 Glenn Morris <rgm@gnu.org>
10649
10650 * isearch.el (search-invisible): Doc fix.
10651
10652 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
10653
10654 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10655 (bug#16657).
10656
10657 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10658
10659 * frameset.el (frameset-restore): Delay removing an old frame's
10660 duplicate id until the new frame has been correctly created.
10661
10662 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
10663
10664 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
10665 (tramp-check-cached-permissions): Call `file-attributes' if the
10666 cache is empty.
10667
10668 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10669 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10670
10671 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10672 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10673 (tramp-gvfs-maybe-open-connection): Set always connection
10674 properties, even if target is mounted already.
10675
10676 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
10677 Set tramp-autoload cookie.
10678 (tramp-get-remote-touch): New defun.
10679 (tramp-sh-handle-set-file-times): Use it.
10680 (tramp-sh-handle-directory-files-and-attributes):
10681 Use `tramp-handle-directory-files-and-attributes' if neither stat
10682 nor perl are available on the remote host.
10683
10684 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
10685 "/". Write long listing only when "l" belongs to the switches.
10686
10687 * net/trampver.el: Update release number.
10688
10689 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10690
10691 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
10692
10693 2014-02-19 Martin Rudalics <rudalics@gmx.at>
10694
10695 * window.el (window-state-put): Allow WINDOW to refer to an
10696 internal window (Bug#16793).
10697
10698 2014-02-19 Glenn Morris <rgm@gnu.org>
10699
10700 * textmodes/remember.el: Move provide statement to end.
10701 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
10702 (remember-notes): Doc fixes.
10703
10704 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * delsel.el (delete-char): Restore incorrectly erased property
10707 (bug#16795).
10708
10709 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
10710
10711 * frameset.el (frameset--restore-frame): When a frame is being reused
10712 and its root window is not alive, delete all the frame's windows before
10713 restoring the window state. This works around the issue in bug#16793.
10714
10715 2014-02-18 Glenn Morris <rgm@gnu.org>
10716
10717 * textmodes/remember.el (remember-data-directory)
10718 (remember-directory-file-name-format, remember-store-in-files)
10719 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
10720 (remember-notes-save-and-bury-buffer)
10721 (remember-notes--kill-buffer-query): Doc fixes.
10722
10723 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
10724
10725 2014-02-17 Alan Mackenzie <acm@muc.de>
10726
10727 Connect electric-indent-mode up with CC Mode. Bug #15478.
10728 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
10729 to electric-indent-{,local-}-mode.
10730 (c-basic-common-init): Set electric-indent-inhibit.
10731 Initialise c-electric-flag from electric-indent-mode.
10732 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
10733 New hook functions which propagate electric-indent-mode to CC mode.
10734
10735 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
10736 hit, toggle electric-indent-local-mode.
10737
10738 * electric.el (electric-indent-mode-has-been-called):
10739 New variable.
10740
10741 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
10742
10743 * frameset.el (frameset-cfg-id): New function.
10744 (frameset--reuse-frame, frameset-restore): Use it.
10745 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
10746
10747 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * ido.el (ido-file-internal): Remove unused var `d'.
10750 Use \` for to match BoS. Fit within 80n columns.
10751
10752 2014-02-17 Daniel Colascione <dancol@dancol.org>
10753
10754 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
10755 dbus-call-method check for completion using a busy-wait loop with
10756 gradual backoff.
10757
10758 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
10759
10760 Sync with Tramp 2.2.9.
10761
10762 * net/trampver.el: Update release number.
10763
10764 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
10765
10766 * ido.el (ido-file-internal): Don't add the name of an existing
10767 directory twice. (Bug#16747)
10768
10769 2014-02-16 Glenn Morris <rgm@gnu.org>
10770
10771 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
10772 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
10773
10774 2014-02-15 Michael R. Mauger <michael@mauger.com>
10775
10776 * progmodes/sql.el: Version 3.4
10777 (sql-oracle-options): New default value ("-L").
10778 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
10779 (sql-placeholders-filter): Correct placeholder pattern.
10780 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
10781 (sql-login-delay): New variable.
10782 (sql-product-interactive): Use it.
10783
10784 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * frameset.el (frameset--jump-to-register): Check that buffer is live
10787 (bug#16749).
10788
10789 2014-02-15 Glenn Morris <rgm@gnu.org>
10790
10791 * info.el (info-initialize): Revert 2014-01-10 change.
10792
10793 2014-02-14 Glenn Morris <rgm@gnu.org>
10794
10795 * replace.el (map-query-replace-regexp)
10796 (read-regexp-defaults-function, read-regexp): Doc fixes.
10797
10798 * dired.el (dired-read-regexp):
10799 * faces.el (list-faces-display):
10800 * misearch.el (multi-isearch-read-matching-buffers)
10801 (multi-isearch-read-matching-files):
10802 * play/cookie1.el (cookie-apropos):
10803 * progmodes/grep.el (grep-read-regexp): Doc fixes.
10804
10805 * textmodes/remember.el (remember): Use frameset-to-register
10806 rather than frame-configuration-to-register.
10807
10808 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
10809
10810 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
10811 incorrect keybinding.
10812
10813 2014-02-13 Daniel Colascione <dancol@dancol.org>
10814
10815 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
10816 when adding overlays so that line numbers from compiler match line
10817 numbers we use.
10818
10819 2014-02-13 Glenn Morris <rgm@gnu.org>
10820
10821 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
10822
10823 * jit-lock.el (jit-lock-mode): Doc fix.
10824
10825 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * apropos.el (apropos-read-pattern): When the user passes an empty
10828 string, give a more helpful error message than "Wrong type
10829 argument: stringp, nil".
10830
10831 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
10834
10835 2014-02-13 Glenn Morris <rgm@gnu.org>
10836
10837 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
10838
10839 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
10842 shift-select commands.
10843
10844 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
10845
10846 * progmodes/js.el (js-indent-line): Don't widen.
10847 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
10848
10849 2014-02-12 Glenn Morris <rgm@gnu.org>
10850
10851 * icomplete.el (icomplete): Add info-link to defgroup.
10852 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
10853 (icomplete-minibuffer-map, icomplete-mode)
10854 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
10855
10856 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
10857 (package-menu-filter): Rename from package-menu-filter-interactive.
10858 Doc fix.
10859
10860 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
10861
10862 * frameset.el (frameset--jump-to-register): Select the required
10863 window and buffer before restoring position (bug#16696).
10864
10865 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
10866
10867 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
10868
10869 2014-02-10 Glenn Morris <rgm@gnu.org>
10870
10871 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
10872
10873 2014-02-10 Eli Zaretskii <eliz@gnu.org>
10874
10875 * w32-common-fns.el (x-get-selection): Doc fix.
10876 * select.el (x-get-selection): Doc fix. (Bug#15109)
10877
10878 * face-remap.el (face-remap-add-relative)
10879 (face-remap-remove-relative, face-remap-reset-base)
10880 (face-remap-set-base): Call force-mode-line-update to redisplay
10881 the current buffer due to potential change in faces. (Bug#16709)
10882
10883 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
10884
10885 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
10886 script more robustly.
10887
10888 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10889
10890 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
10891
10892 * simple.el (choose-completion): Doc fix (bug#14160).
10893
10894 * subr.el (event-start): Say what a nil EVENT value means.
10895
10896 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
10897 (bug#14197).
10898
10899 * progmodes/grep.el (find-program): Doc fix (bug#14289).
10900
10901 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
10902
10903 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
10904
10905 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
10906 predicate function (bug#15455).
10907
10908 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
10909
10910 * ielm.el (inferior-emacs-lisp-mode): Instead of
10911 `comment-use-global-state', set `comment-use-syntax'.
10912
10913 2014-02-10 Glenn Morris <rgm@gnu.org>
10914
10915 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
10916
10917 2014-02-09 Alan Mackenzie <acm@muc.de>
10918
10919 Fix c-invalidate-state-cache on narrowed buffers.
10920 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
10921 Widen when setting and clearing the CPP delimiter properties.
10922
10923 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
10924
10925 * help.el (describe-bindings): Doc fix (bug#9888).
10926
10927 * files.el (save-buffer): Use ARG as the parameter name for
10928 consistency (bug#10346).
10929 (save-buffer): Clarify the 0 argument (bug#10346).
10930
10931 * cus-edit.el (customize-apropos): Fix error string.
10932 (custom-buffer-create): Doc fix (bug#11122).
10933 (custom-sort-items): Doc fix (bug#11121).
10934
10935 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
10936
10937 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
10938 (icomplete-simple-completing-p): Mention the previous variable.
10939
10940 * font-lock.el (font-lock-value-in-major-mode): Clarify the
10941 meaning of the parameter (bug#12282).
10942
10943 * files.el (find-file-noselect): Clarify prompt when changing
10944 readedness (bug#13261).
10945 (locate-file): Suffixes aren't returned, so don't say that they
10946 are (bug#12674).
10947 (backup-inhibited): Doc clarification (bug#12525).
10948
10949 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
10950 before we actually start to delete things (bug#16331).
10951
10952 * subr.el (event-start): Doc fix (bug#14228).
10953 (event-end): Ditto.
10954
10955 2014-02-09 Glenn Morris <rgm@gnu.org>
10956
10957 * emacs-lisp/warnings.el (lwarn):
10958 Empower help-enable-auto-load. (Bug#15940)
10959
10960 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10961
10962 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
10963 (Bug#16690)
10964
10965 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
10966
10967 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10968 Insert output at end of buffer. (Bug#16120)
10969
10970 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
10971
10972 * simple.el (choose-completion-string-functions): Document new
10973 calling convention (bug#14153).
10974 (execute-extended-command): Clarify doc string (bug#13373).
10975
10976 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
10977
10978 * find-dired.el (find-name-dired): Doc fix (bug#14290).
10979 (find-grep-dired): Doc fix (bug#14288).
10980
10981 2014-02-08 Juri Linkov <juri@jurta.org>
10982
10983 * isearch.el (isearch-quote-char): Check character validity
10984 like in `quoted-insert' (bug#16677).
10985
10986 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
10987
10988 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
10989
10990 * isearch.el (isearch-hide-immediately): Doc clarification
10991 (bug#14723).
10992
10993 * simple.el (line-move): Document utility function used many
10994 places in the Emacs sources (bug#14843).
10995
10996 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
10997 (dired-prev-marked-file): Doc fix (bug#14855).
10998 (dired-up-directory): Doc fix (bug#14848).
10999
11000 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
11001
11002 * files.el (file-relative-name): Doc fix (bug#15159).
11003
11004 * fringe.el (fringe-styles): Doc fix (bug#15239).
11005
11006 * isearch.el (isearch-filter-predicate): Documentation typo fix
11007 (bug#15474).
11008
11009 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11010
11011 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11012
11013 * replace.el (replace-match-maybe-edit): Doc clarification
11014 (bug#15632).
11015
11016 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11017
11018 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11019
11020 2014-02-08 Glenn Morris <rgm@gnu.org>
11021
11022 * help-fns.el (describe-variable):
11023 Check {file,dir}-local-variables-alist, and buffer-file-name,
11024 in the correct buffer.
11025
11026 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
11027
11028 * help-fns.el (describe-variable): Fix the case where
11029 a value is directory-local with no dir-locals file. (Bug#16635)
11030
11031 2014-02-08 Glenn Morris <rgm@gnu.org>
11032
11033 * abbrev.el (edit-abbrevs-mode):
11034 Derive from fundamental-mode. (Bug#16682)
11035
11036 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
11037
11038 * simple.el (quoted-insert): Check character validity (bug#16677).
11039
11040 2014-02-07 Juri Linkov <juri@jurta.org>
11041
11042 * desktop.el (desktop-read): Claim the lock when the owner is not
11043 the current process. (Bug#16157)
11044
11045 2014-02-07 Juri Linkov <juri@jurta.org>
11046
11047 * desktop.el (desktop-buffers-not-to-save): Change default from nil
11048 to "\\` ". (Bug#16651)
11049
11050 2014-02-07 Juri Linkov <juri@jurta.org>
11051
11052 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11053 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11054 (desktop-auto-save-cancel-timer): New function with some code from
11055 `desktop-auto-save-set-timer'.
11056 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11057 Instead of setting `desktop-save-mode' to nil, call
11058 `desktop-save-mode' with arg 0. (Bug#16630)
11059
11060 2014-02-07 Glenn Morris <rgm@gnu.org>
11061
11062 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11063 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11064 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11065
11066 * obsolete/iswitchb.el: Move to obsolete/.
11067 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11068 since obsolete/ is not scanned for autoloads.
11069 * emacs-lisp/authors.el (authors-valid-file-names):
11070 Add iswitchb.el.
11071
11072 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11073 Disable now non-functional find-file-hook.
11074
11075 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
11076
11077 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11078 instead of ";" in order to avoid additional prompts. Let heredoc
11079 scripts read from tty. (Bug#16582)
11080 (tramp-send-command): No special handling of heredocs, it isn't
11081 necessary anymore.
11082
11083 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11086 with a space (bug#16664). Limit the symbols considered to the ones
11087 that are bound or fbound (bug#16646).
11088
11089 2014-02-06 Glenn Morris <rgm@gnu.org>
11090
11091 * epa.el (epa-mail-aliases): Doc fix.
11092
11093 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
11094
11095 * emacs-lisp/lisp.el (lisp-completion-at-point):
11096 Use `completion-table-merge' instead of `completion-table-in-turn'
11097 (bug#16604).
11098
11099 * minibuffer.el (completion-table-merge): New function.
11100
11101 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
11102
11103 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11104 (tramp-sh-handle-set-file-acl)
11105 (tramp-sh-handle-start-file-process)
11106 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11107 (tramp-find-executable, tramp-send-command): Use it.
11108
11109 2014-02-05 Glenn Morris <rgm@gnu.org>
11110
11111 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
11112
11113 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
11114
11115 * progmodes/python.el (python-shell-send-string)
11116 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11117
11118 2014-02-04 Anders Lindgren <andlind@gmail.com>
11119
11120 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11121 the names (bug#16620).
11122
11123 2014-02-03 Martin Rudalics <rudalics@gmx.at>
11124
11125 * faces.el (window-divider): New default value. Rewrite doc-string.
11126 (window-divider-first-pixel, window-divider-last-pixel): New faces.
11127
11128 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
11129
11130 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11131 `protected' and `public' can also be called without arguments.
11132
11133 2014-02-03 Glenn Morris <rgm@gnu.org>
11134
11135 * register.el (window-configuration-to-register)
11136 (frame-configuration-to-register): Unadvertise unused argument.
11137 * frameset.el (frameset-to-register): Remove unused argument.
11138
11139 * frameset.el (frameset-to-register):
11140 * kmacro.el (kmacro-to-register):
11141 * register.el (increment-register):
11142 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11143 (calc-append-to-register, calc-prepend-to-register):
11144 * play/gametree.el (gametree-layout-to-register)
11145 (gametree-apply-register-layout):
11146 * textmodes/picture.el (picture-clear-rectangle-to-register)
11147 (picture-yank-rectangle-from-register):
11148 * vc/emerge.el (emerge-combine-versions-register):
11149 Use register-read-with-preview to read registers.
11150
11151 2014-02-03 João Távora <joaotavora@gmail.com>
11152
11153 * elec-pair.el (electric-pair-backward-delete-char): Don't error
11154 when at beginning of (possibly narrowed) buffer.
11155
11156 2014-02-02 Daniel Colascione <dancol@dancol.org>
11157
11158 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11159 Also try to display local help from just before point.
11160
11161 2014-02-02 Alan Mackenzie <acm@muc.de>
11162
11163 c-parse-state. Don't "append-lower-brace-pair" in certain
11164 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
11165 recognised as a comment.
11166
11167 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11168 as well as normal comment starter.
11169 (c-parse-state-get-strategy): Extra return possibility
11170 'back-and-forward.
11171 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11172 return value list to indicate replacement of a brace-pair cons
11173 with its car.
11174 (c-parse-state-1): With 'back-and-forward, only call
11175 c-append-lower-brace-pair-to state-cache when cons-separated.
11176
11177 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
11178
11179 * term/ns-win.el (ns-suspend-error): New function.
11180 (ns-initialize-window-system): Add ns-suspend-error to
11181 suspend-hook (Bug#16612).
11182
11183 2014-02-02 Daniel Colascione <dancol@dancol.org>
11184
11185 * progmodes/cc-defs.el (c-find-assignment-for-mode):
11186 Make loading cc-mode silent.
11187
11188 2014-02-02 Daniel Colascione <dancol@dancol.org>
11189
11190 * comint.el (comint-prompt-read-only): Change doc to suggest
11191 remap keybinding.
11192
11193 2014-02-02 Glenn Morris <rgm@gnu.org>
11194
11195 * register.el (register-read-with-preview, point-to-register)
11196 (window-configuration-to-register, frame-configuration-to-register)
11197 (jump-to-register, number-to-register, view-register, insert-register)
11198 (copy-to-register, append-to-register, prepend-to-register)
11199 (copy-rectangle-to-register): Doc fixes.
11200
11201 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11204 * emacs-lisp/find-func.el (find-function-C-source): Idem.
11205 * emacs-lisp/nadvice.el (advice--cd*r): New function.
11206 * help-fns.el (describe-function-1): Use it.
11207
11208 2014-02-02 Glenn Morris <rgm@gnu.org>
11209
11210 * register.el (register-preview-default): New function,
11211 split from register-preview.
11212 (register-preview-function): Rename from register-preview-functions,
11213 make it not a hook.
11214 (register-preview): Use register-preview-function.
11215 (register-read-with-preview): Error on non-character event. (Bug#16595)
11216
11217 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11218
11219 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11220 `:' before binary operators (bug#16609). Don't check for `:'
11221 before `[' and `(', or their syntax status. A percent literal
11222 can't end with either.
11223 (ruby-font-lock-keywords): For built-ins that require arguments,
11224 check that they're followed by something that looks like argument
11225 (bug#16610).
11226
11227 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
11228
11229 * subr.el (butlast): Document what an omitted N means (bug#13437).
11230 (nbutlast): Ditto.
11231
11232 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
11233
11234 * net/shr.el (shr-generic): Make into a defsubst to make the stack
11235 depth shallower (bug#16587).
11236 (shr-tag-svg): Respect `shr-inhibit-images'.
11237 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11238
11239 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
11240
11241 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11242 (ruby-smie-grammar): Make "." right-associative. Make its priority
11243 lower than the ternary and all binary operators.
11244 (ruby-smie-rules): Indent "(" relative to the first non-"."
11245 parent, or the first "." parent at indentation.
11246 Use `ruby-align-chained-calls' for indentation of "." tokens.
11247 (Bug#16593)
11248
11249 2014-01-31 Juri Linkov <juri@jurta.org>
11250
11251 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11252 from `make-hash-table'.
11253
11254 * textmodes/ispell.el (ispell-init-process): Change message format
11255 to be consistent with other messages.
11256
11257 2014-01-31 Glenn Morris <rgm@gnu.org>
11258
11259 * delsel.el (delete-selection-mode): Doc fix.
11260
11261 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11262 (trace-function-background): Doc fixes.
11263
11264 * ido.el (ido-use-virtual-buffers): Doc fix.
11265 Reset :version, since the default value has not changed.
11266
11267 * register.el (register-preview-delay, register-read-with-preview):
11268 Doc fixes.
11269
11270 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11271 do not mess with mail-buffer position (fixes 2009-11-03 change).
11272 * progmodes/cc-mode.el (c-submit-bug-report):
11273 Check auto-fill-mode is bound. (Bug#16592)
11274
11275 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
11276
11277 * startup.el (fancy-splash-image-file): New function,
11278 split from fancy-splash-head.
11279 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11280 so that we are both using the same image. (Bug#16574)
11281
11282 2014-01-30 Glenn Morris <rgm@gnu.org>
11283
11284 * simple.el (eval-expression): Doc fix.
11285
11286 * hexl.el (hexl-mode-hook):
11287 * ielm.el (ielm-mode-hook):
11288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11289 (lisp-interaction-mode-hook):
11290 * progmodes/cfengine.el (cfengine3-documentation-function):
11291 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11292
11293 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11296 is a symbol (bug#16584).
11297
11298 2014-01-30 Glenn Morris <rgm@gnu.org>
11299
11300 * help.el (help-for-help-internal): Add "P" to text.
11301
11302 2014-01-29 Glenn Morris <rgm@gnu.org>
11303
11304 * simple.el (just-one-space, cycle-spacing): Doc fixes.
11305
11306 2014-01-28 Martin Rudalics <rudalics@gmx.at>
11307
11308 * window.el (fit-frame-to-buffer): Fix calculations for margins and
11309 height constraints.
11310
11311 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
11312
11313 * progmodes/hideif.el: Extend to full CPP expression syntax.
11314 (hif-token-alist): Add missing tokens.
11315 (hif-token-regexp): Add support for float/octal/hex immediates.
11316 (hif-string-literal-regexp): New const.
11317 (hif-tokenize): Recognize strings and float/octal/hex immediates.
11318 (hif-exprlist): New function.
11319 (hif-parse-if-exp): Use it.
11320 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
11321 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
11322 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
11323 (hif-logxor, hif-comma): New functions.
11324
11325 2014-01-28 Glenn Morris <rgm@gnu.org>
11326
11327 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
11328
11329 * indent.el (tab-stop-list): Doc fix. Add :version.
11330
11331 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
11332 (cvs-append-to-ignore): Add compatibility alias.
11333
11334 2014-01-27 Glenn Morris <rgm@gnu.org>
11335
11336 * dired.el (dired-hide-details-mode): Don't autoload it,
11337 since it cannot be used outside Dired buffers anyway.
11338
11339 * emulation/cua-base.el (cua-mode): Doc fix.
11340
11341 * dired.el (dired-hide-details-hide-symlink-targets)
11342 (dired-hide-details-hide-information-lines)
11343 (dired-hide-details-mode): Doc fixes.
11344
11345 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
11346 * strokes.el (strokes-file): Doc fix. Bump :version.
11347 (strokes-help): Doc fix.
11348 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
11349 * emulation/viper.el (viper): Doc fix for custom group.
11350 (top-level): Remove oh-so-no-longer-relevant text about vip.
11351 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
11352
11353 * ido.el (ido-save-directory-list-file):
11354 * saveplace.el (save-place-file):
11355 * calendar/timeclock.el (timeclock-file):
11356 * net/quickurl.el (quickurl-url-file):
11357 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11358 * progmodes/idlwave.el (idlwave-config-directory):
11359 * textmodes/remember.el (remember-data-file):
11360 Bump :version.
11361
11362 2014-01-26 Glenn Morris <rgm@gnu.org>
11363
11364 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
11365 Doc fix. Make obsolete.
11366 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
11367
11368 * sort.el (delete-duplicate-lines): Doc fix.
11369
11370 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11371
11372 * progmodes/ada-mode.el (ada):
11373 * woman.el (woman): Link to info manual and Commentary section.
11374
11375 * progmodes/flymake.el (flymake):
11376 * nxml/nxml-mode.el (nxml):
11377 * net/eww.el (eww):
11378 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
11379 * htmlfontify.el (htmlfontify):
11380 * ses.el (ses):
11381 * epa.el (epa):
11382 * ido.el (ido): Link to info manual.
11383
11384 2014-01-25 Leo Liu <sdl.web@gmail.com>
11385
11386 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
11387
11388 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
11389
11390 * net/shr.el (shr-tag-img): Prefer the title over the alt text
11391 (bug#16537).
11392
11393 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
11394
11395 * net/eww.el (eww-download-callback):
11396 Fix reference to eww-download-directory.
11397
11398 * emacs-lisp/bytecomp.el (byte-compile-file):
11399 Remove unused local variable `file-name'.
11400
11401 2014-01-24 Glenn Morris <rgm@gnu.org>
11402
11403 * woman.el (woman-default-faces, woman-monochrome-faces):
11404 Fix obsolescence specification.
11405
11406 * subr.el (with-demoted-errors): Doc fix.
11407
11408 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
11411 (cl--macroexp-fboundp): New function.
11412 (cl--make-type-test): Use it.
11413
11414 2014-01-23 Glenn Morris <rgm@gnu.org>
11415
11416 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
11417 * simple.el (eval-expression): Doc fixes.
11418
11419 2014-01-22 Glenn Morris <rgm@gnu.org>
11420
11421 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
11422
11423 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * emacs-lisp/package.el: Write files silently.
11426 (package-autoload-ensure-default-file, package--write-file-no-coding)
11427 (package-generate-description-file, package--download-one-archive)
11428 (package-install-from-archive): Tell `write-region' to stay quiet.
11429 (package-menu-mode, package-menu--print-info): Omit the Archive column
11430 if there's only one archive.
11431 (package-all-keywords, package--has-keyword-p): Remove dead code.
11432
11433 2014-01-22 Glenn Morris <rgm@gnu.org>
11434
11435 * version.el (emacs-bzr-version-bzr): Fix typo.
11436
11437 * version.el (emacs-repository-get-version):
11438 Check either .bzr or .git, but not both.
11439 Make the git case actually use the DIR argument, and return nil
11440 rather than the empty string.
11441 Avoid error if .git exists but the git executable is not found.
11442
11443 2014-01-22 Martin Rudalics <rudalics@gmx.at>
11444
11445 Fixes in window size functions around Bug#16430 and Bug#16470.
11446 * window.el (window-total-size, window-size): New argument ROUND.
11447 (window--min-delta-1, window-min-delta, window--max-delta-1):
11448 Be more conservative when calculating the numbers of lines or
11449 columns a window can shrink (Bug#16430).
11450 (fit-window-to-buffer): Simplify code.
11451 * term.el (term-window-width): Call window-body-width again.
11452
11453 2014-01-22 Glenn Morris <rgm@gnu.org>
11454
11455 * image.el (image-format-suffixes): Doc fix.
11456
11457 * international/quail.el (quail-define-package): Doc fix.
11458
11459 * emacs-lisp/authors.el (authors-valid-file-names)
11460 (authors-renamed-files-alist): Additions.
11461
11462 * vc/vc-git.el (vc-git-print-log): Remove --follow;
11463 reverts 2014-01-09 change. (Bug#16422)
11464
11465 * calc/calc-embed.el (thing-at-point-looking-at):
11466 * emacs-lisp/map-ynp.el (x-popup-dialog):
11467 * obsolete/lmenu.el (x-popup-dialog):
11468 * emacs-lisp/package.el (url-recreate-url):
11469 * mail/mailclient.el (clipboard-kill-ring-save):
11470 * subr.el (x-popup-dialog): Update declaration.
11471 * mail/rmail.el (rmail-mime-message-p):
11472 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11473
11474 2014-01-21 Daniel Colascione <dancol@dancol.org>
11475
11476 * progmodes/sh-script.el (sh--inside-noncommand-expression):
11477 Correctly detect when we're inside an arithmetic expansion form
11478 containing nested parenthesis.
11479 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
11480 to detect cases where we shouldn't expand "<<" to a heredoc
11481 skeleton.
11482
11483 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
11486 (eldoc--message-command-p): New function.
11487 (eldoc-display-message-p): Use it.
11488 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
11489 message is not automatically erased for us.
11490 (eldoc-print-current-symbol-info): Erase previous message, if any.
11491
11492 2014-01-21 Tassilo Horn <tsdh@gnu.org>
11493
11494 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
11495 specify it's an interactive function.
11496
11497 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
11498 Fix regex used for scanning for citation keys which failed for
11499 citations with optional arguments.
11500
11501 2014-01-21 Leo Liu <sdl.web@gmail.com>
11502
11503 * simple.el (read--expression): Don't enable eldoc-mode.
11504
11505 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * simple.el (move-beginning-of-line): Make sure we don't move forward
11508 (bug#16497).
11509
11510 2014-01-20 Juri Linkov <juri@jurta.org>
11511
11512 * saveplace.el (toggle-save-place, save-place-to-alist)
11513 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
11514 'dired-mode) before checking for dired-directory. (Bug#16477)
11515
11516 2014-01-20 Juri Linkov <juri@jurta.org>
11517
11518 * indent.el (indent-line-to): Use backward-to-indentation
11519 instead of back-to-indentation. (Bug#16461)
11520
11521 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
11522
11523 Revert some of the CANNOT_DUMP fix (Bug#16494).
11524 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
11525 but fixing this can wait until after the next release.
11526 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
11527
11528 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
11529
11530 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11531 Use `password-word-equivalents'.
11532 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
11533 to t. (Bug#5664, Bug#13124)
11534
11535 2014-01-19 Alan Mackenzie <acm@muc.de>
11536
11537 Bind open-paren-in-column-0-is-defun-start to nil at some entry
11538 points.
11539 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
11540 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
11541 * progmodes/cc-mode.el (c-before-change, c-after-change)
11542 (c-font-lock-fontify-region): Bind it here.
11543
11544 2014-01-19 Martin Rudalics <rudalics@gmx.at>
11545
11546 * term.el (term-window-width): Call window-text-width instead of
11547 window-width (Bug#16470).
11548
11549 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
11550
11551 * simple.el (password-word-equivalents): Remove duplicates.
11552 Sort, to make this easier next time.
11553 Downcase. Omit ": " after "jelszó".
11554
11555 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
11556
11557 * term/common-win.el (saved-region-selection): Defvar it.
11558 (x-select-text): Set saved-region-selection (Bug#16382).
11559
11560 2014-01-18 Glenn Morris <rgm@gnu.org>
11561
11562 * emacs-lisp/authors.el (authors-aliases)
11563 (authors-renamed-files-alist): Add some entries.
11564
11565 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
11566
11567 * net/tramp.el (tramp-password-prompt-regexp):
11568 Use `password-word-equivalents' if available.
11569 (tramp-action-password, tramp-process-one-action)
11570 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
11571
11572 2014-01-17 Chong Yidong <cyd@gnu.org>
11573
11574 * simple.el (password-word-equivalents): New defcustom.
11575 * comint.el (comint-password-prompt-regexp): Use it. Bump version
11576 to 24.4.
11577 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
11578 to t. (Bug#13124)
11579
11580 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
11581
11582 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
11583 (ruby-align-to-stmt-keywords): Change the default value.
11584 Use `ruby-alignable-keywords' to generate the possible customization
11585 choices.
11586 (ruby-smie-rules): Instead of using a hardcoded list of alignable
11587 keywords, check against the value of `ruby-alignable-keywords'
11588 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
11589
11590 2014-01-17 Glenn Morris <rgm@gnu.org>
11591
11592 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
11593
11594 Make M-x authors return zero *Authors Errors* from current logs.
11595 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
11596 (authors-ignored-files): Add some entries, remove others.
11597 (authors-ambiguous-files, authors-valid-file-names):
11598 Add some entries.
11599 (authors-renamed-files-alist): Add, remove, and adjust entries.
11600 (authors-renamed-files-regexps): Add some entries.
11601 Remove some very broad ones. Make some entries `lax'.
11602 (authors-lax-changelogs): New constant.
11603 (authors-disambiguate-file-name): Treat top-level specially.
11604 (authors-lax-changelog-p): New function.
11605 (authors-canonical-file-name): Check file as written against
11606 authors-valid-file-names. Do not special-case etc/.
11607 Handle `lax' logs and authors-renamed-files-regexps elements.
11608
11609 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
11610
11611 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
11612 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
11613 callers.
11614
11615 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
11618 Assume we're already in the proper buffer.
11619 Inspired by Anders Lindgren <andlind@gmail.com>.
11620 (follow-post-command-hook): Call it from the right buffer.
11621 (follow-comint-scroll-to-bottom): Adjust call.
11622 (follow-all-followers): Use get-buffer-window-list.
11623
11624 2014-01-15 Daniel Colascione <dancol@dancol.org>
11625
11626 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
11627 `buffer-file-name' in interactive-form so that we don't leave
11628 pathless file names in `file-name-history'.
11629
11630 2014-01-15 Juri Linkov <juri@jurta.org>
11631
11632 * indent.el (indent-rigidly): Set deactivate-mark to nil
11633 in transient indentation mode. (Bug#16438)
11634
11635 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
11636
11637 * emacs-lisp/package.el (package-desc-keywords): New function
11638 (Bug#16222).
11639 (describe-package-1, package-all-keywords)
11640 (package--has-keyword-p): Use it.
11641
11642 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11643
11644 * simple.el (define-alternatives): When creating the
11645 COMMAND-alternatives variable, assign COMMAND as its definition
11646 name so that `describe-variable' can relocate it.
11647
11648 2014-01-14 Matthew Leach <matthew@mattleach.net>
11649
11650 * font-lock.el (font-lock-keywords): Fix typo in docstring
11651 (bug#16307).
11652
11653 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11654
11655 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
11656 line instead of wrongly reset `add-coment' (bug#13577).
11657
11658 2014-01-14 Daiki Ueno <ueno@gnu.org>
11659
11660 * epa-file.el (epa-file-write-region): Encode the region according
11661 to `buffer-file-format'. Problem reported at:
11662 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
11663
11664 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
11667 so it applies in the right buffer (bug#16410).
11668
11669 2014-01-13 Daniel Colascione <dancol@dancol.org>
11670
11671 * textmodes/rst.el (rst-define-key): Provide deprecated
11672 keybindings through named functions instead of anonymous ones so
11673 that "??" doesn't appear in describe-mode output.
11674
11675 2014-01-13 Bastien Guerry <bzg@gnu.org>
11676
11677 * simple.el (define-alternatives): Call the selected command
11678 interactively. When setting `COMMAND--implementation' for the
11679 first time, tell the user how to chose another implementation.
11680 Enhance the docstring.
11681
11682 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
11685 (log-edit--match-first-line): New function.
11686 (log-edit-font-lock-keywords): Use it.
11687 (log-edit-mode): Make jit-lock-defer-multiline work.
11688
11689 2014-01-13 Bastien Guerry <bzg@gnu.org>
11690
11691 * rect.el (rectangle-mark-mode): When the region is not active,
11692 display a message saying that the mark as been set and that
11693 rectangle mode is in use.
11694 (rectangle--highlight-for-redisplay): Only put an overlay with a
11695 visible vertical bar when (display-graphic-p) is non-nil.
11696 This partially fixes Bug#16403.
11697
11698 2014-01-13 Juri Linkov <juri@jurta.org>
11699
11700 * info.el (Info-find-file): Go to DIR before displaying the error
11701 about a nonexistent file if no previous Info file is visited.
11702 Use `user-error' instead of `error' for "Info file %s does not exist".
11703 (Info-find-node-2): In case of a nonexistent node in unwind forms
11704 go to the Top node if there is no previous node to revert to.
11705 (Bug#16405)
11706
11707 2014-01-13 Martin Rudalics <rudalics@gmx.at>
11708
11709 fit-frame/window-to-buffer code fixes including one for Bug#14096.
11710 * window.el (fit-frame-to-buffer): Fix doc-string.
11711 Respect window-min-height/-width. Fit pixelwise when
11712 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
11713 when avoiding that frame goes partially off-screen.
11714 (fit-window-to-buffer): Respect window-min-height/-width
11715 (Bug#14096).
11716
11717 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
11720 after an empty line.
11721
11722 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * net/shr.el (shr-render-region): Autoload.
11725
11726 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
11727
11728 * net/eww.el (eww-download-directory): Rename from
11729 `eww-download-path' (Bug#16419).
11730
11731 2014-01-12 Leo Liu <sdl.web@gmail.com>
11732
11733 * dired-x.el (dired-mode-map): Fix last change.
11734
11735 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
11736
11737 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
11738
11739 Spelling fixes.
11740 * emacs-lisp/generic.el (generic--normalize-comments):
11741 Rename from generic--normalise-comments. All uses changed.
11742 * play/bubbles.el (bubbles--neighborhood-score)
11743 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
11744 (bubbles--neighborhood-available)
11745 (bubbles--update-neighborhood-score):
11746 Rename from names with 'neighbourhood'. All uses changed.
11747
11748 2014-01-12 Leo Liu <sdl.web@gmail.com>
11749
11750 Re-implement the feature of showing eldoc info after editing.
11751 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
11752 (eldoc-edit-message-commands): New function.
11753 (eldoc-print-after-edit): New variable.
11754 (eldoc-pre-command-refresh-echo-area): Emit message only by
11755 eldoc-message-commands.
11756 (eldoc-mode): Restrict eldoc-message-commands to editing commands
11757 if eldoc-print-after-edit is set. (Bug#16346)
11758 * simple.el (read--expression): Enable eldoc-mode.
11759 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
11760
11761 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
11762 Eric S. Raymond <esr@thyrsus.com>
11763
11764 * version.el (emacs-repository-get-version): Enhance so the
11765 function works correctly in either a Bazaar or Git repo.
11766
11767 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
11768
11769 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
11770 Goes with removal of the joke manpages from /etc.
11771
11772 2014-01-10 Kenichi Handa <handa@gnu.org>
11773
11774 * mail/rmail.el (rmail-get-coding-system):
11775 Check rmail-get-coding-function before "funcall"ing it.
11776
11777 2014-01-10 Glenn Morris <rgm@gnu.org>
11778
11779 * emacs-lisp/authors.el (authors-fixed-entries):
11780 Update for files that no longer exist.
11781
11782 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
11783
11784 * version.el (emacs-bzr-get-version): Restore compatibilty with
11785 24.3 (Tested).
11786
11787 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
11788
11789 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
11790 and Podfile.
11791
11792 2014-01-10 Eli Zaretskii <eliz@gnu.org>
11793
11794 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
11795
11796 2014-01-10 Chong Yidong <cyd@gnu.org>
11797
11798 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
11799
11800 2014-01-10 Anders Lindgren <andlind@gmail.com>
11801
11802 * follow.el (follow-cache-command-list): Include right-char and
11803 left-char.
11804
11805 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
11806
11807 Spelling fixes.
11808 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
11809 * woman.el (woman-mark-horizontal-position):
11810 Rename from woman-mark-horizonal-position. Use changed.
11811
11812 2014-01-10 Glenn Morris <rgm@gnu.org>
11813
11814 * info.el (info-initialize): If running uninstalled, ensure our
11815 own info files are always found first, even if INFOPATH is set.
11816
11817 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
11818
11819 2014-01-09 David Engster <deng@randomsample.de>
11820
11821 * emacs-lisp/eieio-custom.el:
11822 * emacs-lisp/eieio-opt.el: Set generated autoload file to
11823 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
11824 * emacs-lisp/eieio.el: Regenerate autoloads.
11825
11826 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
11827
11828 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
11829 following renames. (Bug#8756)
11830
11831 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
11834 (bug#16382).
11835 (activate-mark): Add `no-tmm' argument.
11836 (set-mark, push-mark-command): Use it instead of running
11837 activate-mark-hook by hand.
11838
11839 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
11840
11841 In preparation for the move to git, sanitize out some
11842 Bazaar-specific names.
11843
11844 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
11845
11846 * version.el (emacs-bzr-version): Name changed to
11847 emacs-repository-version. Obsolete-variable alias made.
11848 * loadup.el: Follow through on this name change.
11849 * mail/emacsbug.el (report-emacs-bug): Factor out any
11850 assumption about the version control system in use.
11851
11852 2014-01-08 David Engster <deng@randomsample.de>
11853
11854 * help-fns.el (help-fns-describe-function-functions):
11855 New variable to call functions for augmenting help buffers.
11856 (describe-function-1): Remove explicit calls to
11857 `help-fns--compiler-macro', `help-fns--parent-mode' and
11858 `help-fns--obsolete'. Put them in above new variable instead, and
11859 call them through `run-hook-with-args'.
11860 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
11861 `eieio-describe-class'. Not meant for interactive use anymore,
11862 but to augment existing help buffers. Remove optional second
11863 argument. Create proper button for file location.
11864 Rewrite function to use `insert' instead of `princ' and `prin1' where
11865 possible.
11866 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
11867 (eieio-method-def, eieio-class-def): Move further up.
11868 (describe-method, describe-generic, eieio-describe-method):
11869 Remove aliases.
11870 (eieio-help-constructor, eieio-help-generic): Rename from
11871 `eieio-describe-constructor' and `eieio-describe-generic', resp.
11872 Rewrite to use `insert' in the current buffer and use proper help
11873 buttons.
11874 (eieio-help-find-method-definition)
11875 (eieio-help-find-class-definition): Also accept symbols as
11876 arguments.
11877 (eieio-help-mode-augmentation-maybee): Remove.
11878 (eieio-describe-class-sb): Use `describe-function'.
11879 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
11880 Add `eieio-help-generic' and `eieio-help-constructor'.
11881
11882 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
11883
11884 Spelling fixes.
11885 * language/china-util.el (hz-ascii-designation):
11886 Rename from hz-ascii-designnation.
11887 (hz-ascii-designation): Rename from hz-ascii-designnation.
11888 All uses changed.
11889
11890 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
11893 package-alist.
11894
11895 2014-01-08 Bastien Guerry <bzg@gnu.org>
11896
11897 * emacs-lisp/package.el (package-delete):
11898 Correctly delete the package from package-alist.
11899
11900 2014-01-08 Daiki Ueno <ueno@gnu.org>
11901
11902 * emacs-lisp/package.el (url-recreate-url): Declare.
11903 (url-http-target-url): Declare.
11904 (package-handle-response): Include requested URL in the error message.
11905 (package--check-signature): Don't re-signal errors from
11906 package--with-work-buffer. Suggested by Stefan Monnier.
11907
11908 2014-01-07 Bastien Guerry <bzg@gnu.org>
11909
11910 * minibuffer.el (completion--try-word-completion): When both a
11911 hyphen and a space are possible candidates for the character
11912 following a word, display both candidates. (Bug#15980)
11913
11914 2014-01-07 Martin Rudalics <rudalics@gmx.at>
11915
11916 * window.el (balance-windows-2): While rounding don't give a
11917 window more than the remainder. Bug#16351, bug#16383.
11918
11919 2014-01-07 Glenn Morris <rgm@gnu.org>
11920
11921 * menu-bar.el (menu-bar-help-extra-packages): Remove.
11922 (menu-bar-help-menu): Use view-external-packages instead.
11923
11924 2014-01-07 Bastien Guerry <bzg@gnu.org>
11925
11926 * emacs-lisp/package.el (package-delete): Also delete the package
11927 name from `package-alist', not its description only.
11928
11929 2014-01-07 Glenn Morris <rgm@gnu.org>
11930
11931 * help.el (view-external-packages):
11932 * menu-bar.el (menu-bar-help-extra-packages):
11933 Visit efaq.info rather than etc/MORE.STUFF.
11934
11935 2014-01-07 Juri Linkov <juri@jurta.org>
11936
11937 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
11938 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
11939
11940 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
11941 that shadows RET. (Bug#16342)
11942
11943 2014-01-07 Chong Yidong <cyd@gnu.org>
11944
11945 * isearch.el (isearch-yank-char, isearch-yank-word)
11946 (isearch-yank-line): Doc fix.
11947
11948 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
11951 * emacs-lisp/elint.el (elint-find-builtins):
11952 * emacs-lisp/eldoc.el (eldoc-symbol-function):
11953 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
11954 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
11955 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11956 * apropos.el (apropos-safe-documentation):
11957 * subr.el (symbol-file): Remove redundant fboundp.
11958 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
11959
11960 2014-01-06 Bastien Guerry <bzg@gnu.org>
11961
11962 * hl-line.el (global-hl-line-overlay): Make a local variable.
11963 (global-hl-line-overlays): New variable to store all overlays.
11964 (global-hl-line-mode): Don't delete overlays from the current
11965 buffer when `global-hl-line-sticky-flag' is non-nil.
11966 (global-hl-line-highlight): Add new overlays to
11967 `global-hl-line-overlays'.
11968 (global-hl-line-unhighlight-all): New function to delete all
11969 overlays when turning off `global-hl-line-mode'.
11970 This fixes Bug#16183.
11971
11972 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
11973
11974 * subr.el (set-transient-map): Fix nested case and docstring.
11975
11976 2014-01-06 Tassilo Horn <tsdh@gnu.org>
11977
11978 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
11979 `Texinfo' entry.
11980
11981 2014-01-06 Daniel Colascione <dancol@dancol.org>
11982
11983 Fix defun navigation in vc log view.
11984
11985 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
11986 like `beginning-of-defun'.
11987 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
11988 log-view-end-of-defun to log-view-end-of-defun-1. Replace
11989 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
11990 (log-view-extract-comment): Call `log-view-current-entry' directly
11991 instead of relying on broken `log-view-beginning-of-defun' behavior.
11992
11993 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
11994
11995 Spelling fixes.
11996 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
11997 * emacs-lisp/debug.el (cancel-debug-on-entry):
11998 * epg.el (epg-error-to-string):
11999 * files.el (recover-file):
12000 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
12001 * mail/emacsbug.el (report-emacs-bug-hook):
12002 * mail/sendmail.el (mail-recover):
12003 * ses.el (ses-yank-resize):
12004 * term/ns-win.el (ns-print-buffer):
12005 Spelling fixes in diagnostics, mostly for "canceled" with one L.
12006 * epg.el (epg-key-capability-alist): Rename from misspelled version.
12007 All uses changed.
12008 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12009
12010 2014-01-06 Leo Liu <sdl.web@gmail.com>
12011
12012 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12013 to avoid shadowing global key. (Bug#16354)
12014
12015 2014-01-06 Daniel Colascione <dancol@dancol.org>
12016
12017 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12018 rst-mode.
12019
12020 2014-01-05 Martin Rudalics <rudalics@gmx.at>
12021
12022 * window.el (balance-windows): Add mising t to fix Bug#16351.
12023
12024 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12025
12026 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12027 (bug#16285).
12028 (shr-insert): If we have a word that's longer than `shr-width',
12029 break after it anyway. Otherwise we'll do no breaking once we get
12030 such a long word.
12031
12032 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12033
12034 * net/eww.el (eww): Support single/double quote for search.
12035 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12036 (eww-history-quit): Delete and use quit-window.
12037 (eww-history-kill): Delete, because it doesn't work well and
12038 not necessary.
12039 (eww-history-mode-map): Delete some keys and add easy-menu.
12040
12041 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
12042
12043 Fix misspelling of 'chinese' in rx (Bug#16237).
12044 * emacs-lisp/rx.el (rx-categories): Correct spelling of
12045 chinese-two-byte.
12046
12047 Change subword regexps back to vars (Bug#16296).
12048 * progmodes/subword.el (subword-forward-regexp)
12049 (subword-backward-regexp): Change these back to variables.
12050
12051 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12054 syntax-begin-function (bug#16247).
12055
12056 2014-01-03 Chong Yidong <cyd@gnu.org>
12057
12058 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12059 (advice--docstring): Delete variable.
12060 (advice--make-1): Leave the docstring empty.
12061 (advice-add): Use function-documentation for advised docstring.
12062
12063 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12064 Ignore function-documentation property when getting documentation.
12065 (ad-activate-advised-definition): Use function-documentation
12066 generate the docstring.
12067 (ad-make-advised-definition): Don't call
12068 ad-make-advised-definition-docstring.
12069 (ad-make-advised-definition-docstring, ad-advised-definition-p):
12070 Delete functions.
12071
12072 * progmodes/sql.el (sql-help): Use function-documentation instead
12073 of dynamic-docstring-function property. No need to autoload now.
12074 (sql--help-docstring): New variable.
12075 (sql--make-help-docstring): Use it.
12076
12077 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * ielm.el (ielm-tab): Retarget.
12080 (ielm-map): Use ielm-tab for tab.
12081 (ielm-complete-filename): Use comint-filename-completion.
12082 (ielm-complete-symbol): Remove.
12083 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12084 remove ielm-tab from completion-at-point-functions (bug#16224).
12085
12086 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12087 Beware signals raised by predicates (bug#16201).
12088
12089 2014-01-02 Richard Stallman <rms@gnu.org>
12090
12091 * dired-aux.el (dired-do-print): Handle printer-name.
12092
12093 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12094 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12095 (rmail-epa-decrypt): Turn off mime processing.
12096
12097 * mail/rmail.el (rmail-make-in-reply-to-field):
12098 Add parens in message-id.
12099
12100 * mail/rmail.el (rmail-get-coding-function): Variable.
12101 (rmail-get-coding-system): Use it.
12102
12103 2013-12-31 Eli Zaretskii <eliz@gnu.org>
12104
12105 * international/mule-conf.el: Unify the charset indian-is13194.
12106 (indian-is13194): Specify unify-map.
12107
12108 2013-12-31 Leo Liu <sdl.web@gmail.com>
12109
12110 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
12111
12112 2013-12-30 Daniel Colascione <dancol@dancol.org>
12113
12114 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12115 of printing a useless when we resume from sleep.
12116
12117 * progmodes/sh-script.el
12118 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12119 in indentation code. (Bug#16233)
12120
12121 2013-12-28 João Távora <joaotavora@gmail.com>
12122
12123 * elec-pair.el (electric-pair-post-self-insert-function):
12124 Don't open extra newlines at beginning of buffer. (Bug#16272)
12125
12126 2013-12-28 Eli Zaretskii <eliz@gnu.org>
12127
12128 * frame.el (window-system-for-display): Don't allow to create a
12129 GUI frame from a -nw session on MS-Windows. (Bug#14739)
12130
12131 2013-12-28 Glenn Morris <rgm@gnu.org>
12132
12133 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12134 Update callers.
12135
12136 * apropos.el (apropos-match-face):
12137 * calculator.el (calculator-displayer):
12138 * dabbrev.el (dabbrev-search-these-buffers-only):
12139 * face-remap.el (buffer-face-mode-face):
12140 * simple.el (yank-handled-properties):
12141 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12142 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12143 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12144 (hashcash-double-spend-database):
12145 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12146 (ruby-deep-indent-paren-style):
12147 * textmodes/flyspell.el (flyspell-auto-correct-binding):
12148 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12149 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12150 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12151 Specify custom types.
12152
12153 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12154 * bookmark.el (bookmark-bmenu-use-header-line):
12155 * doc-view.el (doc-view-scale-internally):
12156 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12157 * register.el (register-preview-delay):
12158 * net/shr.el (shr-bullet):
12159 * progmodes/cfengine.el (cfengine-cf-promises)
12160 (cfengine-parameters-indent):
12161 * progmodes/octave.el (inferior-octave-error-regexp-alist):
12162 * textmodes/reftex-vars.el (reftex-label-regexps):
12163 * vc/log-edit.el (log-edit-setup-add-author): Add version.
12164
12165 * net/tls.el (tls-certtool-program): Fix default value.
12166
12167 * desktop.el (desktop-restore-in-current-display):
12168 * newcomment.el (comment-empty-lines):
12169 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12170 (idlwave-pad-keyword):
12171 * progmodes/tcl.el (tcl-tab-always-indent):
12172 * textmodes/reftex-vars.el (reftex-index-default-tag):
12173 * elec-pair.el (electric-pair-skip-whitespace):
12174 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12175
12176 * emacs-lisp/authors.el (authors-ignored-files)
12177 (authors-valid-file-names, authors-renamed-files-alist): Additions.
12178
12179 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
12180
12181 * shell.el (shell-dynamic-complete-command): Doc fix.
12182 (shell--command-completion-data): Shell completion now matches
12183 executable filenames from the current buffer's directory, on
12184 systems in which this behavior is the default (windows-nt, ms-dos).
12185
12186 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12187
12188 * net/shr.el (shr-insert): Don't infloop if the width is zero.
12189
12190 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
12191
12192 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12193 (bug#16251).
12194
12195 * electric.el: Move all electric-pair-* to elec-pair.el.
12196 * elec-pair.el: New file, split from electric.el.
12197
12198 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12199
12200 * net/shr.el (shr-find-fill-point): Don't try to fill if the
12201 indentation level is larger than the width, because that will
12202 infloop.
12203 (shr-insert): Fill repeatedly long texts, so that Japanese is
12204 formatted correctly (bug#16263).
12205 (shr-find-fill-point): Off by one error in comparison with the
12206 indentation.
12207
12208 2013-12-26 João Távora <joaotavora@gmail.com>
12209
12210 * electric.el (electric-pair-mode): More flexible engine for skip-
12211 and inhibit predicates, new options for pairing-related functionality.
12212 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12213 if that keeps or improves their balance in buffers.
12214 (electric-pair-delete-adjacent-pairs): Delete the pair when
12215 backspacing over adjacent matched delimiters.
12216 (electric-pair-open-extra-newline): Open extra newline when
12217 inserting newlines between adjacent matched delimiters.
12218 (electric--sort-post-self-insertion-hook):
12219 Sort post-self-insert-hook according to priority values when
12220 minor-modes are activated.
12221 * simple.el (newline-and-indent): Call newline with interactive
12222 set to t.
12223 (blink-paren-post-self-insert-function): Set priority to 100.
12224 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12225 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12226 comments. Locally set electric-pair-skip-whitespace to 'chomp and
12227 electric-pair-open-newline-between-pairs to nil.
12228
12229 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
12230
12231 * progmodes/python.el: Use lexical-binding.
12232 (python-nav-beginning-of-defun): Stop searching ASAP.
12233
12234 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
12235
12236 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12237 Fix interactive spec. Doc fix. (Bug#15754)
12238
12239 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
12240
12241 * emacs-lisp/byte-run.el (eval-when-compile):
12242 * progmodes/cc-defs.el (cc-eval-when-compile):
12243 Fix edebug spec (bug#16184).
12244
12245 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12246
12247 * net/shr.el (shr-visit-file): Remove debugging function.
12248 (shr-insert): Don't infloop if we can't find a good place to break
12249 the line (bug#16256).
12250
12251 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12252
12253 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12254 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
12255 python-nav-lisp-forward-sexp-safe.
12256 (python-nav--forward-sexp): New argument SAFE allows switching
12257 forward sexp movement behavior for parens.
12258 (python-nav-forward-sexp): Throw errors on unterminated parens
12259 (Bug#16191).
12260 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12261 (python-nav-backward-sexp-safe): New functions.
12262 (python-shell-buffer-substring):
12263 Use `python-nav-forward-sexp-safe'.
12264
12265 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12266
12267 * net/shr.el (shr-find-fill-point): Don't break lines before a
12268 quotation mark.
12269 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12270 (shr-find-fill-point): Remove the special checks for the quotation
12271 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12272
12273 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12274
12275 * net/eww.el (eww-form-textarea): Use a different face for
12276 textareas than text input since they have different keymaps
12277 (bug#16142).
12278
12279 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
12280
12281 * progmodes/python.el (python-nav-beginning-of-statement):
12282 Speed up (Bug#15295).
12283
12284 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12285
12286 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12287 the window configuration.
12288
12289 2013-12-24 Eli Zaretskii <eliz@gnu.org>
12290
12291 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12292 we run on MS-Windows or MS-DOS.
12293
12294 2013-12-24 Martin Rudalics <rudalics@gmx.at>
12295
12296 * window.el (balance-windows-area): Call window-size instead of
12297 window-height and window-width. Bug#16241.
12298
12299 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12300
12301 * net/eww.el (eww-bookmark-quit): Remove.
12302 (eww-bookmark-browse): Restore the window configuration when you
12303 choose a bookmark (bug#16144).
12304
12305 2013-12-24 Daniel Colascione <dancol@dancol.org>
12306
12307 * icomplete.el: Remove redundant :group arguments to `defcustom'
12308 throughout.
12309 (icomplete-show-matches-on-no-input): New customizable variable.
12310 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
12311 we have something to show.
12312 (icomplete-exhibit): Compute completions even if we have no user input.
12313
12314 2013-12-23 Daniel Colascione <dancol@dancol.org>
12315
12316 * icomplete.el: Move `provide' to end of file.
12317
12318 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
12319
12320 * net/gnutls.el (gnutls-verify-error): Add version tag.
12321
12322 2013-12-23 Chong Yidong <cyd@gnu.org>
12323
12324 * subr.el (set-transient-map): Rename from
12325 set-temporary-overlay-map. Doc fix.
12326
12327 * face-remap.el (text-scale-adjust):
12328 * indent.el (indent-rigidly):
12329 * kmacro.el (kmacro-call-macro):
12330 * minibuffer.el (minibuffer-force-complete):
12331 * repeat.el (repeat):
12332 * simple.el (universal-argument--mode):
12333 * calendar/todo-mode.el (todo-insert-item--next-param):
12334 * progmodes/f90.el (f90-abbrev-start): Callers changed.
12335
12336 * indent.el (indent-rigidly): Use substitute-command-keys.
12337
12338 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12339
12340 * net/eww.el (eww-tag-select): Add text-property to jump to next
12341 select field.
12342 (eww): Add non-supported ftp error.
12343
12344 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12345
12346 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
12347 comments. Handle electric indent after typing `?' and `!'.
12348
12349 2013-12-22 Chong Yidong <cyd@gnu.org>
12350
12351 * faces.el (face-spec-recalc): If the theme specs are not
12352 applicable to a frame, fall back on the defface spec.
12353 This prevents themes from obliterating faces on low-color terminals.
12354
12355 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12356
12357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12358 after `{'. We need it after block openers, and it doesn't seem
12359 to hurt after hash openers.
12360
12361 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12362
12363 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
12364 extracted from `ruby-smie-rules'.
12365 (ruby--electric-indent-chars): New variable.
12366 (ruby--electric-indent-p): New function.
12367 (ruby-mode): Use `electric-indent-functions' instead of
12368 `electric-indent-chars'.
12369
12370 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12371
12372 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
12373 docstring.
12374 (ruby-smie-rules): Indent plus one level after `=>'.
12375
12376 2013-12-21 Richard Stallman <rms@gnu.org>
12377
12378 * simple.el (newline): Doc fix.
12379
12380 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12381
12382 * net/eww.el (eww-list-histories, eww-list-histories)
12383 (eww-history-browse, eww-history-quit, eww-history-kill)
12384 (eww-history-mode-map, eww-history-mode): New command and
12385 functions to list browser histories.
12386 (eww-form-text): Support text form with disabled
12387 and readonly attributes.
12388 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
12389
12390 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12391
12392 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
12393 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
12394 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
12395 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
12396 Use `user-error'.
12397 (eww-bookmark-mode-map): Add menu.
12398 (eww-render, eww-mode): Use `setq-local'.
12399 (eww-tool-bar-map): New variable.
12400 (eww-mode): Set `tool-bar-map'.
12401 (eww-view-source): Check for `html-mode' with `fboundp'.
12402
12403 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12404
12405 * net/shr.el (shr--extract-best-source): Don't bug out on audio
12406 elements with text inside. Also remove debugging.
12407
12408 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
12409
12410 * cus-start.el (all): Add ns-use-srgb-colorspace.
12411
12412 2013-12-21 Chong Yidong <cyd@gnu.org>
12413
12414 * custom.el (custom-theme-recalc-face): Do nothing if the face is
12415 undefined. Thus, theme settings for undefined faces do not take
12416 effect until the faces are defined with defface, the same as with
12417 theme variables.
12418
12419 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
12420 (face-spec-reset-face): Don't assign extra properties in temacs.
12421 (face-spec-recalc): Apply X resources too.
12422
12423 2013-12-21 Chong Yidong <cyd@gnu.org>
12424
12425 * faces.el (face-spec-set):
12426 * cus-face.el (custom-theme-set-faces, custom-set-faces):
12427 * custom.el (defface): Doc fixes (Bug#16203).
12428
12429 * indent.el (indent-rigidly-map): Add docstring, and move commands
12430 into named functions.
12431 (indent-rigidly-left, indent-rigidly-right)
12432 (indent-rigidly-left-to-tab-stop)
12433 (indent-rigidly-right-to-tab-stop): New functions. Decide on
12434 indentation direction based on bidi direction, and accumulate
12435 sequential commands in a single undo boundary.
12436 (indent-rigidly--pop-undo): New utility function.
12437
12438 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
12439
12440 * faces.el (read-face-name): Require crm.el when using crm-separator.
12441
12442 2013-12-20 Daniel Colascione <dancol@dancol.org>
12443
12444 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
12445 so that we don't reflow comments into the shebang line.
12446
12447 2013-12-20 Juri Linkov <juri@jurta.org>
12448
12449 * saveplace.el (save-place-to-alist): Add `dired-filename' as
12450 a position when `dired-directory' is non-nil. Check integer
12451 positions with `integerp'.
12452 (toggle-save-place, save-places-to-alist): Add check for
12453 `dired-directory'.
12454 (save-place-find-file-hook): Check integer positions with
12455 `integerp'.
12456 (save-place-dired-hook): Use `dired-goto-file' when
12457 `dired-filename' is found in the assoc list. Check integer
12458 positions with `integerp'.
12459 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
12460
12461 * dired.el (dired-initial-position-hook): Rename back from
12462 `dired-initial-point-hook'.
12463 (dired-initial-position): Rename `dired-initial-point-hook' to
12464 `dired-initial-position-hook'.
12465 (dired-file-name-at-point): Doc fix. (Bug#15329)
12466
12467 2013-12-20 Juri Linkov <juri@jurta.org>
12468
12469 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
12470 (read-regexp-suggestions): New function.
12471 (read-regexp): Use `read-regexp-defaults-function' to get default values.
12472 Use `read-regexp-suggestions'. Add non-empty default to history
12473 for empty input.
12474 (occur-read-regexp-defaults-function): Remove function.
12475 (occur-read-primary-args): Use `regexp-history-last' instead of
12476 `occur-read-regexp-defaults-function'.
12477
12478 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
12479 (hi-lock-line-face-buffer, hi-lock-face-buffer)
12480 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
12481 `hi-lock-read-regexp-defaults-function'. Doc fix.
12482 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
12483 with `find-tag-default-as-symbol-regexp'. Doc fix.
12484 (hi-lock-read-regexp-defaults): Remove function.
12485 (hi-lock-regexp-okay): Add check for null.
12486
12487 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
12488 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
12489
12490 * subr.el (find-tag-default-as-symbol-regexp): New function.
12491 (find-tag-default-as-regexp): Move symbol regexp formatting to
12492 `find-tag-default-as-symbol-regexp'.
12493
12494 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
12495
12496 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
12497 (Bug#14179)
12498
12499 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12500
12501 * calendar/todo-mode.el: New implementation of item insertion
12502 commands and key bindings.
12503 (todo-key-prompt): New face.
12504 (todo-insert-item): New command.
12505 (todo-insert-item--parameters): New defconst, replacing defvar
12506 todo-insertion-commands-args-genlist.
12507 (todo-insert-item--param-key-alist): New defconst, replacing
12508 defvar todo-insertion-commands-arg-key-list.
12509 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12510 (todo-insert-item--argsleft, todo-insert-item--apply-args)
12511 (todo-insert-item--next-param): New functions.
12512 (todo-insert-item--args, todo-insert-item--argleft)
12513 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
12514 New variables.
12515 (todo-key-bindings-t): Change binding of "i" from
12516 todo-insertion-map to todo-insert-item.
12517 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
12518 (todo-insertion-command-name, todo-insertion-commands-names)
12519 (todo-define-insertion-command, todo-insertion-commands)
12520 (todo-insertion-key-bindings, todo-insertion-map): Remove.
12521
12522 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12523
12524 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
12525 (todo-toggle-item-highlighting): Use eval-and-compile instead of
12526 eval-when-compile.
12527 (todo-move-category): Allow choosing a non-existing todo file to
12528 move the category to, and create that file.
12529 (todo-default-priority): New user option.
12530 (todo-set-item-priority): Use it.
12531 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
12532 (desktop-restore-file-buffer): Declare.
12533 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
12534 (todo-modes-set-2): Locally set desktop-save-buffer to
12535 todo-desktop-save-buffer.
12536 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
12537 (auto-mode-alist): Add autoload cookie.
12538
12539 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
12540
12541 * emacs-lisp/subr-x.el: Renamed from helpers.el.
12542 helpers.el was a poor choice of name.
12543 (string-remove-prefix): New function.
12544 (string-remove-suffix): New function.
12545
12546 2013-12-20 Martin Rudalics <rudalics@gmx.at>
12547
12548 Fix assignment for new window total sizes.
12549 * window.el (window--pixel-to-size): Remove function.
12550 (window--pixel-to-total-1, window--pixel-to-total):
12551 Fix calculation of new total sizes.
12552
12553 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
12554
12555 * comint.el (comint-output-filter): Fix rear-nonsticky property
12556 placement (Bug#16010).
12557
12558 2013-12-20 Chong Yidong <cyd@gnu.org>
12559
12560 * faces.el (read-color): Minor fix for completion function.
12561
12562 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
12563
12564 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
12565 New option. (Bug#16182)
12566 (ruby-smie--indent-to-stmt-p): Use it.
12567 (ruby-smie-rules): Revert the logic in the handling of `when'.
12568 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12569 (ruby-deep-arglist, ruby-deep-indent-paren)
12570 (ruby-deep-indent-paren-style): Update docstrings to note that the
12571 vars don't have any effect with SMIE.
12572
12573 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
12574
12575 * calc/calc.el (calc-enter, calc-pop): Use the variable
12576 `calc-context-sensitive-enter'.
12577
12578 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12579
12580 * net/shr.el (shr-insert): Protect against infloops in degenerate
12581 tables.
12582
12583 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12584
12585 * progmodes/octave.el (octave): Add link to manual and octave
12586 homepage.
12587 (octave-mode-menu): Link to octave-mode manual.
12588
12589 2013-12-20 Leo Liu <sdl.web@gmail.com>
12590
12591 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
12592 insertion using skeleton-end-newline. (Bug#16138)
12593
12594 2013-12-20 Juri Linkov <juri@jurta.org>
12595
12596 * replace.el (occur-engine): Use `add-face-text-property'
12597 to add the face property to matches and titles. (Bug#14645)
12598
12599 * hi-lock.el (hi-green): Use lighter color "light green" closer to
12600 the palette of other hi-lock colors.
12601 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
12602
12603 2013-12-19 Juri Linkov <juri@jurta.org>
12604
12605 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
12606 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
12607 (minibuffer-history-symbol): Move variable declaration closer to
12608 its usage.
12609
12610 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
12611 (Bug#14785)
12612
12613 2013-12-19 Juri Linkov <juri@jurta.org>
12614
12615 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
12616 New function.
12617 (log-edit-hook): Add it to :options. (Bug#16170)
12618
12619 2013-12-19 Juri Linkov <juri@jurta.org>
12620
12621 * simple.el (eval-expression-print-format): Don't check for
12622 command names and the last command. Always display additional
12623 formats of the integer result in the echo area, and insert them
12624 to the current buffer only with a zero prefix arg.
12625 Display character when char-displayable-p is non-nil.
12626 (eval-expression): With a zero prefix arg, set `print-length' and
12627 `print-level' to nil, and insert the integer values from
12628 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
12629
12630 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
12631 `eval-last-sexp-arg-internal'. Doc fix.
12632 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
12633 `eval-last-sexp-print-value'. Doc fix.
12634 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
12635 Set `print-length' and `print-level' to nil when arg is zero.
12636 (eval-last-sexp): Doc fix.
12637 (eval-defun-2): Print the integer values from
12638 `eval-expression-print-format' at the end.
12639
12640 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
12641 values from `eval-expression-print-format' at the end.
12642
12643 * ielm.el (ielm-eval-input): Print the integer
12644 values from `eval-expression-print-format' at the end.
12645
12646 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
12647
12648 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
12649 2013-12-11T19:01:44Z!tzz@lifelogs.com.
12650
12651 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
12654 (hl-line-highlight, global-hl-line-highlight): Use it.
12655 (hl-line-overlay): Use defvar-local.
12656
12657 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
12658
12659 * term/ns-win.el: Require dnd.
12660 (global-map): Remove drag items.
12661 (ns-insert-text, ns-set-foreground-at-mouse)
12662 (ns-set-background-at-mouse):
12663 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
12664 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
12665 New functions.
12666
12667 2013-12-19 Glenn Morris <rgm@gnu.org>
12668
12669 * emacs-lisp/ert.el (ert-select-tests):
12670 Fix string/symbol mixup. (Bug#16121)
12671
12672 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12673
12674 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
12675 keywords to their parent.
12676
12677 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12678
12679 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
12680 first arg to be a string (fixed dead code), or an operator symbol.
12681 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
12682 operator symbols.
12683 (ruby-smie-rules): Remove parent token check in the `.' clause, it
12684 did nothing. Don't respond to `(:after ".")', it will be called
12685 with :before anyway. Remove the ` @ ' rule, it didn't seem to
12686 change anything. Only return indentation for binary operators
12687 when they are hanging. De-dent opening paren when its parent is
12688 `.', otherwise it looks bad when the dot is not at bol or eol
12689 (bug#16182).
12690
12691 2013-12-19 Juri Linkov <juri@jurta.org>
12692
12693 * replace.el (query-replace-read-args): Split a non-negative arg
12694 and a negative arg into separate elements.
12695 (query-replace, query-replace-regexp, replace-string)
12696 (replace-regexp): Add arg `backward'. Doc fix.
12697 (replace-match-maybe-edit): When new arg `backward' is non-nil,
12698 move point to the beginning of the match.
12699 (replace-search, replace-highlight): Use new arg `backward'
12700 to set the value of `isearch-forward'.
12701 (perform-replace): Add arg `backward' and use it to perform
12702 replacement backward. (Bug#14979)
12703
12704 * isearch.el (isearch-query-replace): Use a negative prefix arg
12705 to call `perform-replace' with a non-nil arg `backward'.
12706
12707 2013-12-18 Juri Linkov <juri@jurta.org>
12708
12709 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
12710 to the default list. Move `log-edit-show-files' to the end.
12711 Add more available functions to options.
12712 (log-edit): Move default specific settings to
12713 `log-edit-insert-message-template'. Don't move point.
12714 (log-edit-insert-message-template): New function.
12715 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
12716 (Bug#16170)
12717
12718 2013-12-18 Juri Linkov <juri@jurta.org>
12719
12720 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
12721 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
12722
12723 2013-12-18 Leo Liu <sdl.web@gmail.com>
12724
12725 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
12726 (Bug#16186)
12727
12728 2013-12-18 Eli Zaretskii <eliz@gnu.org>
12729
12730 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
12731 formats for displaying file sizes when the -s switch is given.
12732 Instead, compute a separate format for displaying the size in
12733 blocks, which is displayed in addition to the "regular" size.
12734 When -h is given in addition to -s, produce size in blocks in
12735 human-readable form as well. (Bug#16179)
12736
12737 2013-12-18 Tassilo Horn <tsdh@gnu.org>
12738
12739 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12740 Reference tables with ~\ref{...} instead of only \ref{...}.
12741
12742 2013-12-18 Chong Yidong <cyd@gnu.org>
12743
12744 * cus-edit.el (custom-magic-alist): Fix "themed" description
12745 (Bug#14348).
12746
12747 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
12748 is non-nil, do not create a new entry in the symbol's theme-value
12749 or theme-face property; update theme-settings only (Bug#14664).
12750 (custom-available-themes): Doc fix.
12751
12752 * cus-theme.el (custom-new-theme-mode-map): Add bindings
12753 (Bug#15674).
12754
12755 * replace.el (occur-engine): Avoid infloop (Bug#7593).
12756
12757 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
12758
12759 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
12760 (Bug#13914).
12761
12762 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12763
12764 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
12765
12766 2013-12-18 Glenn Morris <rgm@gnu.org>
12767
12768 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
12769 * cus-start.el (load-prefer-newer): New option.
12770
12771 2013-12-18 Le Wang <l26wang@gmail.com>
12772
12773 * comint.el (comint-previous-matching-input-from-input):
12774 Retain point (Bug#13404).
12775
12776 2013-12-18 Chong Yidong <cyd@gnu.org>
12777
12778 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
12779
12780 2013-12-18 Glenn Morris <rgm@gnu.org>
12781
12782 * mail/emacsbug.el (report-emacs-bug):
12783 Only mention enable-multibyte-characters if non-standard.
12784
12785 2013-12-17 Juri Linkov <juri@jurta.org>
12786
12787 * arc-mode.el (archive-extract-by-file): Check if directory exists
12788 before deletion to not show irrelevant errors if it doesn't exist.
12789
12790 2013-12-17 Juri Linkov <juri@jurta.org>
12791
12792 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
12793 (Bug#14751)
12794
12795 * net/eww.el (browse-web): Add alias to `eww'.
12796 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
12797 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
12798
12799 * net/browse-url.el (browse-url-browser-function): Move `eww'
12800 closer to similar functions.
12801
12802 * startup.el (fancy-startup-screen, fancy-about-screen):
12803 Set browse-url-browser-function to eww-browse-url locally.
12804 (Bug#14751)
12805
12806 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * window.el (window--pixel-to-total): Remove unused `mini' var.
12809 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
12810 (split-window): Remove unused `new' var.
12811 (window--display-buffer): Remove unused `frame' and `delta' vars.
12812 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
12813 and display-width'.
12814
12815 2013-12-17 Martin Rudalics <rudalics@gmx.at>
12816
12817 * dired.el (dired-mark-pop-up):
12818 * register.el (register-preview): Don't bind
12819 split-height-threshold here since it's now done in
12820 display-buffer-below-selected.
12821
12822 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
12823
12824 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
12825 xterm-rgb-convert-to-16bit.
12826 (rxvt-register-default-colors): Standardize with
12827 xterm-register-default-colors (Bug#14078).
12828
12829 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
12830
12831 * simple.el (kill-region): Pass mark first, then point, so that
12832 kill-append works right (Bug#12819).
12833 (copy-region-as-kill, kill-ring-save): Likewise.
12834
12835 2013-12-17 Leo Liu <sdl.web@gmail.com>
12836
12837 * net/rcirc.el (rcirc-add-face):
12838 * eshell/em-prompt.el (eshell-emit-prompt):
12839 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
12840 (Bug#16167)
12841
12842 2013-12-17 Chong Yidong <cyd@gnu.org>
12843
12844 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
12845 Suggested by Xue Fuqiao.
12846
12847 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12848
12849 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
12850
12851 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * net/shr.el (shr-insert-document): Remove unused var
12854 `shr-preliminary-table-render'.
12855 (shr-rescale-image): Remove unused arg `force'.
12856 (shr-put-image): Update calls accordingly.
12857 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
12858
12859 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12860
12861 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
12862 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
12863 :close-all, to see which indentation method to use (Bug#16116).
12864 (smie-rules-function): Document the method :close-all.
12865
12866 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12867
12868 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
12869
12870 * net/eww.el (eww-display-html): If we can't find the anchor we're
12871 looking for, then go to point-min.
12872
12873 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
12874
12875 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
12876 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
12877 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
12878 Expand dir too, in case it's relative.
12879
12880 2013-12-16 Juri Linkov <juri@jurta.org>
12881
12882 * desktop.el (desktop-auto-save-timeout): Change default to
12883 `auto-save-timeout'. Doc fix.
12884 (desktop-save): Skip the timestamp in desktop-saved-frameset
12885 when checking for auto-save changes.
12886 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
12887 `desktop-auto-save' is called repeatedly by the idle timer.
12888 (desktop-auto-save-set-timer): Replace `run-with-timer' with
12889 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
12890 (Bug#15331)
12891
12892 2013-12-16 Juri Linkov <juri@jurta.org>
12893
12894 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
12895 (Bug#16035)
12896 (isearch-pre-command-hook): Check `this-command' for symbolp.
12897
12898 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
12901
12902 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
12903
12904 * progmodes/cfengine.el (cfengine3--current-word): Remove.
12905 (cfengine3--current-function): Bring in the current-function
12906 functionality from `cfengine3--current-word'.
12907 (cfengine3-completion-function): Bring in the
12908 bounds-of-current-word functionality from
12909 `cfengine3--current-word'.
12910
12911 2013-12-16 Martin Rudalics <rudalics@gmx.at>
12912
12913 * window.el (display-buffer-below-selected):
12914 Bind split-height-threshold to 0 as suggested by Juri Linkov.
12915
12916 2013-12-16 Leo Liu <sdl.web@gmail.com>
12917
12918 * progmodes/compile.el (compile-goto-error): Do not push-mark.
12919 Remove NOMSG arg and all uses changed.
12920
12921 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
12924 (cua--deactivate-rectangle): Don't deactivate the mark.
12925 (cua-set-rectangle-mark): Don't set mark-active since
12926 cua--activate-rectangle already does it for us.
12927 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
12928 non-rectangular region.
12929
12930 * emulation/cua-base.el (cua-repeat-replace-region):
12931 Use with-current-buffer.
12932
12933 * net/gnutls.el: Use cl-lib.
12934 (gnutls-negotiate): `mapcan' -> cl-mapcan.
12935
12936 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
12937
12938 * emacs-lisp/package.el (package-built-in-p): Support both
12939 built-in and the package.el converted package descriptions.
12940 (package-show-package-list): Allow keywords.
12941 (package-keyword-button-action): Use it instead of
12942 `finder-list-matches'.
12943 (package-menu-filter-interactive): Interactive filtering (by
12944 keyword) function.
12945 (package-menu--generate): Support keywords and change keymappings
12946 and headers when they are given.
12947 (package--has-keyword-p): Helper function.
12948 (package-menu--refresh): Use it.
12949 (package--mapc): Helper function.
12950 (package-all-keywords): Use it.
12951 (package-menu-mode-map): Set up menu items and keybindings to
12952 provide a filtering UI.
12953
12954 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
12955
12956 * net/gnutls.el (gnutls-verify-error): New defcustom to control
12957 the behavior when a certificate fails validation. Defaults to
12958 old behavior: never abort, just warn.
12959 (gnutls-negotiate): Use it.
12960
12961 2013-12-14 Martin Rudalics <rudalics@gmx.at>
12962
12963 * window.el (display-buffer-below-selected): Never split window
12964 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
12965
12966 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
12967
12968 * emacs-lisp/package.el (package--prepare-dependencies): New function.
12969 (package-buffer-info): Use it (bug#15108).
12970
12971 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * icomplete.el (icomplete-completions): Make sure the prefix is already
12974 displayed elsewhere before hiding it (bug#16219).
12975
12976 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
12977
12978 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
12979 open-paren tokens when preceded by a open-paren, too.
12980 (ruby-smie-rules): Handle virtual indentation after open-paren
12981 tokens specially. If there is code between it and eol, return the
12982 column where is starts (Bug#16118).
12983
12984 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
12985
12986 * progmodes/cfengine.el: Fix `add-hook' doc.
12987 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
12988 (cfengine3--current-word): Fix parameters.
12989 (cfengine3-make-syntax-cache): Simplify further.
12990 (cfengine3-completion-function, cfengine3--current-function):
12991 Use `assq' for symbols.
12992 (cfengine3--current-function): Fix `cfengine3--current-word' call.
12993
12994 2013-12-13 Glenn Morris <rgm@gnu.org>
12995
12996 * loadup.el (load-path): Warn if site-load or site-init changes it.
12997 No more need to reset it when bootstrapping.
12998
12999 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13000
13001 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
13002 locations for cf-promises.
13003 (cfengine-mode-syntax-functions-regex): New caching variable.
13004 (cfengine3-fallback-syntax): Fallback syntax for cases where
13005 cf-promises doesn't run.
13006 (cfengine3--current-word): Reimplement using
13007 `cfengine-mode-syntax-functions-regex'.
13008 (cfengine3-completion-function, cfengine3--current-function):
13009 Use `cfengine3-make-syntax-cache' directly.
13010 (cfengine3-clear-syntax-cache): New function.
13011 (cfengine3-make-syntax-cache): Simplify and create
13012 `cfengine-mode-syntax-functions-regex' on demand.
13013 (cfengine3-format-function-docstring): Don't call
13014 `cfengine3-make-syntax-cache' explicitly.
13015
13016 2013-12-13 Martin Rudalics <rudalics@gmx.at>
13017
13018 Fix windmove-find-other-window broken after pixelwise resizing
13019 (Bug#16017).
13020 * windmove.el (windmove-other-window-loc): Revert change from
13021 2013-12-04.
13022 (windmove-find-other-window): Call window-in-direction.
13023 * window.el (window-in-direction): New arguments SIGN, WRAP and
13024 MINI to emulate original windmove-find-other-window behavior.
13025
13026 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
13027
13028 * simple.el (blink-matching--overlay): New variable.
13029 (blink-matching-open): Instead of moving point, highlight the
13030 matching paren with an overlay
13031 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13032
13033 * faces.el (paren-showing-faces, show-paren-match)
13034 (show-paren-mismatch): Move from paren.el.
13035
13036 2013-12-13 Leo Liu <sdl.web@gmail.com>
13037
13038 * indent.el (indent-region): Disable progress reporter in
13039 minibuffer. (Bug#16108)
13040
13041 * bindings.el (visual-order-cursor-movement): Fix version.
13042
13043 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13044
13045 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13046 Also match after beginning of line.
13047 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13048 files. Thanks to Russell Sim. (Bug#15378)
13049
13050 2013-12-13 Juri Linkov <juri@jurta.org>
13051
13052 * simple.el <Keypad support>: Remove key bindings duplicated
13053 with bindings.el. (Bug#14397)
13054
13055 2013-12-13 Juri Linkov <juri@jurta.org>
13056
13057 * comint.el (comint-mode-map): Replace `delete-char' with
13058 `delete-forward-char'. (Bug#16109)
13059
13060 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13061
13062 * progmodes/python.el (python-indent-calculate-indentation):
13063 Fix de-denters cornercase. (Bug#15731)
13064
13065 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13068 (advice--make): Pay attention to `depth'.
13069 (advice--make-1): Don't autoload commands eagerly.
13070 * emacs-lisp/elp.el (elp-instrument-function):
13071 * emacs-lisp/trace.el (trace-function-internal):
13072 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13073
13074 * iswitchb.el (iswitchb-mode): Don't belittle ido.
13075
13076 2013-12-12 Eli Zaretskii <eliz@gnu.org>
13077
13078 * term/w32-win.el (w32-handle-dropped-file):
13079 * startup.el (normal-top-level):
13080 * net/browse-url.el (browse-url-file-url):
13081 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13082 decode file names using 'utf-8' rather than
13083 file-name-coding-system.
13084
13085 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13086
13087 * progmodes/python.el (python-indent-context)
13088 (python-indent-calculate-indentation): Fix auto-identation
13089 behavior for comment blocks. (Bug#15916)
13090
13091 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13092
13093 * progmodes/python.el (python-indent-calculate-indentation):
13094 When determining indentation, don't treat "return", "pass", etc., as
13095 operators when they are just string constituents. (Bug#15812)
13096
13097 2013-12-12 Juri Linkov <juri@jurta.org>
13098
13099 * uniquify.el (uniquify-buffer-name-style): Change default to
13100 `post-forward-angle-brackets'.
13101
13102 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13103 `uniquify'. Change default to `post-forward-angle-brackets'.
13104
13105 2013-12-11 Glenn Morris <rgm@gnu.org>
13106
13107 * emacs-lisp/package.el (finder-list-matches):
13108 Autoload rather than falsely declaring.
13109
13110 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
13111
13112 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13113 (eww-mode-map): Use them.
13114
13115 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13116
13117 * window.el (display-buffer-in-side-window): Fix doc-string
13118 (Bug#16115).
13119
13120 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13121
13122 * vc/vc-git.el: Silence byte-compiler warnings.
13123 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13124 (log-edit-set-header): Declare.
13125
13126 2013-12-11 Eli Zaretskii <eliz@gnu.org>
13127
13128 * Makefile.in (custom-deps, finder-data): Run output file names
13129 through unmsys--file-name. (Bug#16099)
13130
13131 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13134 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13135
13136 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13137 instead of deleting the selection "by hand" (bug#16098).
13138 Rely on insert-for-yank to yank rectangles.
13139 (cua-highlight-region-shift-only): Mark obsolete.
13140 (cua-mode): Don't enable/disable transient-mark-mode,
13141 shift-select-mode (cua-mode works both with and without them), and
13142 pc-selection-mode (obsolete).
13143 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13144 (cua--deactivate-rectangle): Deactivate it.
13145
13146 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13147 (delete-selection-helper): Make sure yank starts at the top of the
13148 deleted region.
13149 (minibuffer-keyboard-quit): Use region-active-p.
13150
13151 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13152
13153 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13154 to `delete' (bug#16109).
13155
13156 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13157
13158 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13159 info manual and show keybindings and set `:group' keyword.
13160
13161 2013-12-11 Juri Linkov <juri@jurta.org>
13162
13163 * delsel.el (delete-active-region): Let-bind `this-command'
13164 to prevent `kill-region' from changing its original value.
13165 (delete-selection-helper): Handle `overwrite-mode' for the type
13166 `kill' exactly the same way as for the type `t'.
13167 (insert-char, quoted-insert, reindent-then-newline-and-indent):
13168 Support more commands. (Bug#13312)
13169
13170 2013-12-11 Juri Linkov <juri@jurta.org>
13171
13172 * bindings.el: Map kp keys to non-kp keys systematically
13173 with basic modifiers control, meta and shift. (Bug#14397)
13174
13175 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13176
13177 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13178 "Close browser" menu items. Fix wrong function of "List
13179 bookmarks".
13180
13181 2013-12-11 Juri Linkov <juri@jurta.org>
13182
13183 * misearch.el (multi-isearch-buffers): Set the value of
13184 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13185 arg of isearch-forward to t.
13186 (multi-isearch-buffers-regexp): Set the value of
13187 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13188 arg of isearch-forward-regexp to t.
13189 (multi-isearch-files): Set the value of
13190 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13191 arg of isearch-forward to t.
13192 (multi-isearch-files-regexp): Set the value of
13193 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13194 arg of isearch-forward-regexp to t. (Bug#16035)
13195
13196 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13197 arg of isearch-forward to t.
13198 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13199 arg of isearch-forward-regexp to t.
13200 (dired-isearch-filter-filenames): Remove unnecessary check for
13201 `dired-isearch-filenames'.
13202
13203 * comint.el (comint-history-isearch-backward):
13204 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13205 (comint-history-isearch-backward-regexp):
13206 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13207
13208 2013-12-10 Eli Zaretskii <eliz@gnu.org>
13209
13210 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13211 unmsys--file-name. (Bug#16099)
13212
13213 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
13214
13215 * emacs-lisp/package.el (package-keyword-button-action):
13216 Remove finder.el require dependency.
13217
13218 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
13219
13220 * emacs-lisp/package.el: Require finder.el.
13221 (describe-package-1): Add keyword buttons.
13222 (package-make-button): New convenience function.
13223 (package-keyword-button-action): Keyword button action using
13224 `finder-list-matches'.
13225
13226 2013-12-09 Eli Zaretskii <eliz@gnu.org>
13227
13228 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13229 last commit.
13230
13231 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
13232
13233 * autorevert.el (auto-revert-notify-add-watch): Do not handle
13234 symlinked files.
13235
13236 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13237
13238 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13239 after the end of a percent literal.
13240
13241 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
13242
13243 * progmodes/ruby-mode.el (ruby-forward-string): Document.
13244 Handle caret-delimited strings (Bug#16079).
13245
13246 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13247
13248 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13249 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13250 `ruby-parse-partial' (Bug#16078).
13251
13252 2013-12-09 Leo Liu <sdl.web@gmail.com>
13253
13254 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
13255
13256 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
13257
13258 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13259 (js-switch-indent-offset): New option.
13260 (js--proper-indentation): Use it. And handle the case when
13261 "default" is actually a key in an object literal.
13262 (js--same-line): New function.
13263 (js--multi-line-declaration-indentation): Use it.
13264 (js--indent-in-array-comp, js--array-comp-indentation):
13265 New functions.
13266 (js--proper-indentation): Use them, to handle array comprehension
13267 continuations.
13268
13269 2013-12-08 Leo Liu <sdl.web@gmail.com>
13270
13271 * progmodes/flymake.el (flymake-highlight-line): Re-write.
13272 (flymake-make-overlay): Remove arg MOUSE-FACE.
13273 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13274
13275 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13276
13277 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13278 New function.
13279 (redisplay-highlight-region-function): Use it.
13280
13281 * emulation/cua-base.el (cua--explicit-region-start)
13282 (cua--last-region-shifted): Remove.
13283 (cua--deactivate): Use deactivate-mark.
13284 (cua--pre-command-handler-1): Don't handle shift-selection.
13285 (cua--post-command-handler-1): Don't change transient-mark-mode.
13286 (cua--select-keymaps): Use region-active-p rather than
13287 cua--explicit-region-start or cua--last-region-shifted.
13288 (cua-mode): Enable shift-select-mode.
13289
13290 2013-12-08 Leo Liu <sdl.web@gmail.com>
13291
13292 * progmodes/flymake.el (flymake-popup-current-error-menu):
13293 Rename from flymake-display-err-menu-for-current-line. Reimplement.
13294 (flymake-posn-at-point-as-event, flymake-popup-menu)
13295 (flymake-make-emacs-menu): Remove. (Bug#16077)
13296
13297 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * rect.el (rectangle-mark-mode): Activate mark even if
13300 transient-mark-mode is off (bug#16066).
13301 (rectangle--highlight-for-redisplay): Fix boundary condition when point
13302 is > mark and at bolp.
13303
13304 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
13305 (region-extract-function): Use it.
13306 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13307 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
13308 Delete functions.
13309 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
13310 kill-ring-save, kill-region, delete-char, delete-forward-char.
13311 Ignore self-insert-iso.
13312
13313 * emulation/cua-gmrk.el (cua--init-global-mark):
13314 Ignore `self-insert-iso'.
13315
13316 * emulation/cua-base.el (cua--prefix-copy-handler)
13317 (cua--prefix-cut-handler): Rely on region-extract-function rather than
13318 checking cua--rectangle.
13319 (cua-delete-region): Use region-extract-function.
13320 (cua-replace-region): Delete function.
13321 (cua-copy-region, cua-cut-region): Obey region-extract-function.
13322 (cua--pre-command-handler-1): Don't do the delete-selection thing.
13323 (cua--self-insert-char-p): Ignore `self-insert-iso'.
13324 (cua--init-keymaps): Don't remap delete-selection commands.
13325 (cua-mode): Use delete-selection-mode instead of rolling our own
13326 (bug#16085).
13327
13328 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
13329 Obey region-extract-function.
13330
13331 Make registers and delete-selection-mode work on rectangles.
13332 * register.el (describe-register-1): Don't modify the register's value.
13333 (copy-to-register): Obey region-extract-function.
13334 * delsel.el (delete-active-region): Obey region-extract-function.
13335
13336 2013-12-08 Leo Liu <sdl.web@gmail.com>
13337
13338 * progmodes/flymake.el (flymake, flymake-error-bitmap)
13339 (flymake-warning-bitmap, flymake-fringe-indicator-position)
13340 (flymake-compilation-prevents-syntax-check)
13341 (flymake-start-syntax-check-on-newline)
13342 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
13343 (flymake-start-syntax-check-on-find-file, flymake-log-level)
13344 (flymake-xml-program, flymake-master-file-dirs)
13345 (flymake-master-file-count-limit)
13346 (flymake-allowed-file-name-masks): Relocate.
13347 (flymake-makehash, flymake-float-time)
13348 (flymake-replace-regexp-in-string, flymake-split-string)
13349 (flymake-get-temp-dir): Remove.
13350 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
13351 (flymake-current-row, flymake-selected-frame)
13352 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
13353 related functions. (Bug#16077)
13354
13355 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
13356
13357 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
13358
13359 2013-12-07 Tassilo Horn <tsdh@gnu.org>
13360
13361 * help-fns.el (describe-function-1): Use new advice-* functions
13362 rather than old ad-* functions. Fix function type description and
13363 source links for advised functions and subrs.
13364
13365 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13366
13367 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
13368
13369 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
13370
13371 * progmodes/compile.el (compilation-start):
13372 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
13373
13374 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13375 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
13376
13377 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13378
13379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13380 Touch up the last change.
13381
13382 2013-12-06 Leo Liu <sdl.web@gmail.com>
13383
13384 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
13385 (inferior-octave-startup): Always use "octave> " for prompt.
13386 (octave-goto-function-definition)
13387 (octave-sync-function-file-names)
13388 (octave-find-definition-default-filename): Remove redundant backquotes.
13389
13390 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13391
13392 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
13393 syntax for `?'.
13394 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
13395 where appropriate already.
13396 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
13397 end of method names (Bug#15874).
13398
13399 2013-12-06 Juri Linkov <juri@jurta.org>
13400
13401 * isearch.el (isearch--saved-overriding-local-map):
13402 New internal variable.
13403 (isearch-mode): Set it to the initial value of
13404 `overriding-terminal-local-map'.
13405 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
13406 with `isearch--saved-overriding-local-map'. (Bug#16035)
13407
13408 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13409
13410 * progmodes/octave.el (inferior-octave-completion-table):
13411 Turn back into function, use `completion-table-with-cache'
13412 (Bug#11906). Update all references.
13413
13414 * minibuffer.el (completion-table-with-cache): New function.
13415
13416 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
13417
13418 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
13419
13420 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
13421
13422 * net/eww.el (eww-current-source): New variable to store page
13423 source.
13424 (eww-display-html, eww-mode, eww-save-history)
13425 (eww-restore-history): Use it.
13426 (eww-view-source): New command to view page source.
13427 Opportunistically uses `html-mode' to highlight the buffer.
13428 (eww-mode-map): Install it.
13429
13430 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
13431
13432 * net/dbus.el (dbus-unregister-service)
13433 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
13434 Fix docstring.
13435 (dbus-unregister-service): Skip :serial entries in
13436 `dbus-registered-objects-table'.
13437 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
13438
13439 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
13440
13441 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13442 around keywords with extra `split-string' argument.
13443
13444 2013-12-04 Martin Rudalics <rudalics@gmx.at>
13445
13446 * windmove.el (windmove-other-window-loc): Handle navigation
13447 between windows (excluding the minibuffer window - Bug#16017).
13448
13449 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
13450
13451 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
13452 in D-Bus type syntax.
13453 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
13454 preserve unibyte strings. (Bug#16048)
13455
13456 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13457
13458 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
13459 Call force-mode-line-update is the proper buffer (bug#16042).
13460
13461 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
13462
13463 * vc/log-edit.el (log-edit-add-new-comment): Rename to
13464 `log-edit-remember-comment', make argument optional. Adjust all
13465 callers.
13466 (log-edit-mode): Add `log-edit-remember-comment' to
13467 `kill-buffer-hook' locally.
13468 (log-edit-kill-buffer): Don't remember comment explicitly since
13469 the buffer is killed anyway.
13470
13471 2013-12-04 Juri Linkov <juri@jurta.org>
13472
13473 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
13474 add-hook and remove-hook for multi-buffer search. (Bug#16035)
13475
13476 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
13477
13478 * notifications.el (notifications-close-notification): Call the
13479 D-Bus method with ID being a `:uint32'. (Bug#16030)
13480
13481 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
13482
13483 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
13484
13485 2013-12-03 Juri Linkov <juri@jurta.org>
13486
13487 * progmodes/compile.el (compilation-start): Rename window alist
13488 entry `no-display-ok' to `allow-no-window'.
13489
13490 * simple.el (shell-command): Add window alist entry
13491 `allow-no-window' to `display-buffer'.
13492 (async-shell-command): Doc fix.
13493
13494 * window.el (display-buffer-no-window): New action function.
13495 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
13496
13497 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13498
13499 * vc/log-edit.el (log-edit-set-header): Extract from
13500 `log-edit-toggle-header'.
13501 (log-edit-extract-headers): Separate the summary, when extracted
13502 from header, from the rest of the message with an empty line.
13503
13504 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
13505 line, if present, to the Summary header.
13506
13507 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
13510 in current-buffer (bug#16029).
13511
13512 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
13513
13514 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
13515 (debugger-mode-map): Bind it.
13516 (debugger--backtrace-base): New function.
13517 (debugger-eval-expression): Use it.
13518 (debugger-frame-number): Skip local vars when present.
13519 (debugger--locals-visible-p, debugger--insert-locals)
13520 (debugger--show-locals, debugger--hide-locals): New functions.
13521
13522 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
13523
13524 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
13525 "LC_ALL".
13526 (tramp-get-remote-locale): New defun.
13527 (tramp-open-connection-setup-interactive-shell): Use it.
13528
13529 2013-12-02 Leo Liu <sdl.web@gmail.com>
13530
13531 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
13532
13533 * progmodes/sh-script.el (sh-shell-process):
13534 * progmodes/octave.el (inferior-octave-process-live-p):
13535 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
13536 (gdb-inferior-io-sentinel):
13537 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
13538
13539 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13540
13541 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
13542 `save-selected-window' to `log-edit-hide-buf'. This makes
13543 `log-edit-show-files' idempotent.
13544 (log-edit-show-files): Mark the new window as dedicated.
13545
13546 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13547
13548 * vc/log-edit.el (log-edit-mode-map): Add binding for
13549 `log-edit-kill-biffer'.
13550 (log-edit-hide-buf): Add a FIXME comment.
13551 (log-edit-add-new-comment): New function, extracted from
13552 `log-edit-done'.
13553 (log-edit-done, log-edit-add-to-changelog): Use it.
13554 (log-edit-kill-buffer): New command.
13555
13556 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13557
13558 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
13559 instead of killing the buffer.
13560
13561 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
13564
13565 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13566
13567 * net/eww.el (eww-form-checkbox-selected-symbol)
13568 (eww-form-checkbox-symbol): New customizable variable.
13569 (eww-form-checkbox, eww-toggle-checkbox):
13570 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
13571
13572 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
13573 (shr--get-media-pref, shr--extract-best-source): New function.
13574 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
13575 no :src tag was specified.
13576
13577 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
13578 (eww-render): Handle `eww-use-external-browser-for-content-type'.
13579 Use \\` to match beginning of string instead of ^.
13580 (eww-browse-with-external-browser): Provide optional URL parameter.
13581 (eww-render): Set `eww-current-title' back to "".
13582
13583 * net/shr.el (shr-tag-video): Display content for video if no
13584 poster is available.
13585 (shr-tag-audio): Add support for <audio> tag.
13586
13587 * net/eww.el (eww-text-input-types): New const.
13588 (eww-process-text-input): Treat input types in
13589 `eww-text-input-types' as text.
13590
13591 * net/shr.el (shr-tag-table): Fix comment typo.
13592
13593 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594
13595 * net/eww.el (eww-follow-link): New command to avoid reloading
13596 pages when we follow #target links (bug#15243).
13597 (eww-quit): Special mode buffers shouldn't query before exiting.
13598
13599 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13600
13601 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
13602 forms.
13603
13604 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13605
13606 * net/eww.el (eww-restore-history): Update the window title after
13607 moving in the history.
13608 (eww-current-dom): New variable used to save the current DOM.
13609
13610 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
13611
13612 * vc/log-edit.el (log-edit-mode-map): Add binding for
13613 `log-edit-beginning-of-line'.
13614 (log-edit-setup-add-author): New user option.
13615 (log-edit-beginning-of-line): New command.
13616 (log-edit): Move major mode call above the contents setup so that
13617 the local variable values are already applied.
13618 (log-edit): Only insert "Author: " when
13619 `log-edit-setup-add-author' is non-nil.
13620 (log-edit): When SETUP is non-nil, position point after ": "
13621 instead of point-min.
13622
13623 2013-12-01 Glenn Morris <rgm@gnu.org>
13624
13625 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
13626
13627 2013-11-30 Eli Zaretskii <eliz@gnu.org>
13628
13629 * startup.el (fancy-splash-frame): On MS-Windows, trigger
13630 redisplay to make sure the initial frame gets a chance to become
13631 visible. (Bug#16014)
13632
13633 2013-11-30 Martin Rudalics <rudalics@gmx.at>
13634
13635 Support resizing frames and windows pixelwise.
13636 * cus-start.el (frame-resize-pixelwise)
13637 (window-resize-pixelwise): New entries.
13638 * emacs-lisp/debug.el (debug): Use window-total-height instead
13639 of window-total-size.
13640 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
13641 * help.el (describe-bindings-internal): Use help-buffer as
13642 argument for with-help-window.
13643 (temp-buffer-max-width): New option.
13644 (resize-temp-buffer-window, help-window-setup)
13645 (with-help-window): Rewrite.
13646 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
13647 dragging dividers.
13648 * window.el (frame-char-size, window-min-pixel-height)
13649 (window-safe-min-pixel-height, window-safe-min-pixel-width)
13650 (window-min-pixel-width, window-safe-min-pixel-size)
13651 (window-combination-p, window-safe-min-size)
13652 (window-resizable-p, window--size-to-pixel)
13653 (window--pixel-to-size, window--resize-apply-p): New functions.
13654 (window-safe-min-height): Fix doc-string.
13655 (window-size, window-min-size, window--min-size-1)
13656 (window-sizable, window-sizable-p, window--min-delta-1)
13657 (window-min-delta, window--max-delta-1, window-max-delta)
13658 (window--resizable, window--resizable-p, window-resizable)
13659 (window-full-height-p, window-full-width-p, window-at-side-p)
13660 (window--in-direction-2, window-in-direction)
13661 (window--resize-reset-1, window--resize-mini-window)
13662 (window-resize, window-resize-no-error)
13663 (window--resize-child-windows-normal)
13664 (window--resize-child-windows, window--resize-siblings)
13665 (window--resize-this-window, window--resize-root-window)
13666 (window--resize-root-window-vertically)
13667 (adjust-window-trailing-edge, enlarge-window, shrink-window)
13668 (maximize-window, minimize-window, delete-window)
13669 (quit-restore-window, window-split-min-size, split-window)
13670 (balance-windows-2, balance-windows)
13671 (balance-windows-area-adjust, balance-windows-area)
13672 (window--state-get-1, window-state-get, window--state-put-1)
13673 (window--state-put-2, window-state-put)
13674 (display-buffer-record-window, window--display-buffer):
13675 Make functions handle pixelwise sizing of windows.
13676 (display-buffer--action-function-custom-type)
13677 (display-buffer-fallback-action):
13678 Add display-buffer-in-previous-window.
13679 (display-buffer-use-some-window): Resize window to height it had
13680 before.
13681 (fit-window-to-buffer-horizontally): New option.
13682 (fit-frame-to-buffer): Describe new values.
13683 (fit-frame-to-buffer-bottom-margin): Replace with
13684 fit-frame-to-buffer-margins.
13685 (window--sanitize-margin): New function.
13686 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
13687 using window-text-pixel-size.
13688
13689 2013-11-30 Glenn Morris <rgm@gnu.org>
13690
13691 * emacs-lisp/bytecomp.el (byte-compile-form):
13692 Make the `interactive-only' warning like the `obsolete' one.
13693 * comint.el (comint-run):
13694 * files.el (insert-file-literally, insert-file):
13695 * replace.el (replace-string, replace-regexp):
13696 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
13697 (goto-line, insert-buffer, next-line, previous-line):
13698 Tweak `interactive-only' spec.
13699
13700 Stop keeping (most) generated cedet grammar files in the repository.
13701 * Makefile.in (semantic): New.
13702 (compile-main): Depend on semantic.
13703
13704 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
13707 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
13708
13709 * uniquify.el (uniquify-buffer-name-style): Change default.
13710
13711 * loadup.el: Preload "uniquify".
13712
13713 * time.el (display-time-update): Update all mode lines (bug#15999).
13714
13715 * electric.el (electric-indent-mode): Enable by default.
13716 * loadup.el: Preload "electric".
13717
13718 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
13719
13720 * emacs-lisp/helpers.el (string-empty-p): New function.
13721 (string-blank-p): New function.
13722
13723 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
13724
13725 * imenu.el (imenu--index-alist): Add missing dot to the docstring
13726 (Bug#14029).
13727
13728 2013-11-29 Andreas Politz <politza@fh-trier.de>
13729 * imenu.el (imenu--subalist-p): Don't error on non-conses and
13730 allow non-lambda lists as functions.
13731 (imenu--in-alist): Don't recurse into non-subalists.
13732 (imenu): Don't pass function itself as an argument (Bug#14029).
13733
13734 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13735
13736 * progmodes/python.el (python-mode-map): Remove binding for ":".
13737 (python-indent-electric-colon): Remove command.
13738 (python-indent-post-self-insert-function): Integrate the previous code
13739 of python-indent-electric-colon. Make it conditional on
13740 electric-indent-mode.
13741 (python-mode): Add ?: to electric-indent-chars.
13742 Move python-indent-post-self-insert-function to the end of
13743 post-self-insert-hook.
13744
13745 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * doc-view.el (doc-view-goto-page): Update mode-line.
13748
13749 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
13750
13751 2013-11-27 Glenn Morris <rgm@gnu.org>
13752
13753 * international/charprop.el, international/uni-bidi.el:
13754 * international/uni-category.el, international/uni-combining.el:
13755 * international/uni-comment.el, international/uni-decimal.el:
13756 * international/uni-decomposition.el, international/uni-digit.el:
13757 * international/uni-lowercase.el, international/uni-mirrored.el:
13758 * international/uni-name.el, international/uni-numeric.el:
13759 * international/uni-old-name.el, international/uni-titlecase.el:
13760 * international/uni-uppercase.el:
13761 Remove generated files from VCS repository.
13762
13763 2013-11-27 Eli Zaretskii <eliz@gnu.org>
13764
13765 * filenotify.el (file-notify-add-watch): Don't special-case
13766 w32notify when computing the directory to watch.
13767
13768 2013-11-27 Glenn Morris <rgm@gnu.org>
13769
13770 Make bootstrap without generated uni-*.el files possible again.
13771 * loadup.el: Update command-line-args checking for unidata-gen.
13772 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
13773 * composite.el, international/characters.el:
13774 Handle unicode tables being undefined.
13775
13776 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
13777 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
13778 (compile-main): Depend on leim rule.
13779 (leim): New rule.
13780 * loadup.el: Move leim-list.el to leim/ subdirectory.
13781 * startup.el (normal-top-level): No more leim directory.
13782 * international/ja-dic-cnv.el (skkdic-convert):
13783 Disable version-control and autoloads in output files.
13784 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
13785 Disable version-control and autoloads in output files.
13786 * leim/quail: Move here from ../leim.
13787 * leim/quail/hangul.el (hangul-input-method-activate):
13788 Add autoload cookie.
13789 (generated-autoload-load-name): Set file-local value.
13790 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
13791 (generated-autoload-load-name): Set file-local value.
13792
13793 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
13794
13795 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
13796 (eww-add-bookmark): Ask confirmation when add to bookmarks.
13797 (eww-quit): Ask confirmation before quitting eww.
13798
13799 2013-11-26 Eli Zaretskii <eliz@gnu.org>
13800
13801 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
13802 reading output from Diff on MS-Windows and MS-DOS.
13803
13804 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
13805
13806 * emacs-lisp/helpers.el (string-reverse): New function.
13807
13808 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
13809
13810 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
13811 names on MS Windows, like "/[::1]:".
13812
13813 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
13814 SWITCHES.
13815
13816 2013-11-26 Glenn Morris <rgm@gnu.org>
13817
13818 * progmodes/python.el (python-indent-guess-indent-offset):
13819 Avoid corner-case error. (Bug#15975)
13820
13821 Preload leim-list.el. (Bug#4789)
13822 * loadup.el: Load leim-list.el when found.
13823 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
13824
13825 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
13826
13827 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
13828
13829 * emacs-lisp/helpers.el (string-join): New function.
13830
13831 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
13832
13833 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13834 Mark as obsolete and replace it with a symbol property.
13835 (byte-compile-form): Use new 'interactive-only property.
13836 * comint.el, files.el, replace.el, simple.el:
13837 Apply new 'interactive-only properly.
13838
13839 2013-11-25 Martin Rudalics <rudalics@gmx.at>
13840
13841 * window.el (display-buffer-at-bottom): Make sure that
13842 split-window-sensibly creates the new window on bottom
13843 (Bug#15961).
13844
13845 2013-11-23 David Kastrup <dak@gnu.org>
13846
13847 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
13848 on the conflict markers when available.
13849 (smerge--get-marker): New function.
13850 (smerge-end-re, smerge-base-re): Add subgroup.
13851
13852 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * frame.el (handle-focus-in, handle-focus-out): Add missing
13855 interactive spec.
13856
13857 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
13858
13859 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
13860 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
13861
13862 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13863
13864 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
13865 (gomoku--last-pos): New var.
13866 (gomoku--intangible-chars): New const.
13867 (gomoku--intangible): New function.
13868 (gomoku-mode): Use it. Derive from special-mode.
13869 (gomoku-move-up): Adjust line count.
13870 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
13871 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
13872 Simplify accordingly.
13873
13874 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
13875 Remove blink-cursor code.
13876 (blink-cursor-timer-function, blink-cursor-suspend):
13877 Don't special-case GUIs.
13878 (blink-cursor-mode): Use focus-in/out-hook.
13879
13880 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
13881
13882 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
13883 work when annotation is invisible (Bug#13886).
13884
13885 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
13886
13887 * json.el (json-alist-p): Only return non-nil if the alist has
13888 simple keys (Bug#13518).
13889
13890 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
13891
13892 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
13893 when control-statement is the first statement in a buffer (Bug#15956).
13894
13895 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
13896
13897 * imenu.el (imenu-generic-skip-comments-and-strings):
13898 New option (Bug#15560).
13899 (imenu--generic-function): Use it.
13900
13901 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
13902
13903 * minibuffer.el (completion--in-region-1): Scroll the correct window.
13904 (Bug#13898)
13905
13906 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
13907
13908 * emacs-lisp/helpers.el: Add some string helpers.
13909 (string-trim-left): Removes leading whitespace.
13910 (string-trim-right): Removes trailing whitespace.
13911 (string-trim): Removes leading and trailing whitespace.
13912
13913 * subr.el (string-suffix-p): New function.
13914
13915 2013-11-23 Glenn Morris <rgm@gnu.org>
13916
13917 * progmodes/python.el (python-shell-send-file):
13918 Add option to delete file when done. (Bug#15647)
13919 (python-shell-send-string, python-shell-send-region): Use it.
13920
13921 2013-11-23 Ivan Shmakov <ivan@siamics.net>
13922
13923 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
13924 to set buffer-read-only to t, never to nil. (Bug#15938)
13925
13926 * textmodes/tex-mode.el (latex-noindent-environments):
13927 Add safe-local-variable property. (Bug#15936)
13928
13929 2013-11-23 Glenn Morris <rgm@gnu.org>
13930
13931 * textmodes/enriched.el (enriched-mode): Doc fix.
13932 * emacs-lisp/authors.el (authors-renamed-files-alist):
13933 Add enriched.doc -> enriched.txt.
13934
13935 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
13936
13937 2013-11-22 Leo Liu <sdl.web@gmail.com>
13938
13939 * progmodes/octave.el (inferior-octave-startup): Spit out error
13940 message.
13941
13942 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
13943
13944 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
13945 Improve docstring.
13946 Add :version.
13947 (ruby-encoding-magic-comment-style): Add :version.
13948
13949 2013-11-22 Leo Liu <sdl.web@gmail.com>
13950
13951 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
13952 (Bug#15076)
13953 (octave-help-mode): Adapt to change to help-mode-finish to use
13954 derived-mode-p on 2013-09-17.
13955 (inferior-octave-prompt): Also match octave-gui.
13956 (octave-kill-process): Don't ask twice. (Bug#10564)
13957
13958 2013-11-22 Leo Liu <sdl.web@gmail.com>
13959
13960 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
13961 (inferior-octave-startup, inferior-octave-check-process)
13962 (inferior-octave-track-window-width-change)
13963 (octave-completion-at-point, octave-eldoc-function): Use it.
13964 (octave-kill-process): Provide confirmation. (Bug#10564)
13965
13966 2013-11-21 Leo Liu <sdl.web@gmail.com>
13967
13968 * progmodes/octave.el (octave-mode, inferior-octave-mode):
13969 Fix obsolete variable comment-use-global-state.
13970
13971 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13972
13973 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
13974 Add `octave-source-file'.
13975 (octave-source-file): New function. (Bug#15935)
13976
13977 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
13978
13979 * net/eww.el (eww-local-regex): New variable.
13980 (eww): Use it to detect localhost and similar.
13981
13982 2013-11-21 Leo Liu <sdl.web@gmail.com>
13983
13984 Add completion for command `ag'.
13985 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
13986 (pcomplete/ag): New function.
13987 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
13988
13989 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
13992 (bug#14646).
13993 (make-obsolete): Remove interactive spec.
13994
13995 2013-11-21 Glenn Morris <rgm@gnu.org>
13996
13997 * startup.el (command-line-1): Use path-separator with -L.
13998
13999 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
14000
14001 * emacs-lisp/package.el (describe-package-1): Add package archive
14002 to shown fields.
14003
14004 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
14005
14006 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14007 Change default to "# encoding: %s" to differentiate it from the
14008 default Ruby encoding comment template.
14009
14010 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
14011
14012 * ses.el (ses-mode): Doc fix. (Bug#14748)
14013
14014 2013-11-20 Leo Liu <sdl.web@gmail.com>
14015
14016 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
14017
14018 2013-11-19 Dan Nicolaescu <dann@gnu.org>
14019
14020 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14021 when rebase or bisect are in progress.
14022
14023 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
14024
14025 * filenotify.el (file-notify-add-watch): Doc fix.
14026
14027 2013-11-19 Leo Liu <sdl.web@gmail.com>
14028
14029 * obsolete/rcompile.el: Mark obsolete.
14030
14031 * progmodes/compile.el (compilation-start)
14032 (compilation-goto-locus, compilation-find-file):
14033 Pass no-display-ok and handle nil value from display-buffer.
14034 (Bug#13594)
14035
14036 * window.el (display-buffer-alist, display-buffer): Document the
14037 new parameter no-display-ok. Return either a window or nil
14038 but never a non-window value.
14039
14040 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * electric.el (electric-indent-mode-map): Remove.
14043 (electric-indent-mode): Change the global-map instead (bug#15915).
14044
14045 * textmodes/text-mode.el (paragraph-indent-minor-mode):
14046 Use add-function.
14047
14048 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
14049
14050 * emacs-lisp/nadvice.el (remove-function): Align with
14051 add-function's behavior.
14052
14053 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14054 (gdb--string-regexp): New constant.
14055 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14056 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14057 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14058 submatch 1.
14059 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14060 Adjust use accordingly.
14061 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14062
14063 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
14064
14065 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14066 interpolation curlies (Bug#15914).
14067
14068 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
14069
14070 * calc/calc.el (calc-context-sensitive-enter): New variable.
14071 (calc-enter): Use `calc-context-sensitive-enter'.
14072
14073 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
14074
14075 * progmodes/cfengine.el: Version bump.
14076 (cfengine-cf-promises): New defcustom to locate cf-promises.
14077 (cfengine3-vartypes): Add new "data" type.
14078 (cfengine3--current-word): New function to get current name-like
14079 word or its bounds.
14080 (cfengine3--current-function): New function to look up a CFEngine
14081 function's definition.
14082 (cfengine3-format-function-docstring): New function.
14083 (cfengine3-make-syntax-cache): New function.
14084 (cfengine3-documentation-function): New function: ElDoc glue.
14085 (cfengine3-completion-function): New function: completion glue.
14086 (cfengine3-mode): Set `compile-command',
14087 `eldoc-documentation-function', and add to
14088 `completion-at-point-functions'.
14089
14090 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
14091
14092 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14093 `tramp-current-connection'.
14094
14095 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
14096
14097 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14098 nil/self/true/false with "end of symbol".
14099
14100 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
14101
14102 * subr.el (version-regexp-alist): Fix a typo.
14103
14104 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
14105
14106 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14107 "en_US.utf8" and "LC_CTYPE" to "".
14108 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14109 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14110
14111 2013-11-15 Leo Liu <sdl.web@gmail.com>
14112
14113 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
14114
14115 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14116
14117 * progmodes/gud.el (ctl-x-map):
14118 Remove C-x SPC binding. (Bug#12342)
14119 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14120
14121 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
14122
14123 * subr.el (version-regexp-alist):
14124 Recognize hg, svn and darcs versions as snapshot versions.
14125
14126 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14127 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14128 (ruby--encoding-comment-required-p): Extract from
14129 `ruby-mode-set-encoding'.
14130 (ruby-mode-set-encoding): Add the ability to always insert an
14131 utf-8 encoding comment. Fix and simplify coding comment update
14132 logic.
14133
14134 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
14135
14136 * net/tramp-gvfs.el (top): Run init code only when
14137 `tramp-gvfs-enabled' is not nil.
14138 (tramp-gvfs-enabled): Check also :system bus.
14139
14140 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 Sync with upstream verilog-mode revision 78e66ba.
14143 * progmodes/verilog-mode.el (verilog-end-of-defun)
14144 (verilog-type-completion, verilog-get-list): Remove unused funcs.
14145 (verilog-get-end-of-defun): Remove unused argument.
14146 (verilog-comment-depth): Remove unused local `e'.
14147 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14148 Don't pass arg to verilog-get-end-of-defun.
14149
14150 2013-11-14 Glenn Morris <rgm@gnu.org>
14151
14152 * obsolete/assoc.el (aget): Prefix dynamic variable.
14153
14154 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14155
14156 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14157
14158 * widget.el, hfy-cmap.el: Remove bogus package version number.
14159
14160 2013-11-13 Glenn Morris <rgm@gnu.org>
14161
14162 * replace.el (replace-eval-replacement):
14163 Try to give more helpful error message. (Bug#15836)
14164
14165 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14166 (archive-7z-update): Avoid custom type mismatches.
14167
14168 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14169
14170 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
14171
14172 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14173 address can be empty.
14174
14175 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14176 Accept nil SWITCHES.
14177 (tramp-gvfs-handle-write-region): Implement APPEND.
14178
14179 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
14180
14181 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14182 binary "|" operator and closing block args delimiter.
14183 Remove FIXME comment referring to Ruby 1.8-only syntax.
14184 (ruby-smie--implicit-semi-p): Not after "|" operator.
14185 (ruby-smie--closing-pipe-p): New function.
14186 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14187 (ruby-smie-rules): Indent after "|".
14188
14189 2013-11-12 Glenn Morris <rgm@gnu.org>
14190
14191 * ps-print.el (ps-face-attribute-list):
14192 Handle anonymous faces. (Bug#15827)
14193
14194 2013-11-12 Martin Rudalics <rudalics@gmx.at>
14195
14196 * window.el (display-buffer-other-frame): Fix doc-string.
14197 (Bug#15868)
14198
14199 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * subr.el (force-mode-line-update): Delete, move to buffer.c.
14202
14203 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
14204
14205 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14206 (tramp-sh-handle-file-local-copy): Don't write a message when
14207 saving temporary files.
14208
14209 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14210 both directories are remote.
14211 (tramp-smb-handle-directory-files): Do not return double entries.
14212 Do not expand full file names.
14213 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14214 (tramp-smb-handle-write-region): Implement APPEND.
14215 (tramp-smb-get-stat-capability): Fix a stupid bug.
14216
14217 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14218
14219 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14220
14221 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14222
14223 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14224 throwing error over malformed let/let* (bug#15814).
14225
14226 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * iswitchb.el (iswitchb-mode): Mark obsolete.
14229
14230 2013-11-11 Glenn Morris <rgm@gnu.org>
14231
14232 * international/uni-bidi.el, international/uni-category.el:
14233 * international/uni-name.el, international/uni-numeric.el:
14234 Regenerate for Unicode 6.3.0.
14235
14236 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
14237
14238 * net/tramp.el (tramp-methods):
14239 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14240 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14241
14242 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14245 Force highlighting text after Summary keyword in doc face for rpm.
14246
14247 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
14248
14249 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14250 available and the word has no wildcards, append one to the grep pattern.
14251 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14252 (ispell-complete-word): Call `ispell-lookup-words' with the value
14253 independent of `ispell-look-p'.
14254
14255 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14256
14257 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14258 Not after "||".
14259 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14260 their parent.
14261
14262 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
14265 (ruby-font-lock-keywords): Use backquote.
14266
14267 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14268
14269 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14270 (ruby-smie--backward-token): Only consider full-string matches.
14271
14272 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
14273
14274 * faces.el (describe-face): Add distant-foreground.
14275
14276 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
14277
14278 * progmodes/ruby-mode.el: Improve encoding comment handling.
14279 (ruby-encoding-magic-comment-style): New option.
14280 (ruby-custom-encoding-magic-comment-template): New option.
14281 (ruby--insert-coding-comment, ruby--detect-encoding):
14282 New functions extracted from `ruby-mode-set-encoding'.
14283 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14284 to control the style of the auto-inserted encoding comment.
14285
14286 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14287
14288 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14289 Use `smie-backward-sexp' with token argument.
14290
14291 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
14292
14293 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14294 Remove instrumentation code.
14295
14296 2013-11-08 Glenn Morris <rgm@gnu.org>
14297
14298 * progmodes/autoconf.el (autoconf-mode):
14299 Tweak comment-start-skip. (Bug#15822)
14300
14301 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
14304 at bobp (bug#15826).
14305 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
14306
14307 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
14308
14309 * man.el (Man-start-calling): New macro, extracted from
14310 Man-getpage-in-background.
14311 (Man-getpage-in-background): Use it.
14312 (Man-update-manpage): New command.
14313 (Man-mode-map): Bind it.
14314
14315 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14316
14317 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
14318 of "and", "or", "&&" and "||".
14319 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14320 argument. Prohibit opening curly brace because it could only be a
14321 block opener in that position.
14322 (ruby-smie--forward-token, ruby-smie--backward-token):
14323 Separate "|" from "&" or "*" going after it. That can happen in block
14324 arguments.
14325 (ruby-smie--indent-to-stmt): New function, seeks the end of
14326 previous statement or beginning of buffer.
14327 (ruby-smie-rules): Use it.
14328 (ruby-smie-rules): Check if there's a ":" before a curly block
14329 opener candidate; if there is, it's a hash.
14330
14331 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14332
14333 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
14334 (cl--block-wrapper): Fix last accidental change.
14335
14336 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
14337
14338 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14339 Instrument, in order to hunt failure on hydra.
14340
14341 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14342
14343 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
14344 malformed bindings form (bug#15814).
14345
14346 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
14347
14348 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
14349 "." compared to " @ ". This incidentally fixes some indentation
14350 examples with "do".
14351 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
14352 (ruby-smie-grammar): New tokens: "and" and "or".
14353 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
14354 Exclude "and" and "or". Remove "do" in order to work around token
14355 priorities.
14356 (ruby-smie-rules): Add all infix tokens. Handle the case of
14357 beginning-of-buffer.
14358
14359 2013-11-06 Glenn Morris <rgm@gnu.org>
14360
14361 * Makefile.in (setwins_almost, setwins_for_subdirs):
14362 Avoid accidental matches.
14363
14364 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14365
14366 * menu-bar.el (popup-menu): Use key-binding.
14367
14368 2013-11-06 Eli Zaretskii <eliz@gnu.org>
14369
14370 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
14371 menus, support also the menus produced by minor modes.
14372 (Bug#15817)
14373
14374 2013-11-06 Leo Liu <sdl.web@gmail.com>
14375
14376 * thingatpt.el (thing-at-point-looking-at): Add optional arg
14377 DISTANCE to bound the search. All uses changed. (Bug#15808)
14378
14379 2013-11-06 Glenn Morris <rgm@gnu.org>
14380
14381 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
14382 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
14383 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
14384
14385 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * electric.el (electric-indent-just-newline): New command.
14388 (electric-indent-mode-map): New keymap.
14389 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
14390 Re-add :group which weren't redundant.
14391
14392 * electric.el (electric-indent-local-mode): New minor mode.
14393 (electric-indent-functions-without-reindent): New var.
14394 (electric-indent-post-self-insert-function): Use it.
14395 * emacs-lisp/gv.el (buffer-local-value): Add setter.
14396
14397 2013-11-05 Eli Zaretskii <eliz@gnu.org>
14398
14399 * international/quail.el (quail-help): Be more explicit about the
14400 meaning of the labels shown on the keys. (Bug#15800)
14401
14402 * startup.el (normal-top-level): Load the subdirs.el files before
14403 setting the locale environment. (Bug#15805)
14404
14405 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14406
14407 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
14408 via arguments so as to get the right ones (bug#15418).
14409
14410 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
14411
14412 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
14413
14414 Fix problems found while writing a test suite.
14415
14416 * net/tramp-compat.el (tramp-compat-load): New defun.
14417 * net/tramp.el (tramp-handle-load): Use it.
14418
14419 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
14420 "(numberp ok-if-already-exists)" correctly.
14421
14422 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
14423
14424 * international/characters.el (glyphless-char-display-control):
14425 Add usage note.
14426
14427 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
14428
14429 * progmodes/python.el (python-mode):
14430 * progmodes/scheme.el (scheme-mode):
14431 * progmodes/prolog.el (prolog-mode):
14432 * progmodes/ruby-mode.el (ruby-mode):
14433 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
14434 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
14435
14436 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14437
14438 * rect.el (rectangle--highlight-for-redisplay):
14439 * emacs-lisp/smie.el (smie--next-indent-change):
14440 Use buffer-chars-modified-tick.
14441
14442 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
14443
14444 * electric.el (electric-indent-post-self-insert-function):
14445 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
14446
14447 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
14448
14449 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
14450
14451 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14452
14453 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
14454 (bug#15786).
14455
14456 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14457
14458 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
14459
14460 * progmodes/python.el: Fix up last change.
14461 (python-shell--save-temp-file): New function.
14462 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
14463 `string' comes from the current buffer.
14464 (python-shell-send-string-no-output): Remove `msg' arg.
14465 (python--use-fake-loc): New var.
14466 (python-shell-buffer-substring): Obey it. Try to compensate for the
14467 extra coding line added by python-shell--save-temp-file.
14468 (python-shell-send-region): Use python-shell--save-temp-file and
14469 python-shell-send-file directly. Add `nomain' argument.
14470 (python-shell-send-buffer): Use python-shell-send-region.
14471 (python-electric-pair-string-delimiter): New function.
14472 (python-mode): Use it.
14473
14474 2013-11-04 Eli Zaretskii <eliz@gnu.org>
14475
14476 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
14477 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
14478 environment and decoding all of the default-directory's to here
14479 from command-line.
14480 (command-line): Decode also argv[0].
14481
14482 * loadup.el: Error out if default-directory is a multibyte string
14483 when we are dumping.
14484
14485 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
14486
14487 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
14488
14489 * emacs-lisp/package.el (package-menu-mode)
14490 (package-menu--print-info, package-menu--archive-predicate):
14491 Add Archive column to package list.
14492
14493 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
14494
14495 Fix problems found while writing a test suite.
14496
14497 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
14498 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
14499 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14500 to nil when running original file name handler. Otherwise,
14501 there are problems with constructs like "$$FOO".
14502
14503 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
14504 for `localname'.
14505
14506 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
14507
14508 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
14509
14510 * subr.el (version<, version<=, version=):
14511 Update docstrings with information for snapshot versions.
14512
14513 * helpers.el: New library for misc helper functions.
14514 (hash-table-keys): New function returning a list of hash keys.
14515 (hash-table-values): New function returning a list of hash values.
14516
14517 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
14518
14519 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14520 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
14521
14522 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
14523
14524 * textmodes/fill.el (fill-single-char-nobreak-p): New function
14525 checking whether point is after a 1-letter word.
14526
14527 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14528
14529 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
14530 Don't infloop when expanding region over `multiline' syntax-type that
14531 begins a line (bug#15778).
14532
14533 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
14536 Make it into a proper minor mode.
14537 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
14538 (rectangle-mark-mode-map): New keymap.
14539 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
14540
14541 2013-11-04 Glenn Morris <rgm@gnu.org>
14542
14543 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
14544
14545 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14546
14547 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
14548 (ruby-smie-rules): Use smie-rule-parent instead.
14549
14550 * emacs-lisp/smie.el (smie-rule-parent): Always call
14551 smie-indent-virtual rather than only for hanging tokens.
14552 (smie--next-indent-change): New helper command.
14553
14554 2013-11-03 Glenn Morris <rgm@gnu.org>
14555
14556 * Makefile.in (abs_srcdir): Remove.
14557 (emacs): Unset EMACSLOADPATH.
14558
14559 2013-11-02 Glenn Morris <rgm@gnu.org>
14560
14561 * Makefile.in (EMACS): Use a relative filename.
14562 (abs_top_builddir): Remove.
14563 (custom-deps, finder-data, autoloads): Use --chdir.
14564
14565 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
14566
14567 Use relative filenames in TAGS files.
14568 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14569 (lisptagsfiles4, TAGS): Use relative file names.
14570 (TAGS-LISP): Remove.
14571 (maintainer-clean): No more TAGS-LISP file.
14572
14573 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14574 (lisptagsfiles4): Use absolute filenames again.
14575 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14576 Remove all *loaddefs files, not just the first. Remove esh-groups.
14577 (maintainer-clean): Delete TAGS, TAGS-LISP.
14578
14579 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14580
14581 * emacs-lisp/package.el (package-version-join):
14582 Recognize snapshot versions.
14583
14584 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14585
14586 * subr.el (version-regexp-alist): Add support for snapshot versions.
14587
14588 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14589
14590 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
14591 New function, replacement for `smie-rule-parent' for when we want to
14592 skip over our direct parent if it's an assignment token..
14593 (ruby-smie-rules): Use it.
14594
14595 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14596
14597 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
14598 unconditionally. Remove now unnecessary forward declarations.
14599 Remove XEmacs-specific setup.
14600 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
14601 (ruby-font-lock-syntactic-keywords)
14602 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
14603 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
14604 (ruby-here-doc-end-syntax): Remove.
14605 (ruby-mode): Don't check whether `syntax-propertize-rules' is
14606 defined as function.
14607
14608 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14609
14610 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
14611
14612 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14613
14614 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
14615 table and abbrev table, `define-derived-mode' does that for us
14616 anyway.
14617
14618 2013-11-01 Glenn Morris <rgm@gnu.org>
14619
14620 * Makefile.in: Remove manual mh-e dependencies (writing .elc
14621 files is atomic for some time, so no parallel compilation issues).
14622
14623 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
14624
14625 * faces.el (face-x-resources): Add :distant-foreground.
14626 (region): Use :distant-foreground for gtk and ns.
14627
14628 2013-11-01 Tassilo Horn <tsdh@gnu.org>
14629
14630 Allow multiple bibliographies when BibLaTeX is used rather than
14631 BibTeX.
14632 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
14633 (reftex-locate-bibliography-files): Us it.
14634
14635 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
14636
14637 * image.el (image-type-header-regexps): Fix the 'pbm' part to
14638 allow comments in pbm files.
14639
14640 * term/w32-win.el (dynamic-library-alist): Support newer versions
14641 of libjpeg starting with v7: look only for the DLL from the
14642 version against which Emacs was built.
14643 Support versions of libpng beyond 1.4.x.
14644 Support libtiff v4.x.
14645
14646 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14647
14648 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
14649 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
14650 Add property :safe.
14651 (ruby-deep-arglist): Add property :type.
14652
14653 2013-10-31 Glenn Morris <rgm@gnu.org>
14654
14655 * Makefile.in (custom-deps, finder-data): No need to setq the target
14656 variables, we are in the right directory and the defaults work fine.
14657
14658 2013-10-30 Glenn Morris <rgm@gnu.org>
14659
14660 * Makefile.in (autoloads): Do not use abs_lisp.
14661
14662 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14663 `newline' does not respect `standard-output', so use `princ'.
14664
14665 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
14666
14667 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
14668 * buff-menu.el (Buffer-menu--unmark): New function.
14669 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14670
14671 2013-10-30 Glenn Morris <rgm@gnu.org>
14672
14673 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
14674
14675 * emacs-lisp/package.el (lm-homepage): Declare.
14676
14677 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
14678 Fix doc typos.
14679
14680 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
14681
14682 * Makefile.in (finder-data, autoloads, update-subdirs)
14683 (compile-main, compile-clean, compile-always, bootstrap-clean):
14684 Check return value of cd.
14685 (compile-calc): Remove.
14686
14687 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
14690
14691 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
14692 (byte-compile-and-folded): New function.
14693 (=, <, >, <=, >=): Use it.
14694
14695 * dos-w32.el (minibuffer-history-case-insensitive-variables)
14696 (path-separator, null-device, buffer-file-coding-system)
14697 (lpr-headers-switches): Check system-type before modifying them.
14698 (find-buffer-file-type-coding-system): Mark obsolete.
14699 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
14700 find-file-not-found-set-buffer-file-coding-system.
14701 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
14702 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
14703 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
14704 (w32-direct-print-region-helper, w32-direct-print-region-function)
14705 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
14706 * startup.el (normal-top-level-add-subdirs-to-load-path):
14707 * ps-print.el (ps-print-region-function):
14708 * lpr.el (print-region-function): Use new name.
14709
14710 * subr.el (custom-declare-variable-early): Remove function.
14711 (custom-declare-variable-list): Remove var.
14712 (error, user-error): Remove `while' loop.
14713 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
14714 (user-emacs-directory-warning, locate-user-emacs-file):
14715 Move to files.el.
14716 * simple.el (read-quoted-char-radix, read-quoted-char):
14717 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
14718 Move from subr.el.
14719 * custom.el (custom-declare-variable-list): Don't process
14720 custom-declare-variable-list.
14721
14722 * progmodes/python.el (python-shell-get-buffer): New function.
14723 (python-shell-get-process): Use it.
14724 (python-shell-send-string): Always use utf-8 and add a cookie to tell
14725 Python which encoding was used. Don't split-string since we only care
14726 about the first line. Return the temp-file, if applicable.
14727 (python-shell-send-region): Tell compile.el how to turn locations in
14728 the temp-file into locations in the source buffer.
14729
14730 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * subr.el (undefined): Add missing behavior from the C code for
14733 unbound keys.
14734
14735 * rect.el: Use lexical-binding. Add new rectangular region support.
14736 (rectangle-mark): New command.
14737 (rectangle--region): New var.
14738 (deactivate-mark-hook): Reset rectangle--region.
14739 (rectangle--extract-region, rectangle--insert-for-yank)
14740 (rectangle--highlight-for-redisplay)
14741 (rectangle--unhighlight-for-redisplay): New functions.
14742 (region-extract-function, redisplay-unhighlight-region-function)
14743 (redisplay-highlight-region-function): Use them to handle
14744 rectangular region.
14745 * simple.el (region-extract-function): New var.
14746 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
14747 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
14748 (kill-region): Replace obsolete `yank-handler' arg with `region'.
14749 (copy-region-as-kill, kill-ring-save): Add `region' argument.
14750 (redisplay-unhighlight-region-function)
14751 (redisplay-highlight-region-function): New vars.
14752 (redisplay--update-region-highlight): New function.
14753 (pre-redisplay-function): Use it.
14754 (exchange-point-and-mark): Don't deactivate the mark before
14755 reactivate-it anyway.
14756 * comint.el (comint-kill-region): Remove yank-handler argument.
14757 * delsel.el (delete-backward-char, backward-delete-char-untabify)
14758 (delete-char): Remove property, since it's now part of their
14759 default behavior.
14760 (self-insert-iso): Remove property since this command doesn't exist.
14761
14762 * emacs-lisp/package.el (package--download-one-archive)
14763 (describe-package-1): Don't query the user about final newline.
14764
14765 2013-10-29 Daniel Colascione <dancol@dancol.org>
14766
14767 * net/tramp.el (tramp-methods): Document new functionality.
14768 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
14769 tramp-hostname-checker if method provides one instead of scanning
14770 argument list for "%h" to decide hostname acceptability.
14771
14772 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
14773
14774 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14775 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14776 Handle COPY-CONTENTS. (Bug#15737)
14777
14778 2013-10-28 Daiki Ueno <ueno@gnu.org>
14779
14780 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14781 Document that this option has no effect with GnuPG 2.0 (bug#15552).
14782
14783 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
14784
14785 * image.el (defimage, image-load-path): Doc fixes.
14786
14787 2013-10-27 Alan Mackenzie <acm@muc.de>
14788
14789 Indent statements in macros following "##" correctly.
14790 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14791 Modify the "#" arm of a cond form to handle "#" and "##" operators.
14792
14793 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14794
14795 * linum.el (linum-update-window): Fix boundary test (bug#13446).
14796
14797 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
14798
14799 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
14800 after `=' is probably a new expression.
14801
14802 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14803
14804 * man.el (man-imenu-title): New option.
14805 (Man-mode-map): Add menu. (Bug#15722)
14806 (Man-mode): Add imenu to menu.
14807
14808 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
14809
14810 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
14811 specific in what the first arg can be: a non-keyword word,
14812 string/regexp/percent literal opener, opening paren, or unary
14813 operator followed directly by word.
14814
14815 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
14818 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
14819 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
14820 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
14821 Remove vars, they do not apply any more.
14822 (prolog-mode-abbrev-table): Remove redundant declaration.
14823 (prolog-upper-case-string, prolog-lower-case-string): Remove.
14824 (prolog-use-smie): Remove.
14825 (prolog-smie-rules): Add indentation rule for the if-then-else layout
14826 supported by prolog-electric-if-then-else-flag.
14827 (prolog-mode-variables, prolog-menu): Use setq-local.
14828 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
14829 Remove binding to `Backspace' since this key doesn't exist anyway.
14830 Remove bindings for electric self-inserting keys.
14831 (prog-mode): Assume it's defined.
14832 (prolog-post-self-insert): New function.
14833 (prolog-mode): Use it.
14834 (prolog-indent-line, prolog-indent-level)
14835 (prolog-find-indent-of-matching-paren)
14836 (prolog-indentation-level-of-line, prolog-goto-comment-column)
14837 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
14838 (prolog-goto-next-paren, prolog-in-string-or-comment)
14839 (prolog-tokenize, prolog-inside-mline-comment)
14840 (prolog-find-start-of-mline-comment): Remove functions.
14841 (prolog-find-unmatched-paren, prolog-clause-end)
14842 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
14843 (prolog-electric--if-then-else): Rename from
14844 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
14845 (prolog-tokenize-searchkey): Remove const.
14846 (prolog-clause-info): Use forward-sexp.
14847 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
14848 (prolog-electric-if-then-else): Remove commands.
14849 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
14850 for use in post-self-insert-hook.
14851 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
14852 for use in post-self-insert-hook.
14853 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
14854 for use in post-self-insert-hook.
14855 (prolog-electric--underscore): Rename from prolog-electric--underscore;
14856 adapt it for use in post-self-insert-hook.
14857
14858 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
14859
14860 * emacs-lisp/ert.el (ert-run-tests-interactively):
14861 Use `completing-read'. (Bug#9756)
14862
14863 2013-10-25 Eli Zaretskii <eliz@gnu.org>
14864
14865 * simple.el (line-move): Call line-move-1 instead of
14866 line-move-visual when the current window hscroll is zero, but
14867 temporary-goal-column indicates we will need to hscroll as result
14868 of the movement. (Bug#15712)
14869
14870 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
14871
14872 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
14873 capitalization. Use :visible instead of :active.
14874 Fix `ruby-indent-exp' reference. Add menu items for the generic
14875 commands that are used with SMIE.
14876 (ruby-do-end-to-brace): Insert space after `{'.
14877
14878 2013-10-25 John Anthony <john@jo.hnanthony.com>
14879
14880 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
14881
14882 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
14883
14884 2013-10-25 Glenn Morris <rgm@gnu.org>
14885
14886 * vc/vc.el (vc-print-log): Don't use a working revision unless
14887 one was explicitly specified. (Bug#15322)
14888
14889 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14890
14891 * subr.el (add-to-list): Preserve return value in compiler-macro
14892 (bug#15692).
14893
14894 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14895
14896 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
14897 result. Ask user to retry using '-all' flag. (Bug#15701)
14898
14899 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * emacs-lisp/smie.el: New smie-config system.
14902 (smie-config): New defcustom.
14903 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
14904 (smie-config-guess, smie-config-save): New commands.
14905 (smie-config--mode-local, smie-config--buffer-local)
14906 (smie-config--trace, smie-config--modefuns): New vars.
14907 (smie-config--advice, smie-config--mode-hook)
14908 (smie-config--setter, smie-config-local, smie-config--get-trace)
14909 (smie-config--guess-value, smie-config--guess): New functions.
14910 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
14911 text properties. Treat "string fence" syntax like string syntax.
14912
14913 * progmodes/sh-script.el (sh-use-smie): Change default.
14914 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
14915 (sh-var-value): Simplify by CSE.
14916 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
14917 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
14918 is used.
14919 (sh-guess-basic-offset): Use cl-incf.
14920 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
14921
14922 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
14923
14924 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
14925 (bug#15699).
14926
14927 2013-10-24 Glenn Morris <rgm@gnu.org>
14928
14929 * Makefile.in (abs_top_srcdir): Remove.
14930 (update-subdirs): Use relative path to update-subdirs.
14931
14932 2013-10-24 Eli Zaretskii <eliz@gnu.org>
14933
14934 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
14935 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
14936 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
14937 Call unmsys--file-name before expand-file-name, not after it.
14938
14939 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
14940
14941 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
14942 (ert-test-skipped): New error.
14943 (ert-skip, ert-stats-skipped): New defuns.
14944 (ert--skip-unless): New macro.
14945 (ert-test-skipped): New struct.
14946 (ert--run-test-debugger, ert-test-result-type-p)
14947 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
14948 (ert--stats-set-test-and-result, ert-char-for-test-result)
14949 (ert-string-for-test-result, ert-run-tests-batch)
14950 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
14951 Handle skipped tests. (Bug#9803)
14952
14953 2013-10-24 Glenn Morris <rgm@gnu.org>
14954
14955 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
14956
14957 * Makefile.in (abs_top_srcdir): New, set by configure.
14958 (update-subdirs): Correct build-aux location.
14959
14960 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
14961
14962 * vc/vc.el (vc-print-root-log): Always set `default-directory'
14963 value, whether we could auto-deduce `backend', or not.
14964
14965 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
14966 with parameters" example. Simplify the "is it block or is it
14967 hash" check, but also make it more thorough.
14968
14969 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
14970
14971 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
14972
14973 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14974
14975 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
14976 { if it is hanging.
14977
14978 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
14979 :before ";".
14980
14981 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
14982
14983 * progmodes/compile.el (compilation-directory-matcher)
14984 (compilation-page-delimiter):
14985 Support GNU Make-4.0 directory quoting. (Bug#15678)
14986
14987 2013-10-23 Leo Liu <sdl.web@gmail.com>
14988
14989 * ido.el (ido-tidy): Handle read-only text.
14990
14991 2013-10-23 Glenn Morris <rgm@gnu.org>
14992
14993 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
14994 (emacs, compile, compile-always):
14995 Quote entities that might contain whitespace.
14996 (custom-deps, finder-data, autoloads): Use abs_lisp.
14997 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14998 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14999 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
15000
15001 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
15002
15003 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
15004 Use `following-char'.
15005
15006 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15007
15008 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15009 * progmodes/ruby-mode.el (ruby-smie-rules):
15010 Remove corresponding workaround. Fix indentation rule of ";" so it
15011 also applies when ";" is the parent.
15012
15013 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
15014
15015 * frame.el (display-screens, display-pixel-height)
15016 (display-pixel-width, display-mm-width, display-backing-store)
15017 (display-save-under, display-planes, display-color-cells)
15018 (display-visual-class, display-monitor-attributes-list):
15019 Mention the optional ‘display’ argument in doc strings.
15020
15021 2013-10-22 Michael Gauland <mikelygee@amuri.net>
15022
15023 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15024 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
15025
15026 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15027
15028 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15029 TODO. Add "." after " @ ".
15030 (ruby-smie--at-dot-call): New function. Checks if point at method
15031 call with explicit target.
15032 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15033 to the method name tokens when it precedes them.
15034 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15035 (ruby-smie-rules): Add rule for indentation before and after "."
15036 token.
15037
15038 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15039
15040 * textmodes/remember.el (remember-diary-extract-entries):
15041 Avoid add-to-list.
15042
15043 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15044 an instruction.
15045
15046 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15047
15048 * progmodes/ruby-mode.el (ruby-smie-grammar):
15049 Add (almost) all infix operators.
15050 (ruby-smie--implicit-semi-p): Add new operator chars.
15051
15052 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15053 `smie-down-list'.
15054 (ruby-smie--args-separator-p): Check that there's no newline
15055 between method call and its arguments.
15056
15057 2013-10-20 Alan Mackenzie <acm@muc.de>
15058
15059 Allow comma separated lists after Java "implements".
15060
15061 * progmodes/cc-engine.el (c-backward-over-enum-header):
15062 Parse commas.
15063 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15064 from a "disallowed" list in enum fontification.
15065
15066 2013-10-20 Johan Bockgård <bojohan@gnu.org>
15067
15068 * startup.el (default-frame-background-mode): Remove unused defvar.
15069
15070 * progmodes/verilog-mode.el (verilog-mode): Don't set
15071 comment-indent-function globally.
15072
15073 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
15074
15075 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15076 Move Info menu item creation to ns-win.el.
15077
15078 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15079 in menu bar.
15080
15081 * menu-bar.el: Move GNUstep specific menus...
15082
15083 * term/ns-win.el (ns-initialize-window-system): ... to here.
15084
15085 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15086
15087 * simple.el (newline): Only run post-self-insert-hook when
15088 called interactively.
15089
15090 2013-10-19 Johan Bockgård <bojohan@gnu.org>
15091
15092 * icomplete.el (icomplete-with-completion-tables): Add :version.
15093
15094 2013-10-19 Alan Mackenzie <acm@muc.de>
15095
15096 Fix fontification bugs with constructors and const.
15097
15098 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15099 CASE 2) Remove the check for the absence of a suffix construct
15100 after a function declaration with only types (no identifiers) in
15101 the parentheses. Also, accept a function declaration with just a
15102 type inside the parentheses, if this type can be positively
15103 recognised as such, or if a prefix keyword like "explicit" nails
15104 down the construct as a declaration.
15105
15106 2013-10-19 Eli Zaretskii <eliz@gnu.org>
15107
15108 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15109 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
15110 the problem whereby selecting a menu item that leads to a
15111 minibuffer prompt moves the cursor out of the minibuffer window,
15112 making it hard to type at the prompt. Suggested by Stefan Monnier
15113 <monnier@iro.umontreal.ca>.
15114
15115 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
15116
15117 * menu-bar.el: Don't make Services menu.
15118
15119 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15120
15121 * ffap.el: Handle "/usr/include/c++/<version>" directories.
15122 (ffap-alist): Use ffap-c++-mode for c++-mode.
15123 (ffap-c++-path): New variable.
15124 (ffap-c++-mode): New function.
15125
15126 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
15127
15128 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
15129
15130 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
15131
15132 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15133 introduced on 2013-09-08, which results in an infinite loop
15134 requesting a password.
15135
15136 2013-10-18 Glenn Morris <rgm@gnu.org>
15137
15138 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15139
15140 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
15141
15142 Sync with upstream verilog-mode revision 1a6ecec7.
15143 * progmodes/verilog-mode.el (verilog-mode-version): Update.
15144 (verilog-mode-release-date): Remove.
15145 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15146 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15147 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15148 (verilog-auto-tieoff-ignore-regexp)
15149 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15150 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15151 (verilog-signals-with, verilog-dir-cache-preserving)
15152 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15153 Doc fixes.
15154 (verilog-case-fold): New option, to control case folding in
15155 regexp searches, bug597.
15156 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15157 (verilog-string-match-fold, verilog-in-paren-count)
15158 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15159 (verilog-at-close-struct-p): New functions.
15160 (verilog-beg-block-re-ordered, verilog-extended-case-re)
15161 (verilog-forward-sexp, verilog-set-auto-endcomments)
15162 (verilog-leap-to-case-head): Handle "unique0" case.
15163 (verilog-in-constraint-re): New constant.
15164 (verilog-keywords, verilog-type-font-keywords):
15165 Add some SystemVerilog 1800-2012 keywords.
15166 (verilog-label-be): Remove unimplemented argument, bug669.
15167 (verilog-batch-execute-func): When batch expanding clear
15168 create-lockfiles to prevent spurious user locks when a file ends
15169 up not changing.
15170 (verilog-calculate-indent, verilog-calc-1)
15171 (verilog-at-close-constraint-p, verilog-at-constraint-p)
15172 (verilog-do-indent): Fix indentation of nested constraints
15173 and structures.
15174 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15175 (verilog-auto-inst-param): Use verilog-string-match-fold.
15176 (verilog-read-inst-module-matcher):
15177 Fix AUTOINST on gate primitives with #1.
15178 (verilog-read-decls): Fix double-declaring user-defined typed signals.
15179 Reads all user-defined typed variables.
15180 (verilog-read-defines): Fix reading definitions inside comments, bug647.
15181 (verilog-signals-matching-regexp)
15182 (verilog-signals-not-matching-regexp, verilog-auto):
15183 Respect verilog-case-fold.
15184 (verilog-diff-report): Fix line count.
15185 (verilog-auto-assign-modport): Remove unused local `modi'.
15186 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15187 better handle multidimensional arrays.
15188 Fix packed array ports misadding bit index in AUTOINST, bug637.
15189 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15190 to not double-declare existing outputs and inputs, respectively.
15191 (verilog-template-map): Bind U to verilog-sk-uvm-component.
15192 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15193 (verilog-sk-uvm-component): New skeleton.
15194 (verilog-submit-bug-report): Add verilog-case-fold,
15195 remove verilog-mode-release-date.
15196
15197 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
15198
15199 * subr.el (sit-for): Call (input-pending-p t) so as to behave
15200 as before.
15201
15202 2013-10-18 Reuben Thomas <rrt@sc3d.org>
15203
15204 * textmodes/remember.el (remember): Set buffer-offer-save in
15205 remember buffers (bug#13566).
15206
15207 2013-10-18 Daniel Colascione <dancol@dancol.org>
15208
15209 When evaluating forms in ielm, direct standard output to ielm
15210 buffer. Add new ielm-return-for-effect command. Remove trailing
15211 whitespace throughout.
15212
15213 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15214 (ielm-return-for-effect): New command.
15215 (ielm-send-input): Accept optional `for-effect' parameter.
15216 (ielm-eval-input): Accept optional `for-effect' parameter.
15217 Bind `standard-output' to stream we create using
15218 `ielm-standard-output-impl'. Suppress printing result when
15219 `for-effect'.
15220 (ielm-standard-output-impl): New function.
15221 (inferior-emacs-lisp-mode): Explain new features in documentation.
15222
15223 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
15224
15225 Code cleanup.
15226
15227 * net/tramp.el (tramp-debug-message): Do not check for connection
15228 buffer.
15229 (tramp-message): Use "vector" connection property.
15230
15231 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15232 (tramp-equal-remote, tramp-eshell-directory-change)
15233 * net/tramp-adb.el (tramp-adb-handle-copy-file)
15234 (tramp-adb-handle-rename-file)
15235 * net/tramp-cmds.el (tramp-list-remote-buffers)
15236 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15237 * net/tramp-compat.el (tramp-compat-process-running-p)
15238 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15239 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15240 (tramp-gvfs-handle-rename-file)
15241 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15242 (tramp-set-file-uid-gid)
15243 * net/tramp-smb.el (tramp-smb-handle-copy-file)
15244 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15245 of `file-remote-p'.
15246
15247 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15248 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15249 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15250 (tramp-gw-open-network-stream): Suppress unrelated traces.
15251
15252 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15253 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15254 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15255 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15256 connection property.
15257
15258 * net/tramp-cache.el (top): Suppress traces when reading
15259 persistency file.
15260
15261 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15262 Refactor common code. Improve debug message.
15263 (tramp-maybe-open-connection)
15264 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15265 connection buffer too early.
15266
15267 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15268 from `tramp-smb-actions-with-acl'.
15269 (tramp-smb-actions-set-acl): New defconst.
15270 (tramp-smb-handle-copy-directory)
15271 (tramp-smb-action-get-acl): New defun, renamed from
15272 `tramp-smb-action-with-acl'.
15273 (tramp-smb-action-set-acl): New defun.
15274 (tramp-smb-handle-set-file-acl): Rewrite.
15275
15276 2013-10-17 Glenn Morris <rgm@gnu.org>
15277
15278 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
15279
15280 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 * skeleton.el (skeleton-newline): Remove.
15283 (skeleton-internal-1): Use (insert "\n") instead.
15284
15285 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15286 let-bindings.
15287
15288 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15289 forward-sexp-function while we redo its job (bug#15613).
15290
15291 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
15292
15293 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15294 represented by lists.
15295
15296 2013-10-16 Glenn Morris <rgm@gnu.org>
15297
15298 * tmm.el (tmm--history): New dynamic variable.
15299 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
15300
15301 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
15302
15303 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
15304 (tramp-smb-errors): Add error messages.
15305 (tramp-smb-actions-with-acl): New defconst.
15306 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
15307 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
15308 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
15309 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
15310 (tramp-smb-get-stat-capability): Fix tests.
15311
15312 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
15313
15314 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
15315 (bug#15580).
15316
15317 2013-10-16 Glenn Morris <rgm@gnu.org>
15318
15319 * ansi-color.el (ansi-color-drop-regexp):
15320 Add 1J, 1K, 2K. (Bug#15617)
15321
15322 * files.el (hack-local-variables--warned-lexical): New.
15323 (hack-local-variables):
15324 Warn about misplaced lexical-binding. (Bug#15616)
15325
15326 * net/eww.el (eww-render): Always set eww-current-url,
15327 and update header line. (Bug#15622)
15328 (eww-display-html): ... Rather than just doing it here.
15329
15330 2013-10-15 Eli Zaretskii <eliz@gnu.org>
15331
15332 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
15333 menu navigations commands.
15334
15335 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
15336
15337 * progmodes/subword.el (subword-capitalize): Be careful when
15338 the search for [[:alpha:]] fails (bug#15580).
15339
15340 2013-10-14 Eli Zaretskii <eliz@gnu.org>
15341
15342 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
15343 to commands that scroll the menu.
15344
15345 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
15346
15347 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
15348 Handle methods ending with `?' and `!'.
15349
15350 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
15351
15352 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
15353 `japanese-cp932' to `cp932' to fix the problem where saving a
15354 source file written in Shift_JIS twice would end up having
15355 `coding: japanese-cp932' which Ruby could not recognize.
15356 (ruby-mode-set-encoding): Add support for encodings mapped to nil
15357 in `ruby-encoding-map'.
15358 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
15359 doesn't need to be explicitly declared in magic comment.
15360 (ruby-encoding-map): Add type declaration for better customize UI.
15361
15362 2013-10-13 Glenn Morris <rgm@gnu.org>
15363
15364 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
15365 Occur buffers are read-only. http://bugs.debian.org/720775
15366
15367 * emacs-lisp/authors.el (authors-fixed-entries):
15368 Comment out old alpha stuff.
15369
15370 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
15371
15372 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
15373 to `after-save-hook' instead of `before-save-hook'.
15374 (ruby-mode-set-encoding): Use the value of coding system used to
15375 write the file. Call `basic-save-buffer-1' after modifying the
15376 buffer.
15377
15378 2013-10-13 Alan Mackenzie <acm@muc.de>
15379
15380 Fix indentation/fontification of Java enum with
15381 "implements"/generic.
15382
15383 * progmodes/cc-engine.el (c-backward-over-enum-header):
15384 Extracted from the three other places and enhanced to handle generics.
15385 (c-inside-bracelist-p): Uses new function above.
15386 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
15387 function above.
15388 (c-font-lock-enum-tail): Uses new function above.
15389
15390 2013-10-13 Kenichi Handa <handa@gnu.org>
15391
15392 * international/mule-cmds.el (select-safe-coding-system): Remove a
15393 superfluous condition in chekcing whether a coding system is safe
15394 or not.
15395
15396 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
15397
15398 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
15399
15400 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
15401
15402 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
15403
15404 2013-10-13 Glenn Morris <rgm@gnu.org>
15405
15406 * menu-bar.el (menu-bar-update-buffers):
15407 Unify Buffers menu prompt string. (Bug#15576)
15408
15409 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
15410
15411 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
15412 Add some entries.
15413 (authors-fixed-entries): Use accented form of name.
15414
15415 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
15418 method calls (bug#15594).
15419 (ruby-smie--args-separator-p): New function.
15420 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
15421 recognize paren-free method calls.
15422
15423 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
15424 internals of universal-argument.
15425
15426 2013-10-11 Eli Zaretskii <eliz@gnu.org>
15427
15428 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
15429 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
15430 dropped menu on second mouse click on the menu bar.
15431
15432 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15433
15434 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
15435 (explicit-shell-file-name): Declare.
15436 (sh--vars-before-point, sh--cmd-completion-table): New functions.
15437 (sh-completion-at-point-function): New function.
15438 (sh-mode): Use it.
15439 (sh-smie--keyword-p): Remove unused argument.
15440 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
15441 vars.
15442 (sh-set-shell): Always setup SMIE, even if we use the
15443 old indentation code.
15444
15445 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
15446
15447 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
15448 cases of ? and =.
15449 (ruby-smie-rules): Simplify the "do" rule. The cases when the
15450 predicate would return nil are almost non-existent.
15451 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
15452
15453 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
15454 cache also after commands that modify the buffer but don't move
15455 point.
15456
15457 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15458
15459 * env.el (substitute-env-in-file-name): New function.
15460 (substitute-env-vars): Extend the meaning of the optional arg.
15461
15462 2013-10-10 Eli Zaretskii <eliz@gnu.org>
15463
15464 * term/w32-win.el (dynamic-library-alist): Define separate lists
15465 of GIF DLLs for versions before and after 5.0.0 of giflib.
15466 (Bug#15531)
15467
15468 2013-10-10 João Távora <joaotavora@gmail.com>
15469
15470 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
15471 not locked, use last revision and current source as
15472 defaults. (Bug#15569)
15473
15474 2013-10-10 Masatake YAMATO <yamato@redhat.com>
15475
15476 * menu-bar.el (menu-bar-open): Don't use popup-menu if
15477 menu-bar is hidden.
15478
15479 2013-10-10 Martin Rudalics <rudalics@gmx.at>
15480
15481 * window.el (pop-to-buffer-same-window): Fix doc-string.
15482 (Bug#15492)
15483
15484 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
15487
15488 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
15489
15490 * calendar/icalendar.el (icalendar-import-file):
15491 Fix interactive spec. (Bug#15482)
15492
15493 2013-10-10 Glenn Morris <rgm@gnu.org>
15494
15495 * desktop.el (desktop-save): Default to saving in .emacs.d,
15496 since PWD is no longer in desktop-path by default. (Bug#15319)
15497
15498 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
15499 now that text mode has a menu with the same entry.
15500 (menu-bar-text-mode-auto-fill): Remove now unused func.
15501 * textmodes/text-mode.el (text-mode-map):
15502 Use auto-fill help text from menu-bar.el.
15503
15504 2013-10-10 John Anthony <john@jo.hnanthony.com>
15505
15506 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
15507
15508 2013-10-09 Juri Linkov <juri@jurta.org>
15509
15510 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
15511 instead of this-command-keys. Add universal-argument-more and
15512 universal-argument-minus to the list of prefix commands. (Bug#15568)
15513
15514 2013-10-09 Glenn Morris <rgm@gnu.org>
15515
15516 * vc/vc-svn.el (vc-svn-create-repo):
15517 Expand paths in file://... url. (Bug#15446)
15518
15519 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
15520 Add some entries.
15521 (authors): Remove unused local variables.
15522
15523 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * profiler.el: Create a more coherent calltree from partial backtraces.
15526 (profiler-format): Hide the tail with `invisible' so that C-s can still
15527 find the hidden elements.
15528 (profiler-calltree-depth): Don't recurse so enthusiastically.
15529 (profiler-function-equal): New hash-table-test.
15530 (profiler-calltree-build-unified): New function.
15531 (profiler-calltree-build): Use it.
15532 (profiler-report-make-name-part): Indent the calltree less.
15533 (profiler-report-mode): Add visibility specs for profiler-format.
15534 (profiler-report-expand-entry, profiler-report-toggle-entry):
15535 Expand the whole subtree when provided with a prefix arg.
15536
15537 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
15538
15539 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
15540 iuwu-mod token.
15541 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
15542 hanging iuwu-mod token.
15543 (ruby-smie--forward-token): Do not include a dot after a token in
15544 that token.
15545 (ruby-smie--backward-token): Likewise.
15546
15547 2013-10-08 Juri Linkov <juri@jurta.org>
15548
15549 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
15550 to isearch-other-control-char.
15551 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
15552 and isearch-post-command-hook to post-command-hook.
15553 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
15554 and isearch-post-command-hook from post-command-hook.
15555 (isearch-unread-key-sequence)
15556 (isearch-reread-key-sequence-naturally)
15557 (isearch-lookup-scroll-key, isearch-other-control-char)
15558 (isearch-other-meta-char): Remove functions.
15559 (isearch-pre-command-hook, isearch-post-command-hook):
15560 New functions based on isearch-other-meta-char rewritten
15561 relying on the new behavior of overriding-terminal-local-map
15562 that does not replace the local keymaps any more. (Bug#15200)
15563
15564 2013-10-08 Eli Zaretskii <eliz@gnu.org>
15565
15566 Support menus on text-mode terminals.
15567 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
15568 functionality.
15569
15570 * tooltip.el (tooltip-mode): Don't error out on TTYs.
15571
15572 * menu-bar.el (popup-menu, popup-menu-normalize-position):
15573 Move here from mouse.el.
15574 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
15575 and arrow keys.
15576 (tty-menu-navigation-map): New map for TTY menu navigation.
15577
15578 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
15579
15580 * frame.el (display-mouse-p): Report text-mode mouse as available
15581 on w32.
15582 (display-popup-menus-p): Report availability if mouse is
15583 available; don't condition on window-system.
15584
15585 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
15586 (tty-menu-selected-face): New faces.
15587
15588 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15589
15590 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
15591 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
15592 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
15593 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
15594 New constants.
15595 (lisp-mode-variables): New `elisp' argument.
15596 (emacs-lisp-mode): Use it.
15597 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
15598 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
15599
15600 * indent.el: Use lexical-binding.
15601 (indent-region): Add progress reporter.
15602 (tab-stop-list): Make it implicitly extend to infinity by repeating the
15603 last step.
15604 (indent--next-tab-stop): New function to implement this behavior.
15605 (tab-to-tab-stop, move-to-tab-stop): Use it.
15606
15607 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
15608
15609 * indent.el (indent-rigidly--current-indentation): New function.
15610 (indent-rigidly-map): New var.
15611 (indent-rigidly): Use it to provide interactive mode (bug#8196).
15612
15613 2013-10-08 Bastien Guerry <bzg@gnu.org>
15614
15615 * register.el (insert-register): Fix 2013-10-07 change.
15616
15617 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * progmodes/perl-mode.el: Use lexical-binding.
15620 Remove redundant :group args.
15621 (perl-nochange): Change default to be closer to other major modes's
15622 standard behavior.
15623 (perl-indent-line): Don't consider text on current line as a
15624 valid beginning of function from which to indent.
15625
15626 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
15627 with more than one argument (bug#15538).
15628
15629 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
15630
15631 * vc/pcvs.el: Use lexical-binding.
15632 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
15633 environment of `eval'.
15634 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
15635 than a list of expressions. Adjust callers.
15636 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
15637
15638 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
15639
15640 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
15641 case of the dot in a chained method call being on the following line.
15642
15643 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 * electric.el (electric-indent-inhibit): New var.
15646 (electric-indent-post-self-insert-function): Use it.
15647 * progmodes/python.el (python-mode): Set it.
15648
15649 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
15650 open braces.
15651
15652 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
15653
15654 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
15655 (css-mode): Use electric-indent-chars.
15656
15657 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
15658 (font-lock-beg, font-lock-end): Move before first use.
15659 (nxml-mode): Use syntax-propertize-function.
15660 (nxml-after-change, nxml-after-change1): Adjust accordingly.
15661 (nxml-extend-after-change-region): Remove.
15662 * nxml/xmltok.el: Use lexical-binding.
15663 (xmltok-save): Use `declare'.
15664 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
15665 * nxml/nxml-util.el: Use lexical-binding.
15666 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
15667 Use `declare'.
15668 * nxml/nxml-ns.el: Use lexical-binding.
15669 (nxml-ns-save): Use `declare'.
15670 (nxml-ns-prefixes-for): Avoid add-to-list.
15671 * nxml/rng-match.el: Use lexical-binding.
15672 (rng--ipattern): Use cl-defstruct.
15673 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
15674 (rng-cons-group-after, rng-subst-group-after)
15675 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
15676 Use closures instead of `(lambda...).
15677
15678 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
15679
15680 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
15681 of BEG and END.
15682
15683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15684 Use `tramp-handle-insert-file-contents'.
15685 (tramp-gvfs-handle-insert-file-contents): Remove function.
15686
15687 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15688 Use `save-restriction' in order to keep markers.
15689
15690 * net/trampver.el: Update release number.
15691
15692 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * progmodes/compile.el (compilation-parse-errors):
15695 Use compilation--put-prop.
15696 (compilation--ensure-parse): Check compilation-multiline.
15697
15698 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
15699
15700 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
15701 lexical-binding.
15702
15703 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
15704
15705 * progmodes/ruby-mode.el: Fix recently added tests.
15706 (ruby-smie-grammar): Add - and +.
15707 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
15708 (ruby-smie--backward-id): New functions.
15709 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
15710 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
15711 any more.
15712
15713 2013-10-07 Leo Liu <sdl.web@gmail.com>
15714
15715 * register.el (register-preview-delay)
15716 (register-preview-functions): New variables.
15717 (register-read-with-preview, register-preview)
15718 (register-describe-oneline): New functions.
15719 (point-to-register, window-configuration-to-register)
15720 (frame-configuration-to-register, jump-to-register)
15721 (number-to-register, view-register, insert-register)
15722 (copy-to-register, append-to-register, prepend-to-register)
15723 (copy-rectangle-to-register): Use register-read-with-preview to
15724 read register. (Bug#15525)
15725
15726 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
15727
15728 * net/network-stream.el (network-stream-open-starttls): Don't add
15729 --insecure if it's already present, because that gnutls-cli
15730 rejects getting that parameter twice.
15731
15732 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
15733
15734 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
15735 keyword, too.
15736
15737 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
15738
15739 * newcomment.el (comment-use-global-state): Change default value
15740 to t, mark obsolete (Bug#15251).
15741 (comment-beginning): In addition to `comment-to-syntax', check the
15742 value of `comment-use-global-state'.
15743
15744 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15745
15746 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
15747 (ruby-comment-column): Follow the global default, by default.
15748 (ruby-smie-grammar): Add assignment syntax.
15749 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
15750 open-paren, a comma, or a \.
15751 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
15752 and line continuations.
15753 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
15754 followed by implicit semi-colons. Add rule for string concatenation
15755 and for indentation at BOB.
15756 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
15757
15758 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
15759 calling next-sexp, since next-token may have skipped chars which
15760 next-sexp doesn't know should be skipped!
15761
15762 2013-10-05 Leo Liu <sdl.web@gmail.com>
15763
15764 * progmodes/octave.el (octave-send-region):
15765 Call compilation-forget-errors.
15766
15767 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15768
15769 * vc/vc-svn.el (vc-svn-find-admin-dir):
15770 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
15771 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
15772 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
15773 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
15774
15775 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15776
15777 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
15778
15779 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * subr.el (read-passwd): Hide chars even when called within a context
15782 where after-change-functions is disabled (bug#15501).
15783 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
15784 until we removed ourself from overriding-terminal-local-map.
15785
15786 2013-10-04 Leo Liu <sdl.web@gmail.com>
15787
15788 * progmodes/octave.el (inferior-octave-mode):
15789 Call compilation-forget-errors.
15790
15791 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15792
15793 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
15794
15795 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
15796
15797 * net/secrets.el (secrets-create-collection): Add optional
15798 argument ALIAS. Use proper Label keyword. Append ALIAS as
15799 dbus-call-method argument. (Bug#15516)
15800
15801 2013-10-04 Leo Liu <sdl.web@gmail.com>
15802
15803 * progmodes/octave.el (inferior-octave-error-regexp-alist)
15804 (inferior-octave-compilation-font-lock-keywords): New variables.
15805 (compilation-error-regexp-alist)
15806 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
15807 (inferior-octave-mode): Use compilation-shell-minor-mode.
15808
15809 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
15810
15811 * minibuffer.el (completion--replace): Be careful that `end' might be
15812 a marker.
15813
15814 2013-10-03 Daiki Ueno <ueno@gnu.org>
15815
15816 Add support for package signature checking.
15817 * emacs-lisp/package.el (url-http-file-exists-p)
15818 (epg-make-context, epg-context-set-home-directory)
15819 (epg-verify-string, epg-context-result-for)
15820 (epg-signature-status, epg-signature-to-string)
15821 (epg-check-configuration, epg-configuration)
15822 (epg-import-keys-from-file): Declare.
15823 (package-check-signature): New user option.
15824 (package-unsigned-archives): New user option.
15825 (package-desc): Add `signed' field.
15826 (package-load-descriptor): Set `signed' field if .signed file exists.
15827 (package--archive-file-exists-p): New function.
15828 (package--check-signature): New function.
15829 (package-install-from-archive): Check package signature.
15830 (package--download-one-archive): Check archive signature.
15831 (package-delete): Remove .signed file.
15832 (package-import-keyring): New command.
15833 (package-refresh-contents): Import default keyring.
15834 (package-desc-status): Add "unsigned" status.
15835 (describe-package-1, package-menu--print-info)
15836 (package-menu-mark-delete, package-menu--find-upgrades)
15837 (package-menu--status-predicate): Support "unsigned" status.
15838
15839 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
15842 the new compilation scheme using the new byte-codes.
15843
15844 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
15845 (byte-pophandler): New byte codes.
15846 (byte-goto-ops): Adjust accordingly.
15847 (byte-compile--use-old-handlers): New var.
15848 (byte-compile-catch): Use new byte codes depending on
15849 byte-compile--use-old-handlers.
15850 (byte-compile-condition-case--old): Rename from
15851 byte-compile-condition-case.
15852 (byte-compile-condition-case--new): New function.
15853 (byte-compile-condition-case): New function that dispatches depending
15854 on byte-compile--use-old-handlers.
15855 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
15856 when we can.
15857
15858 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
15859 Optimize under `condition-case' and `catch' if
15860 byte-compile--use-old-handlers is nil.
15861 (disassemble-offset): Handle new bytecodes.
15862
15863 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * subr.el (error): Use `declare'.
15866 (decode-char, encode-char): Use advertised-calling-convention instead
15867 of the docstring to discourage use of the `restriction' arg.
15868
15869 2013-10-03 Daiki Ueno <ueno@gnu.org>
15870
15871 * epg.el (epg-verify-file): Add a comment saying that it does not
15872 notify verification error as a return value nor a signal.
15873 (epg-verify-string): Ditto.
15874
15875 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15876
15877 * progmodes/compile.el (compilation-start): Try globbing the arg to
15878 `cd' (bug#15417).
15879
15880 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
15881
15882 Sync with Tramp 2.2.8.
15883
15884 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
15885 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
15886 * net/trampver.el: Update release number.
15887
15888 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
15889
15890 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
15891 and default-process-coding-system for darwin only.
15892
15893 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15894
15895 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
15896
15897 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
15898
15899 * vc/vc-git.el (vc-git-grep): Disable pager.
15900
15901 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
15902
15903 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
15904 Use :url instead of :homepage, as per
15905 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
15906
15907 * newcomment.el (comment-beginning): When `comment-use-syntax' is
15908 non-nil, use `syntax-ppss' (Bug#15251).
15909
15910 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15911
15912 * progmodes/octave.el (inferior-octave-startup-file):
15913 Prefer ~/.emacs.d/init_octave.m.
15914
15915 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
15916
15917 * emacs-lisp/package.el (package-desc-from-define):
15918 Accept additional arguments as plist, convert them to an alist and store
15919 them in the `extras' slot.
15920 (package-generate-description-file): Convert extras alist back to
15921 plist and append to the `define-package' form arguments.
15922 (package--alist-to-plist): New function.
15923 (package--ac-desc): Add `extras' slot.
15924 (package--add-to-archive-contents): Check if the archive-contents
15925 vector is long enough, and if it is, pass its `extras' slot value
15926 to `package-desc-create'.
15927 (package-buffer-info): Call `lm-homepage', pass the returned value
15928 to `package-desc-from-define'.
15929 (describe-package-1): Render the homepage button (Bug#13291).
15930
15931 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15932 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
15933
15934 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
15935
15936 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
15937 and default-process-coding-system to utf-8-unix (Bug#15402).
15938
15939 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
15940
15941 * subr.el (looking-back): Do not recommend using looking-back.
15942
15943 2013-09-28 Alan Mackenzie <acm@muc.de>
15944
15945 Fix indentation/fontification of Java enum with "implements".
15946
15947 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
15948 regexp which matches "implements", etc., in Java.
15949 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
15950 specifier clauses coming after "enum".
15951 * progmodes/cc-fonts.el (c-font-lock-declarations)
15952 (c-font-lock-enum-tail): Check for extra specifier clauses coming
15953 after "enum".
15954
15955 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
15956
15957 * faces.el (region): Change ns_selection_color to
15958 ns_selection_fg_color, add ns_selection_bg_color.
15959
15960 2013-09-28 Leo Liu <sdl.web@gmail.com>
15961
15962 * progmodes/octave.el (inferior-octave-completion-table)
15963 (inferior-octave-completion-at-point): Minor tweaks.
15964
15965 * textmodes/ispell.el (ispell-lookup-words): Rename from
15966 lookup-words. (Bug#15460)
15967 (lookup-words): Obsolete.
15968 (ispell-complete-word, ispell-command-loop): All uses changed.
15969
15970 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15971
15972 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
15973 (octave-mode-menu): Add octave-send-buffer.
15974 (octave-send-buffer): New function.
15975
15976 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15977
15978 * progmodes/octave.el (octave-mode-map): Add key binding for
15979 octave-lookfor.
15980 (octave-mode-menu): Add octave-lookfor.
15981 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
15982 octave-lookfor.
15983 (octave-lookfor): New function.
15984
15985 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15986
15987 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
15988 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
15989 its convention.
15990 (cl--loop-set-iterator-function): New function.
15991 (cl-loop): Adjust accordingly, so as not to use cl-subst.
15992 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
15993 Bind `it' with `let' instead of substituting it with `cl-subst'.
15994 (cl--unused-var-p): New function.
15995 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
15996 Eliminate some unused variable warnings (bug#15326).
15997
15998 2013-09-27 Tassilo Horn <tsdh@gnu.org>
15999
16000 * doc-view.el (doc-view-scale-reset): Rename from
16001 `doc-view-reset-zoom-level'.
16002 (doc-view-scale-adjust): New command.
16003 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
16004 `doc-view-scale-adjust'.
16005
16006 2013-09-26 Tassilo Horn <tsdh@gnu.org>
16007
16008 * doc-view.el (doc-view-reset-zoom-level): New command.
16009 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16010 zoom commands (bug#15466).
16011
16012 2013-09-26 Kenichi Handa <handa@gnu.org>
16013
16014 * international/quail.el (quail-help): Make it not a command.
16015
16016 2013-09-26 Leo Liu <sdl.web@gmail.com>
16017
16018 * minibuffer.el (completion-all-sorted-completions): Make args
16019 optional as they are.
16020
16021 2013-09-25 Daniel Colascione <dancol@dancol.org>
16022
16023 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16024 specs are and that they're not evaluated.
16025
16026 2013-09-24 Sam Steingold <sds@gnu.org>
16027
16028 * midnight.el (clean-buffer-list-kill-regexps)
16029 (clean-buffer-list-kill-buffer-names): Update for the new Man
16030 buffer naming which includes the object name.
16031
16032 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16033
16034 * eshell/esh-cmd.el (eshell--sep-terms): New var.
16035 (eshell-parse-command, eshell-parse-pipeline): Use it since
16036 eshell-separate-commands requires a dynamic scoped var.
16037 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16038
16039 2013-09-23 Leo Liu <sdl.web@gmail.com>
16040
16041 * autoinsert.el (auto-insert-alist): Make the value of
16042 lexical-binding match its file setting.
16043
16044 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
16045
16046 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16047
16048 * autoarg.el (autoarg-kp-digit-argument):
16049 * electric.el (Electric-command-loop):
16050 * kmacro.el (kmacro-step-edit-insert):
16051 Do not set universal-argument-num-events.
16052
16053 2013-09-22 Leo Liu <sdl.web@gmail.com>
16054
16055 * files.el (interpreter-mode-alist): Add octave.
16056
16057 2013-09-21 Alan Mackenzie <acm@muc.de>
16058
16059 C++: fontify identifier in declaration following "public:" correctly.
16060 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16061 to match "public", etc.
16062 (c-decl-prefix-re): Add ":" into the C++ value.
16063 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16064 bit. Add a check for a ":" preceded by "public", etc.
16065
16066 2013-09-21 Eli Zaretskii <eliz@gnu.org>
16067
16068 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16069 recognized by GDB 7.5 and later.
16070
16071 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
16072
16073 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16074
16075 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16076
16077 * subr.el (internal--call-interactively): New const.
16078 (called-interactively-p): Use it (bug#3984).
16079
16080 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
16081
16082 * vc/pcvs.el (cvs-mode-ignore):
16083 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16084 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16085
16086 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
16089 (eshell-ls-orig-insert-directory): Remove.
16090 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
16091 (eshell-ls-use-in-dired): Use advice-add/remove.
16092 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16093 Add `orig-fun' arg for use in :around advice.
16094 Make it check (redundantly) eshell-ls-use-in-dired.
16095
16096 2013-09-19 Glenn Morris <rgm@gnu.org>
16097
16098 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16099
16100 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16101
16102 * emacs-lisp/eieio.el (class-parent): Undo previous change.
16103
16104 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
16105
16106 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16107 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16108 (tramp-get-remote-python): New defuns.
16109 (tramp-get-remote-uid-with-perl)
16110 (tramp-get-remote-gid-with-perl): New defuns. Perl code
16111 contributed by yary <not.com@gmail.com> (tiny change).
16112 (tramp-get-remote-uid-with-python)
16113 (tramp-get-remote-gid-with-python): New defuns. Python code
16114 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16115 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16116
16117 2013-09-19 Glenn Morris <rgm@gnu.org>
16118
16119 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16120
16121 * eshell/em-unix.el (eshell-remove-entries):
16122 Rename argument to avoid name-clash with global `top-level'.
16123
16124 * eshell/esh-proc.el (eshell-kill-process-function):
16125 Remove eshell-reset-after-proc from eshell-kill-hook if present.
16126 (eshell-reset-after-proc): Remove unused arg `proc'.
16127
16128 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16129 (directory-files-and-attributes): Mark unused arg.
16130
16131 * eshell/em-unix.el (eshell-remove-entries):
16132 Remove unused arg `path'. Update callers.
16133
16134 * eshell/em-hist.el (eshell-hist-parse-arguments):
16135 Remove unused arg `silent'. Update callers.
16136
16137 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16138 Fix (f)boundp mix-up.
16139
16140 * eshell/em-smart.el (eshell-smart-scroll-window)
16141 (eshell-disable-after-change):
16142 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16143
16144 2013-09-18 Alan Mackenzie <acm@muc.de>
16145
16146 Fix fontification of type when followed by "const".
16147 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16148 "known" types from fontification.
16149
16150 2013-09-18 Glenn Morris <rgm@gnu.org>
16151
16152 * emacs-lisp/chart.el (x-display-color-cells): Declare.
16153 (chart-face-list): Drop Emacsen without display-color-p.
16154
16155 * net/eww.el (libxml-parse-html-region): Declare.
16156 (eww-display-html): Explicit error if no libxml2 support.
16157
16158 * doc-view.el (doc-view-mode): Silence --without-x compilation.
16159
16160 * image.el (image-type-from-buffer, image-multi-frame-p):
16161 Remove --without-x warning/error.
16162
16163 * mouse.el (mouse-yank-primary):
16164 * term.el (term-mouse-paste):
16165 Reorder to silence --without-x compilation.
16166
16167 * mpc.el (doc-view-mode): Silence --without-x compilation.
16168
16169 * mail/rmailmm.el (rmail-mime-set-bulk-data):
16170 Silence --without-x compilation.
16171
16172 * progmodes/gud.el (gud-find-file, gud-mode):
16173 Silence --without-x compilation.
16174 (tooltip-mode): Declare.
16175
16176 * wdired.el (dired-backup-overwrite): Remove declaration.
16177 (wdired-mode-map): Add doc string.
16178
16179 * custom.el (x-get-resource): Declare.
16180
16181 * eshell/em-glob.el (ange-cache):
16182 * eshell/em-unix.el (ange-cache): Declare.
16183
16184 * faces.el (x-display-list, x-open-connection, x-get-resource):
16185 Declare.
16186
16187 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16188 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16189 Declare.
16190
16191 * frame.el (x-display-grayscale-p, x-display-name): Declare.
16192
16193 * net/gnutls.el (gnutls-log-level): Declare.
16194
16195 * net/shr.el (image-size, image-animate): Declare.
16196
16197 * simple.el (font-info): Declare.
16198
16199 * subr.el (x-popup-dialog): Declare.
16200
16201 * term/common-win.el (x-select-enable-primary)
16202 (x-last-selected-text-primary, x-last-selected-text-clipboard):
16203 Declare.
16204
16205 * term/ns-win.el (x-handle-args): Declare.
16206
16207 * term/x-win.el (x-select-enable-clipboard): Declare.
16208
16209 * term/w32-win.el (create-default-fontset): Declare.
16210
16211 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16212 Declare.
16213
16214 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16215 (fit-frame-to-buffer): Explicit error if --without-x.
16216 (mouse-autoselect-window-select): Silence compiler.
16217
16218 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16219
16220 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16221 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16222 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16223 * eshell/esh-util.el (eshell-sublist):
16224 Remove unused local variables.
16225
16226 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16227
16228 * textmodes/two-column.el: Make 2C-split work for --without-x.
16229 (scroll-bar-columns): Autoload.
16230 (top-level): Require fringe when compiling.
16231
16232 2013-09-18 Leo Liu <sdl.web@gmail.com>
16233
16234 * subr.el (add-hook): Robustify to handle closure as well.
16235
16236 2013-09-17 Glenn Morris <rgm@gnu.org>
16237
16238 * simple.el (messages-buffer-mode-map): Unbind "g".
16239
16240 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16241
16242 * help-mode.el (help-mode-finish): Use derived-mode-p.
16243 Remove obsolete highlighting.
16244
16245 * play/life.el (life-mode): Use define-derived-mode. Derive from
16246 special-mode.
16247 (life): Let-bind inhibit-read-only.
16248 (life-setup): Avoid `setq'. Use `life-mode'.
16249
16250 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16251 which should not be needed any more.
16252 (package-menu-refresh, package-menu-describe-package): Use user-error.
16253
16254 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16255 (eshell-post-rewrite-command-hook): Make obsolete.
16256 (eshell-parse-command): Simplify.
16257 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16258 (eshell--cmd): Declare.
16259 (eshell-parse-pipeline): Remove unused var `final-p'.
16260 Pass a dynvar to eshell-post-rewrite-command-hook.
16261 Implement the new eshell-post-rewrite-command-function.
16262 (eshell-invoke-directly): Remove unused arg `input'.
16263 * eshell/esh-io.el (eshell-io-initialize):
16264 Use eshell-post-rewrite-command-function (bug#15399).
16265 (eshell--apply-redirections): Rename from eshell-apply-redirections;
16266 adjust to new calling convention.
16267 (eshell-create-handles): Rename args to avoid clashing with dynvar
16268 `standard-output'.
16269
16270 2013-09-17 Glenn Morris <rgm@gnu.org>
16271
16272 * simple.el (messages-buffer-mode): New major mode.
16273 (messages-buffer): New function.
16274 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16275 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16276 (ert-run-test): Use `messages-buffer' function.
16277 (ert--force-message-log-buffer-truncation): Ignore read-only.
16278 * help.el (view-echo-area-messages): Use `messages-buffer' function.
16279 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16280
16281 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16284
16285 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16286
16287 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16288
16289 * icomplete.el (icomplete-in-buffer): New var.
16290 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16291 vars and replace them with functions.
16292 (icomplete-minibuffer-setup): Adjust accordingly.
16293 (icomplete--completion-table, icomplete--completion-predicate)
16294 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16295 New functions.
16296 (icomplete-forward-completions, icomplete-backward-completions)
16297 (icomplete-simple-completing-p, icomplete-exhibit)
16298 (icomplete-completions): Use them.
16299 (icomplete--in-region-buffer): New var.
16300 (icomplete--in-region-setup): New function.
16301 (icomplete-mode): Use it.
16302
16303 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
16304 (bug#15379).
16305 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
16306 return args and options.
16307 (eshell-eval-using-options): Use the new return value of
16308 eshell--do-opts to set the options's vars in their scope.
16309 (eshell--set-option): Rename from eshell-set-option.
16310 Add arg `opt-vals'.
16311 (eshell--process-option): Rename from eshell-process-option.
16312 Add arg `opt-vals'.
16313 (eshell--process-args): Use an `opt-vals' alist to store the options's
16314 values during their processing and return them additionally to the
16315 remaining args.
16316
16317 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
16318
16319 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
16320 continuation character an operator, as far as indentation is
16321 concerned (Bug#15369).
16322
16323 2013-09-15 Martin Rudalics <rudalics@gmx.at>
16324
16325 * window.el (window--state-put-2): Don't process buffer state
16326 when buffer doesn't exist any more (Bug#15382).
16327
16328 2013-09-15 Glenn Morris <rgm@gnu.org>
16329
16330 * eshell/em-unix.el (eshell/rm):
16331 Make -f ignore missing files. (Bug#15373)
16332
16333 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
16334 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
16335 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
16336
16337 2013-09-14 Glenn Morris <rgm@gnu.org>
16338
16339 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
16340
16341 2013-09-13 Glenn Morris <rgm@gnu.org>
16342
16343 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
16344 (dired-guess-default): Make `file' available in the env. (Bug#15363)
16345
16346 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
16347
16348 * frame.el (x-focus-frame): Mark as declared in frame.c.
16349
16350 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * ls-lisp.el: Use advice-add.
16353 (original-insert-directory): Remove.
16354 (ls-lisp--insert-directory): Rename from insert-directory; add
16355 `orig-fun' argument.
16356 (insert-directory): Advise.
16357
16358 2013-09-13 Eli Zaretskii <eliz@gnu.org>
16359
16360 * term.el (term-emulate-terminal): Decode the command string
16361 before passing it to term-command-hook. (Bug#15337)
16362
16363 2013-09-13 Glenn Morris <rgm@gnu.org>
16364
16365 * eshell/esh-util.el (ange-cache): Move declaration earlier.
16366
16367 * eshell/esh-ext.el (eshell-search-path): Declare.
16368
16369 * eshell/em-prompt.el (eshell/pwd): Autoload it.
16370 Otherwise an error occurs if eshell-dirs module not loaded.
16371
16372 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
16373
16374 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
16375
16376 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
16377 `tramp-check-proper-host'. Check for a valid method name.
16378
16379 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16380 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16381 * net/tramp-sh.el (tramp-maybe-open-connection):
16382 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
16383
16384 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
16385 also for hash values.
16386
16387 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * term/ns-win.el (parameters): Don't declare as dynamic.
16390 (before-make-frame-hook): Don't add ineffective function.
16391
16392 * eshell/*.el: Use lexical-binding (bug#15231).
16393
16394 2013-09-12 Kenichi Handa <handa@gnu.org>
16395
16396 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
16397
16398 2013-09-12 Glenn Morris <rgm@gnu.org>
16399
16400 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
16401 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
16402
16403 * subr.el (do-after-load-evaluation): Also give compiler warnings
16404 when obsolete files are used (except by obsolete files).
16405
16406 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
16407 in the status output, assume `filename' is the first. (Bug#15322)
16408
16409 * vc/vc.el (vc-deduce-fileset): Doc fix.
16410
16411 * calc/calc-help.el (Info-goto-node):
16412 * progmodes/cperl-mode.el (Info-find-node):
16413 * vc/ediff.el (Info-goto-node): Update declarations.
16414
16415 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
16416
16417 * vc/vc-bzr.el (vc-compilation-mode): Declare.
16418 (vc-bzr-pull): Require vc-dispatcher.
16419 * vc/vc-git.el (vc-compilation-mode): Declare.
16420 (vc-git-pull): Require vc-dispatcher.
16421
16422 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
16423
16424 * progmodes/octave.el (help-button-action): Declare.
16425
16426 * shell.el (shell-directory-tracker): Output error as a message
16427 rather than just returning it as a string.
16428 (shell-process-pushd): Remove useless use of message.
16429
16430 * dframe.el (dframe-timer-fn):
16431 * files.el (dir-locals-read-from-file):
16432 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
16433 (mpc-format):
16434 * reveal.el (reveal-post-command):
16435 * saveplace.el (load-save-place-alist-from-file):
16436 * shell.el (shell-resync-dirs):
16437 * w32-common-fns.el (x-get-selection-value):
16438 * emacs-lisp/copyright.el (copyright-find-copyright):
16439 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
16440 * emulation/tpu-edt.el (tpu-copy-keyfile):
16441 * play/bubbles.el (bubbles--mark-neighbourhood):
16442 * progmodes/executable.el
16443 (executable-make-buffer-file-executable-if-script-p):
16444 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
16445
16446 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16447
16448 Cleanup Eshell to rely less on dynamic scoping.
16449 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
16450 last-value, and ext-command here. Bind `args' closer to `body'.
16451 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
16452 (eshell--args): Declare new dynamic var.
16453 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
16454 last-value, and ext-command. Pass `args' to `body'.
16455 (eshell-process-args): Bind eshell--args.
16456 (eshell-set-option): Use eshell--args.
16457 * eshell/eshell.el (eshell): Use derived-mode-p.
16458 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
16459 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
16460 (eshell-glob-function): Declare.
16461 * eshell/esh-util.el: Require cl-lib.
16462 (eshell-read-hosts-file): Avoid add-to-list.
16463 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
16464 `err'.
16465 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
16466 Declare.
16467 (eshell/diff): Remove unused var `err'.
16468 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
16469 `killflag'.
16470 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
16471 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
16472 first use.
16473 * eshell/em-glob.el (eshell-glob-matches, message-shown):
16474 Move declaration before first use.
16475 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
16476 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
16477 rely on cl-return.
16478
16479 2013-09-12 Glenn Morris <rgm@gnu.org>
16480
16481 * term/ns-win.el (global-map): Remove binding for ispell-next,
16482 deleted 1999-05-29. (Bug#15357)
16483
16484 2013-09-11 Glenn Morris <rgm@gnu.org>
16485
16486 * echistory.el (electric-command-history): Remove call to deleted func.
16487
16488 * play/landmark.el (landmark-mode): Fix typos.
16489
16490 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
16491 Check cvs-sort-ignore-file is bound.
16492
16493 * savehist.el: No need for cl when compiling on Emacs.
16494
16495 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16496
16497 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
16498 (bug#15338).
16499 (eshell-self-insert-command, eshell-send-invisible):
16500 Remove unused argument.
16501 (eshell-handle-control-codes): Remove unused var `orig'.
16502 Avoid delete-backward-char.
16503
16504 * files.el (set-auto-mode): Simplify a bit further.
16505
16506 2013-09-11 Glenn Morris <rgm@gnu.org>
16507
16508 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
16509 (set-auto-mode): Don't regexp-quote elements.
16510 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
16511 * progmodes/cc-mode.el (interpreter-mode-alist):
16512 * progmodes/ruby-mode.el (interpreter-mode-alist):
16513 Revert previous change.
16514
16515 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * play/snake.el (snake-mode):
16518 * play/mpuz.el (mpuz-mode):
16519 * play/landmark.el (lm-mode):
16520 * play/blackbox.el (blackbox-mode):
16521 * play/5x5.el (5x5-mode):
16522 * obsolete/options.el (Edit-options-mode):
16523 * net/quickurl.el (quickurl-list-mode):
16524 * net/newst-treeview.el (newsticker-treeview-mode):
16525 * mail/rmailsum.el (rmail-summary-mode):
16526 * mail/mspools.el (mspools-mode):
16527 * locate.el (locate-mode):
16528 * ibuffer.el (ibuffer-mode):
16529 * emulation/ws-mode.el (wordstar-mode):
16530 * emacs-lisp/debug.el (debugger-mode):
16531 * array.el (array-mode):
16532 * net/eudc.el (eudc-mode): Use define-derived-mode.
16533 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
16534 Move initialization into declaration.
16535 (mairix-searches-mode): Use define-derived-mode.
16536 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
16537 (eudc-edit-hotlist): Use dolist.
16538 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
16539 (Man-mode): Use define-derived-mode.
16540 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
16541 (Info-edit-mode): Use define-derived-mode.
16542 (Info-cease-edit): Use Info-mode.
16543 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
16544 into declaration.
16545 (eshell-mode): Use define-derived-mode.
16546 * chistory.el (command-history-mode-map): Rename from
16547 command-history-map.
16548 (command-history-mode): Use define-derived-mode.
16549 (Command-history-setup): Remove function.
16550 * calc/calc.el (calc-trail-mode-map): New var.
16551 (calc-trail-mode): Use define-derived-mode.
16552 (calc-trail-buffer): Set calc-main-buffer manually.
16553 * bookmark.el (bookmark-insert-annotation): New function.
16554 (bookmark-edit-annotation): Use it.
16555 (bookmark-edit-annotation-mode): Make it a proper major mode.
16556 (bookmark-send-edited-annotation): Use derived-mode-p.
16557 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
16558 closer to its ideal place. Use \' to match EOS.
16559
16560 * profiler.el (profiler-calltree-find): Use function-equal.
16561
16562 2013-09-10 Glenn Morris <rgm@gnu.org>
16563
16564 * files.el (interpreter-mode-alist): Convert to regexps.
16565 (set-auto-mode): Adapt for this. (Bug#15306)
16566 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
16567 Comment out unused variable.
16568 * progmodes/cc-mode.el (interpreter-mode-alist):
16569 * progmodes/python.el (interpreter-mode-alist):
16570 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
16571 * progmodes/sh-script.el (sh-set-shell):
16572 No longer use interpreter-mode-alist to get list of shells.
16573
16574 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
16575
16576 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16577
16578 * simple.el: Use set-temporary-overlay-map for universal-argument.
16579 (universal-argument-map): Don't use default-bindings (bug#15317).
16580 Bind switch-frame explicitly. Replace universal-argument-minus with
16581 a conditional binding.
16582 (universal-argument-num-events, saved-overriding-map): Remove.
16583 (restore-overriding-map): Remove.
16584 (universal-argument--mode): Rename from save&set-overriding-map,
16585 and rewrite.
16586 (universal-argument, universal-argument-more, negative-argument)
16587 (digit-argument): Adjust accordingly.
16588 (universal-argument-minus): Remove.
16589 (universal-argument-other-key): Remove.
16590
16591 * subr.el (with-demoted-errors): Add `format' argument.
16592
16593 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
16594
16595 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
16596 `tramp-cleanup-connection'.
16597
16598 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
16599 parameters KEEP-DEBUG and KEEP-PASSWORD.
16600
16601 * net/tramp.el (tramp-file-name-handler):
16602 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16603 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16604 (tramp-maybe-open-connection):
16605 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16606 Use `tramp-cleanup-connection'.
16607
16608 * net/tramp-sh.el (tramp-maybe-open-connection):
16609 Catch 'uname-changed inside the progress reporter.
16610
16611 2013-09-10 Glenn Morris <rgm@gnu.org>
16612
16613 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
16614
16615 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
16616 returns "alternate access method" in mode (eg "-rw-r--r--.").
16617
16618 2013-09-08 Glenn Morris <rgm@gnu.org>
16619
16620 * saveplace.el (load-save-place-alist-from-file):
16621 Demote errors. (Bug#15305)
16622
16623 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
16624
16625 Improve compatibility with older Emacsen, and XEmacs.
16626
16627 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
16628 only if it is bound. It isn't for XEmacs.
16629 (with-tramp-progress-reporter): Do not let-bind `result'.
16630 This yields to scoping errors in XEmacs.
16631 (tramp-handle-make-auto-save-file-name): New function, moved from
16632 tramp-sh.el.
16633
16634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
16635 for `make-auto-save-file-name'.
16636 (tramp-adb--gnu-switches-to-ash):
16637 Use `tramp-compat-replace-regexp-in-string'.
16638
16639 * net/tramp-cache.el (tramp-cache-print): Call
16640 `substring-no-properties' only if it is bound. It isn't for XEmacs.
16641
16642 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
16643 bound. It isn't for XEmacs.
16644
16645 * net/tramp-compat.el (tramp-compat-copy-file):
16646 Catch `wrong-number-of-arguments' error.
16647 (tramp-compat-replace-regexp-in-string): New defun.
16648
16649 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
16650 for `make-auto-save-file-name'.
16651 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
16652 `copy-file'.
16653 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
16654 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
16655 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
16656
16657 * net/tramp-gw.el (tramp-gw-open-network-stream):
16658 Use `tramp-compat-replace-regexp-in-string'.
16659
16660 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16661 Call `tramp-handle-make-auto-save-file-name'.
16662 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
16663 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16664 (tramp-sh-file-inotifywait-process-filter):
16665 Use `tramp-compat-replace-regexp-in-string'.
16666 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
16667
16668 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
16669 for `make-auto-save-file-name'.
16670 (tramp-smb-handle-copy-directory):
16671 Call `tramp-compat-replace-regexp-in-string'.
16672 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
16673 (tramp-smb-handle-copy-file): Improve error message.
16674 (tramp-smb-handle-rename-file): Rename directly only in case
16675 `newname' does not exist yet. This is a restriction of smbclient.
16676 (tramp-smb-maybe-open-connection): Rerun the function only when
16677 `auth-sources' is non-nil.
16678
16679 2013-09-08 Kenichi Handa <handa@gnu.org>
16680
16681 * international/characters.el: Set category "^" (Combining) for
16682 more characters.
16683
16684 2013-09-07 Alan Mackenzie <acm@muc.de>
16685
16686 Correctly fontify Java class constructors.
16687 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
16688 in Java Mode.
16689 (c-recognize-typeless-decls): Set the Java value to t.
16690 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16691 While handling a "(", add a check for, effectively, Java, and handle a
16692 "typeless" declaration there.
16693
16694 2013-09-07 Roland Winkler <winkler@gnu.org>
16695
16696 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
16697 field subtitle for entry type book.
16698
16699 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16700
16701 * minibuffer.el: Make minibuffer-complete call completion-in-region
16702 rather than other way around.
16703 (completion--some, completion-pcm--find-all-completions):
16704 Don't delay signals when debugging.
16705 (minibuffer-completion-contents): Beware fields within the
16706 minibuffer contents.
16707 (completion-all-sorted-completions): Use defvar-local.
16708 (completion--do-completion, completion--cache-all-sorted-completions)
16709 (completion-all-sorted-completions, minibuffer-force-complete):
16710 Add args `beg' and `end'.
16711 (completion--in-region-1): New fun, extracted from minibuffer-complete.
16712 (minibuffer-complete): Use completion-in-region.
16713 (completion-complete-and-exit): New fun, extracted from
16714 minibuffer-complete-and-exit.
16715 (minibuffer-complete-and-exit): Use it.
16716 (completion--complete-and-exit): Rename from
16717 minibuffer--complete-and-exit.
16718 (completion-in-region--single-word): New function, extracted from
16719 minibuffer-complete-word.
16720 (minibuffer-complete-word): Use it.
16721 (display-completion-list): Make `common-substring' argument obsolete.
16722 (completion--in-region): Call completion--in-region-1 instead of
16723 minibuffer-complete.
16724 (completion-help-at-point): Pass boundaries to
16725 minibuffer-completion-help as args rather than via an overlay.
16726 (completion-pcm--string->pattern): Use `any-delim'.
16727 (completion-pcm--optimize-pattern): New function.
16728 (completion-pcm--pattern->regex): Handle `any-delim'.
16729 * icomplete.el (icomplete-forward-completions)
16730 (icomplete-backward-completions, icomplete-completions):
16731 Adjust calls to completion-all-sorted-completions and
16732 completion--cache-all-sorted-completions.
16733 (icomplete-with-completion-tables): Default to t.
16734 * emacs-lisp/crm.el (crm--current-element): Rename from
16735 crm--select-current-element. Don't put an overlay but return the
16736 boundaries instead.
16737 (crm--completion-command): Take two new args to bind to the boundaries.
16738 (crm-completion-help): Adjust accordingly.
16739 (crm-complete): Use completion-in-region.
16740 (crm-complete-word): Use completion-in-region--single-word.
16741 (crm-complete-and-exit): Use completion-complete-and-exit.
16742
16743 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16744
16745 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
16746 than dynamically.
16747
16748 2013-09-06 Juri Linkov <juri@jurta.org>
16749
16750 * info.el (Info-display-images-node): When image file doesn't exist
16751 display text version of the image if it's provided in the Info file.
16752 Otherwise, display the location of missing image from SRC attribute.
16753 Add help-echo text property from ALT attribute. (Bug#15279)
16754
16755 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
16758 (edit-abbrevs-mode): Use define-derived-mode.
16759
16760 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
16761 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
16762 that it's defined.
16763 (epa-key-list-mode, epa-key-mode, epa-info-mode):
16764 Use define-derived-mode.
16765
16766 * epg.el (epg-start-encrypt): Minor CSE simplification.
16767
16768 2013-09-06 William Xu <william.xwl@gmail.com>
16769
16770 * arc-mode.el: Add support for 7za (bug#15264).
16771 (archive-7z-program): New var.
16772 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16773 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
16774 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
16775
16776 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
16777
16778 Remove URL syntax.
16779
16780 * net/tramp.el (tramp-syntax, tramp-prefix-format)
16781 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
16782 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
16783 (tramp-postfix-host-format, tramp-file-name-regexp)
16784 (tramp-completion-file-name-regexp)
16785 (tramp-completion-dissect-file-name)
16786 (tramp-handle-substitute-in-file-name): Remove 'url case.
16787 (tramp-file-name-regexp-url)
16788 (tramp-completion-file-name-regexp-url): Remove constants.
16789
16790 2013-09-06 Glenn Morris <rgm@gnu.org>
16791
16792 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
16793
16794 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
16795
16796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
16797 keywords" below "here-doc beginnings" (Bug#15270).
16798
16799 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16800
16801 * subr.el (pop): Use `car-safe'.
16802 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
16803 to detect unused `pop' return value.
16804
16805 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
16806 var `block-regexp'.
16807 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
16808 (python-fill-string): Remove unused var `marker'.
16809 (python-skeleton-add-menu-items): Remove unused var `items'.
16810
16811 * international/mule-cmds.el: Require CL.
16812 (find-coding-systems-for-charsets): Avoid add-to-list.
16813 (sanitize-coding-system-list): New function, extracted from
16814 select-safe-coding-system-interactively.
16815 (select-safe-coding-system-interactively): Use it.
16816 (read-input-method-name): Accept symbols for `default'.
16817
16818 * emacs-lisp/advice.el (defadvice): Add indent rule.
16819
16820 2013-09-05 Daniel Hackney <dan@haxney.org>
16821
16822 * dired-x.el:
16823 * net/ange-ftp.el:
16824 * net/browse-url.el:
16825 * net/dbus.el:
16826 * net/eudc.el:
16827 * net/eudcb-ldap.el:
16828 * net/eww.el:
16829 * net/imap.el:
16830 * printing.el:
16831 * vc/ediff-diff.el:
16832 * vc/ediff-init.el:
16833 * vc/ediff-merg.el:
16834 * vc/ediff-mult.el:
16835 * vc/ediff-util.el:
16836 * vc/ediff-wind.el:
16837 * vc/ediff.el:
16838 * vc/emerge.el:
16839 * vc/pcvs.el:
16840 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
16841 byte compiler. Remove some unused let-bound variables.
16842
16843 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16844
16845 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
16846 a "ref-cell", since it gets better optimized (bug#14883).
16847
16848 2013-09-05 Glenn Morris <rgm@gnu.org>
16849
16850 * progmodes/cc-awk.el (c-forward-sws): Declare.
16851
16852 2013-09-04 Glenn Morris <rgm@gnu.org>
16853
16854 * generic-x.el [rul-generic-mode]: Require cc-mode.
16855 (c++-mode-syntax-table): Declare.
16856 (rul-generic-mode-syntax-table): Init in the defvar.
16857
16858 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
16861 (vc-do-command, vc-set-async-update):
16862 * vc/vc-mtn.el (vc-mtn-dir-status):
16863 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
16864 (vc-hg-pull, vc-hg-merge-branch):
16865 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
16866 (vc-git-merge-branch):
16867 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
16868 (vc-cvs-dir-status-files):
16869 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
16870 (vc-bzr-dir-status-files):
16871 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
16872 * vc/vc-annotate.el: Use lexical-binding.
16873 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
16874 (vc-sentinel-movepoint): Declare.
16875 (vc-annotate): Don't use `goto-line'.
16876 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
16877 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
16878 (vc-sentinel-movepoint): Declare.
16879 * vc/vc-svn.el: Use lexical-binding.
16880 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
16881 * vc/vc-sccs.el:
16882 * vc/vc-rcs.el: Use lexical-binding.
16883
16884 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
16885 `deleted'. Don't drop errors silently.
16886
16887 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
16888
16889 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
16890
16891 * vc/vc.el (vc-ignore): Rewrite.
16892 (vc-default-ignore): New function.
16893 (vc-default-ignore-completion-table): Use find-ignore-file.
16894
16895 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
16896 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
16897 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
16898 Remove. Most code moved to vc.el.
16899
16900 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
16901
16902 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
16903 * net/tramp-smb.el (tramp-smb-get-file-entries):
16904 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
16905 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
16906
16907 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
16908 Update call to it.
16909 (eww-change-select): Remove unused var `properties'.
16910 (eww-make-unique-file-name): Remove unused var `base'.
16911
16912 * finder.el (finder-compile-keywords): Don't mess with windows.
16913
16914 * calculator.el (calculator-funcall): Fix typo in last change.
16915
16916 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
16917
16918 * emacs-lisp/package.el (package-activate-1): Don't let a missing
16919 <pkg>-autoloads.el file stop us.
16920
16921 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
16922 warnings, and factor out common code.
16923
16924 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
16925
16926 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
16927 two-character operators and whether the character preceding them
16928 changes their meaning (Bug#15208).
16929
16930 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
16931
16932 Format code sent to Python shell for robustness.
16933 * progmodes/python.el (python-shell-buffer-substring):
16934 New function.
16935 (python-shell-send-region, python-shell-send-buffer): Use it.
16936
16937 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
16938
16939 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
16940 * net/tramp.el (tramp-user-error): ... here.
16941 (tramp-find-method, tramp-check-proper-host)
16942 (tramp-dissect-file-name, tramp-debug-message)
16943 (tramp-handle-shell-command):
16944 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16945 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
16946
16947 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
16948
16949 2013-09-02 Martin Rudalics <rudalics@gmx.at>
16950
16951 * avoid.el (mouse-avoidance-point-position)
16952 (mouse-avoidance-too-close-p): Handle case where posn-at-point
16953 returns nil.
16954
16955 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
16956
16957 * progmodes/python.el (python-shell-completion-get-completions):
16958 Drop use of deleted `comint-last-prompt-overlay'.
16959 (python-nav-if-name-main): New command.
16960
16961 2013-09-01 Glenn Morris <rgm@gnu.org>
16962
16963 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
16964 Avoid leading space in $wins. Otherwise the sed command used by
16965 eg compile-main ends up containing "/*.el". (Bug#15170)
16966
16967 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
16968
16969 2013-08-30 Glenn Morris <rgm@gnu.org>
16970
16971 * emacs-lisp/bytecomp.el (byte-recompile-directory):
16972 Fix is-this-a-directory logic. (Bug#15220)
16973
16974 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16975
16976 * textmodes/css-mode.el: Use SMIE.
16977 (css-smie-grammar): New var.
16978 (css-smie--forward-token, css-smie--backward-token)
16979 (css-smie-rules): New functions.
16980 (css-mode): Use them.
16981 (css-navigation-syntax-table): Remove var.
16982 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
16983 (css-indent-calculate, css-indent-line): Remove functions.
16984
16985 Misc changes to reduce use of `(lambda...); and other cleanups.
16986 * cus-edit.el: Use lexical-binding.
16987 (customize-push-and-save, customize-apropos)
16988 (custom-buffer-create-internal): Use closures.
16989 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
16990 * progmodes/ada-xref.el: Use setq.
16991 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
16992 * dframe.el: Use lexical-binding.
16993 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
16994 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
16995 * descr-text.el: Use lexical-binding.
16996 (describe-text-widget, describe-text-sexp, describe-property-list):
16997 Use closures.
16998 * comint.el (comint-history-isearch-push-state): Use a closure.
16999 * calculator.el: Use lexical-binding.
17000 (calculator-number-to-string): Make it work with lexical-binding.
17001 (calculator-funcall): Same and use cl-letf.
17002
17003 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
17004 (lisp--company-doc-string, lisp--company-location): New functions.
17005 (lisp-completion-at-point): Use them to improve Company support.
17006
17007 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17008 params of lambda expressions.
17009 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17010 (ruby-smie--opening-pipe-p): New function.
17011 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17012 symbols and matched |...| for formal params.
17013 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17014 from being treated as hanging. Handle "rescue".
17015
17016 2013-08-29 Glenn Morris <rgm@gnu.org>
17017
17018 * progmodes/cc-engine.el (c-pull-open-brace):
17019 Move definition before use.
17020
17021 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17024 are immutable. Don't use `unsafe' any more.
17025 (cl--defsubst-expand): Don't substitute at the same time as keeping
17026 a residual unused let-binding. Don't use `unsafe' any more.
17027
17028 2013-08-29 Glenn Morris <rgm@gnu.org>
17029
17030 * calendar/cal-china.el (calendar-chinese-year-cache):
17031 Recenter on 2015.
17032
17033 * nxml/nxml-util.el (nxml-debug-clear-inside):
17034 Use cl-loop rather than loop.
17035
17036 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17037
17038 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17039
17040 2013-08-28 Glenn Morris <rgm@gnu.org>
17041
17042 * progmodes/antlr-mode.el: No need to require cc-mode twice.
17043
17044 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17045
17046 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17047
17048 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * simple.el (repeat-complex-command--called-interactively-skip):
17051 New function.
17052 (repeat-complex-command): Use it (bug#14136).
17053
17054 * progmodes/cc-mode.el: Minor cleanup of var declarations.
17055 (c-define-abbrev-table): Add `doc' argument.
17056 (c-mode-abbrev-table, c++-mode-abbrev-table)
17057 (objc-mode-abbrev-table, java-mode-abbrev-table)
17058 (idl-mode-abbrev-table, pike-mode-abbrev-table)
17059 (awk-mode-abbrev-table): Use it.
17060 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17061 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17062 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17063 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17064 Move initialization into the declaration; and remove any
17065 autoload cookie.
17066
17067 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17068 and dynamic let binding.
17069
17070 * vc/smerge-mode.el: Remove redundant :group args.
17071
17072 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17073 to load-path.
17074
17075 2013-08-28 Juri Linkov <juri@jurta.org>
17076
17077 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17078 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17079 (isearch-other-meta-char): Handle an undefined shifted printing
17080 character by downshifting it. (Bug#15200)
17081
17082 2013-08-28 Juri Linkov <juri@jurta.org>
17083
17084 * isearch.el (isearch-search): Change regexp error message for
17085 non-regexp searches. (Bug#15166)
17086
17087 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
17088
17089 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17090 for portability to hosts where /bin/sh has problems.
17091
17092 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17093
17094 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17095
17096 2013-08-27 Juri Linkov <juri@jurta.org>
17097
17098 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17099 in the keyboard macro. (Bug#15126)
17100
17101 2013-08-27 Juri Linkov <juri@jurta.org>
17102
17103 * isearch.el (isearch-quote-char): Comment out converting unibyte
17104 to multibyte, thus syncing with its `quoted-insert' counterpart.
17105 (Bug#15166)
17106
17107 2013-08-27 Martin Rudalics <rudalics@gmx.at>
17108
17109 * window.el (display-buffer-use-some-window): Add missing
17110 argument in call of get-largest-window (Bug#15185).
17111 Reported by Stephen Leake.
17112
17113 2013-08-27 Glenn Morris <rgm@gnu.org>
17114
17115 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17116
17117 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17118
17119 * progmodes/python.el (python-font-lock-keywords): Don't return nil
17120 from a matcher-function unless there's no more matches (bug#15161).
17121
17122 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17123
17124 * minibuffer.el: Revert change from 2013-08-20.
17125
17126 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17127 with text property `tramp-default', if appropriate.
17128 (tramp-check-proper-host): New defun.
17129 (tramp-dissect-file-name): Do not check hostname. Revert change
17130 of 2013-03-18.
17131 (tramp-backtrace): Make VEC-OR-PROC optional.
17132
17133 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17134 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17135 * net/tramp-sh.el (tramp-maybe-open-connection):
17136 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17137 Apply `tramp-check-proper-host'.
17138
17139 2013-08-26 Tassilo Horn <tsdh@gnu.org>
17140
17141 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17142 lambda expression in order to have `describe-variable' display it.
17143
17144 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17145
17146 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17147 BUF can be optional. (Bug#15186)
17148
17149 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
17150
17151 * progmodes/flymake.el (flymake-get-real-file-name-function):
17152 Fix broken customization. (Bug#15184)
17153
17154 2013-08-25 Alan Mackenzie <acm@muc.de>
17155
17156 Improve indentation of bracelists defined by macros (without "=").
17157
17158 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17159 expansion begins with "{", regard it as bracelist when it doesn't
17160 contain a ";".
17161
17162 Parse C++ inher-intro when there's a template split over 2 lines.
17163
17164 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17165 rigorously the search for "class" etc. followed by ":".
17166
17167 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17168 random languages a regexp which never matches rather than nil.
17169
17170 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17171
17172 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17173 (c-awk-regexp-one-line-possibly-open-char-list-re)
17174 (c-awk-one-line-possibly-open-regexp-re)
17175 (c-awk-one-line-non-syn-ws*-re): Remove.
17176 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17177 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17178 (c-awk-space*-unclosed-regexp-/-re): New constants.
17179 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17180 aren't regexp delimiters.
17181
17182 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17183 handling for a rare situation in AWK Mode involving unterminated
17184 strings/regexps.
17185
17186 2013-08-23 Glenn Morris <rgm@gnu.org>
17187
17188 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17189
17190 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17191
17192 * files.el (create-file-buffer): If the result would begin with
17193 spaces, prepend a "|" instead of removing them. (Bug#15162)
17194
17195 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17196
17197 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17198 text-properties (bug#15155).
17199
17200 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17201 exist any more.
17202 (calc-keypad-redraw): Remove unused var `pad'.
17203 (calc-keypad-press): Remove unused var `menu'.
17204
17205 2013-08-23 Martin Rudalics <rudalics@gmx.at>
17206
17207 * window.el (display-buffer-pop-up-frame):
17208 Call pop-up-frame-function with BUFFER current so `make-frame' will
17209 use it as the new frame's buffer (Bug#15133).
17210
17211 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * calendar/timeclock.el: Minor cleanups.
17214 (timeclock-ask-before-exiting, timeclock-use-display-time):
17215 Use `symbol'.
17216 (timeclock-modeline-display): Define as alias before the
17217 actual definition.
17218 (timeclock-mode-line-display): Use define-minor-mode.
17219 (timeclock-day-list-template): Make it a function, add an argument.
17220 (timeclock-day-list-required, timeclock-day-list-length)
17221 (timeclock-day-list-debt, timeclock-day-list-span)
17222 (timeclock-day-list-break): Adjust calls accordingly.
17223
17224 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17225
17226 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17227 Use read--expression so that completion works again.
17228
17229 2013-08-21 Sam Steingold <sds@gnu.org>
17230
17231 Add rudimentary inferior shell interaction
17232 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17233 (sh-set-shell): Reset it.
17234 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17235 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17236
17237 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
17238
17239 * align.el: Use lexical-binding.
17240 (align-region): Simplify accordingly.
17241
17242 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
17243
17244 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17245
17246 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17247 `non-essential' up.
17248
17249 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
17250
17251 * net/tramp.el:
17252 * net/tramp-adb.el:
17253 * net/tramp-cmds.el:
17254 * net/tramp-ftp.el:
17255 * net/tramp-gvfs.el:
17256 * net/tramp-gw.el:
17257 * net/tramp-sh.el: Don't wrap external variable declarations by
17258 `eval-when-compile'.
17259
17260 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17261
17262 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17263 now that Emacs supports ImageMagick animations.
17264
17265 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
17266
17267 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17268 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17269
17270 2013-08-16 Martin Rudalics <rudalics@gmx.at>
17271
17272 * window.el (mouse-autoselect-window-select): Do autoselect when
17273 mouse pointer is on margin.
17274
17275 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
17276
17277 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
17278
17279 2013-08-16 Glenn Morris <rgm@gnu.org>
17280
17281 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17282 Handle "Remote Directory" response of some clients. (Bug#15058)
17283
17284 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17285 Tweak warning. (Bug#14926)
17286
17287 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17288 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
17289
17290 * image-mode.el (image-mode-map): Add menu items to reverse,
17291 increase, decrease, reset animation speed.
17292 (image--set-speed, image-increase-speed, image-decrease-speed)
17293 (image-reverse-speed, image-reset-speed): New functions.
17294 (image-mode-map): Add bindings for speed commands.
17295
17296 * image.el (image-animate-get-speed, image-animate-set-speed):
17297 New functions.
17298 (image-animate-timeout): Respect image :speed property.
17299
17300 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17301
17302 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
17303 previous line (bug#15101).
17304 (debugger-eval-expression, debugger-record-expression):
17305 Use read--expression (bug#15102).
17306
17307 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
17308
17309 Remove byte compiler warnings, visible when compiling with
17310 `byte-compile-force-lexical-warnings' set to t.
17311
17312 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
17313 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
17314 (tramp-handle-unhandled-file-name-directory)
17315 (tramp-handle-file-notify-add-watch, tramp-action-login)
17316 (tramp-action-succeed, tramp-action-permission-denied)
17317 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
17318 arguments with "_".
17319
17320 * net/tramp-adb.el (tramp-adb-parse-device-names)
17321 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
17322 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
17323 (tramp-adb-handle-file-truename): Remove unused arguments.
17324
17325 * net/tramp-cache.el (tramp-flush-directory-property)
17326 (tramp-flush-connection-property, tramp-list-connections)
17327 (tramp-parse-connection-properties): Prefix unused arguments with "_".
17328
17329 * net/tramp-compat.el (tramp-compat-make-temp-file):
17330 Rename FILENAME to F.
17331
17332 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17333 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
17334 (tramp-zeroconf-parse-workstation-device-names)
17335 (tramp-zeroconf-parse-webdav-device-names)
17336 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
17337
17338 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17339 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
17340
17341 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
17342 arguments.
17343 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
17344 (tramp-sh-handle-insert-file-contents-literally)
17345 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
17346 with "_".
17347 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
17348 Remove unused variables.
17349
17350 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17351 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
17352 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
17353
17354 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
17355 Make them a defconst.
17356 (tramp-uuencode-region): Remove unused variable.
17357
17358 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
17359
17360 * frameset.el (frameset--prop-setter): New function.
17361 (frameset-prop): Add gv-setter declaration.
17362 (frameset-filter-minibuffer): Deal with the case that the minibuffer
17363 parameter was already set in FILTERED. Doc fix.
17364 (frameset--record-minibuffer-relationships): Allow saving a
17365 minibufferless frame without its corresponding minibuffer frame.
17366 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
17367 frame, if the frame id matches.
17368 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
17369 frames before orphaned ones.
17370 (frameset-restore): Warn about orphaned windows, instead of error out.
17371
17372 2013-08-14 Martin Rudalics <rudalics@gmx.at>
17373
17374 * window.el (window-make-atom): Don't overwrite parameter
17375 already present.
17376 (display-buffer-in-atom-window): Handle special case where we
17377 split an already atomic window.
17378 (window--major-non-side-window, display-buffer-in-side-window)
17379 (window--side-check): Ignore minibuffer window when walking
17380 window tree.
17381 (window-deletable-p): Return 'frame only if no other frame uses
17382 our minibuffer window.
17383 (record-window-buffer): Run buffer-list-update-hook.
17384 (split-window): Make sure window--check-frame won't destroy an
17385 existing atomic window in case the new window gets nested
17386 inside.
17387 (display-buffer-at-bottom): Ignore minibuffer window when
17388 walking window tree. Don't split a side window.
17389 (pop-to-buffer): Don't set-buffer here, the select-window call
17390 should do that.
17391 (mouse-autoselect-window-select): Autoselect only if we are in the
17392 text portion of the window.
17393
17394 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17395
17396 * net/shr.el (shr-parse-image-data): New function to grab both the
17397 data itself and the Content-Type.
17398 (shr-put-image): Use it.
17399
17400 * net/eww.el (eww-display-image): Ditto.
17401
17402 * image.el (image-content-type-suffixes): New variable.
17403
17404 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17405
17406 * progmodes/python.el (python-imenu--build-tree)
17407 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
17408
17409 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
17410
17411 * simple.el (backward-word): Mention the optional argument.
17412
17413 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * frameset.el (frameset--make): Rename constructor from make-frameset.
17416 (frameset-p, frameset-valid-p): Don't autoload.
17417 (frameset-valid-p): Use normal accessors.
17418
17419 2013-08-13 Glenn Morris <rgm@gnu.org>
17420
17421 * progmodes/compile.el (compile-command): Tweak example in doc.
17422 * obsolete/scribe.el (scribe-mode):
17423 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
17424
17425 * mail/feedmail.el (feedmail-confirm-outgoing)
17426 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
17427
17428 * cus-start.el (truncate-partial-width-windows): Fix type.
17429
17430 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
17431
17432 * net/shr.el (shr-table-horizontal-line): Fix custom type.
17433
17434 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17435
17436 * emacs-lisp/timer.el (timer--time-setter): New function.
17437 (timer--time): Use it as gv-setter.
17438
17439 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
17440 setter is not a symbol.
17441
17442 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
17443
17444 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
17445 if sending fails. This makes debugging easier.
17446
17447 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
17448
17449 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
17450 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
17451 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
17452
17453 2013-08-12 Eli Zaretskii <eliz@gnu.org>
17454
17455 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
17456
17457 2013-08-12 Glenn Morris <rgm@gnu.org>
17458
17459 * format.el (format-annotate-function):
17460 Handle read-only text properties in the source. (Bug#14887)
17461
17462 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17463
17464 * net/eww.el (eww-display-html): Ignore coding system errors.
17465 One web site uses "utf-8lias" as the coding system.
17466
17467 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
17468
17469 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
17470
17471 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
17472
17473 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
17474 (tutorial--detailed-help): Remove unused local variables.
17475 (tutorial--save-tutorial-to): Use ignore-errors.
17476 (help-with-tutorial): Use looking-at-p.
17477
17478 * view.el (view-buffer-other-window, view-buffer-other-frame):
17479 Mark unused arguments.
17480
17481 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
17482 (woman-select-symbol-fonts, woman, woman-find-file)
17483 (woman-insert-file-contents, woman-non-underline-faces):
17484 Use string-match-p.
17485 (woman1-unquote): Move declaration.
17486
17487 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
17488 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
17489 argument. Remove unused local variable.
17490 (xml-parse-elem-type): Use string-match-p.
17491 (xml-substitute-numeric-entities): Use ignore-errors.
17492
17493 * calculator.el (calculator): Mark unused argument.
17494 (calculator-paste, calculator-quit, calculator-integer-p):
17495 Use ignore-errors.
17496 (calculator-string-to-number, calculator-decimal, calculator-exp)
17497 (calculator-op-or-exp): Use string-match-p.
17498
17499 * dired.el (dired-buffer-more-recently-used-p): Declare.
17500 (dired-insert-set-properties, dired-insert-old-subdirs):
17501 Use ignore-errors.
17502
17503 * dired-aux.el (dired-compress): Use ignore-errors.
17504 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
17505 (dired-do-async-shell-command, dired-do-shell-command)
17506 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
17507 (dired-insert-subdir-validate): Use string-match-p.
17508 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
17509 (dired-add-entry): Use string-match-p, looking-at-p.
17510 (dired-insert-subdir-newpos): Remove unused local variable.
17511
17512 * filenotify.el (file-notify-callback): Remove unused local variable.
17513
17514 * filesets.el (filesets-error): Mark unused argument.
17515 (filesets-which-command-p, filesets-filter-dir-names)
17516 (filesets-directory-files, filesets-get-external-viewer)
17517 (filesets-ingroup-get-data): Use string-match-p.
17518
17519 * find-file.el (ff-other-file-name, ff-other-file-name)
17520 (ff-find-the-other-file, ff-cc-hh-converter):
17521 Remove unused local variables.
17522 (ff-get-file-name): Use string-match-p.
17523 (ff-all-dirs-under): Use ignore-errors.
17524
17525 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
17526 (follow-select-if-visible): Remove unused local variable.
17527
17528 * forms.el (read-file-filter): Move declaration.
17529 (forms--make-format, forms--make-parser, forms-insert-record):
17530 Quote function with #'.
17531 (forms--update): Use string-match-p. Quote function with #'.
17532
17533 * help-mode.el (help-dir-local-var-def): Mark unused argument.
17534 (help-make-xrefs): Use looking-at-p.
17535 (help-xref-on-pp): Use looking-at-p, ignore-errors.
17536
17537 * ibuffer.el (ibuffer-ext-visible-p): Declare.
17538 (ibuffer-confirm-operation-on): Use string-match-p.
17539
17540 * msb.el (msb-item-handler, msb-dired-item-handler):
17541 Mark unused arguments.
17542
17543 * ses.el (ses-decode-cell-symbol)
17544 (ses-kill-override): Remove unused local variable.
17545 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
17546 (ses-load): Use ignore-errors, looking-at-p.
17547 (ses-jump-safe): Use ignore-errors.
17548 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
17549
17550 * tabify.el (untabify, tabify): Mark unused arguments.
17551
17552 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
17553 Mark unused argument.
17554 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
17555 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
17556
17557 * emacs-lisp/timer.el (timer--time): Define setter with
17558 gv-define-setter to avoid deprecation warning.
17559
17560 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
17561 (*record-cmpl-statistics-p*): Remove (was commented out).
17562 (cmpl-statistics-block): Remove (body was commented out).
17563 All callers changed.
17564 (add-completions-from-buffer, load-completions-from-file):
17565 Remove unused variables.
17566
17567 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17568
17569 * filecache.el (file-cache-delete-file-list):
17570 Print message only when told so.
17571 (file-cache-files-matching): Use #' in mapconcat argument.
17572
17573 * ffap.el (ffap-url-at-point): Fix reference to variable
17574 thing-at-point-default-mail-uri-scheme.
17575
17576 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
17577
17578 * subr.el (define-error): New function.
17579 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
17580 error-file-not-found and define with define-error.
17581 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
17582 and define with define-error.
17583 * userlock.el (file-locked, file-supersession):
17584 * simple.el (mark-inactive):
17585 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
17586 * progmodes/ada-mode.el (ada-mode-errors):
17587 * play/life.el (life-extinct):
17588 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
17589 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
17590 * nxml/rng-util.el (rng-error):
17591 * nxml/rng-uri.el (rng-uri-error):
17592 * nxml/rng-match.el (rng-compile-error):
17593 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
17594 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
17595 * nxml/nxml-rap.el (nxml-scan-error):
17596 * nxml/nxml-outln.el (nxml-outline-error):
17597 * net/soap-client.el (soap-error):
17598 * net/gnutls.el (gnutls-error):
17599 * net/ange-ftp.el (ftp-error):
17600 * mpc.el (mpc-proc-error):
17601 * json.el (json-error, json-readtable-error, json-unknown-keyword)
17602 (json-number-format, json-string-escape, json-string-format)
17603 (json-key-format, json-object-format):
17604 * jka-compr.el (compression-error):
17605 * international/quail.el (quail-error):
17606 * international/kkc.el (kkc-error):
17607 * emacs-lisp/ert.el (ert-test-failed):
17608 * calc/calc.el (calc-error, inexact-result, math-overflow)
17609 (math-underflow):
17610 * bookmark.el (bookmark-error-no-filename):
17611 * epg.el (epg-error): Define with define-error.
17612
17613 * time.el (display-time-event-handler)
17614 (display-time-next-load-average): Don't call sit-for since it seems
17615 unnecessary (bug#15045).
17616
17617 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
17618 Use #' instead of ' to quote functions.
17619 (checkdoc-output-mode): Use setq-local.
17620 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
17621 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
17622 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
17623 (checkdoc-ispell, checkdoc-ispell-current-buffer)
17624 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
17625 (checkdoc-ispell-message-text, checkdoc-ispell-start)
17626 (checkdoc-ispell-continue, checkdoc-ispell-comments)
17627 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
17628
17629 * ido.el (ido-completion-help): Fix up compiler warning.
17630
17631 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17632
17633 * frameset.el (frameset-p): Add autoload cookie.
17634 (frameset--jump-to-register): New function, based on code moved from
17635 register.el.
17636 (frameset-to-register): Move from register.el. Adapt to `registerv'.
17637
17638 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
17639 (frameset-restore, frameset-save, frameset-session-filter-alist):
17640 Remove declarations.
17641 (register-alist): Doc fix.
17642 (frameset-to-register): Move to frameset.el.
17643 (jump-to-register, describe-register-1): Remove frameset-specific code.
17644
17645 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17646
17647 * allout-widgets.el (allout-widgets-pre-command-business)
17648 (allout-widgets-post-command-business)
17649 (allout-widgets-after-change-handler)
17650 (allout-decorate-item-and-context, allout-set-boundary-marker)
17651 (allout-body-modification-handler)
17652 (allout-graphics-modification-handler): Mark ignored arguments.
17653 (allout-widgets-post-command-business)
17654 (allout-widgets-exposure-change-processor)
17655 (allout-widgets-exposure-undo-processor)
17656 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
17657 (allout-parse-item-at-point, allout-decorate-item-guides)
17658 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
17659 * allout.el (epa-passphrase-callback-function): Declare.
17660 (allout-overlay-insert-in-front-handler)
17661 (allout-overlay-interior-modification-handler)
17662 (allout-isearch-end-handler, allout-chart-siblings)
17663 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
17664 (allout-yank-processing, allout-process-exposed)
17665 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
17666 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
17667 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
17668 (lisp-indent-defform): Mark ignored arguments.
17669 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
17670 (calculate-lisp-indent): Remove unused variables.
17671 * international/characters.el (indian-2-column, arabic-2-column)
17672 (tibetan): Mark ignored arguments.
17673 (use-cjk-char-width-table): Mark ignored arguments.
17674 Remove unused variables.
17675 * international/fontset.el (build-default-fontset-data)
17676 (x-compose-font-name, create-fontset-from-fontset-spec):
17677 Mark ignored arguments.
17678 (fontset-plain-name): Remove unused variables.
17679 * international/mule.el (charset-id, charset-bytes, generic-char-p)
17680 (keyboard-coding-system): Mark ignored arguments.
17681 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
17682 * help.el (resize-temp-buffer-window):
17683 * window.el (display-buffer-in-major-side-window)
17684 (display-buffer-in-side-window, display-buffer-in-previous-window):
17685 Remove unused variables.
17686 * isearch.el (isearch-forward-symbol):
17687 * version.el (emacs-bzr-version-bzr):
17688 * international/mule-cmds.el (current-language-environment):
17689 * term/common-win.el (x-handle-iconic, x-handle-geometry)
17690 (x-handle-display):
17691 * term/pc-win.el (x-list-fonts, x-display-planes)
17692 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
17693 (x-server-version, x-display-screens, x-display-mm-height)
17694 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
17695 (x-selection-owner-p, x-own-selection-internal)
17696 (x-disown-selection-internal, x-get-selection-internal)
17697 (msdos-initialize-window-system):
17698 * term/tty-colors.el (tty-color-alist, tty-color-clear):
17699 * term/x-win.el (x-handle-no-bitmap-icon):
17700 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
17701 (vc-default-find-file-hook, vc-default-extra-menu):
17702 Mark ignored arguments.
17703
17704 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17705
17706 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
17707 break-condition in the context of the debugged code (bug#12685).
17708
17709 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
17710
17711 * comint.el:
17712 Do not use an overlay to highlight the last prompt. (Bug#14744)
17713 (comint-mode): Make comint-last-prompt buffer local.
17714 (comint-last-prompt): New variable.
17715 (comint-last-prompt-overlay): Remove. Superseded by
17716 comint-last-prompt.
17717 (comint-snapshot-last-prompt, comint-output-filter):
17718 Use comint-last-prompt.
17719
17720 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17721
17722 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
17723 (frameset-save): Check validity of the resulting frameset.
17724
17725 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
17726
17727 * ido.el (ido-record-command): Add doc string.
17728
17729 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17730
17731 * frameset.el (frameset): Do not disable creation of the default
17732 frameset-p predicate. Doc fix.
17733 (frameset-valid-p): New function, copied from the old predicate-p.
17734 Add additional checks.
17735 (frameset-restore): Check with frameset-valid-p.
17736 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
17737 (frameset-name, frameset-description, frameset-properties)
17738 (frameset-states): Add docstring.
17739 (frameset-session-filter-alist, frameset-persistent-filter-alist)
17740 (frameset-filter-alist): Doc fixes.
17741
17742 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17743
17744 * frameset.el (frameset-p, frameset-prop): Doc fixes.
17745
17746 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17747
17748 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
17749 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
17750 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
17751 (byte-compile-normal-call): Remove obsolescence check.
17752
17753 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17754
17755 * frameset.el (frameset-restore): Doc fix.
17756
17757 * register.el (frameset-frame-id, frameset-frame-with-id)
17758 (frameset-p, frameset-restore, frameset-save): Declare.
17759 (register-alist): Document framesets.
17760 (frameset-session-filter-alist): Declare.
17761 (frameset-to-register): New function.
17762 (jump-to-register): Implement jumping to framesets. Doc fix.
17763 (describe-register-1): Describe framesets.
17764
17765 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
17766
17767 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
17768
17769 * desktop.el (desktop-save-frameset): Use new frameset-save args.
17770 Use lexical-binding.
17771
17772 * frameset.el (frameset): Use type vector, not list (incompatible
17773 change). Do not declare a new constructor, use the default one.
17774 Upgrade suggested properties `app', `name' and `desc' to slots `app',
17775 `name' and `description', respectively, and add read-only slot
17776 `timestamp'. Doc fixes.
17777 (frameset-copy, frameset-persistent-filter-alist)
17778 (frameset-filter-alist, frameset-switch-to-gui-p)
17779 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
17780 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
17781 (frameset-filter-iconified, frameset-keep-original-display-p):
17782 Doc fixes.
17783 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
17784 Rename from frameset-filter-(save|restore)-param. All callers changed.
17785 Doc fix.
17786 (frameset-p): Adapt to change to vector and be more thorough.
17787 Change arg name to OBJECT. Doc fix.
17788 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
17789 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
17790 All callers changed.
17791 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
17792 All callers changed.
17793 (frameset--record-minibuffer-relationships): Rename from
17794 frameset--process-minibuffer-frames. All callers changed.
17795 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
17796 Use new default constructor (again). Doc fix.
17797 (frameset--find-frame-if): Rename from `frameset--find-frame'.
17798 All callers changed.
17799 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
17800 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
17801 Doc fix.
17802 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
17803 PARAMETERS and WINDOW-STATE, respectively.
17804 (frameset-restore): Add new keyword argument PREDICATE.
17805 Reset frameset--target-display to nil. Doc fix.
17806
17807 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17808
17809 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
17810 (bat-mode): Use it.
17811 (bat-mode-syntax-table): Mark \n as end-of-comment.
17812 (bat-font-lock-keywords): Remove comment rule.
17813
17814 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
17815 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
17816
17817 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
17818 (byte-compile-callargs-warn): Use `push'.
17819 (byte-compile-arglist-warn): Ignore higher-order "calls".
17820 (byte-compile-file-form-autoload): Use `pcase'.
17821 (byte-compile-function-form): If quoting a symbol, check that it exists.
17822
17823 2013-08-07 Eli Zaretskii <eliz@gnu.org>
17824
17825 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
17826 and add a few popular commands found in batch files.
17827 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
17828 (dos-mode): Doc fixes.
17829
17830 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17831
17832 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
17833 (dos-mode): Use setq-local. Add space after "rem".
17834 (dos-mode-syntax-table): Don't use "w" for symbol chars.
17835 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
17836
17837 2013-08-07 Arni Magnusson <arnima@hafro.is>
17838
17839 * progmodes/dos.el: New file.
17840 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
17841 dos-mode.
17842
17843 2013-08-06 Glenn Morris <rgm@gnu.org>
17844
17845 * calendar/calendar.el: Add new faces, and day-header-array.
17846 (calendar-weekday-header, calendar-weekend-header)
17847 (calendar-month-header): New faces.
17848 (calendar-day-header-construct): New function.
17849 (calendar-day-header-width): Also :set calendar-day-header-array.
17850 (calendar-american-month-header, calendar-european-month-header)
17851 (calendar-iso-month-header): Use calendar- faces.
17852 (calendar-generate-month):
17853 Use calendar-day-header-array for day headers; apply faces to them.
17854 (calendar-mode): Check calendar-font-lock-keywords non-nil.
17855 (calendar-abbrev-construct): Add optional maxlen argument.
17856 (calendar-day-name-array): Doc fix.
17857 (calendar-day-name-array, calendar-abbrev-length)
17858 (calendar-day-abbrev-array):
17859 Also :set calendar-day-header-array, and maybe redraw.
17860 (calendar-day-header-array): New option. (Bug#15007)
17861 (calendar-font-lock-keywords): Set to nil and make obsolete.
17862 (calendar-day-name): Add option to use header array.
17863
17864 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
17866 * net/shr.el (shr-render-td): Remove debugging.
17867 (shr-render-td): Make width computation consistent by defaulting
17868 all zero-width columns to 10 characters. This may not be optimal,
17869 but it's at least consistent.
17870 (shr-make-table-1): Redo last change to fix the real problem in
17871 colspan handling.
17872
17873 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17874
17875 * files.el (cache-long-line-scans):
17876 Make obsolete alias to `cache-long-scans'.
17877
17878 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17879
17880 * frameset.el (frameset, frameset-filter-alist)
17881 (frameset-filter-params, frameset-save, frameset--reuse-frame)
17882 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
17883 (frameset-compute-pos): Rename from frameset--compute-pos,
17884 and add docstring.
17885 (frameset-move-onscreen): Use frameset-compute-pos.
17886 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
17887
17888 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
17889 Fix typos in docstrings.
17890
17891 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17892
17893 * frame.el (get-other-frame): Tiny cleanup.
17894
17895 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17896
17897 * vc/vc.el (vc-default-ignore-completion-table):
17898 Silence byte-compiler warning.
17899
17900 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
17901 slot, which can indeed be nil.
17902 (frameset-live-filter-alist, frameset-persistent-filter-alist):
17903 Move entry for `left' from persistent to live filter alist.
17904 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
17905 Doc fixes.
17906 (frameset-filter-params): When restoring a frame, copy items added to
17907 `filtered', to avoid unwittingly modifying the original parameters.
17908 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
17909 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
17910
17911 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
17912 to use looking-at-p instead of looking-at. (Bug#15028)
17913
17914 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17915
17916 Revert introduction of isearch-filter-predicates (bug#14714).
17917 Rely on add-function instead.
17918 * isearch.el (isearch-filter-predicates): Rename it back to
17919 isearch-filter-predicate.
17920 (isearch-message-prefix): Use advice-function-mapc and advice
17921 properties to get the isearch-message-prefix.
17922 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
17923 instead of run-hook-with-args-until-failure.
17924 (isearch-filter-visible): Not obsolete any more.
17925 * loadup.el: Preload nadvice.
17926 * replace.el (perform-replace): Revert to funcall
17927 instead of run-hook-with-args-until-failure.
17928 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
17929 * dired-aux.el (dired-isearch-filenames-mode): Rename from
17930 dired-isearch-filenames-toggle; make it into a proper minor mode.
17931 Use add/remove-function.
17932 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
17933 Call the minor-mode rather than add/remove-hook.
17934 (dired-isearch-filter-filenames):
17935 Remove isearch-message-prefix property.
17936 * info.el (Info--search-loop): New function, extracted from Info-search.
17937 Funcall isearch-filter-predicate instead of
17938 run-hook-with-args-until-failure isearch-filter-predicates.
17939 (Info-search): Use it.
17940 (Info-mode): Use isearch-filter-predicate instead of
17941 isearch-filter-predicates.
17942
17943 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
17944
17945 Do not call to `selected-window' where it is assumed by default.
17946 Affected functions are `window-minibuffer-p', `window-dedicated-p',
17947 `window-hscroll', `window-width', `window-height', `window-buffer',
17948 `window-frame', `window-start', `window-point', `next-window'
17949 and `window-display-table'.
17950 * abbrev.el (abbrev--default-expand):
17951 * bs.el (bs--show-with-configuration):
17952 * buff-menu.el (Buffer-menu-mouse-select):
17953 * calc/calc.el (calc):
17954 * calendar/calendar.el (calendar-generate-window):
17955 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
17956 (diary-make-entry):
17957 * comint.el (send-invisible, comint-dynamic-complete-filename)
17958 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
17959 * completion.el (complete):
17960 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
17961 * disp-table.el (describe-current-display-table):
17962 * doc-view.el (doc-view-insert-image):
17963 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
17964 * ehelp.el (with-electric-help):
17965 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17966 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
17967 * emacs-lisp/helper.el (Helper-help-scroller):
17968 * emulation/cua-base.el (cua--post-command-handler-1):
17969 * eshell/esh-mode.el (eshell-output-filter):
17970 * ffap.el (ffap-gnus-wrapper):
17971 * help-macro.el (make-help-screen):
17972 * hilit-chg.el (highlight-compare-buffers):
17973 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
17974 * hl-line.el (global-hl-line-highlight):
17975 * icomplete.el (icomplete-simple-completing-p):
17976 * isearch.el (isearch-done):
17977 * jit-lock.el (jit-lock-stealth-fontify):
17978 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
17979 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
17980 * mpc.el (mpc-tagbrowser, mpc):
17981 * net/rcirc.el (rcirc-any-buffer):
17982 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
17983 * play/landmark.el (landmark-max-width, landmark-max-height):
17984 * play/zone.el (zone):
17985 * progmodes/compile.el (compilation-goto-locus):
17986 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
17987 * progmodes/etags.el (find-tag-other-window):
17988 * progmodes/fortran.el (fortran-column-ruler):
17989 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17990 * progmodes/verilog-mode.el (verilog-point-text):
17991 * reposition.el (reposition-window):
17992 * rot13.el (toggle-rot13-mode):
17993 * server.el (server-switch-buffer):
17994 * shell.el (shell-dynamic-complete-command)
17995 (shell-dynamic-complete-environment-variable):
17996 * simple.el (insert-buffer, set-selective-display)
17997 (delete-completion-window):
17998 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
17999 (speedbar-recenter):
18000 * startup.el (fancy-splash-head):
18001 * textmodes/ispell.el (ispell-command-loop):
18002 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
18003 * tutorial.el (help-with-tutorial):
18004 * vc/add-log.el (add-change-log-entry):
18005 * vc/compare-w.el (compare-windows):
18006 * vc/ediff-help.el (ediff-indent-help-message):
18007 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18008 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18009 (ediff-setup-control-frame):
18010 * vc/emerge.el (emerge-position-region):
18011 * vc/pcvs-util.el (cvs-bury-buffer):
18012 * window.el (walk-windows, mouse-autoselect-window-select):
18013 * winner.el (winner-set-conf, winner-undo): Related users changed.
18014
18015 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18016
18017 * frameset.el (frameset--set-id): Doc fix.
18018 (frameset-frame-id, frameset-frame-id-equal-p)
18019 (frameset-locate-frame-id): New functions.
18020 (frameset--process-minibuffer-frames, frameset--reuse-frame)
18021 (frameset-restore): Use them.
18022
18023 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18024
18025 Do not call to `selected-frame' where it is assumed by default.
18026 Affected functions are `raise-frame', `redraw-frame',
18027 `frame-first-window', `frame-terminal' and `delete-frame'.
18028 * calendar/appt.el (appt-disp-window):
18029 * epg.el (epg-wait-for-completion):
18030 * follow.el (follow-delete-other-windows-and-split)
18031 (follow-avoid-tail-recenter):
18032 * international/mule.el (set-terminal-coding-system):
18033 * mail/rmail.el (rmail-mail-return):
18034 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18035 * progmodes/f90.el (f90-add-imenu-menu):
18036 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18037 * server.el (server-switch-buffer):
18038 * simple.el (delete-completion-window):
18039 * talk.el (talk):
18040 * term/xterm.el (terminal-init-xterm-modify-other-keys)
18041 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18042 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18043 * vc/ediff.el (ediff-documentation): Related users changed.
18044 * frame.el (selected-terminal): Remove the leftover.
18045
18046 2013-08-05 Glenn Morris <rgm@gnu.org>
18047
18048 * calendar/calendar.el (calendar-generate-month):
18049 Fix for calendar-column-width != 1 + calendar-day-digit-width.
18050 (calendar-generate-month, calendar-font-lock-keywords):
18051 Fix for calendar-day-header-width > length of any day name.
18052
18053 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18054
18055 * desktop.el (desktop-clear): Use new name of sort predicate.
18056
18057 * frameset.el (frameset): Add docstring. Move :version property to its
18058 own `version' slot.
18059 (frameset-copy): Rename from copy-frameset.
18060 (frameset-p): Check more thoroughly.
18061 (frameset-prop): Do not check for :version, which is no longer a prop.
18062 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18063 Use new :never value instead of t.
18064 (frameset-filter-alist): Expand and clarify docstring.
18065 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18066 (frameset-filter-minibuffer, frameset-filter-save-param)
18067 (frameset-filter-restore-param, frameset-filter-iconified):
18068 Add pointer to docstring of frameset-filter-alist.
18069 (frameset-filter-params): Rename filter values to be more meaningful:
18070 :never instead of t, and reverse the meanings of :save and :restore.
18071 (frameset--process-minibuffer-frames): Clarify error message.
18072 (frameset-save): Avoid unnecessary and confusing call to framep.
18073 Use new BOA constructor for framesets.
18074 (frameset--reuse-list): Doc fix.
18075 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
18076 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18077 (frameset-minibufferless-first-p): Doc fix.
18078 Rename from frameset-sort-frames-for-deletion.
18079 (frameset-restore): Doc fixes. Use new function names.
18080 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18081
18082 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18083
18084 * desktop.el (desktop-restore-forces-onscreen)
18085 (desktop-restore-reuses-frames): Document :keyword constant values.
18086 (desktop-filter-parameters-alist): Remove, now identical to
18087 frameset-filter-alist.
18088 (desktop--filter-tty*): Remove, moved to frameset.el.
18089 (desktop-save-frameset, desktop-restore-frameset):
18090 Do not pass :filters argument.
18091
18092 * frameset.el (frameset-live-filter-alist)
18093 (frameset-persistent-filter-alist): New variables.
18094 (frameset-filter-alist): Use them. Add autoload cookie.
18095 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18096 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18097 `frameset--id' (it's supposed to be internal to frameset.el).
18098 (frameset--process-minibuffer-frames): Ditto. Doc fix.
18099 (frameset--initial-params): New function.
18100 (frameset--get-frame): Use it. Doc fix.
18101 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18102 Accept :all, not 'all.
18103 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18104 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
18105 with fbound symbols. Fix frame id matching, and remove matching ids if
18106 the frame being restored is deleted. Obey :delete.
18107
18108 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18109
18110 * subr.el (macrop): New function.
18111 (text-clone--maintaining): New var.
18112 (text-clone--maintain): Rename from text-clone-maintain. Use it
18113 instead of inhibit-modification-hooks.
18114
18115 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18116 a proxy, so as handle autoloads and redefinitions of the target.
18117 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18118
18119 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18120 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
18121 (pcase--mutually-exclusive-p): New function.
18122 (pcase--split-consp): Use it.
18123 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
18124 mutually exclusive with the current predicate.
18125
18126 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18127 (edebug-macrop): Remove. Use `macrop' instead.
18128 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
18129 (ad-macro-p):
18130 * eshell/esh-cmd.el (eshell-macrop):
18131 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
18132
18133 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18134
18135 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18136 (advice-mapc): New function, using it.
18137 (advice-function-member-p): New function.
18138 (advice--normalize): Store the cdr in advice--saved-rewrite since
18139 that's the part that will be changed.
18140 (advice--symbol-function): New function.
18141 (advice-remove): Handle removal before the function is defined.
18142 Adjust to new advice--saved-rewrite.
18143 (advice-member-p): Use advice-function-member-p and
18144 advice--symbol-function.
18145
18146 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18147
18148 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18149 (frameset-filter-minibuffer): Doc fix.
18150 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
18151 (frameset--set-id, frameset--process-minibuffer-frames)
18152 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18153 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18154
18155 * desktop.el (desktop-clear): Only delete frames when called
18156 interactively and desktop-restore-frames is non-nil. Doc fix.
18157 (desktop-read): Set desktop-saved-frameset to nil.
18158
18159 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
18160
18161 * vc/vc.el (vc-ignore): Rewrite.
18162 (vc-default-ignore-completion-table, vc--read-lines)
18163 (vc--add-line, vc--remove-regexp): New functions.
18164
18165 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18166 (vc-svn-ignore-completion-table): New function.
18167
18168 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18169 (vc-hg-ignore-completion-table)
18170 (vc-hg-find-ignore-file): New functions.
18171
18172 * vc/vc-git.el (vc-git-ignore): Rewrite.
18173 (vc-git-ignore-completion-table)
18174 (vc-git-find-ignore-file): New functions.
18175
18176 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18177
18178 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18179 (vc-bzr-ignore-completion-table)
18180 (vc-bzr-find-ignore-file): New functions.
18181
18182 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
18183
18184 * frameset.el (frameset-prop): New function and setter.
18185 (frameset-save): Do not modify frame list passed by the caller.
18186
18187 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18188
18189 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18190
18191 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
18192
18193 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18194 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18195
18196 * custom.el (custom-initialize-default, custom-initialize-set)
18197 (custom-initialize-reset, custom-initialize-changed): Affect the
18198 toplevel-default-value (bug#6275, bug#14586).
18199 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18200 for bug#6275.
18201
18202 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18203
18204 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18205 Add cl-def* expressions.
18206
18207 * frameset.el (frameset-filter-params): Fix order of arguments.
18208
18209 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18210
18211 Move code related to saving frames to frameset.el.
18212 * desktop.el: Require frameset.
18213 (desktop-restore-frames): Doc fix.
18214 (desktop-restore-reuses-frames): Rename from
18215 desktop-restoring-reuses-frames.
18216 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18217 (desktop-clear): Clear frames too.
18218 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18219 (desktop--filter-tty*, desktop-save, desktop-read):
18220 Use frameset functions.
18221 (desktop-before-saving-frames-functions, desktop--filter-*-color)
18222 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18223 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18224 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18225 (desktop--process-minibuffer-frames, desktop-save-frames)
18226 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18227 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18228 (desktop--sort-states, desktop-restoring-frames-p)
18229 (desktop-restore-frames): Remove. Most code moved to frameset.el.
18230 (desktop-restoring-frameset-p, desktop-restore-frameset)
18231 (desktop--check-dont-save, desktop-save-frameset): New functions.
18232 (desktop--app-id): New constant.
18233 (desktop-first-buffer, desktop-buffer-ok-count)
18234 (desktop-buffer-fail-count): Move before first use.
18235 * frameset.el: New file.
18236
18237 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18238
18239 * files.el: Use lexical-binding.
18240 (dir-locals-read-from-file): Remove unused `err' variable.
18241 (hack-dir-local-variables--warned-coding): New var.
18242 (hack-dir-local-variables): Use it to avoid repeated warnings.
18243 (make-backup-file-name--default-function): New function.
18244 (make-backup-file-name-function): Use it as default.
18245 (buffer-stale--default-function): New function.
18246 (buffer-stale-function): Use it as default.
18247 (revert-buffer-insert-file-contents--default-function): New function.
18248 (revert-buffer-insert-file-contents-function): Use it as default.
18249 (insert-directory): Avoid add-to-list.
18250
18251 * autorevert.el (auto-revert-handler): Simplify.
18252 Use buffer-stale--default-function.
18253
18254 2013-08-01 Tassilo Horn <tsdh@gnu.org>
18255
18256 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18257
18258 * whitespace.el (whitespace-ensure-local-variables): New function.
18259 (whitespace-cleanup-region): Call it.
18260 (whitespace-turn-on): Call it.
18261
18262 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
18263
18264 Complete file name handlers.
18265
18266 * net/tramp.el (tramp-handle-set-visited-file-modtime)
18267 (tramp-handle-verify-visited-file-modtime)
18268 (tramp-handle-file-notify-rm-watch): New functions.
18269 (tramp-call-process): Do not bind `default-directory'.
18270
18271 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18272 Order alphabetically.
18273 <access-file, add-name-to-file, dired-call-process>:
18274 <dired-compress-file, file-acl, file-notify-rm-watch>:
18275 <file-ownership-preserved-p, file-selinux-context>:
18276 <make-directory-internal, make-symbolic-link, set-file-acl>:
18277 <set-file-selinux-context, set-visited-file-modtime>:
18278 <verify-visited-file-modtime>: Add handler.
18279 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18280
18281 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18282 <file-notify-add-watch, file-notify-rm-watch>:
18283 <set-file-times, set-visited-file-modtime>:
18284 <verify-visited-file-modtime>: Add handler.
18285 (with-tramp-gvfs-error-message)
18286 (tramp-gvfs-handle-set-visited-file-modtime)
18287 (tramp-gvfs-fuse-file-name): Remove.
18288 (tramp-gvfs-handle-file-notify-add-watch)
18289 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18290 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18291
18292 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18293 Order alphabetically.
18294 <file-notify-rm-watch>: Use default Tramp handler.
18295 <executable-find>: Remove private handler.
18296 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
18297 `default-directory'.
18298 (tramp-sh-handle-executable-find)
18299 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
18300 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18301 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
18302 Do not use `format' in `tramp-message'.
18303
18304 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18305 <file-notify-rm-watch, set-visited-file-modtime>:
18306 <verify-visited-file-modtime>: Add handler.
18307 (tramp-smb-call-winexe): Do not bind `default-directory'.
18308
18309 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
18310
18311 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
18312
18313 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
18314
18315 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
18316 use it.
18317 (log-view-diff-changeset): Same.
18318 (log-view-diff-common): Call backend command `previous-revision'
18319 to find out the previous revision, in both cases. Swap the
18320 variables `to' and `fr', so that `fr' usually refers to the
18321 earlier revision (Bug#14989).
18322
18323 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
18324
18325 * ibuf-ext.el (ibuffer-filter-by-filename):
18326 Make it work with dired buffers too.
18327
18328 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
18329
18330 * emacs-lisp/re-builder.el (reb-color-display-p):
18331 * files.el (save-buffers-kill-terminal):
18332 * net/browse-url.el (browse-url):
18333 * server.el (server-save-buffers-kill-terminal):
18334 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
18335 Prefer nil to selected-frame for the first arg of frame-parameter.
18336
18337 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
18338
18339 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
18340
18341 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
18342
18343 * minibuffer.el (completion--twq-all): Try and preserve each
18344 completion's case choice (bug#14907).
18345
18346 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18347
18348 * net/network-stream.el (open-network-stream): Mention the new
18349 :nogreeting parameter.
18350 (network-stream-open-starttls): Use the :nogreeting parameter
18351 (bug#14938).
18352
18353 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
18354
18355 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
18356 more natural than popping.
18357
18358 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
18359 (shr-urlify): Highlight under mouse.
18360
18361 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18362
18363 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
18364
18365 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
18366
18367 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
18368 buffer for output.
18369
18370 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
18371 point-min==1. Fix search string. Fix parentheses missing.
18372
18373 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
18374 assume point-min==1. Fix search string. Fix parentheses missing.
18375
18376 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
18377
18378 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
18379 buffer for output.
18380
18381 2013-07-29 Eli Zaretskii <eliz@gnu.org>
18382
18383 * frame.el (frame-notice-user-settings): Avoid inflooping when the
18384 initial frame is minibuffer-less. (Bug#14841)
18385
18386 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
18387
18388 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
18389 option.
18390
18391 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18392 (tramp-maybe-open-connection): Use it.
18393
18394 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18395
18396 * desktop.el (desktop--make-frame): Include `minibuffer' in the
18397 minimal set of parameters passed when creating a frame, because
18398 the minibuffer status of a frame cannot be changed later.
18399
18400 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
18401
18402 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
18403 replace-regexp-in-string and inadvertent omissions in previous change.
18404 (todo-filter-items): Ensure only file names are comma-separated in
18405 name of filtered items buffer.
18406
18407 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18408
18409 * desktop.el: Optionally force offscreen frames back onscreen.
18410 (desktop-restoring-reuses-frames): New option.
18411 (desktop--compute-pos, desktop--move-onscreen): New functions.
18412 (desktop--make-frame): Use desktop--move-onscreen.
18413
18414 2013-07-27 Alan Mackenzie <acm@muc.de>
18415
18416 Fontify a Java generic method as a function.
18417 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
18418 value to t.
18419
18420 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
18421
18422 * calendar/todo-mode.el: Add command to rename todo files.
18423 (todo-rename-file): New command.
18424 (todo-key-bindings-t): Add key binding for it. Change the
18425 bindings of todo-filter-regexp-items(-multifile) to use `x'
18426 instead of `r', since the latter is better suited to the new
18427 renaming command.
18428
18429 2013-07-27 Alan Mackenzie <acm@muc.de>
18430
18431 Make Java try-with-resources statement parse properly.
18432 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
18433 (c-block-stmt-1-2-key): New language constants/variables.
18434 * progmodes/cc-engine.el (c-beginning-of-statement-1)
18435 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
18436 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
18437 with c-block-stmt-1-2-key.
18438
18439 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
18440
18441 * desktop.el (desktop--make-frame): Apply most frame parameters after
18442 creating the frame to force (partially or totally) offscreen frames to
18443 be restored as such.
18444
18445 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
18446
18447 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
18448 (Bug#14948)
18449
18450 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18451
18452 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
18453 `base' arg of backtrace-frame.
18454
18455 2013-07-26 Eli Zaretskii <eliz@gnu.org>
18456
18457 * simple.el (list-processes): Doc fix.
18458
18459 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18460
18461 * desktop.el (desktop--select-frame):
18462 Try harder to reuse existing frames.
18463
18464 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18465
18466 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
18467 (edebug-eval): Use backtrace-eval.
18468 (edebug--display, edebug--recursive-edit): Don't let-bind the
18469 edebug-outer-* vars that keep track of variables we locally let-bind.
18470 (edebug-outside-excursion): Don't restore outside values of locally
18471 let-bound vars.
18472 (edebug--display): Use user-error.
18473 (cl-lexical-debug, cl-debug-env): Remove.
18474
18475 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18476
18477 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
18478 are restored to be sure that they are visible before deleting any
18479 remaining ones.
18480
18481 2013-07-26 Matthias Meulien <orontee@gmail.com>
18482
18483 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
18484 vc-print-root-log. (Bug#14948)
18485
18486 2013-07-26 Richard Stallman <rms@gnu.org>
18487
18488 Add aliases for encrypting mail.
18489 * epa.el (epa-mail-aliases): New option.
18490 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
18491 Bind inhibit-read-only so read-only text doesn't ruin everything.
18492 (epa-mail-default-recipients): New subroutine broken out.
18493 Handle epa-mail-aliases.
18494
18495 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18496
18497 Add support for lexical variables to the debugger's `e' command.
18498 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
18499 vars, except for debugger-outer-match-data.
18500 (debugger-frame-number): Move check for "on a function call" from
18501 callers into it. Add `skip-base' argument.
18502 (debugger-frame, debugger-frame-clear): Simplify accordingly.
18503 (debugger-env-macro): Only reset the state stored in non-variables,
18504 i.e. current-buffer and match-data.
18505 (debugger-eval-expression): Rewrite using backtrace-eval.
18506 * subr.el (internal--called-interactively-p--get-frame): Remove.
18507 (called-interactively-p):
18508 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
18509 `base' arg of backtrace-frame instead.
18510
18511 2013-07-26 Glenn Morris <rgm@gnu.org>
18512
18513 * align.el (align-regexp): Doc fix. (Bug#14857)
18514 (align-region): Explicit error if subexpression missing/does not match.
18515
18516 * simple.el (global-visual-line-mode):
18517 Do not duplicate the mode lighter. (Bug#14858)
18518
18519 2013-07-25 Martin Rudalics <rudalics@gmx.at>
18520
18521 * window.el (display-buffer): In display-buffer bind
18522 split-window-keep-point to t, bug#14829.
18523
18524 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18525
18526 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
18527 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
18528 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
18529 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18530 Change accordingly.
18531 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18532 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
18533
18534 2013-07-25 Glenn Morris <rgm@gnu.org>
18535
18536 * dired-x.el (dired-mark-extension): Convert comment to doc string.
18537
18538 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18539
18540 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
18541 parameter to modify-frame-parameters if the value has not changed;
18542 this is a workaround for bug#14949.
18543 (desktop--make-frame): On cl-delete-if call, check parameter name,
18544 not full parameter.
18545
18546 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18547
18548 * vc/vc.el (vc-ignore): New function.
18549
18550 * vc/vc-svn.el (vc-svn-ignore): New function.
18551
18552 * vc/vc-hg.el (vc-hg-ignore): New function.
18553
18554 * vc/vc-git.el (vc-git-ignore): New function.
18555
18556 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
18557 (vc-dir-ignore): New function.
18558
18559 * vc/vc-cvs.el (vc-cvs-ignore): New function.
18560 (cvs-append-to-ignore): Move here from pcvs.el.
18561
18562 * vc/vc-bzr.el (vc-bzr-ignore): New function.
18563
18564 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
18565
18566 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
18567
18568 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
18569 (desktop-restore-frames): Warn when deleting an existing frame failed.
18570
18571 2013-07-24 Glenn Morris <rgm@gnu.org>
18572
18573 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
18574
18575 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
18576
18577 * filenotify.el (file-notify-supported-p):
18578 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18579 Remove functions.
18580
18581 * autorevert.el (auto-revert-use-notify)
18582 (auto-revert-notify-add-watch):
18583 * net/tramp.el (tramp-file-name-for-operation):
18584 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18585 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18586 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18587 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18588 Remove `file-notify-supported-p' entry.
18589
18590 2013-07-24 Glenn Morris <rgm@gnu.org>
18591
18592 * printing.el: Replace all uses of deleted ps-windows-system,
18593 ps-lp-system, ps-flatten-list with lpr- versions.
18594
18595 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18596
18597 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
18598 checked with memq (bug#14935).
18599
18600 * files.el (revert-buffer-function): Use a non-nil default.
18601 (revert-buffer-preserve-modes): Declare var to
18602 provide access to the `preserve-modes' argument.
18603 (revert-buffer): Let-bind it.
18604 (revert-buffer--default): New function, extracted from revert-buffer.
18605
18606 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18607
18608 * lpr.el: Signal print errors more prominently.
18609 (print-region-function): Don't default to nil.
18610 (lpr-print-region): New function, extracted from print-region-1.
18611 Check lpr's return value and signal an error in case of problem.
18612 (print-region-1): Use it.
18613 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
18614 versions instead.
18615 (ps-printer-name): Default to nil.
18616 (ps-printer-name-option): Default to lpr-printer-switch.
18617 (ps-print-region-function): Don't default to nil.
18618 (ps-postscript-code-directory): Simplify default.
18619 (ps-do-despool): Use lpr-print-region to properly check the outcome.
18620 (ps-string-list, ps-eval-switch, ps-flatten-list)
18621 (ps-flatten-list-1): Remove.
18622 (ps-multibyte-buffer): Avoid setq.
18623 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
18624 (print-region-function, ps-print-region-function): Don't set them here.
18625
18626 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
18627
18628 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
18629 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
18630 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
18631 (ido-decorations): Doc fix.
18632
18633 * ansi-color.el: Fix old URL.
18634
18635 2013-07-23 Michael R. Mauger <michael@mauger.com>
18636
18637 * progmodes/sql.el: Version 3.3
18638 (sql-product-alist): Improve oracle :prompt-cont-regexp.
18639 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
18640 (sql-interactive-remove-continuation-prompt): Rewrite, use
18641 functions above. Fix continuation prompt and complete output line
18642 handling.
18643 (sql-redirect-one, sql-execute): Use `read-only-mode' on
18644 redirected output buffer.
18645 (sql-mode): Restore deleted code (Bug#13591).
18646
18647 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18648
18649 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
18650
18651 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
18652
18653 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
18654
18655 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18657 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
18658
18659 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18660
18661 * desktop.el (desktop-clear): Simplify; remove useless checks
18662 against invalid buffer names.
18663 (desktop-list*): Use cl-list*.
18664 (desktop-buffer-info, desktop-create-buffer): Simplify.
18665
18666 2013-07-23 Leo Liu <sdl.web@gmail.com>
18667
18668 * bookmark.el (bookmark-make-record): Restore NAME as a default
18669 value. (Bug#14933)
18670
18671 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
18672
18673 * emacs-lisp/autoload.el (autoload--setup-output): New function,
18674 extracted from autoload--insert-text.
18675 (autoload--insert-text): Remove.
18676 (autoload--print-cookie-text): New function, extracted from
18677 autoload--insert-cookie-text.
18678 (autoload--insert-cookie-text): Remove.
18679 (autoload-generate-file-autoloads): Adjust calls accordingly.
18680
18681 * winner.el (winner-hook-installed-p): Remove.
18682 (winner-mode): Simplify accordingly.
18683
18684 * subr.el (add-to-list): Fix compiler-macro when `append' is
18685 not constant. Don't use `cl-member' for the base case.
18686
18687 * progmodes/subword.el: Fix boundary case (bug#13758).
18688 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
18689 own group.
18690 (subword-backward-regexp): Make it a constant.
18691 (subword-forward-internal): Don't treat a trailing capital as the
18692 beginning of a word.
18693
18694 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
18695
18696 * emacs-lisp/package.el (package-menu-mode): Don't modify the
18697 global value of tabulated-list-revert-hook (bug#14930).
18698
18699 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
18700
18701 * desktop.el: Require 'cl-lib.
18702 (desktop-before-saving-frames-functions): New hook.
18703 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
18704 for frames being saved. Rename from desktop--save-minibuffer-frames.
18705 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
18706 Do not save frames with non-nil `desktop-dont-save' parameter.
18707 Filter out deleted frames.
18708 (desktop--find-frame): Use cl-find-if.
18709 (desktop--select-frame): Use cl-(first|second|third) to access values
18710 of desktop-mini.
18711 (desktop--make-frame): Use cl-delete-if.
18712 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
18713 (desktop-restore-frames): Use cl-(first|second|third) to access values
18714 of desktop-mini. Look for visible frame at the end, not while
18715 restoring frames.
18716
18717 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
18718 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
18719 Use string-match-p, looking-at-p (bug#14927).
18720
18721 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
18722
18723 * desktop.el (desktop-saved-frame-states):
18724 Rename from desktop--saved-states; all users changed.
18725 (desktop-save-frames): Rename from desktop--save-frames.
18726 Do not save state to desktop file.
18727 (desktop-save): Save desktop-saved-frame-states to desktop file
18728 and reset to nil.
18729 (desktop-restoring-frames-p): New function.
18730 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
18731 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
18732 buffer-lists when restoring frames. Suggested by Martin Rudalics.
18733
18734 * desktop.el: Correctly restore iconified frames.
18735 (desktop--filter-iconified-position): New function.
18736 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
18737
18738 2013-07-20 Glenn Morris <rgm@gnu.org>
18739
18740 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
18741 Let `message' do the formatting.
18742 (def-gdb-preempt-display-buffer): Add explicit format.
18743
18744 * image-dired.el (image-dired-track-original-file):
18745 Use with-current-buffer.
18746 (image-dired-track-thumbnail): Use with-current-buffer.
18747 Avoid changing point of wrong window.
18748
18749 * image-dired.el (image-dired-track-original-file):
18750 Avoid changing point of wrong window. (Bug#14909)
18751
18752 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
18753
18754 * progmodes/gdb-mi.el (gdb-done-or-error):
18755 Guard against "%" in gdb output. (Bug#14127)
18756
18757 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
18758
18759 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
18760 (Bug#14826)
18761
18762 * international/mule.el (coding-system-iso-2022-flags): Fix last
18763 change.
18764
18765 2013-07-20 Kenichi Handa <handa@gnu.org>
18766
18767 * international/mule.el (coding-system-iso-2022-flags):
18768 Add `8-bit-level-4'. (Bug#8522)
18769
18770 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18771
18772 * net/shr.el (shr-mouse-browse-url): New command and keystroke
18773 (bug#14815).
18774
18775 * net/eww.el (eww-process-text-input): Allow inputting when the
18776 point is at the start of the line, as the properties aren't
18777 front-sticky.
18778
18779 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
18780 degenerate widths.
18781
18782 2013-07-19 Richard Stallman <rms@gnu.org>
18783
18784 * epa.el (epa-popup-info-window): Doc fix.
18785
18786 * subr.el (split-string): New arg TRIM.
18787
18788 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
18789
18790 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
18791 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
18792
18793 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
18794
18795 * filenotify.el (file-notify--library): Rename from
18796 `file-notify-support'. Do not autoload. Adapt all uses.
18797 (file-notify-supported-p): New defun.
18798
18799 * autorevert.el (auto-revert-use-notify):
18800 Use `file-notify-supported-p' instead of `file-notify-support'.
18801 Adapt docstring.
18802 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
18803
18804 * net/tramp.el (tramp-file-name-for-operation):
18805 Add `file-notify-supported-p'.
18806
18807 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18808 New defun.
18809 (tramp-sh-file-name-handler-alist): Add it as handler for
18810 `file-notify-supported-p '.
18811
18812 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18813 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18814 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18815 Add `ignore' as handler for `file-notify-*' functions.
18816
18817 2013-07-17 Eli Zaretskii <eliz@gnu.org>
18818
18819 * simple.el (line-move-partial, line-move): Don't start vscroll or
18820 scroll-up if the current line is not taller than the window.
18821 (Bug#14881)
18822
18823 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
18824
18825 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
18826 highlight question marks in the method names as strings.
18827 (ruby-block-beg-keywords): Inline.
18828 (ruby-font-lock-keyword-beg-re): Extract from
18829 `ruby-font-lock-keywords'.
18830
18831 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
18832
18833 * frame.el (blink-cursor-blinks): New defcustom.
18834 (blink-cursor-blinks-done): New defvar.
18835 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
18836 (blink-cursor-timer-function): Check if number of blinks has been
18837 done on X and NS.
18838 (blink-cursor-suspend, blink-cursor-check): New defuns.
18839
18840 2013-07-15 Glenn Morris <rgm@gnu.org>
18841
18842 * edmacro.el (edmacro-format-keys): Fix previous change.
18843
18844 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
18845
18846 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
18847 The hack didn't work outside English locales anyway.
18848
18849 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
18850
18851 * simple.el (define-alternatives): Rename from alternatives-define,
18852 per RMS' suggestion.
18853
18854 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
18855
18856 * desktop.el (desktop-restore-frames): Change default to t.
18857 (desktop-restore-in-current-display): Now offer more options.
18858 (desktop-restoring-reuses-frames): New customization option.
18859 (desktop--saved-states): Doc fix.
18860 (desktop-filter-parameters-alist): New variable, renamed and expanded
18861 from desktop--excluded-frame-parameters.
18862 (desktop--target-display): New variable.
18863 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
18864 (desktop--filter-tty*, desktop--filter-*-color)
18865 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18866 (desktop--filter-save-desktop-parm)
18867 (desktop-restore-in-original-display-p): New functions.
18868 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
18869 (desktop--save-minibuffer-frames): New function, inspired by a similar
18870 function from Martin Rudalics.
18871 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
18872 (desktop--restore-in-this-display-p): Remove.
18873 (desktop--find-frame): Rename from desktop--find-frame-in-display
18874 and add predicate argument.
18875 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
18876 (desktop--reuse-list): New variable.
18877 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
18878 New functions.
18879 (desktop--restore-frames): Add support for "minibuffer-special" frames.
18880
18881 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
18882
18883 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
18884
18885 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
18886
18887 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18888 Highlight conversion methods on Kernel.
18889
18890 2013-07-13 Alan Mackenzie <acm@muc.de>
18891
18892 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
18893 and comment it out. This out-commenting enables certain C++
18894 declarations to be parsed correctly.
18895
18896 2013-07-13 Eli Zaretskii <eliz@gnu.org>
18897
18898 * international/mule.el (define-coding-system): Doc fix.
18899
18900 * simple.el (default-font-height): Don't call font-info if the
18901 frame's default font didn't change since the frame was created.
18902 (Bug#14838)
18903
18904 2013-07-13 Leo Liu <sdl.web@gmail.com>
18905
18906 * ido.el (ido-read-file-name): Guard against non-symbol value.
18907
18908 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18909
18910 * progmodes/python.el (python-imenu--build-tree): Fix corner case
18911 in nested defuns.
18912
18913 2013-07-13 Leo Liu <sdl.web@gmail.com>
18914
18915 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
18916 ido-set-matches call. (Bug#6852)
18917
18918 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
18919
18920 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
18921 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
18922 Ruby 2.0.
18923 (ruby-font-lock-keywords): Distinguish calls to functions with
18924 module-like names from module references. Highlight character
18925 literals.
18926
18927 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
18928
18929 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
18930 (gdb-send): Handle continued commands. (Bug#14847)
18931
18932 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
18933
18934 * desktop.el (desktop--v2s): Remove unused local variable.
18935 (desktop-save-buffer): Make defvar-local; adjust docstring.
18936 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
18937 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
18938
18939 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
18940
18941 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
18942
18943 2013-07-12 Eli Zaretskii <eliz@gnu.org>
18944
18945 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
18946 (Bug#14842)
18947
18948 2013-07-12 Glenn Morris <rgm@gnu.org>
18949
18950 * doc-view.el: Require cl-lib at runtime too.
18951 (doc-view-remove-if): Remove.
18952 (doc-view-search-next-match, doc-view-search-previous-match):
18953 Use cl-remove-if.
18954
18955 * edmacro.el: Require cl-lib at runtime too.
18956 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
18957 (edmacro-mismatch, edmacro-subseq): Remove.
18958
18959 * shadowfile.el: Require cl-lib.
18960 (shadow-remove-if): Remove.
18961 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
18962 Use cl-remove-if.
18963
18964 * wid-edit.el: Require cl-lib.
18965 (widget-choose): Use cl-remove-if.
18966 (widget-remove-if): Remove.
18967
18968 * progmodes/ebrowse.el: Require cl-lib at runtime too.
18969 (ebrowse-delete-if-not): Remove.
18970 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
18971 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
18972 Use cl-delete-if-not.
18973
18974 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
18975
18976 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
18977 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
18978
18979 2013-07-12 Leo Liu <sdl.web@gmail.com>
18980
18981 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
18982
18983 2013-07-11 Glenn Morris <rgm@gnu.org>
18984
18985 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
18986 (edebug-gensym-index, edebug-gensym):
18987 Remove reimplementation of cl-gensym.
18988 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
18989
18990 * thumbs.el: Require cl-lib at run-time too.
18991 (thumbs-gensym-counter, thumbs-gensym):
18992 Remove reimplementation of cl-gensym.
18993 (thumbs-temp-file): Use cl-gensym.
18994
18995 * emacs-lisp/ert.el: Require cl-lib at runtime too.
18996 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
18997 (ert--intersection, ert--set-difference, ert--set-difference-eq)
18998 (ert--union, ert--gensym-counter, ert--gensym-counter)
18999 (ert--coerce-to-vector, ert--remove*, ert--string-position)
19000 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
19001 (ert-make-test-unbound, ert--expand-should-1)
19002 (ert--expand-should, ert--should-error-handle-error)
19003 (should-error, ert--explain-equal-rec)
19004 (ert--plist-difference-explanation, ert-select-tests)
19005 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19006 Use cl-lib functions rather than reimplementations.
19007
19008 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
19009
19010 * net/tramp.el (tramp-methods): Extend docstring.
19011 (tramp-connection-timeout): New defcustom.
19012 (tramp-error-with-buffer): Reset timestamp only when appropriate.
19013 (with-tramp-progress-reporter): Simplify.
19014 (tramp-process-actions): Improve messages.
19015
19016 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19017 * net/tramp-sh.el (tramp-maybe-open-connection):
19018 Use `tramp-connection-timeout'.
19019 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19020 (Bug#14808)
19021
19022 2013-07-11 Leo Liu <sdl.web@gmail.com>
19023
19024 * ido.el (ido-read-file-name): Conform to the requirements of
19025 read-file-name. (Bug#11861)
19026 (ido-read-directory-name): Conform to the requirements of
19027 read-directory-name.
19028
19029 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
19030
19031 * subr.el (delay-warning): New function.
19032
19033 2013-07-10 Eli Zaretskii <eliz@gnu.org>
19034
19035 * simple.el (default-line-height): New function.
19036 (line-move-partial, line-move): Use it instead of computing the
19037 line height inline.
19038 (line-move-partial): Always compute ROWH. If the last line is
19039 partially-visible, but its text is completely visible, allow
19040 cursor to enter such a partially-visible line.
19041
19042 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
19043
19044 Improve error messages. (Bug#14808)
19045
19046 * net/tramp.el (tramp-current-connection): New defvar, moved from
19047 tramp-sh.el.
19048 (tramp-message-show-progress-reporter-message): Remove, not
19049 needed anymore.
19050 (tramp-error-with-buffer): Show message in minibuffer.
19051 Discard input before waiting. Reset connection timestamp.
19052 (with-tramp-progress-reporter): Improve messages.
19053 (tramp-process-actions): Use progress reporter. Delete process in
19054 case of error. Improve messages.
19055
19056 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19057 Call `tramp-error-with-buffer' with vector and buffer.
19058 (tramp-current-connection): Remove.
19059 (tramp-maybe-open-connection): The car of
19060 `tramp-current-connection' are the first 3 slots of the vector.
19061
19062 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
19063
19064 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19065 inside continued strings.
19066
19067 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
19068
19069 Timestamp fixes for undo (Bug#14824).
19070 * files.el (clear-visited-file-modtime): Move here from fileio.c.
19071
19072 2013-07-10 Leo Liu <sdl.web@gmail.com>
19073
19074 * files.el (require-final-newline): Allow safe local value.
19075 (Bug#14834)
19076
19077 2013-07-09 Leo Liu <sdl.web@gmail.com>
19078
19079 * ido.el (ido-read-directory-name): Handle fallback.
19080 (ido-read-file-name): Update DIR to ido-current-directory.
19081 (Bug#1516)
19082 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
19083
19084 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
19085
19086 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19087 "autoload". Remove "warn lower camel case" section, previously
19088 commented out. Highlight negation char. Do not highlight the
19089 target in singleton method definitions.
19090
19091 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19092
19093 * faces.el (tty-setup-hook): Declare the hook.
19094
19095 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19096 and detect when a guard/pred depends on local vars (bug#14773).
19097 (pcase--u1): Adjust caller.
19098
19099 2013-07-08 Eli Zaretskii <eliz@gnu.org>
19100
19101 * simple.el (line-move-partial, line-move): Account for
19102 line-spacing.
19103 (line-move-partial): Avoid setting vscroll when the last
19104 partially-visible line in window is of default height.
19105
19106 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19107
19108 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19109 been used a while.
19110
19111 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
19112
19113 * subr.el (read-quoted-char): Remove unused local variable `char'.
19114
19115 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
19116
19117 * vc/ediff.el (ediff-version): Version update.
19118 (ediff-files-command, ediff3-files-command, ediff-merge-command)
19119 (ediff-merge-with-ancestor-command, ediff-directories-command)
19120 (ediff-directories3-command, ediff-merge-directories-command)
19121 (ediff-merge-directories-with-ancestor-command): New functions.
19122 All are command-line interfaces to ediff: to facilitate calling
19123 Emacs with the appropriate ediff functions invoked.
19124
19125 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19126 New function.
19127 (viper-save-kill-buffer): Check if buffer is modified.
19128
19129 * emulation/viper.el (viper-version): Version update.
19130 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19131
19132 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
19133
19134 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19135 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19136 (viper-intercept-ESC-key): Simplify.
19137 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19138 don't use kbd.
19139 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19140 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19141 (viper-setup-ESC-to-escape): New functions.
19142 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19143 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
19144
19145 2013-07-07 Eli Zaretskii <eliz@gnu.org>
19146
19147 * simple.el (default-font-height, window-screen-lines):
19148 New functions.
19149 (line-move, line-move-partial): Use them instead of
19150 frame-char-height and window-text-height. This makes scrolling
19151 text smoother when the buffer's default face uses a font that is
19152 different from the frame's default font.
19153
19154 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
19155
19156 * files.el (write-file): Do not display confirm dialog for NS,
19157 it does its own dialog, which can't be canceled (Bug#14578).
19158
19159 2013-07-06 Eli Zaretskii <eliz@gnu.org>
19160
19161 * simple.el (line-move-partial): Adjust the row returned by
19162 posn-at-point for the current window-vscroll. (Bug#14567)
19163
19164 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
19165
19166 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19167 (tramp-sh-file-inotifywait-process-filter): Handle file names with
19168 spaces.
19169
19170 2013-07-06 Martin Rudalics <rudalics@gmx.at>
19171
19172 * window.el (window-state-put-stale-windows): New variable.
19173 (window--state-put-2): Save list of windows without matching buffer.
19174 (window-state-put): Remove "bufferless" windows if possible.
19175
19176 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19177
19178 * simple.el (alternatives-define): Remove leftover :group keyword.
19179 Tweak docstring.
19180
19181 2013-07-06 Leo Liu <sdl.web@gmail.com>
19182
19183 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19184 (ido-enable-virtual-buffers): New variable.
19185 (ido-buffer-internal, ido-toggle-virtual-buffers)
19186 (ido-make-buffer-list): Use it.
19187 (ido-exhibit): Support turning on and off virtual buffers
19188 automatically.
19189
19190 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19191
19192 * simple.el (alternatives-define): New macro.
19193
19194 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
19195
19196 * subr.el (read-quoted-char): Use read-key.
19197 (sit-for): Let read-event decode tty input (bug#14782).
19198
19199 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
19200
19201 * calendar/todo-mode.el: Add handling of file deletion, both by
19202 mode command and externally. Fix various related bugs.
19203 Clarify Commentary and improve some documentation strings and code.
19204 (todo-delete-file): New command.
19205 (todo-check-file): New function.
19206 (todo-show): Handle external deletion of the file we're trying to
19207 show (bug#14688). Replace called-interactively-p by an optional
19208 prefix argument to avoid problematic interaction with catch form
19209 when byte compiled (bug#14702).
19210 (todo-quit): Handle external deletion of the archive's todo file.
19211 Make sure the buffer that was visiting the archive file is still
19212 live before trying to bury it.
19213 (todo-category-completions): Handle external deletion of any
19214 category completion files.
19215 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19216 of todo files, in case of external deletion.
19217 (todo-add-file): Replace unnecessary setq by let-binding.
19218 (todo-find-archive): Check whether there are any archives.
19219 Replace unnecessary setq by let-binding.
19220 (todo-archive-done-item): Use find-file-noselect to get the
19221 archive buffer whether or not the archive already exists.
19222 Remove superfluous code. Use file size instead of buffer-file-name to
19223 check if the archive is new; if it is, update list of archives.
19224 (todo-default-todo-file): Allow nil to be a valid value for when
19225 there are no todo files.
19226 (todo-reevaluate-default-file-defcustom): Use corrected definition
19227 of todo-default-todo-file.
19228 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19229 (todo-delete-category, todo-show-categories-table)
19230 (todo-category-number): Clarify comment.
19231 (todo-filter-items): Clarify documentation string.
19232 (todo-show-current-file, todo-display-as-todo-file)
19233 (todo-reset-and-enable-done-separator): Tweak documentation string.
19234 (todo-done-separator): Make separator length window-width, since
19235 bug#2749 is now fixed.
19236
19237 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
19238
19239 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19240 Support both "gvfs-monitor-dir" and "inotifywait".
19241 (tramp-sh-file-inotifywait-process-filter): Rename from
19242 `tramp-sh-file-notify-process-filter'.
19243 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19244 (tramp-get-remote-gvfs-monitor-dir): New defuns.
19245
19246 2013-07-05 Leo Liu <sdl.web@gmail.com>
19247
19248 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19249
19250 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19251
19252 * frame.el (display-pixel-height, display-pixel-width)
19253 (display-mm-height, display-mm-width): Mention behavior on
19254 multi-monitor setups in docstrings.
19255 (w32-display-monitor-attributes-list): Declare function.
19256 (display-monitor-attributes-list): Use it.
19257
19258 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
19259
19260 * filenotify.el: New package.
19261
19262 * autorevert.el (top): Require filenotify.el.
19263 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
19264 instead.
19265 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19266 (auto-revert-notify-handler): Use `file-notify-*' functions.
19267
19268 * subr.el (file-notify-handle-event): Move function to filenotify.el.
19269
19270 * net/tramp.el (tramp-file-name-for-operation):
19271 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19272
19273 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19274 for `file-notify-add-watch' and `file-notify-rm-watch'.
19275 (tramp-process-sentinel): Improve trace.
19276 (tramp-sh-handle-file-notify-add-watch)
19277 (tramp-sh-file-notify-process-filter)
19278 (tramp-sh-handle-file-notify-rm-watch)
19279 (tramp-get-remote-inotifywait): New defuns.
19280
19281 2013-07-03 Juri Linkov <juri@jurta.org>
19282
19283 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19284 call of `occur-read-primary-args' to interactive spec.
19285
19286 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19287 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
19288
19289 2013-07-03 Matthias Meulien <orontee@gmail.com>
19290
19291 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19292 `Buffer-menu-multi-occur'. Add it to the menu.
19293 (Buffer-menu-mode): Document it in docstring.
19294 (Buffer-menu-multi-occur): New command. (Bug#14673)
19295
19296 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19297
19298 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
19299 keywords and built-ins.
19300
19301 2013-07-03 Glenn Morris <rgm@gnu.org>
19302
19303 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
19304
19305 Make info-xref checks case-sensitive by default
19306 * info.el (Info-find-node, Info-find-in-tag-table)
19307 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
19308 Add option for exact case matching of nodes.
19309 * info-xref.el (info-xref): New custom group.
19310 (info-xref-case-fold): New option.
19311 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
19312
19313 2013-07-03 Leo Liu <sdl.web@gmail.com>
19314
19315 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
19316
19317 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19318
19319 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
19320 middle of block statement initially, lower the depth. Remove
19321 FIXME comment, not longer valid. Remove middle of block statement
19322 detection, no need to do that anymore since we've been using
19323 `ruby-parse-region' here.
19324
19325 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
19326
19327 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
19328
19329 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
19330
19331 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
19332
19333 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
19334
19335 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
19336 (desktop-restore-in-current-display): New customization option.
19337 (desktop--excluded-frame-parameters): Add `font'.
19338 (desktop--save-frames): Rename from desktop--save-windows.
19339 (desktop--restore-in-this-display-p): New function.
19340 (desktop--make-full-frame): Remove unwanted width/height from
19341 full(width|height) frames.
19342 (desktop--restore-frames): Rename from desktop--restore-windows.
19343 Obey desktop-restore-current-display. Do not delete old frames or
19344 select a new frame unless we were able to restore at least one frame.
19345
19346 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
19347
19348 * files.el (find-file-noselect): Simplify conditional expression.
19349
19350 * textmodes/remember.el (remember-append-to-file):
19351 Don't mix `find-buffer-visiting' and `get-file-buffer'.
19352
19353 Add `remember-notes' function to store random notes across Emacs
19354 restarts.
19355 * textmodes/remember.el (remember-data-file): Add :set callback to
19356 affect notes buffer (if any).
19357 (remember-notes): New command.
19358 (remember-notes-buffer-name, bury-remember-notes-on-kill):
19359 New defcustoms for the `remember-notes' function.
19360 (remember-notes-save-and-bury-buffer): New command.
19361 (remember-notes-mode-map): New variable.
19362 (remember-mode): New minor mode.
19363 (remember-notes--kill-buffer-query): New function.
19364 * startup.el (initial-buffer-choice): Add notes to custom type.
19365
19366 2013-06-30 Eli Zaretskii <eliz@gnu.org>
19367
19368 * bindings.el (right-char, left-char): Don't call sit-for, this is
19369 no longer needed. Use arithmetic comparison only for numerical
19370 arguments.
19371
19372 * international/mule-cmds.el (select-safe-coding-system):
19373 Handle the case of FROM being a string correctly. (Bug#14755)
19374
19375 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19376
19377 * net/shr.el (shr-make-table-1): Add a sanity check that allows
19378 progression on degenerate tables.
19379 (shr-rescale-image): ImageMagick animated images currently don't work.
19380
19381 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
19382
19383 Some fixes and improvements for desktop frame restoration.
19384 It is still experimental and disabled by default.
19385 * desktop.el (desktop--save-windows): Put the selected frame at
19386 the head of the list.
19387 (desktop--make-full-frame): New function.
19388 (desktop--restore-windows): Try to re-select the frame that was
19389 selected upon saving. Do not abort if some frames fail to restore,
19390 just show an error message and continue. Set up maximized frames
19391 so they have default non-maximized dimensions.
19392
19393 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
19394
19395 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
19396 Don't start heredoc inside a string or comment.
19397
19398 2013-06-29 Eli Zaretskii <eliz@gnu.org>
19399
19400 * bindings.el (visual-order-cursor-movement): New defcustom.
19401 (right-char, left-char): Provide visual-order cursor motion by
19402 calling move-point-visually. Update the doc strings.
19403
19404 2013-06-28 Kenichi Handa <handa@gnu.org>
19405
19406 * international/mule.el (define-coding-system): New coding system
19407 properties :inhibit-null-byte-detection,
19408 :inhibit-iso-escape-detection, and :prefer-utf-8.
19409 (set-buffer-file-coding-system): If :charset-list property of
19410 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
19411 appropriate for setting.
19412
19413 * international/mule-cmds.el (select-safe-coding-system):
19414 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
19415 multibyte characters, return utf-8 (or one of its siblings).
19416
19417 * international/mule-conf.el (prefer-utf-8): New coding system.
19418 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
19419 files.
19420
19421 2013-06-28 Ivan Kanis <ivan@kanis.fr>
19422
19423 * net/shr.el (shr-render-region): New function.
19424
19425 * net/eww.el: Autoload `eww-browse-url'.
19426
19427 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
19428
19429 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19430 Adapt to `package-desc-version' being a list.
19431 Use `package--ac-desc-version' to retrieve version from a package
19432 archive element.
19433
19434 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
19435
19436 New experimental feature to save&restore window and frame setup.
19437 * desktop.el (desktop-save-windows): New defcustom.
19438 (desktop--saved-states): New var.
19439 (desktop--excluded-frame-parameters): New defconst.
19440 (desktop--filter-frame-parms, desktop--find-frame-in-display)
19441 (desktop--restore-windows, desktop--save-windows): New functions.
19442 (desktop-save): Call `desktop--save-windows'.
19443 (desktop-read): Call `desktop--restore-windows'.
19444
19445 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19446
19447 * net/shr.el (add-face-text-property): Remove compat definition.
19448
19449 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19450
19451 * info.el (Info-try-follow-nearest-node): Move search for footnote
19452 above search for node name to prevent missing a footnote (bug#14717).
19453
19454 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19455
19456 * obsolete/otodo-mode.el: Add obsolescence info to file header.
19457
19458 2013-06-27 Leo Liu <sdl.web@gmail.com>
19459
19460 * net/eww.el (eww-read-bookmarks): Check file size.
19461
19462 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19463
19464 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
19465 advice--pending if newdef is nil or an autoload (bug#13820).
19466 (advice-mapc): New function.
19467
19468 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19469
19470 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
19471 probably.
19472 (eww-mode-map): Add a menu bar.
19473 (eww-add-bookmark): New command.
19474 (eww-bookmark-mode): New mode and commands.
19475 (eww-add-bookmark): Remove newlines from the title.
19476 (eww-bookmark-browse): Don't bug out if it's the only window.
19477
19478 2013-06-26 Glenn Morris <rgm@gnu.org>
19479
19480 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
19481 (hfy-size): Handle ttys. (Bug#14668)
19482
19483 * info-xref.el: Update for Texinfo 5 change in *note format.
19484 (info-xref-node-re, info-xref-note-re): New constants.
19485 (info-xref-check-buffer): Use info-xref-note-re.
19486
19487 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19488
19489 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
19490
19491 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
19492 nil terminate the loop (bug#14718).
19493
19494 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19495
19496 * net/eww.el: Rework history traversal. When going forward/back,
19497 put these actions into the history, too, so that they can be
19498 replayed.
19499 (eww-render): Move the history reset to the correct buffer.
19500
19501 2013-06-25 Juri Linkov <juri@jurta.org>
19502
19503 * files-x.el (modify-dir-local-variable): Change the header comment
19504 in the file with directory local variables. (Bug#14692)
19505
19506 * files-x.el (read-file-local-variable-value): Add `default'.
19507 (Bug#14710)
19508
19509 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19510
19511 * net/eww.el (eww-make-unique-file-name): Create a unique file
19512 name before saving to entering `y' accidentally asynchronously.
19513
19514 2013-06-25 Ivan Kanis <ivan@kanis.fr>
19515
19516 * net/eww.el (eww-download): New command and keystroke.
19517
19518 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19519
19520 * net/eww.el (eww-copy-page-url): Change name of command.
19521
19522 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
19523 be more consistent with Info and dired.
19524
19525 * net/eww.el (eww-mode-map): Ditto.
19526
19527 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19528
19529 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
19530 packages from archives.
19531 (package-archive-contents): Change format; include obsolete packages.
19532 (package-desc): Use `dir' to mark builtin packages.
19533 (package--from-builtin): Set the `dir' field to `builtin'.
19534 (generated-autoload-file, version-control): Declare.
19535 (package-compute-transaction): Change first arg and return value to be
19536 lists of package-descs. Adjust to new package-archive-contents format.
19537 (package--add-to-archive-contents): Adjust to new
19538 package-archive-contents format.
19539 (package-download-transaction): Arg is now a list of package-descs.
19540 (package-install): If `pkg' is a package name, pass it as
19541 a requirement, so it is subject to the usual (e.g. disabled) checks.
19542 (describe-package): Accept package-desc as well.
19543 (describe-package-1): Describe a specific package-desc. Add links to
19544 other package-descs for the same package name.
19545 (package-menu-describe-package): Pass the actual package-desc.
19546 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
19547 works correctly.
19548 (package-desc-status): New function.
19549 (package-menu--refresh): New function, extracted
19550 from package-menu--generate.
19551 (package-menu--generate): Use it.
19552 (package-delete): Update package-alist.
19553 (package-menu-execute): Don't call package-initialize.
19554
19555 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
19556 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
19557 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
19558 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
19559 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
19560 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
19561
19562 2013-06-25 Martin Rudalics <rudalics@gmx.at>
19563
19564 * window.el (window--state-get-1): Workaround for bug#14527.
19565 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
19566
19567 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19568
19569 * net/eww.el (eww-back-url): Implement the history by stashing all
19570 the data into a list.
19571 (eww-forward-url): Allow going forward in the history, too.
19572
19573 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19574
19575 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
19576 for values and use read--expression for expressions (bug#14710).
19577 (read-file-local-variable): Avoid setq.
19578 (read-file-local-variable-mode): Use minor-mode-list.
19579
19580 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19581
19582 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
19583 for DOI URLs.
19584
19585 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19586
19587 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
19588 Update imenu-support when dialect changes.
19589
19590 2013-06-25 Leo Liu <sdl.web@gmail.com>
19591
19592 * ido.el (ido-read-internal): Allow forward slash on windows.
19593
19594 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19595
19596 * net/eww.el (eww): Start of strings is \\`, not ^.
19597
19598 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19599
19600 * net/shr.el (shr-browse-url): Fix interactive spec.
19601
19602 * net/eww.el (eww): Add a trailing slash to domain names.
19603
19604 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
19605
19606 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
19607
19608 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19609
19610 * net/shr.el (shr-browse-url): Use an external browser if given a
19611 prefix.
19612
19613 * net/eww.el (eww-external-browser): Move to shr.
19614
19615 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19616
19617 * net/eww.el (eww): Work more correctly for file: URLs.
19618 (eww-detect-charset): Allow quoted charsets.
19619 (eww-yank-page-url): New command and keystroke.
19620
19621 2013-06-24 Daiki Ueno <ueno@gnu.org>
19622
19623 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
19624 file name of gpg executable.
19625 (epg-context-program): New function.
19626 (epg-context-home-directory): New function.
19627 (epg-context-set-program): New function.
19628 (epg-context-set-home-directory): New function.
19629 (epg--start): Use `epg-context-program' instead of
19630 'epg-gpg-program'.
19631 (epg--list-keys-1): Likewise.
19632
19633 2013-06-24 Leo Liu <sdl.web@gmail.com>
19634
19635 * ido.el (ido-read-internal): Fix bug#14620.
19636
19637 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19638
19639 * faces.el (face-documentation): Simplify.
19640 (read-face-attribute, tty-find-type, x-resolve-font-name):
19641 Use `string-match-p'.
19642 (list-faces-display): Use `string-match-p'. Simplify.
19643 (face-spec-recalc): Check face to avoid face alias loops.
19644 (read-color): Use `string-match-p' and non-capturing parenthesis.
19645
19646 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19647
19648 * net/shr.el (shr-rescale-image): Use the new
19649 :max-width/:max-height functionality.
19650
19651 2013-06-23 Ivan Kanis <ivan@kanis.fr>
19652
19653 * net/eww.el (eww-search-prefix): New variable.
19654 (eww): Use it.
19655 (eww-external-browser): New variable.
19656 (eww-mode-map): New keystroke.
19657 (eww-browse-with-external-browser): New command.
19658
19659 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
19660
19661 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19662
19663 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19664 Don't skip aligning the next header field when padding is 0;
19665 otherwise, field width is not respected unless the title is as
19666 wide as the field.
19667
19668 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
19669
19670 * emacs-lisp/package.el (package-el-version): Remove.
19671 (package-process-define-package): Fix inf-loop.
19672 (package-install): Allow symbols as arguments again.
19673
19674 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19675
19676 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
19677 add some more keyword-like methods.
19678 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
19679
19680 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
19681
19682 * bs.el (bs-buffer-show-mark): Make defvar-local.
19683 (bs-mode): Use setq-local.
19684
19685 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
19686 (emacs-lock--try-unlocking): Make defvar-local.
19687
19688 2013-06-22 Glenn Morris <rgm@gnu.org>
19689
19690 * play/cookie1.el (cookie-apropos): Minor simplification.
19691
19692 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
19693
19694 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19695
19696 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
19697 `regexp-opt', it breaks the build during dumping.
19698
19699 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
19700
19701 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19702 Highlight keyword-like methods on Kernel and Module with
19703 font-lock-builtin-face.
19704 (auto-mode-alist): Consolidate different entries into one regexp
19705 and add more *file-s.
19706
19707 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
19708
19709 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
19710
19711 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
19712 (diary-entry): Use it in the action of this button type instead of
19713 diary-goto-entry.
19714
19715 * calendar/todo-mode.el: New version.
19716 (todo-add-category): Append new category to end of file and give
19717 it the highest number, instead of putting it at the beginning and
19718 giving it 0. Incorporate noninteractive functionality.
19719 (todo-forward-category): Adapt to 1-based category numbering.
19720 Allow skipping over archived categories.
19721 (todo-backward-category): Derive from todo-forward-category.
19722 (todo-backward-item, todo-forward-item): Make noninteractive and
19723 delegate interactive part to new commands. Make sensitive to done items.
19724 (todo-categories): Make value an alist of category names and
19725 vectors of item counts.
19726 (todo-category-beg): Make a defconst.
19727 (todo-category-number): Use 1 instead of 0 as initial value.
19728 (todo-category-select): Make sensitive to overlays, optional item
19729 highlighting and done items.
19730 (todo-delete-item): Make sensitive to overlays and marked and done items.
19731 (todo-edit-item): Make sensitive to overlays and editing of
19732 date/time header optional. Add format checks.
19733 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
19734 no-op if point is not on an item. Advertise using todo-edit-quit.
19735 (todo-edit-mode): Make sensitive to new format, font-locking, and
19736 multiple todo files.
19737 (todo-insert-item, todo-insert-item-here): Derive from
19738 todo-basic-insert-item and extend functionality.
19739 (todo-item-end, todo-item-start): Make sensitive to done items.
19740 (todo-item-string): Don't return text properties. Restore point.
19741 (todo-jump-to-category): Make sensitive to multiple todo files and
19742 todo archives. Use extended category completion.
19743 (todo-lower-item, todo-raise-item): Rename to *-priority and
19744 derive from todo-set-item-priority.
19745 (todo-mode): Derive from special-mode. Make sensitive to new
19746 format, font-locking and multiple todo files. Make read-only.
19747 (todo-mode-map): Don't suppress digit keys, so they can supply
19748 prefix arguments. Add many new key bindings.
19749 (todo-prefix): Insert as an overlay instead of file text.
19750 Change semantics from diary date expression to purely visual mark.
19751 (todo-print): Rename to todo-print-buffer. Make buffer display
19752 features printable. Remove option to restrict number of items
19753 printed. Add option to print to file.
19754 (todo-print-function): Rename to todo-print-buffer-function.
19755 (todo-quit): Extend to handle exiting new todo modes.
19756 (todo-remove-item): Make sensitive to overlays.
19757 (todo-save): Extend to buffers of filtered items.
19758 (todo-show): Make sensitive to done items, multiple todo files and
19759 new todo modes. Offer to convert legacy todo file before creating
19760 first new todo file.
19761 (todo-show-priorities): Rename to todo-top-priorities.
19762 Change semantics of value 0.
19763 (todo-top-priorities): Rename to todo-filter-top-priorities,
19764 derive from todo-filter-items and extend functionality.
19765 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
19766 and extend functionality to other types of filtered items.
19767 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
19768 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
19769 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
19770 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
19771 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
19772 (todo-edit-mode-hook, todo-entry-prefix-function)
19773 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
19774 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
19775 (todo-initials, todo-insert-threshold, todo-item-string-start)
19776 (todo-line-string, todo-menu, todo-mode-hook)
19777 (todo-more-important-p, todo-previous-answer, todo-previous-line)
19778 (todo-print-priorities, todo-remove-separator)
19779 (todo-save-top-priorities-too, todo-string-count-lines)
19780 (todo-string-multiline-p, todo-time-string-format)
19781 (todo-tmp-buffer-name): Remove.
19782 (todo-add-file, todo-archive-done-item, todo-choose-archive)
19783 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
19784 (todo-edit-category-diary-inclusion)
19785 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
19786 (todo-edit-file, todo-edit-item-date-day)
19787 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
19788 (todo-edit-item-date-month, todo-edit-item-date-to-today)
19789 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
19790 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
19791 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
19792 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
19793 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
19794 (todo-filter-top-priorities-multifile, todo-find-archive)
19795 (todo-find-filtered-items-file, todo-go-to-source-item)
19796 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
19797 (todo-jump-to-archive-category, todo-lower-category)
19798 (todo-mark-category, todo-marked-item-p, todo-merge-category)
19799 (todo-move-category, todo-move-item, todo-next-button)
19800 (todo-next-item, todo-padded-string, todo-powerset)
19801 (todo-previous-button, todo-previous-item)
19802 (todo-print-buffer-to-file, todo-raise-category)
19803 (todo-rename-category, todo-repair-categories-sexp, todo-search)
19804 (todo-set-category-number, todo-set-item-priority)
19805 (todo-set-top-priorities-in-category)
19806 (todo-set-top-priorities-in-file, todo-show-categories-table)
19807 (todo-sort-categories-alphabetically-or-numerically)
19808 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
19809 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
19810 (todo-toggle-item-header, todo-toggle-item-highlighting)
19811 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
19812 (todo-toggle-view-done-items, todo-toggle-view-done-only)
19813 (todo-unarchive-items, todo-unmark-category): New commands.
19814 (todo-absolute-file-name, todo-add-to-buffer-list)
19815 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
19816 (todo-basic-insert-item, todo-category-completions)
19817 (todo-category-number, todo-category-string-matcher-1)
19818 (todo-category-string-matcher-2, todo-check-filtered-items-file)
19819 (todo-check-format, todo-clear-matches)
19820 (todo-comment-string-matcher, todo-convert-legacy-date-time)
19821 (todo-current-category, todo-date-string-matcher)
19822 (todo-define-insertion-command, todo-diary-expired-matcher)
19823 (todo-diary-goto-entry, todo-diary-item-p)
19824 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
19825 (todo-display-categories, todo-display-sorted, todo-done-item-p)
19826 (todo-done-item-section-p, todo-done-separator)
19827 (todo-done-string-matcher, todo-files, todo-filter-items)
19828 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
19829 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
19830 (todo-insert-category-line, todo-insert-item-from-calendar)
19831 (todo-insert-sort-button, todo-insert-with-overlays)
19832 (todo-insertion-command-name, todo-insertion-key-bindings)
19833 (todo-label-to-key, todo-longest-category-name-length)
19834 (todo-make-categories-list, todo-mode-external-set)
19835 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
19836 (todo-modes-set-3, todo-multiple-filter-files)
19837 (todo-nondiary-marker-matcher, todo-prefix-overlays)
19838 (todo-read-category, todo-read-date, todo-read-dayname)
19839 (todo-read-file-name, todo-read-time)
19840 (todo-reevaluate-category-completions-files-defcustom)
19841 (todo-reevaluate-default-file-defcustom)
19842 (todo-reevaluate-filelist-defcustoms)
19843 (todo-reevaluate-filter-files-defcustom)
19844 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
19845 (todo-reset-done-separator, todo-reset-done-separator-string)
19846 (todo-reset-done-string, todo-reset-global-current-todo-file)
19847 (todo-reset-highlight-item, todo-reset-nondiary-marker)
19848 (todo-reset-prefix, todo-set-categories)
19849 (todo-set-date-from-calendar, todo-set-show-current-file)
19850 (todo-set-top-priorities, todo-short-file-name)
19851 (todo-show-current-file, todo-sort, todo-time-string-matcher)
19852 (todo-total-item-counts, todo-update-buffer-list)
19853 (todo-update-categories-display, todo-update-categories-sexp)
19854 (todo-update-count, todo-validate-name, todo-y-or-n-p):
19855 New functions.
19856 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
19857 New major modes.
19858 (todo-categories, todo-display, todo-edit, todo-faces)
19859 (todo-filtered): New defgroups.
19860 (todo-archived-only, todo-button, todo-category-string, todo-date)
19861 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
19862 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
19863 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
19864 (todo-add-item-if-new-category, todo-always-add-time-string)
19865 (todo-categories-align, todo-categories-archived-label)
19866 (todo-categories-category-label, todo-categories-diary-label)
19867 (todo-categories-done-label, todo-categories-number-separator)
19868 (todo-categories-todo-label, todo-categories-totals-label)
19869 (todo-category-completions-files, todo-completion-ignore-case)
19870 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
19871 (todo-done-separator-string, todo-done-string)
19872 (todo-files-function, todo-filter-done-items, todo-filter-files)
19873 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
19874 (todo-initial-category, todo-initial-file, todo-item-mark)
19875 (todo-legacy-date-time-regexp, todo-mode-line-function)
19876 (todo-nondiary-marker, todo-number-prefix)
19877 (todo-print-buffer-function, todo-show-current-file)
19878 (todo-show-done-only, todo-show-first, todo-show-with-done)
19879 (todo-skip-archived-categories, todo-top-priorities-overrides)
19880 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
19881 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
19882 New defcustoms.
19883 (todo-category-done, todo-date-pattern, todo-date-string-start)
19884 (todo-diary-items-buffer, todo-done-string-start)
19885 (todo-filtered-items-buffer, todo-item-start)
19886 (todo-month-abbrev-array, todo-month-name-array)
19887 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
19888 (todo-top-priorities-buffer): New defconsts.
19889 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
19890 (todo-categories-with-marks, todo-category-string-face)
19891 (todo-comment-face, todo-comment-string, todo-current-todo-file)
19892 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
19893 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
19894 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
19895 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
19896 (todo-font-lock-keywords, todo-global-current-todo-file)
19897 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
19898 (todo-insertion-commands-args)
19899 (todo-insertion-commands-args-genlist)
19900 (todo-insertion-commands-names, todo-insertion-map)
19901 (todo-key-bindings-t, todo-key-bindings-t+a)
19902 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
19903 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
19904 (todo-nondiary-face, todo-print-buffer, todo-time-face)
19905 (todo-visited): New variables.
19906
19907 2013-06-21 Glenn Morris <rgm@gnu.org>
19908
19909 * play/cookie1.el (cookie-apropos): Add optional display argument.
19910 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
19911 (psychoanalyze-pinhead): Use cookie-doctor.
19912
19913 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19914
19915 * emacs-lisp/package.el (tar-get-file-descriptor)
19916 (tar--extract): Declare.
19917
19918 2013-06-21 Eduard Wiebe <usenet@pusto.de>
19919
19920 Extend flymake's warning predicate to be a function (bug#14217).
19921 * progmodes/flymake.el (flymake-warning-predicate): New.
19922 (flymake-parse-line): Use it.
19923 (flymake-warning-re): Make obsolete alias to
19924 `flymake-warning-predicate'.
19925
19926 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19927
19928 * emacs-lisp/package.el (package-alist): Include obsolete packages.
19929 (package-obsolete-list): Remove.
19930 (package-activate): Remove min-version argument. Add `force' argument.
19931 Adjust to new package-alist format.
19932 (package-mark-obsolete): Remove.
19933 (package-unpack): Force reload of the package's autoloads.
19934 (package-installed-p): Check builtins if the installed package is not
19935 recent enough.
19936 (package-initialize): Don't reset package-obsolete-list.
19937 Don't specify which package version to activate.
19938 (package-process-define-package, describe-package-1)
19939 (package-menu--generate): Adjust to new package-alist format.
19940
19941 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19942
19943 * allout-widgets.el (allout-widgets-mode-off)
19944 (allout-widgets-mode-on, allout-widgets-pre-command-business)
19945 (allout-widgets-post-command-business)
19946 (allout-widgets-after-copy-or-kill-function)
19947 (allout-widgets-after-undo-function, allout-test-range-overlaps)
19948 (allout-decorate-item-and-context)
19949 (allout-graphics-modification-handler): Fix typos in docstrings.
19950 (allout-get-or-create-parent-widget): Use `looking-at-p'.
19951
19952 * cmuscheme.el (scheme-start-file): Doc fix.
19953 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
19954 (scheme-input-filter): Use `string-match-p'.
19955
19956 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
19957
19958 * dired-x.el: Use Dired consistently in docstrings.
19959
19960 * dired.el: Use Dired consistently in docstrings.
19961 (dired-readin, dired-mode): Use `setq-local'.
19962 (dired-switches-alist): Make defvar-local.
19963 (dired-buffers-for-dir): Use `zerop'.
19964 (dired-safe-switches-p, dired-switches-escape-p)
19965 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
19966 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
19967 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
19968 (dired-goto-next-nontrivial-file): Use `string-match-p'.
19969 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
19970 (dired-toggle-marks, dired-mark-files-containing-regexp)
19971 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
19972 (dired-flag-auto-save-files, dired-flag-backup-files):
19973 Use `looking-at-p'.
19974 (dired-mark-files-regexp, dired-build-subdir-alist):
19975 Use `string-match-p', `looking-at-p'.
19976
19977 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
19978 (direct-print-region-helper): Use `string-match-p'.
19979
19980 2013-06-21 Leo Liu <sdl.web@gmail.com>
19981
19982 * comint.el (comint-redirect-results-list-from-process):
19983 Fix infinite loop.
19984
19985 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19986
19987 * net/eww.el (eww-update-header-line-format): Quote % characters.
19988
19989 2013-06-21 Glenn Morris <rgm@gnu.org>
19990
19991 * play/cookie1.el (cookie): New custom group.
19992 (cookie-file): New option.
19993 (cookie-check-file): New function.
19994 (cookie): Make it interactive. Make start and end messages optional.
19995 Interactively, display the result. Default to cookie-file.
19996 (cookie-insert): Default to cookie-file.
19997 (cookie-snarf): Make start and end messages optional.
19998 Default to cookie-file. Use with-temp-buffer.
19999 (cookie-read): Rename from read-cookie.
20000 Make start and end messages optional. Default to cookie-file.
20001 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
20002 Do not autoload it.
20003 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
20004 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
20005
20006 2013-06-21 Leo Liu <sdl.web@gmail.com>
20007
20008 * progmodes/octave.el (octave-mode): Backward compatibility fix.
20009
20010 2013-06-21 Glenn Morris <rgm@gnu.org>
20011
20012 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20013
20014 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20015 Daniel Hackney <dan@haxney.org>
20016
20017 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20018 Consolidate the single-file vs tarball code.
20019 (package-desc-suffix): New function.
20020 (package-desc-full-name): Don't bother inlining it.
20021 (package-load-descriptor): Return the new package-desc.
20022 (package-mark-obsolete): Remove unused arg `package'.
20023 (package-unpack): Make it work for single files as well.
20024 Make it update package-alist.
20025 (package--make-autoloads-and-stuff): Rename from
20026 package--make-autoloads-and-compile. Don't compile any more.
20027 (package--compile): New function.
20028 (package-generate-description-file): New function, extracted from
20029 package-unpack-single.
20030 (package-unpack-single): Remove.
20031 (package--with-work-buffer): Add indentation and debugging info.
20032 (package-download-single): Remove.
20033 (package-install-from-archive): Rename from package-download-tar, make
20034 it take a pkg-desc, and make it work for single files as well.
20035 (package-download-transaction): Simplify.
20036 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
20037 external tar program.
20038 (package-install-from-buffer): Remove `pkg-desc' argument.
20039 Use package-tar-file-info for tar-mode buffers.
20040 (package-install-file): Simplify accordingly.
20041 (package-archive-base): Change to take a pkg-desc.
20042 * tar-mode.el (tar--check-descriptor): New function, extracted from
20043 tar-get-descriptor.
20044 (tar-get-descriptor): Use it.
20045 (tar-get-file-descriptor): New function.
20046 (tar--extract): New function, extracted from tar-extract.
20047 (tar--extract): Use it.
20048 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20049 case the summary uses non-ascii. Adjust to new calling convention of
20050 package-tar-file-info.
20051
20052 2013-06-21 Leo Liu <sdl.web@gmail.com>
20053
20054 * comint.el (comint-redirect-results-list-from-process):
20055 Fix random delay. (Bug#14681)
20056
20057 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20058
20059 * profiler.el (profiler-format-number): Use log, not log10.
20060
20061 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20062
20063 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20064
20065 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20066
20067 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20068 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20069 yet available.
20070 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20071 (AUTOGENEL): ... here.
20072 * emacs-lisp/cl-macs.el (cl--sublis): New function.
20073 (cl--defsubst-expand): Use it.
20074
20075 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
20076
20077 * subr.el (log10): Move here from C code, and declare as obsolete.
20078 All uses of (log10 X) replaced with (log X 10).
20079
20080 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20081
20082 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20083 Declare with `defvar-local'.
20084 (tabulated-list-use-header-line, tabulated-list-entries)
20085 (tabulated-list-padding, tabulated-list-printer)
20086 (tabulated-list-sort-key): Declare with `defvar-local'.
20087 (tabulated-list-init-header, tabulated-list-print-fake-header):
20088 Use `setq-local'.
20089
20090 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
20091
20092 * arc-mode.el (archive-mode): Add `archive-write-file' to
20093 `write-contents-functions' also for remote files. (Bug#14652)
20094
20095 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20096
20097 * cus-edit.el (custom-commands): Fix typos.
20098 (custom-display): Fix tooltip text.
20099 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20100 Fix typos in docstrings.
20101 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20102 (custom-unlispify-menu-entry, custom-magic-value-create)
20103 (custom-add-see-also, custom-group-value-create): Use ?\s.
20104 (custom-guess-type, customize-apropos, editable-field)
20105 (custom-face-value-create): Use `string-match-p'.
20106 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20107
20108 * custom.el (custom-load-symbol): Use `string-match-p'.
20109
20110 * ansi-color.el: Convert to lexical binding.
20111 (ansi-colors): Fix URL.
20112 (ansi-color-context, ansi-color-context-region): Use defvar-local.
20113 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20114 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20115
20116 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20117
20118 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20119
20120 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20121
20122 2013-06-19 Tom Tromey <tromey@redhat.com>
20123
20124 * net/eww.el (eww-top-url): Remove.
20125 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20126 (eww-render): Set new variables. Don't set eww-top-url.
20127 (eww-handle-link): Handle "prev", "home", and "contents".
20128 Downcase the rel text.
20129 (eww-top-url): Choose best top URL.
20130
20131 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20132
20133 * net/eww.el: Rewrite to implement form elements "by hand" instead of
20134 relying in widget.el. Using widget.el leads to too many
20135 user interface inconsistencies.
20136 (eww-self-insert): Implement entering commands in text fields.
20137 (eww-process-text-input): New function to make text input field editing
20138 work.
20139 (eww-submit): Rewrite to use the new-style form methods.
20140 (eww-select-display): Display the correct selected item.
20141 (eww-change-select): Implement changing the select value.
20142 (eww-toggle-checkbox): Implement radio/checkboxes.
20143 (eww-update-field): Fix compilation error.
20144 (eww-tag-textarea): Implement <textarea>.
20145
20146 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20147 we don't shadow mode-specific bindings.
20148
20149 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20150 nothing to push.
20151
20152 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20153
20154 2013-06-19 Glenn Morris <rgm@gnu.org>
20155
20156 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20157
20158 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20159
20160 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20161 not needed.
20162
20163 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20164
20165 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20166
20167 * net/browse-url.el (browse-url-browser-function):
20168 `eww-browse-url' has the right calling signature, `eww' does not.
20169
20170 2013-06-19 Glenn Morris <rgm@gnu.org>
20171
20172 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20173 Only eval autoloaded macros.
20174 (byte-compile-autoload): Only give the macro warning for macros.
20175
20176 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20177 (ps-underlined-faces): Declare.
20178
20179 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20180 (speedbar-add-supported-extension): Declare.
20181
20182 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20183 Don't include a date stamp in the header of the generated file;
20184 it leads to needless differences between output files.
20185
20186 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20187
20188 * net/secrets.el (secrets-struct-secret-content-type):
20189 Replace check of introspection data by a test call of "CreateItem".
20190 Some servers do not offer introspection.
20191
20192 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
20193
20194 * electric.el (electric-pair-mode): Improve interaction with
20195 electric-layout-mode.
20196 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20197 (electric-pair-syntax): Use text-mode-syntax-table in comments
20198 and strings.
20199 (electric-pair--insert): New function.
20200 (electric-pair-post-self-insert-function): Use it and
20201 electric--after-char-pos.
20202
20203 2013-06-19 Leo Liu <sdl.web@gmail.com>
20204
20205 * progmodes/octave.el (octave-help): Fix regexp.
20206
20207 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20208
20209 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20210 (shr-table-horizontal-line): Allow nil as a value, and change the
20211 default.
20212 (shr-insert-table-ruler): Respect the nil value.
20213
20214 2013-06-18 Tom Tromey <tromey@barimba>
20215
20216 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20217 New defvars.
20218 (eww-open-file): New defun.
20219 (eww-render): Initialize new variables.
20220 (eww-display-html): Handle "link" and "a".
20221 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20222 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
20223 (eww-back-url): Rename from eww-previous-url.
20224 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20225 New defuns.
20226
20227 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
20228
20229 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20230 Distinguish ternary operator tokens from slash symbol and slash
20231 char literal.
20232
20233 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20234
20235 Convert symbol prettification into minor mode and global minor mode.
20236
20237 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20238 `prog-prettify-symbols', and make a local defvar instead of defcustom.
20239 (prettify-symbols--keywords): Rename from
20240 `prog-prettify-symbols-alist' and make a local defvar.
20241 (prettify-symbols--compose-symbol): Rename from
20242 `prog--prettify-font-lock-compose-symbol'.
20243 (prettify-symbols--make-keywords): Rename from
20244 `prog-prettify-font-lock-symbols-keywords' and simplify.
20245 (prog-prettify-install): Remove.
20246 (prettify-symbols-mode): New minor mode, based on
20247 `prog-prettify-install'.
20248 (turn-on-prettify-symbols-mode): New function.
20249 (global-prettify-symbols-mode): New globalized minor mode.
20250
20251 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20252 * progmodes/cfengine.el (cfengine3-mode):
20253 * progmodes/perl-mode.el (perl-mode): Don't call
20254 `prog-prettify-install'; set `prettify-symbols-alist' instead.
20255
20256 2013-06-18 Juri Linkov <juri@jurta.org>
20257
20258 * files-x.el (modify-file-local-variable-message): New function.
20259 (modify-file-local-variable)
20260 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20261 and call `modify-file-local-variable-message' when it's non-nil.
20262 (add-file-local-variable, delete-file-local-variable)
20263 (add-file-local-variable-prop-line)
20264 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20265 and use it. (Bug#9820)
20266
20267 2013-06-18 Juri Linkov <juri@jurta.org>
20268
20269 * emulation/vi.el (vi-shell-op):
20270 * emulation/vip.el (vip-execute-com, ex-command):
20271 * emulation/viper-cmd.el (viper-exec-bang):
20272 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20273 the call of `shell-command-on-region'. (Bug#14637)
20274
20275 * simple.el (shell-command-on-region): Doc fix.
20276
20277 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20278
20279 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20280 (bug#14633).
20281
20282 2013-06-18 Glenn Morris <rgm@gnu.org>
20283
20284 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20285
20286 * newcomment.el (comment-search-forward, comment-search-backward):
20287 Doc fix. (Bug#14376)
20288
20289 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20290
20291 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20292 (buffer-face-mode-invoke): Doc fix.
20293
20294 2013-06-18 Matthias Meulien <orontee@gmail.com>
20295
20296 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
20297 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
20298
20299 2013-06-18 Glenn Morris <rgm@gnu.org>
20300
20301 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
20302 Replace obsolete function generic-make-keywords with its expansion.
20303
20304 * progmodes/python.el (ffap-alist): Declare.
20305
20306 * textmodes/reftex.el (bibtex-mode-map): Declare.
20307
20308 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20309
20310 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
20311 (package-unpack, package-unpack-single): Return the pkg-dir.
20312 (package-download-transaction): Use it to update package-alist.
20313
20314 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20315
20316 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
20317 possible choice.
20318
20319 2013-06-17 Juri Linkov <juri@jurta.org>
20320
20321 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
20322
20323 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20324
20325 * emacs-lisp/package.el (package-load-descriptor):
20326 Remove `with-syntax-table' call, `read' doesn't need it.
20327 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
20328
20329 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20330
20331 * startup.el (command-line): Expand package name returned by
20332 `package--description-file' (bug#14639).
20333
20334 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20335
20336 * emacs-lisp/package.el (package-load-descriptor): Do not call
20337 `emacs-lisp-mode', just use its syntax table.
20338
20339 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20340
20341 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
20342 `font-lock-extra-managed-props' if any prettifying keyword is added.
20343 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
20344 (prog-mode): Use `setq-local'.
20345
20346 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20347
20348 * international/characters.el (standard-case-table): Set syntax of ?»
20349 and ?« to punctuation.
20350
20351 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
20352
20353 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
20354 Save relevant match data before calling `syntax-ppss' (bug#14595).
20355
20356 2013-06-15 Juri Linkov <juri@jurta.org>
20357
20358 * files-x.el (modify-file-local-variable-prop-line): Add local
20359 variables to the end of the existing comment on the first line.
20360 Use `file-auto-mode-skip' to skip interpreter magic line,
20361 and also skip XML declaration.
20362
20363 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20364
20365 * startup.el (package--builtin-versions): New var.
20366 (package-subdirectory-regexp): Remove.
20367 (package--description-file): Hard code its value instead.
20368
20369 * emacs-lisp/package.el: Don't activate packages older than builtin.
20370 (package-obsolete-list): Rename from package-obsolete-alist, and make
20371 it into a simple list of package-desc.
20372 (package-strip-version): Remove.
20373 (package-built-in-p): Use package--builtin-versions.
20374 (package-mark-obsolete): Simplify.
20375 (package-process-define-package): Mark it obsolete if older than the
20376 builtin version.
20377 (package-handle-response): Use line-end-position.
20378 (package-read-archive-contents, package--download-one-archive):
20379 Simplify.
20380 (package--add-to-archive-contents): Skip if older than the builtin or
20381 installed version.
20382 (package-menu-describe-package): Fix last change.
20383 (package-list-unversioned): New var.
20384 (package-menu--generate): Use it.
20385
20386 * emacs-lisp/autoload.el: Manage package--builtin-versions.
20387 (autoload--insert-text, autoload--insert-cookie-text): New functions.
20388 (autoload-builtin-package-versions): New variable.
20389 (autoload-generate-file-autoloads): Use them.
20390 Remove the list of autoloaded functions/macros from the
20391 (autoload...) comments.
20392
20393 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
20394
20395 2013-06-15 Eli Zaretskii <eliz@gnu.org>
20396
20397 * simple.el (line-move-partial): Don't jump to the next screen
20398 line as soon as it becomes visible. Instead, continue enlarging
20399 the vscroll until the portion of a tall screen line that's left on
20400 display is about the height of the frame's default font.
20401 (Bug#14567)
20402
20403 2013-06-15 Glenn Morris <rgm@gnu.org>
20404
20405 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
20406 compilation-error-regexp-alist void, or local while let-bound.
20407
20408 * progmodes/make-mode.el (makefile-mode-syntax-table):
20409 Treat "=" as punctuation. (Bug#14614)
20410
20411 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
20412
20413 * help-fns.el (describe-variable):
20414 Add extra line for permanent-local variables.
20415
20416 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
20417
20418 * progmodes/scheme.el (scheme-font-lock-keywords-2):
20419 Add export, import, library. (Bug#9164)
20420 (library): Set indent function.
20421
20422 2013-06-14 Glenn Morris <rgm@gnu.org>
20423
20424 * term/xterm.el (xterm--query):
20425 Stop after first matching handler. (Bug#14615)
20426
20427 2013-06-14 Ivan Kanis <ivan@kanis.fr>
20428
20429 Add support for dired in saveplace.
20430 * dired.el (dired-initial-position-hook): New variable.
20431 (dired-initial-position): Call hook to place cursor position.
20432 * saveplace.el (save-place-to-alist): Add dired position.
20433 (save-place-dired-hook): New function.
20434
20435 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
20436
20437 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
20438 through a symbol rather than letrec.
20439
20440 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
20441 (package-desc): Add `dir' field.
20442 (package-desc-full-name): New function.
20443 (package-load-descriptor): Combine the two arguments. Don't use `load'.
20444 (package-maybe-load-descriptor): Remove.
20445 (package-load-all-descriptors): Just call package-load-descriptor.
20446 (package--disabled-p): New function.
20447 (package-desc-vers, package-desc-doc): Remove aliases.
20448 (package--dir): Remove function.
20449 (package-activate): Check if a package is disabled.
20450 (package-process-define-package): New function, extracted from
20451 define-package.
20452 (define-package): Turn into a place holder.
20453 (package-unpack-single, package-tar-file-info):
20454 Use package--description-file.
20455 (package-compute-transaction): Use package--disabled-p.
20456 (package-download-transaction): Don't call
20457 package-maybe-load-descriptor since they're all loaded anyway.
20458 (package-install): Change argument to be a pkg-desc.
20459 (package-delete): Use a single pkg-desc argument.
20460 (describe-package-1): Use package-desc-dir instead of package--dir.
20461 Use package-desc property instead of package-symbol.
20462 (package-install-button-action): Adjust accordingly.
20463 (package--push): Rewrite.
20464 (package-menu--print-info): Adjust accordingly. Change the ID format
20465 to be a pkg-desc.
20466 (package-menu-describe-package, package-menu-get-status)
20467 (package-menu--find-upgrades, package-menu-mark-upgrades)
20468 (package-menu-execute, package-menu--name-predicate):
20469 Adjust accordingly.
20470 * startup.el (package--description-file): New function.
20471 (command-line): Use it.
20472 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20473 Use package-desc-version.
20474
20475 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
20476 (byte-compile-preprocess): Use it.
20477 (byte-compile-file-form-defalias): Try a bit harder to use macros we
20478 can't quite recognize.
20479 (byte-compile-add-to-list): Remove.
20480 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
20481 (cconv-closure-convert): Add assertion.
20482
20483 * emacs-lisp/map-ynp.el: Use lexical-binding.
20484 (map-y-or-n-p): Remove unused vars `tail' and `object'.
20485 Factor out some repeated code.
20486
20487 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20488
20489 * subr.el (with-eval-after-load): New macro.
20490 (eval-after-load): Allow form to be a function.
20491 take advantage of lexical-binding.
20492 (do-after-load-evaluation): Use dolist and adjust to new format.
20493 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
20494
20495 2013-06-13 Juri Linkov <juri@jurta.org>
20496
20497 * replace.el (perform-replace): Display "symbol " and other search
20498 modes from `isearch-message-prefix' in the *Help* buffer.
20499
20500 * isearch.el (isearch-query-replace): Add " symbol" and other
20501 possible search modes from `isearch-message-prefix' to the prompt.
20502 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
20503 when reading a regexp to collect.
20504
20505 2013-06-13 Juri Linkov <juri@jurta.org>
20506
20507 * isearch.el (word-search-regexp): Match whitespace if the search
20508 string begins or ends in whitespace. The LAX arg is applied to
20509 both ends of the search string. Use `regexp-quote' and explicit
20510 \< and \> instead of \b. Use \` and \' instead of ^ and $.
20511 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
20512 boundaries are replaced with symbol boundaries, and characters
20513 between symbols match non-word non-symbol syntax. (Bug#14602)
20514
20515 2013-06-13 Juri Linkov <juri@jurta.org>
20516
20517 * isearch.el (isearch-del-char): Don't exceed the length of
20518 `isearch-string' by the prefix arg. (Bug#14563)
20519
20520 2013-06-13 Juri Linkov <juri@jurta.org>
20521
20522 * isearch.el (isearch-yank-word, isearch-yank-line)
20523 (isearch-char-by-name, isearch-quote-char)
20524 (isearch-printing-char, isearch-process-search-char):
20525 Add optional count prefix arg. (Bug#14563)
20526
20527 * international/isearch-x.el
20528 (isearch-process-search-multibyte-characters):
20529 Add optional count prefix arg.
20530
20531 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20532
20533 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
20534 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
20535 lexical-binding.
20536
20537 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
20538
20539 * subr.el (set-temporary-overlay-map): Add on-exit argument.
20540
20541 2013-06-13 Glenn Morris <rgm@gnu.org>
20542
20543 * startup.el (tty-handle-args):
20544 Don't just discard "--" and anything after. (Bug#14608)
20545
20546 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
20547
20548 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
20549
20550 Implement changes in Secret Service API. Make it backward compatible.
20551 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
20552 (secrets-create-item): Use it. Prefix properties with interface.
20553
20554 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
20555
20556 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
20557 (term-emulate-terminal): Respect term-suppress-hard-newline.
20558
20559 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
20560
20561 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
20562 Only remove a `thumb-file' overlay. (Bug#14548)
20563
20564 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
20565
20566 * mail/reporter.el (reporter-submit-bug-report):
20567 Handle missing package-name. (Bug#14600)
20568
20569 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20570
20571 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
20572 (reftex-citation-prompt, reftex-default-bibliography)
20573 (reftex-bib-or-thebib, reftex-get-bibfile-list)
20574 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
20575 (reftex-bib-sort-author, reftex-bib-sort-year)
20576 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
20577 (reftex-extract-bib-entries-from-thebibliography)
20578 (reftex-get-bibkey-default, reftex-get-bib-names)
20579 (reftex-parse-bibtex-entry, reftex-get-bib-field)
20580 (reftex-format-bib-entry, reftex-parse-bibitem)
20581 (reftex-format-bibitem, reftex-do-citation)
20582 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
20583 (reftex-restrict-bib-matches, reftex-extract-bib-file)
20584 (reftex-insert-bib-matches, reftex-format-citation)
20585 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
20586 (reftex-create-bibtex-file): Add docstrings, mostly by converting
20587 existing comments into docstrings.
20588
20589 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20590
20591 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
20592
20593 2013-06-12 Andreas Schwab <schwab@suse.de>
20594
20595 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
20596 for auto-save files.
20597
20598 2013-06-12 Glenn Morris <rgm@gnu.org>
20599
20600 * ido.el (ido-delete-ignored-files): Remove.
20601 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
20602 Go back to calling ido-ignore-item-p directly.
20603
20604 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
20605
20606 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
20607
20608 * ido.el (ido-delete-ignored-files): New function,
20609 split from ido-make-file-list-1.
20610 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
20611 (ido-make-file-list-1): Use ido-delete-ignored-files.
20612
20613 2013-06-12 Leo Liu <sdl.web@gmail.com>
20614
20615 * progmodes/octave.el (inferior-octave-startup)
20616 (inferior-octave-completion-table)
20617 (inferior-octave-track-window-width-change)
20618 (octave-eldoc-function-signatures, octave-help)
20619 (octave-find-definition): Use single quoted strings.
20620 (inferior-octave-startup-args): Change default value.
20621 (inferior-octave-startup): Do not hard code "-i" and
20622 "--no-line-editing".
20623 (inferior-octave-resync-dirs): Add optional arg NOERROR.
20624 (inferior-octave-directory-tracker): Use it.
20625 (octave-goto-function-definition): Robustify.
20626 (octave-help): Support highlighting operators in 'See also'.
20627 (octave-find-definition): Find subfunctions only in Octave mode.
20628
20629 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20630
20631 * help-fns.el (help-fns--compiler-macro): If the handler function is
20632 named, then put a link to it.
20633 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
20634 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
20635 (cl-typep): Use it.
20636 (cl-eval-when): Simplify debug spec.
20637 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
20638 compiler-macro function instead of setting `compiler-macro-file'.
20639
20640 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20641
20642 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
20643 * vc/vc-hooks.el (vc-stay-local): Doc fix.
20644
20645 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20646 Daniel Hackney <dan@haxney.org>
20647
20648 First part of Daniel Hackney's patch to package.el.
20649 * emacs-lisp/package.el: Use defstruct.
20650 (package-desc): New, main struct.
20651 (package--bi-desc, package--ac-desc): New structs, used to describe the
20652 format in external files.
20653 (package-desc-vers): Replace with package-desc-version accessor.
20654 (package-desc-doc): Replace with package-desc-summary accessor.
20655 (package-activate-1): Remove `package' arg since the pkg-vec now
20656 includes the name.
20657 (define-package): Use package-desc-from-define.
20658 (package-unpack-single): Change file-name arg to be a symbol.
20659 (package--add-to-archive-contents): Use package-desc-create and new
20660 accessor functions to package--ac-desc.
20661 (package-buffer-info, package-tar-file-info): Return a package-desc.
20662 (package-install-from-buffer): Remove `type' argument. Change pkg-info
20663 arg to be a package-desc.
20664 (package-install-file): Adjust accordingly. Use \' to match EOS.
20665 (package--from-builtin): New function.
20666 (describe-package-1, package-menu--generate): Use it.
20667 (package--make-autoloads-and-compile): Change name arg to be a symbol.
20668 (package-generate-autoloads): Idem and return the name of the file.
20669 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20670 Change pkg-info arg to be a package-desc.
20671 Use package-make-ac-desc.
20672 (package-upload-file): Use \' to match EOS.
20673 * finder.el (finder-compile-keywords): Use package-make-builtin.
20674
20675 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20676
20677 * vc/vc.el (vc-deduce-fileset): Change error message.
20678 (vc-read-backend): New function.
20679 (vc-next-action): Use it.
20680
20681 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
20682
20683 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
20684 (prolog-font-lock-keywords): Use regexp-opt instead.
20685 Don't manually highlight strings.
20686 (prolog-mode-variables): Simplify comment-start-skip.
20687 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
20688
20689 * emacs-lisp/generic.el (generic--normalise-comments)
20690 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
20691 (generic-mode-set-comments): Use them.
20692 (generic-bracket-support): Use setq-local.
20693 (generic-make-keywords-list): Declare obsolete.
20694
20695 2013-06-11 Glenn Morris <rgm@gnu.org>
20696
20697 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20698 Prettify after setting font-lock-defaults. (Bug#14574)
20699
20700 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
20701
20702 * replace.el (query-replace, occur-read-regexp-defaults-function)
20703 (replace-search):
20704 * subr.el (declare-function, number-sequence, local-set-key)
20705 (substitute-key-definition, locate-user-emacs-file)
20706 (with-silent-modifications, split-string, eval-after-load):
20707 Fix typos, remove unneeded backslashes and reflow some docstrings.
20708
20709 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20710
20711 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
20712 default for Elisp files.
20713
20714 2013-06-11 Glenn Morris <rgm@gnu.org>
20715
20716 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
20717 although define-derived-mode was doing this anyway. (Bug#14583)
20718
20719 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
20720
20721 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20722 Fix make-variable-buffer-local call to refer to the correct variable.
20723
20724 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
20725
20726 * eshell/em-term.el (eshell-visual-commands)
20727 (eshell-visual-subcommands, eshell-visual-options):
20728 Add summary line to docstrings. Add cross-references.
20729
20730 2013-06-10 Glenn Morris <rgm@gnu.org>
20731
20732 * epa.el (epa-read-file-name): New function. (Bug#14510)
20733 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
20734
20735 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20736
20737 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
20738 output redirection to be ignored with visual commands.
20739
20740 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20741
20742 * eshell/em-term.el (eshell-visual-command-p): New function.
20743 (eshell-term-initialize): Move long lambda to separate function
20744 eshell-visual-command-p.
20745 * eshell/em-dirs.el (eshell-dirs-initialize):
20746 * eshell/em-script.el (eshell-script-initialize):
20747 Add missing #' to lambda.
20748
20749 2013-06-08 Leo Liu <sdl.web@gmail.com>
20750
20751 * progmodes/octave.el (octave-add-log-current-defun): New function.
20752 (octave-mode): Set add-log-current-defun-function.
20753 (octave-goto-function-definition): Do not move point if not found.
20754 (octave-find-definition): Enhance to try subfunctions first.
20755
20756 2013-06-08 Glenn Morris <rgm@gnu.org>
20757
20758 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20759 (byte-compile-backward-char, byte-compile-backward-word):
20760 Improve previous change, to handle non-explicit nil.
20761
20762 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
20763
20764 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
20765 (smie--opener/closer-at-point): New function.
20766 (smie--matching-block-data): Use it. Don't match from right after an
20767 opener or right before a closer. Obey smie-blink-matching-inners.
20768 Don't signal a mismatch for repeated inners like "switch..case..case".
20769
20770 2013-06-07 Leo Liu <sdl.web@gmail.com>
20771
20772 * progmodes/octave.el (octave-mode): Set comment-use-global-state
20773 to t. (Bug#14303)
20774 (octave-function-header-regexp): Fix. (Bug#14570)
20775 (octave-help-mode-finish-hook, octave-help-mode-finish):
20776 Remove. Just use temp-buffer-show-hook.
20777
20778 * newcomment.el (comment-search-backward): Revert last change.
20779 (Bug#14434)
20780
20781 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
20782
20783 2013-06-07 Eli Zaretskii <eliz@gnu.org>
20784
20785 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
20786 through xargs, to avoid failure due to MS-Windows limitations on
20787 command-line length.
20788
20789 2013-06-06 Glenn Morris <rgm@gnu.org>
20790
20791 * font-lock.el (lisp-font-lock-keywords-2):
20792 Treat user-error like error.
20793
20794 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20795 (byte-compile-backward-char, byte-compile-backward-word):
20796 Handle explicit nil arguments. (Bug#14565)
20797
20798 2013-06-05 Alan Mackenzie <acm@muc.de>
20799
20800 * isearch.el (isearch-allow-prefix): New user option.
20801 (isearch-other-meta-char): Don't exit isearch when a prefix
20802 argument is typed whilst `isearch-allow-prefix' is non-nil.
20803 (Bug#9706)
20804
20805 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20806
20807 * autorevert.el (auto-revert-notify-handler): Use memq.
20808 Hide assertion failure.
20809
20810 * skeleton.el: Use cl-lib.
20811 (skeleton-further-elements): Use defvar-local.
20812 (skeleton-insert): Use cl-progv.
20813
20814 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20815
20816 * progmodes/prog-mode.el (prog-prettify-symbols)
20817 (prog-prettify-install): Update docstrings.
20818
20819 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20820
20821 * simple.el: Move all the prog-mode code to prog-mode.el.
20822 * progmodes/prog-mode.el: New file.
20823 * loadup.el: Add prog-mode.el.
20824
20825 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20826
20827 * simple.el (prog-prettify-symbols): Add version.
20828 (prog-prettify-install): Add convenience function to prettify symbols.
20829
20830 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
20831 (perl--augmented-font-lock-keywords-1)
20832 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
20833 variables and use it.
20834
20835 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20836 (cfengine3-mode): Remove unneeded variable and use it.
20837
20838 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20839 (lisp--augmented-font-lock-keywords-1)
20840 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
20841 Remove unneeded variables and use it.
20842
20843 2013-06-05 João Távora <joaotavora@gmail.com>
20844
20845 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
20846 to point when opening the connection. (Bug#14380)
20847
20848 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20849
20850 * subr.el (load-history-regexp, load-history-filename-element)
20851 (eval-after-load, after-load-functions, do-after-load-evaluation)
20852 (eval-next-after-load, display-delayed-warnings)
20853 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
20854 definition of save-match-data.
20855 (overriding-local-map): Remove accidental obsolescence declaration.
20856
20857 * emacs-lisp/edebug.el (edebug-result): Move before first use.
20858
20859 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20860
20861 Generalize symbol prettify support to prog-mode and implement it
20862 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
20863 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
20864 (prog--prettify-font-lock-compose-symbol)
20865 (prog-prettify-font-lock-symbols-keywords): New variables and
20866 functions to support symbol prettification.
20867 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20868 (lisp--augmented-font-lock-keywords-1)
20869 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
20870 (lisp--prettify-symbols-alist): Implement prettify of lambda.
20871 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20872 (cfengine3--prettify-symbols-alist, cfengine3-mode):
20873 Implement prettify of -> => :: strings.
20874 * progmodes/perl-mode.el (perl-prettify-symbols)
20875 (perl--font-lock-compose-symbol)
20876 (perl--font-lock-symbols-keywords): Move to prog-mode.
20877 (perl--prettify-symbols-alist): Prettify -> => :: strings.
20878 (perl-font-lock-keywords-1)
20879 (perl-font-lock-keywords-2): Remove explicit prettify support.
20880 (perl--augmented-font-lock-keywords)
20881 (perl--augmented-font-lock-keywords-1)
20882 (perl--augmented-font-lock-keywords-2, perl-mode):
20883 Implement prettify support.
20884
20885 2013-06-05 Leo Liu <sdl.web@gmail.com>
20886
20887 Re-implement SMIE matching block highlight using
20888 show-paren-data-function. (Bug#14395)
20889 * emacs-lisp/smie.el (smie-matching-block-highlight)
20890 (smie--highlight-matching-block-overlay)
20891 (smie--highlight-matching-block-lastpos)
20892 (smie-highlight-matching-block)
20893 (smie-highlight-matching-block-mode): Remove.
20894 (smie--matching-block-data-cache): New variable.
20895 (smie--matching-block-data): New function.
20896 (smie-setup): Use smie--matching-block-data for
20897 show-paren-data-function.
20898
20899 * progmodes/octave.el (octave-mode-menu): Fix.
20900 (octave-find-definition): Skip garbage lines.
20901
20902 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20903
20904 Fix compilation error with simultaneous dynamic+lexical scoping.
20905 Add warning when a defvar appears after the first let-binding.
20906 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
20907 (byte-compile-close-variables): Initialize it.
20908 (byte-compile--declare-var): New function.
20909 (byte-compile-file-form-defvar)
20910 (byte-compile-file-form-define-abbrev-table)
20911 (byte-compile-file-form-custom-declare-variable): Use it.
20912 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
20913 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
20914 (byte-compile-bind): Handle dynamic bindings that shadow
20915 lexical bindings.
20916 (byte-compile-unbind): Make arg non-optional.
20917 (byte-compile-let): Simplify.
20918 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
20919 (cconv--analyse-function, cconv-analyse-form): Populate it.
20920 Protect byte-compile-bound-variables to limit the scope of defvars.
20921 (cconv-analyse-form): Add missing rule for (defvar <foo>).
20922 Remove unneeded rule for `declare'.
20923
20924 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
20925 so as to avoid depending on cl-adjoin at run-time.
20926 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
20927
20928 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
20929 (macroexp--warn-and-return): Use it.
20930
20931 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20932
20933 * subr.el: Convert to lexical binding.
20934 (overriding-local-map): Make obsolete.
20935 (add-to-list): Doc fix. Add compiler macro.
20936 (read-key): Swap values of local maps.
20937
20938 2013-06-05 Leo Liu <sdl.web@gmail.com>
20939
20940 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
20941
20942 2013-06-04 Leo Liu <sdl.web@gmail.com>
20943
20944 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
20945 (compilation-auto-jump): Suppress the "Mark set" message to give
20946 way to exit message.
20947
20948 2013-06-04 Alan Mackenzie <acm@muc.de>
20949
20950 Remove faulty optimization from indentation calculation.
20951 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
20952 search limit based on 2000 characters back from indent-point.
20953
20954 2013-06-03 Tassilo Horn <tsdh@gnu.org>
20955
20956 * eshell/em-term.el (cl-lib): Require `cl-lib'.
20957
20958 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
20959
20960 * emacs-lisp/lisp.el: Use lexical-binding.
20961 (lisp--local-variables-1, lisp--local-variables): New functions.
20962 (lisp--local-variables-completion-table): New var.
20963 (lisp-completion-at-point): Use it complete let-bound vars.
20964
20965 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
20966 eagerly (bug#14422).
20967
20968 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
20969
20970 * autorevert.el (auto-revert-notify-enabled)
20971 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20972 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
20973 (auto-revert-notify-handler): Handle also gfilenotify.
20974
20975 * subr.el (file-notify-handle-event): New defun. Replacing ...
20976 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
20977 Remove.
20978
20979 2013-06-03 Juri Linkov <juri@jurta.org>
20980
20981 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
20982 `M-s h .'. (Bug#14427)
20983
20984 * hi-lock.el (highlight-symbol-at-point): New alias for the new
20985 command `hi-lock-face-symbol-at-point'.
20986 (hi-lock-face-symbol-at-point): New command.
20987 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
20988 (hi-lock-menu): Add `highlight-symbol-at-point'.
20989 (hi-lock-mode): Doc fix.
20990
20991 * isearch.el (isearch-forward-symbol-at-point): New command.
20992 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
20993 (isearch-highlight-regexp): Add a regexp which matches
20994 words/symbols for word/symbol mode.
20995
20996 * subr.el (find-tag-default-bounds): New function with the body
20997 mostly moved from `find-tag-default'.
20998 (find-tag-default): Move most code to `find-tag-default-bounds',
20999 call it and apply `buffer-substring-no-properties' afterwards.
21000
21001 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21002
21003 * eshell/em-term.el (eshell-term-initialize):
21004 Use `cl-intersection' rather than `intersection'.
21005
21006 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
21007
21008 * vc/log-view.el: Doc fix.
21009 (log-view-mode-map): Copy keymap from `special-mode-map'.
21010
21011 2013-06-02 Eric Ludlam <zappo@gnu.org>
21012
21013 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21014 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21015 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21016 (eieio-unbound, eieio-default-superclass)
21017 (eieio--define-field-accessors, method-static, method-before)
21018 (method-primary, method-after, method-num-lists)
21019 (method-generic-before, method-generic-primary)
21020 (method-generic-after, method-num-slots)
21021 (eieio-specialized-key-to-generic-key)
21022 (eieio--check-type, class-v, class-p)
21023 (eieio-class-name, define-obsolete-function-alias)
21024 (eieio-class-parents-fast, eieio-class-children-fast)
21025 (same-class-fast-p, class-constructor, generic-p)
21026 (generic-primary-only-p, generic-primary-only-one-p)
21027 (class-option-assoc, class-option, eieio-object-p)
21028 (class-abstract-p, class-method-invocation-order)
21029 (eieio-defclass-autoload-map, eieio-defclass-autoload)
21030 (eieio-class-un-autoload, eieio-defclass)
21031 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21032 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21033 (eieio--defgeneric-init-form, eieio-defgeneric-form)
21034 (eieio-defgeneric-reset-generic-form)
21035 (eieio-defgeneric-form-primary-only)
21036 (eieio-defgeneric-reset-generic-form-primary-only)
21037 (eieio-defgeneric-form-primary-only-one)
21038 (eieio-defgeneric-reset-generic-form-primary-only-one)
21039 (eieio-unbind-method-implementations)
21040 (eieio--defmethod, eieio--typep)
21041 (eieio-perform-slot-validation, eieio-validate-slot-value)
21042 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21043 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21044 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21045 (eieio-slot-name-index, eieio-class-slot-name-index)
21046 (eieio-set-defaults, eieio-initarg-to-attribute)
21047 (eieio-attribute-to-initarg, eieio-c3-candidate)
21048 (eieio-c3-merge-lists, eieio-class-precedence-c3)
21049 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21050 (eieio-class-precedence-list, eieio-generic-call-methodname)
21051 (eieio-generic-call-arglst, eieio-generic-call-key)
21052 (eieio-generic-call-next-method-list)
21053 (eieio-pre-method-execution-functions, eieio-generic-call)
21054 (eieio-generic-call-primary-only, eieiomt-method-list)
21055 (eieiomt-optimizing-obarray, eieiomt-install)
21056 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21057 (eieio-generic-form, eieio-defmethod, make-obsolete)
21058 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21059 (defclass): Remove `eval-and-compile' from macro.
21060 (call-next-method, shared-initialize): Instead of using
21061 `scoped-class' variable, use new eieio--scoped-class, and
21062 eieio--with-scoped-class.
21063 (initialize-instance): Rename local variable 'scoped-class' to
21064 'this-class' to remove ambiguitity from old global.
21065
21066 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
21067 eieio.el.
21068 (eieio--scoped-class-stack): New variable.
21069 (eieio--scoped-class): New fcn.
21070 (eieio--with-scoped-class): New scoping macro.
21071 (eieio-defclass): Use pushnew instead of add-to-list.
21072 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21073 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21074 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21075 `scoped-class' variable, use new eieio--scoped-class, and
21076 eieio--with-scoped-class.
21077
21078 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21079
21080 2013-06-02 Tassilo Horn <tsdh@gnu.org>
21081
21082 * eshell/esh-ext.el (eshell-external-command): Pass args to
21083 `eshell-find-interpreter'.
21084 (eshell-find-interpreter): Add new second parameter ARGS.
21085
21086 * eshell/em-script.el (eshell-script-initialize): Add second arg
21087 to the function added as MATCH to `eshell-interpreter-alist'.
21088
21089 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21090 the function added as MATCH to `eshell-interpreter-alist'.
21091
21092 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21093 (eshell-visual-options): New defcustom.
21094 (eshell-escape-control-x): Adapt docstring.
21095 (eshell-term-initialize): Test `eshell-visual-subcommands' and
21096 `eshell-visual-options' in addition to `eshell-visual-commands'.
21097 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21098
21099 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
21100
21101 * progmodes/python.el (python-indent-block-enders): Add break,
21102 continue and raise keywords.
21103
21104 2013-06-01 Glenn Morris <rgm@gnu.org>
21105
21106 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21107
21108 Plain (f)boundp silences compilation warnings since Emacs 22.1.
21109 * progmodes/cc-cmds.el (delete-forward-p):
21110 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21111 * progmodes/cc-engine.el (buffer-syntactic-context):
21112 * progmodes/cc-fonts.el (face-property-instance):
21113 * progmodes/cc-mode.el (set-keymap-parents):
21114 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21115 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21116 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21117 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21118 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21119
21120 * progmodes/cc-vars.el (other): Emacs has this widget since
21121 at least 21.1, so don't (re)define it.
21122
21123 * eshell/em-cmpl.el (eshell-cmpl-initialize):
21124 Replace the obsolete alias pcomplete-arg-quote-list.
21125
21126 2013-06-01 Leo Liu <sdl.web@gmail.com>
21127
21128 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21129 punctuation syntax.
21130 (inferior-octave-minimal-columns)
21131 (inferior-octave-last-column-width): New variables.
21132 (inferior-octave-track-window-width-change): New function.
21133 (inferior-octave-mode): Adjust column width so that Octave output,
21134 for example from 'ls', can fit into the window nicely.
21135
21136 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21137
21138 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21139 Highlight expansions inside regexp literals.
21140
21141 2013-05-31 Glenn Morris <rgm@gnu.org>
21142
21143 * obsolete/sym-comp.el (symbol-complete):
21144 Replace obsolete completion-annotate-function.
21145
21146 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21147
21148 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21149
21150 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21151 New function, checks if point is inside a literal that allows
21152 expression expansion.
21153 (ruby-syntax-propertize-expansion): Use it.
21154 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21155 around the body.
21156
21157 2013-05-30 Juri Linkov <juri@jurta.org>
21158
21159 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21160 to "\M-si".
21161 (isearch-invisible): New variable.
21162 (isearch-forward): Doc fix.
21163 (isearch-mode): Set `isearch-invisible'
21164 to the value of `search-invisible'.
21165 (isearch-toggle-case-fold): Doc fix.
21166 (isearch-toggle-invisible): New command.
21167 (isearch-query-replace): Let-bind `search-invisible'
21168 to the value of `isearch-invisible'.
21169 (isearch-search): Use `isearch-invisible' instead of
21170 `search-invisible'. Let-bind `search-invisible'
21171 to the value of `isearch-invisible'. (Bug#11378)
21172
21173 2013-05-30 Juri Linkov <juri@jurta.org>
21174
21175 * replace.el (perform-replace): Avoid `isearch-range-invisible'
21176 call when `query-flag' is nil and `search-invisible' is non-nil.
21177 (Bug#11746)
21178
21179 2013-05-30 Glenn Morris <rgm@gnu.org>
21180
21181 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21182
21183 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21184 (cc-require): Suppress spurious "noruntime" warnings.
21185 (cc-require-when-compile): Use fboundp, for sake of compiler.
21186
21187 * progmodes/cc-mode.el: Move load of cc-vars before that of
21188 cc-langs (which in turn loads cc-vars), to quieten compiler.
21189
21190 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21191
21192 * paren.el: Simplify the code.
21193 (show-paren-mode): Always start the timer.
21194 (show-paren--idle-timer): Rename from show-paren-idle-timer.
21195 (show-paren--overlay, show-paren--overlay-1): Rename from
21196 show-paren-overlay and show-paren-overlay-1, and initialize to an
21197 overlay rather than to nil.
21198 (show-paren-function): Misc cleanup and simplifications.
21199
21200 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21201
21202 * paren.el (show-paren-data-function): New hook.
21203 (show-paren--default): New function, extracted from show-paren-function.
21204 (show-paren-function): Use show-paren-data-function.
21205
21206 2013-05-30 Glenn Morris <rgm@gnu.org>
21207
21208 * ielm.el (ielm-map, ielm-complete-symbol):
21209 Use completion-at-point rather than obsolete functions.
21210 (inferior-emacs-lisp-mode): Doc fix.
21211 Set completion-at-point-functions, rather than
21212 comint-dynamic-complete-functions.
21213
21214 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21215 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21216 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21217
21218 * image.el (image-animated-p): Tweak definition.
21219
21220 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21221 (rlogin-process-connection-type): Tweak default. Add set-after.
21222 (rlogin-host): Doc fix.
21223 (rlogin): Tweak prompt.
21224 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21225
21226 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21227 * progmodes/tcl.el (inferior-tcl-mode-map):
21228 Use completion-at-point rather than obsolete alias.
21229
21230 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21231
21232 * minibuffer.el (read-file-name-completion-ignore-case):
21233 Move before completion--in-region, for eager macro expansion.
21234
21235 2013-05-29 Juri Linkov <juri@jurta.org>
21236
21237 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21238 for total count of matching lines. Add `global-matches' for total
21239 count of matches. Rename `matches' to `lines' for count of
21240 matching lines. Add `matches' for count of matches.
21241 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
21242 to `prev-line' for line number of prev match endpt.
21243 Increment `matches' for every match. Print the number of
21244 matching lines in the header.
21245 (occur-context-lines): Rename `lines' to `curr-line'.
21246 Rename `prev-lines' to `prev-line'. (Bug#14017)
21247
21248 2013-05-29 Juri Linkov <juri@jurta.org>
21249
21250 * replace.el (perform-replace): Add `skip-read-only-count',
21251 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21252 Increment them for corresponding conditions and report the number
21253 of skipped occurrences in the final message. (Bug#11746)
21254 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21255 (replace-string, replace-regexp): Doc fix.
21256
21257 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
21258
21259 * emacs-lisp/trace.el (trace--read-args): Provide a default.
21260
21261 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21262 prog-mode-map (bug#14504).
21263
21264 2013-05-29 Leo Liu <sdl.web@gmail.com>
21265
21266 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21267 (octave-help): Small simplification.
21268
21269 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21270 off the highlight first.
21271
21272 2013-05-29 Glenn Morris <rgm@gnu.org>
21273
21274 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21275 Handle idlwave-last-system-routine-info-cons-cell being nil.
21276
21277 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21278 (idlwave-write-paths): Simplify via with-temp-buffer.
21279
21280 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21281 * emulation/cua-rect.el: Also load cua-base at run time.
21282
21283 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21284 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21285 (cperl-imenu-on-info): Require imenu.
21286
21287 2013-05-28 Alan Mackenzie <acm@muc.de>
21288
21289 Handle "capitalised keywords" correctly.
21290 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21291
21292 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
21293
21294 * eshell/em-unix.el: Add -r option to cp.
21295
21296 2013-05-28 Glenn Morris <rgm@gnu.org>
21297
21298 * vc/vc-arch.el (vc-exec-after): Declare.
21299 (vc-switches): Autoload.
21300 * vc/vc-bzr.el: No need to require vc when compiling.
21301 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
21302 (vc-resynch-buffer, vc-dir-refresh): Declare.
21303 (vc-setup-buffer, vc-switches): Autoload.
21304 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
21305 (vc-resynch-buffer): Declare.
21306 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
21307 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
21308 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
21309 (grep-read-regexp, grep-read-files, grep-expand-template)
21310 (vc-dir-refresh): Declare.
21311 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21312 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
21313 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
21314 * vc/vc-mtn.el (vc-exec-after): Declare.
21315 (vc-switches): Autoload.
21316 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
21317 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
21318 (vc-file-tree-walk): Declare.
21319 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
21320 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
21321 (vc-tag-precondition, vc-rename-master): Autoload.
21322 * vc/vc-svn.el (vc-exec-after): Declare.
21323 (vc-switches, vc-setup-buffer): Autoload.
21324 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
21325 Autoload.
21326 (vc-resynch-buffer): Declare.
21327
21328 * obsolete/fast-lock.el (byte-compile-warnings):
21329 Don't warn about obsolete features in this obsolete file.
21330
21331 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
21332 Move definition before use.
21333
21334 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
21335 (dun-unix-verbs): Remove dun-zippy.
21336 (dun-zippy): Remove function.
21337
21338 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
21339
21340 2013-05-27 Juri Linkov <juri@jurta.org>
21341
21342 * replace.el (replace-search): New function with code moved out
21343 from `perform-replace'.
21344 (replace-highlight, replace-dehighlight): Move function definitions
21345 up closer to `replace-search'. (Bug#11746)
21346
21347 2013-05-27 Juri Linkov <juri@jurta.org>
21348
21349 * replace.el (perform-replace): Ignore invisible matches.
21350 In addition to checking `query-replace-skip-read-only', also
21351 filter out matches by calling `run-hook-with-args-until-failure'
21352 on `isearch-filter-predicates', and also check `search-invisible'
21353 for t or call `isearch-range-invisible'.
21354 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
21355
21356 2013-05-27 Juri Linkov <juri@jurta.org>
21357
21358 * isearch.el (isearch-filter-predicates): Rename from
21359 `isearch-filter-predicate'. Doc fix. (Bug#11378)
21360 (isearch-message-prefix): Display text from the property
21361 `isearch-message-prefix' of the currently active filters.
21362 (isearch-search): Don't compare `isearch-filter-predicate' with
21363 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
21364 on `isearch-filter-predicates'. Also check `search-invisible' for t
21365 or call `isearch-range-invisible'.
21366 (isearch-filter-visible): Make obsolete.
21367 (isearch-lazy-highlight-search):
21368 Call `run-hook-with-args-until-failure' on
21369 `isearch-filter-predicates' and use `isearch-range-invisible'.
21370
21371 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
21372 `isearch-filter-predicates' instead of `funcall'ing
21373 `isearch-filter-predicate'.
21374 (Info-mode): Set `Info-isearch-filter' to
21375 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
21376
21377 * dired-aux.el (dired-isearch-filter-predicate-orig):
21378 Remove variable.
21379 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
21380 (dired-isearch-filenames-end): Add and remove
21381 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
21382 instead of changing the value of `isearch-filter-predicate'.
21383 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
21384 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
21385 Put property `isearch-message-prefix' to "filename " on
21386 `dired-isearch-filter-filenames'.
21387
21388 * wdired.el (wdired-change-to-wdired-mode):
21389 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
21390 locally instead of changing `isearch-filter-predicate'.
21391 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
21392
21393 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
21394
21395 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
21396 return the commit hash (Bug#14459). Also set the
21397 `vc-git-detached' property.
21398 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
21399 (vc-git-mode-line-string): Use the same help-echo format whether
21400 in detached mode or not, because we know the actual revision now.
21401 When in detached mode, shorten the revision to 7 chars.
21402
21403 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21404
21405 * emacs-lisp/easy-mmode.el (define-minor-mode):
21406 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
21407 mode hook and provide a docstring.
21408
21409 2013-05-27 Alan Mackenzie <acm@muc.de>
21410
21411 Remove spurious syntax-table text properties inserted by C-y.
21412 * progmodes/cc-mode.el (c-after-change): Also clear hard
21413 syntax-table property with value nil.
21414
21415 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
21416
21417 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
21418 when reading the events; the buffer layout shall not be changed.
21419
21420 2013-05-27 Leo Liu <sdl.web@gmail.com>
21421
21422 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
21423 New variable.
21424 (inferior-octave-directory-tracker): Automatically re-sync
21425 default-directory.
21426 (octave-help): Improve handling of 'See also'.
21427
21428 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21429
21430 * doc-view.el: Minor naming convention tweaks.
21431 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
21432
21433 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
21434 even if there's no `display' property yet (bug#14435).
21435
21436 2013-05-25 Eli Zaretskii <eliz@gnu.org>
21437
21438 * subr.el (unmsys--file-name): Rename from reveal-filename.
21439
21440 * Makefile.in (custom-deps, finder-data, autoloads)
21441 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21442 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21443 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
21444
21445 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21446
21447 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
21448 error-completion on the first 2 args of condition-case (bug#14446).
21449 Don't burp at EOB.
21450
21451 2013-05-25 Leo Liu <sdl.web@gmail.com>
21452
21453 * comint.el (comint-previous-matching-input): Do not flood the
21454 *Messages* buffer with trivial messages.
21455
21456 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21457
21458 * progmodes/flymake.el (flymake-nop): Don't return a string.
21459 (flymake-set-at): Fix typo.
21460
21461 * simple.el (read--expression): New function, extracted from
21462 eval-expression. Set completion-at-point-functions (bug#14465).
21463 (eval-expression, eval-minibuffer): Use it.
21464
21465 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
21466
21467 * progmodes/flymake.el (flymake-save-buffer-in-file)
21468 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
21469 (flymake-selected-frame, flymake-log, flymake-ins-after)
21470 (flymake-set-at, flymake-get-buildfile-from-cache)
21471 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
21472 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
21473 Refine the doc string.
21474 (flymake-get-file-name-mode-and-masks): Reformat.
21475 (flymake-get-real-file-name-function): Fix a minor bug.
21476
21477 2013-05-24 Juri Linkov <juri@jurta.org>
21478
21479 * progmodes/grep.el (grep-mode-font-lock-keywords):
21480 Support =linenumber= format used by git-grep for lines with
21481 function names. (Bug#13549)
21482
21483 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21484
21485 * progmodes/octave.el (octave-smie-rules): Return nil rather than
21486 0 after a semi-colon; it works better for smie-auto-fill.
21487 (octave--indent-new-comment-line): New function.
21488 (octave-indent-new-comment-line): Use it (indirectly).
21489 (octave-mode): Don't disable smie-auto-fill. Use add-function to
21490 modify comment-line-break-function.
21491
21492 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
21493 (smie-setup): Use add-function to set it.
21494
21495 2013-05-24 Sam Steingold <sds@gnu.org>
21496
21497 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
21498 argument (before the `interactive' argument).
21499
21500 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21501
21502 * image-mode.el (image-mode-winprops): Add winprops to
21503 image-mode-winprops-alist before running
21504 image-mode-new-window-functions.
21505 * doc-view.el (doc-view-new-window-function): Don't delay
21506 doc-view-goto-page via timers (bug#14435).
21507
21508 2013-05-24 Tassilo Horn <tsdh@gnu.org>
21509
21510 * doc-view.el: Integrate with desktop.el. (Bug#14435)
21511 (doc-view-desktop-save-buffer): New function.
21512 (doc-view-restore-desktop-buffer): New function.
21513 (desktop-buffer-mode-handlers):
21514 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
21515 handler.
21516 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
21517 `desktop-save-buffer' function.
21518
21519 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
21520
21521 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
21522 (tramp-gvfs-file-name-handler): Raise a user error when
21523 `tramp-gvfs-enabled' is nil.
21524 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
21525 Do not raise a user error when loading package. (Bug#14447)
21526
21527 * net/xesam.el: Move to obsolete/.
21528
21529 2013-05-24 Glenn Morris <rgm@gnu.org>
21530
21531 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
21532
21533 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
21534
21535 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
21536 (Info-find-node, Man-getpage-in-background): Declare.
21537
21538 * mail/unrmail.el (unrmail):
21539 Replace obsolete detect-coding-with-priority.
21540
21541 * net/socks.el (socks-split-string): Use this rather than split-string.
21542 (socks-nslookup-host): Update for above change.
21543 (dynamic-choice, s5-dynamic-choice-match)
21544 (s5-dynamic-choice-match-inline, s5-widget-value-create):
21545 Comment out unused code.
21546
21547 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
21548 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
21549 (gud-tooltip-echo-area): Make obsolete.
21550 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
21551
21552 * progmodes/js.el (js--optimize-arglist): Declare.
21553
21554 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
21555
21556 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
21557 (ediff-window-C): Declare.
21558
21559 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
21560 Tweak requires to silence compiler.
21561
21562 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
21563 (he-search-string, he-tried-table, he-expand-list)
21564 (he-init-string, he-string-member, he-substitute-string)
21565 (he-reset-string): Declare.
21566
21567 * obsolete/options.el (list-options): Use custom-variable-p,
21568 rather than obsolete alias.
21569
21570 2013-05-23 Sam Steingold <sds@gnu.org>
21571
21572 * simple.el (shell-command-on-region): Pass the `replace' argument
21573 down to `call-process-region' to comply with the doc as reported on
21574 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
21575
21576 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21577
21578 * emacs-lisp/smie.el (smie-indent-forward-token)
21579 (smie-indent-backward-token): Handle string tokens (bug#14381).
21580
21581 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21582
21583 * ielm.el (ielm-menu): New menu.
21584 (inferior-emacs-lisp-mode): Set comment-start.
21585
21586 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21587
21588 * textmodes/reftex.el (reftex-ref-style-toggle):
21589 Fix deactivate action.
21590
21591 * textmodes/reftex-vars.el (reftex-ref-style-alist):
21592 Add cleveref macros.
21593
21594 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
21595 Accept options for bibliography commands.
21596 * textmodes/reftex-vars.el (reftex-bibliography-commands):
21597 Add addbibresource. Basic Biblatex support.
21598
21599 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
21600
21601 * net/tramp-gvfs.el (top):
21602 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
21603 when loading package. (Bug#14447)
21604
21605 2013-05-23 Glenn Morris <rgm@gnu.org>
21606
21607 * progmodes/js.el: No need to load comint when compiling.
21608 (ring-insert, comint-send-string, comint-send-input)
21609 (comint-last-input-end, ido-chop): Declare.
21610
21611 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
21612 * vc/ediff-mult.el: Adjust requires.
21613 (ediff-directories-internal, ediff-directory-revisions-internal)
21614 (ediff-patch-file-internal): Declare.
21615 * vc/ediff-ptch.el: Adjust requires.
21616 (ediff-use-last-dir, ediff-buffers-internal): Declare.
21617 (ediff-find-file): Autoload.
21618 * vc/ediff-util.el: No need to load ediff when compiling.
21619 (ediff-regions-internal): Declare.
21620 * vc/ediff-wind.el: Adjust requires.
21621 (ediff-compute-toolbar-width): Define when compiling.
21622 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
21623 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
21624 (dired-get-filename, dired-get-marked-files)
21625 (ediff-last-dir-patch, ediff-patch-default-directory)
21626 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
21627 (ediff-patch-buffer-internal): Declare.
21628
21629 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
21630 (ispell-process, ispell-buffer-local-words, lm-summary)
21631 (lm-section-start, lm-section-end): Declare.
21632 (checkdoc-ispell-init): Simplify.
21633
21634 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
21635 (he-string-member, he-reset-string, he-substitute-string): Declare.
21636
21637 * eshell/em-ls.el: Adjust requires.
21638 (eshell-glob-regexp): Declare.
21639 * eshell/em-tramp.el: Adjust requires.
21640 (eshell-parse-command): Autoload.
21641 * eshell/em-xtra.el: Adjust requires.
21642 (eshell-parse-command): Autoload.
21643 * eshell/esh-ext.el: Adjust requires.
21644 (eshell-parse-command, eshell-close-handles): Autoload.
21645 * eshell/esh-io.el: Adjust requires.
21646 (eshell-output-filter): Autoload.
21647 * eshell/esh-util.el: No need to load tramp when compiling.
21648 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
21649 Declare.
21650 (eshell-parse-ange-ls): Require ange-ftp and tramp.
21651 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
21652 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
21653 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
21654 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
21655 * eshell/esh-opt.el, eshell/esh-proc.el:
21656 * eshell/esh-var.el: Adjust requires.
21657 * eshell/eshell.el: Do not require esh-util twice.
21658 (eshell-add-input-to-history): Declare.
21659 (eshell-command): Check history module is active before using it.
21660
21661 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
21662
21663 2013-05-22 Leo Liu <sdl.web@gmail.com>
21664
21665 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
21666
21667 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
21668
21669 * autorevert.el (auto-revert-notify-add-watch)
21670 (auto-revert-notify-handler): Add `attrib' for the inotify case,
21671 it indicates changes in file modification time.
21672
21673 2013-05-22 Glenn Morris <rgm@gnu.org>
21674
21675 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21676 Always delete the autoloaded function from the noruntime and
21677 unresolved functions lists.
21678
21679 * allout.el: No need to load epa, epg, overlay when compiling.
21680 (epg-context-set-passphrase-callback, epg-list-keys)
21681 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
21682 (epg-key-user-id-list): Declare.
21683
21684 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
21685 (viper-set-parsing-style-toggling-macro)
21686 (viper-set-emacs-state-searchstyle-macros):
21687 Use called-interactively-p on Emacs.
21688 (viper-looking-back): Make it an obsolete alias. Update callers.
21689 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
21690 Use looking-back rather than viper-looking-back.
21691 (viper-tmp-insert-at-eob, viper-enlarge-region)
21692 (viper-read-string-with-history, viper-register-to-point)
21693 (viper-append-to-register, viper-change-state-to-vi)
21694 (viper-backward-char-carefully, viper-forward-char-carefully)
21695 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
21696 (viper-change-state-to-emacs): Declare.
21697 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
21698 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
21699 * emulation/viper-mous.el: Do not load viper-cmd.
21700 (viper-backward-char-carefully, viper-forward-char-carefully)
21701 (viper-forward-word, viper-adjust-window): Declare.
21702
21703 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
21704
21705 * progmodes/idlw-help.el (idlwave-help-fontify):
21706 Use called-interactively-p.
21707
21708 * term/w32console.el (w32-get-console-codepage)
21709 (w32-get-console-output-codepage): Declare.
21710
21711 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
21712 Remove unnecessary declarations.
21713 (dframe-message): Doc fix.
21714
21715 * info.el (dframe-select-attached-frame, dframe-current-frame):
21716 Declare.
21717
21718 * speedbar.el (speedbar-message): Make it an obsolete alias.
21719 Update all callers.
21720 (speedbar-with-attached-buffer)
21721 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
21722 (speedbar-with-writable): Use backquote.
21723 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
21724 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
21725 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
21726 rather than speedbar- aliases.
21727 * mail/rmail.el: Load dframe rather than speedbar when compiling.
21728 (speedbar-make-specialized-keymap, speedbar-insert-button)
21729 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
21730 (speedbar-do-function-pointer): Declare.
21731 (rmail-speedbar-button, rmail-speedbar-find-file)
21732 (rmail-speedbar-move-message):
21733 Use dframe-with-attached-buffer rather than speedbar- alias.
21734 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
21735 (dframe-message, speedbar-make-specialized-keymap)
21736 (speedbar-add-expansion-list, speedbar-mode-functions-list)
21737 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
21738 (speedbar-insert-button, dframe-select-attached-frame)
21739 (dframe-maybee-jump-to-attached-frame)
21740 (speedbar-change-initial-expansion-list)
21741 (speedbar-previously-used-expansion-list-name): Declare.
21742 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
21743 Use dframe-message, dframe-with-attached-buffer rather than
21744 speedbar- aliases.
21745 (gud-sentinel): Silence compiler.
21746 * progmodes/vhdl-mode.el (speedbar-refresh)
21747 (speedbar-do-function-pointer, speedbar-add-supported-extension)
21748 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
21749 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
21750 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
21751 (speedbar-file-lists, speedbar-make-tag-line)
21752 (speedbar-line-directory, speedbar-goto-this-file)
21753 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
21754 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
21755 (speedbar-make-button, speedbar-reset-scanners)
21756 (speedbar-files-item-info, speedbar-line-text)
21757 (speedbar-find-file-in-frame, speedbar-set-timer)
21758 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
21759 (speedbar-with-writable): Do not (re)define it.
21760 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
21761 rather than speedbar- alias.
21762
21763 2013-05-21 Leo Liu <sdl.web@gmail.com>
21764
21765 * progmodes/octave.el (octave-mode-menu): Update and re-organize
21766 menu items.
21767 (octave-mode): Tweak fill-nobreak-predicate.
21768 (inferior-octave-startup): Check process to avoid infinite loop.
21769 (inferior-octave): Pop to buffer first to show abornmal process
21770 exit information.
21771
21772 2013-05-21 Glenn Morris <rgm@gnu.org>
21773
21774 * printing.el (pr-menu-bar): Define when compiling.
21775
21776 2013-05-21 Leo Liu <sdl.web@gmail.com>
21777
21778 * progmodes/octave.el (octave-auto-fill): Remove.
21779 (octave-indent-new-comment-line): Improve.
21780 (octave-mode): Use auto fill mode through
21781 comment-line-break-function and fill-nobreak-predicate.
21782 (octave-goto-function-definition): Support DEFUN_DLD.
21783 (octave-beginning-of-defun): Small tweak.
21784 (octave-help): Show parent directory.
21785
21786 2013-05-21 Glenn Morris <rgm@gnu.org>
21787
21788 * files.el (dired-unmark):
21789 * progmodes/gud.el (gdb-input): Update declarations.
21790
21791 * calculator.el (electric, ehelp): No need to load when compiling.
21792 (Electric-command-loop, electric-describe-mode): Declare.
21793
21794 * doc-view.el (doc-view-current-converter-processes): Move before use.
21795
21796 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
21797 Move MODE-set-explicitly definition before use.
21798
21799 * international/mule-diag.el (mule-diag):
21800 Don't use obsolete window-system-version.
21801
21802 * mail/feedmail.el (smtpmail): No need to load when compiling.
21803 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
21804
21805 * mail/mail-utils.el (rfc822): No need to load when compiling.
21806 (rfc822-addresses): Autoload it.
21807 (mail-strip-quoted-names): Trivial simplification.
21808
21809 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
21810 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
21811
21812 * net/snmp-mode.el (tempo): Don't duplicate requires.
21813
21814 * progmodes/prolog.el (info): No need to load when compiling.
21815 (comint): Require before shell requires it.
21816 (Info-goto-node): Autoload it.
21817 (Info-follow-nearest-node): Declare.
21818 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
21819
21820 * textmodes/artist.el (picture-mode-exit): Declare.
21821
21822 * textmodes/reftex-parse.el (reftex-parse-from-file):
21823 Trivial rewrite so the compiler can parse it better.
21824
21825 2013-05-20 Leo Liu <sdl.web@gmail.com>
21826
21827 * progmodes/octave.el (octave-help-mode-map)
21828 (octave-help-mode-finish-hook): New variables.
21829 (octave-help-mode, octave-help-mode-finish): New functions.
21830 (octave-help): Use octave-help-mode.
21831
21832 2013-05-20 Glenn Morris <rgm@gnu.org>
21833
21834 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
21835
21836 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
21837
21838 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
21839 start at point, so that expansion starting right after opening
21840 slash in a regexp is recognized.
21841 (ruby-syntax-before-regexp-re): New defvar, extracted from
21842 ruby-syntax-propertize-function. Since the value of this regexp
21843 is looked up at runtime now, we should be able to turn
21844 `ruby-syntax-methods-before-regexp' into a defcustom later.
21845 (ruby-syntax-propertize-function): Split regexp matching into two
21846 parts, for opening and closing slashes. That allows us to skip
21847 over string interpolations and support multiline regexps.
21848 Don't call `ruby-syntax-propertize-expansions', instead use another rule
21849 for them, which calls `ruby-syntax-propertize-expansion'.
21850 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
21851 call to `ruby-syntax-propertize-function'.
21852 (ruby-syntax-propertize-expansion): Extracted from
21853 `ruby-syntax-propertize-expansions'. Handles one expansion.
21854 (ruby-syntax-propertize-percent-literal): Leave point right after
21855 the percent symbol, so that the expression expansion rule can
21856 propertize the contents.
21857 (ruby-syntax-propertize-heredoc): Leave point at bol following the
21858 heredoc openers.
21859 (ruby-syntax-propertize-expansions): Remove.
21860
21861 2013-05-18 Juri Linkov <juri@jurta.org>
21862
21863 * man.el (Man-default-man-entry): Remove `-' from the end
21864 of the default value. (Bug#14400)
21865
21866 2013-05-18 Glenn Morris <rgm@gnu.org>
21867
21868 * comint.el (comint-password-prompt-regexp):
21869 Allow "password for XXX" where XXX contains colons (eg https://...).
21870
21871 2013-05-18 Leo Liu <sdl.web@gmail.com>
21872
21873 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
21874 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
21875 (octave-source-directories): Don't check process.
21876 (octave-source-directories, octave-find-definition): Doc fix.
21877
21878 2013-05-18 Glenn Morris <rgm@gnu.org>
21879
21880 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
21881 Remove backspace/delete bindings. (Bug#14392)
21882
21883 * cus-dep.el (custom-make-dependencies): Sort the output.
21884 (custom-versions-load-alist): Convert comment to doc.
21885
21886 2013-05-17 Leo Liu <sdl.web@gmail.com>
21887
21888 * newcomment.el (comment-search-backward): Stricter in finding
21889 comment start. (Bug#14303)
21890
21891 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
21892 (octave-comment-start-skip): Properly anchored.
21893
21894 2013-05-17 Leo Liu <sdl.web@gmail.com>
21895
21896 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
21897 Clean up when turned off. (Bug#14395)
21898 (smie--highlight-matching-block-overlay): No longer buffer-local.
21899 (smie-highlight-matching-block): Adjust.
21900
21901 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
21902
21903 Doc string fix for "nanoseconds" (Bug#14406).
21904 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
21905 Fix doc string typo that had "nanoseconds" instead of "microseconds".
21906
21907 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
21908
21909 * calc/calc-units.el (math-extract-units): Preserve powers
21910 of units.
21911
21912 2013-05-17 Leo Liu <sdl.web@gmail.com>
21913
21914 * subr.el (delete-consecutive-dups): New function.
21915 * ido.el (ido-set-matches-1): Use it.
21916 * progmodes/octave.el (inferior-octave-completion-table): Use it.
21917 * ido.el (ido-remove-consecutive-dups): Remove.
21918
21919 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21920
21921 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21922 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
21923 regexp-opt's `words'.
21924
21925 2013-05-16 Leo Liu <sdl.web@gmail.com>
21926
21927 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
21928 (smie--highlight-matching-block-overlay)
21929 (smie--highlight-matching-block-lastpos)
21930 (smie--highlight-matching-block-timer): New variables.
21931 (smie-highlight-matching-block): New function.
21932 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
21933 (smie-setup): Conditionally enable smie-blink-matching-open.
21934
21935 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
21936
21937 Sync with upstream verilog-mode r840.
21938 * progmodes/verilog-mode.el (verilog-mode-version)
21939 (verilog-mode-release-date): Update.
21940 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
21941 (verilog-sig-tieoff): Fix string error on
21942 AUTORESET with colon define, bug594. Reported by Andrew Hou.
21943 (verilog-read-decls): Fix parameters confusing
21944 AUTOINST interfaces, bug565. Reported by Leith Johnson.
21945
21946 2013-05-16 Eli Zaretskii <eliz@gnu.org>
21947
21948 * subr.el (reveal-filename): New function.
21949
21950 * loadup.el: Compute Emacs executable versions on MS-Windows,
21951 where executables have the .exe extension. Add a hard link
21952 emacs-XX.YY.ZZ.exe on MS-Windows.
21953
21954 * Makefile.in (XARGS_LIMIT): New variable.
21955 (custom-deps, finder-data, autoloads)
21956 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21957 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21958 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
21959 (compile-main): Limit xargs according to $(XARGS_LIMIT).
21960
21961 2013-05-16 Leo Liu <sdl.web@gmail.com>
21962
21963 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
21964 (octave-mode-menu, octave-mode-map): Remove its uses.
21965
21966 2013-05-16 Reto Zimmermann <reto@gnu.org>
21967
21968 Sync with upstream vhdl mode v3.34.2.
21969 * progmodes/vhdl-mode.el: Use `push' throughout.
21970 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
21971 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
21972 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
21973 (vhdl-actual-generic-name): New option to derive actual generic name.
21974 (vhdl-port-paste-signals): Replace formal by actual generics.
21975 (vhdl-beautify): New name for old group vhdl-align. Update users.
21976 (vhdl-beautify-options): New option.
21977 (vhdl-last-input-event): New compat alias. Use throughout.
21978 (vhdl-goto-line): Replace user level function `goto-line'.
21979 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
21980 vhdl-fix-statement-buffer.
21981 (vhdl-create-mode-menu): Add some entries.
21982 (vhdl-align-region-groups): Respect vhdl-beautify-options.
21983 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
21984 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
21985 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
21986 to force statements on one line.
21987 (vhdl-remove-trailing-spaces-region):
21988 New, split from vhdl-remove-trailing-spaces.
21989 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
21990 Respect vhdl-beautify-options.
21991 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
21992 (vhdl-update-sensitivity-list): Not add with index if exists without.
21993 Not include array index with signal. Ignore keywords in comments.
21994 (vhdl-get-visible-signals): Regexp tweaks.
21995 (vhdl-template-component-inst): Handle empty library.
21996 (vhdl-template-type): Add template for 'enum' type.
21997 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
21998 Use vhdl-replace-string.
21999 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
22000 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
22001 (vhdl-speedbar-initialize): Update for above name change.
22002 (vhdl-compose-wire-components): Fix in handling of constants.
22003 (vhdl-error-regexp-emacs-alist): New variable.
22004 (vhdl-error-regexp-add-emacs): New function;
22005 adds support for new compile.el (Emacs 22+)
22006 (vhdl-generate-makefile-1): Change target order for single lib. units.
22007 Allow use of absolute file names.
22008
22009 2013-05-16 Leo Liu <sdl.web@gmail.com>
22010
22011 * simple.el (prog-indent-sexp): Indent enclosing defun.
22012
22013 2013-05-15 Glenn Morris <rgm@gnu.org>
22014
22015 * cus-start.el (show-trailing-whitespace): Move to editing basics.
22016 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22017 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22018 (whitespace-highlight): Move to whitespace group.
22019
22020 * comint.el (comint-source):
22021 * pcmpl-linux.el (pcmpl-linux):
22022 * shell.el (shell-faces):
22023 * eshell/esh-opt.el (eshell-opt):
22024 * international/ccl.el (ccl): Remove empty custom groups.
22025
22026 * completion.el (dynamic-completion-mode):
22027 * jit-lock.el (jit-lock-debug-mode):
22028 * minibuffer.el (completion-in-region-mode):
22029 * type-break.el (type-break-mode-line-message-mode)
22030 (type-break-query-mode):
22031 * emulation/tpu-edt.el (tpu-edt-mode):
22032 * progmodes/subword.el (global-subword-mode, global-superword-mode):
22033 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22034 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22035
22036 * term/xterm.el (xterm): Change parent group to terminals.
22037
22038 * master.el (master): Remove empty custom group.
22039 (master-mode): Remove unused :group argument.
22040 * textmodes/refill.el (refill): Remove empty custom group.
22041 (refill-mode): Remove unused :group argument.
22042
22043 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22044
22045 * cus-dep.el: Provide a feature.
22046 (custom-make-dependencies): Ignore dotfiles (dir-locals).
22047 Don't mistakenly ignore files whose basenames match a basename
22048 from preloaded-file-list (eg cedet/ede/simple.el).
22049 Add a fallback method for getting :group.
22050
22051 2013-05-15 Juri Linkov <juri@jurta.org>
22052
22053 * isearch.el (isearch-char-by-name): Rename from
22054 `isearch-insert-char-by-name'. Doc fix.
22055 (isearch-forward): Mention `isearch-char-by-name' in
22056 the docstring. (Bug#13348)
22057
22058 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22059 `exit-minibuffer' instead of
22060 `isearch-nonincremental-exit-minibuffer'.
22061 (isearch-edit-string): Remove mention of
22062 `isearch-nonincremental-exit-minibuffer' from docstring.
22063 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22064 (isearch-forward-exit-minibuffer)
22065 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
22066
22067 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22068
22069 * loadup.el: Just use unversioned DOC.
22070
22071 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22072 literals as extending to EOB.
22073 (nxml-last-fontify-end): Remove unused variable.
22074 (nxml-after-change1): Use with-silent-modifications.
22075 (nxml-extend-after-change-region): Simplify.
22076 (nxml-extend-after-change-region1): Remove function.
22077 (nxml-after-change1): Don't adjust for dependent regions.
22078 (nxml-fontify-matcher): Simplify.
22079 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22080 (xmltok-add-dependent): Remove function.
22081 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22082 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22083 (xmltok-scan-prolog-after-processing-instruction-open): Treat
22084 unclosed <[[, <?, comment, and other literals as extending to EOB.
22085 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22086 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22087 Remove functions.
22088 (rng-do-some-validation-1): Don't mark dependent regions.
22089 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22090 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22091 (nxml-clear-dependent-regions): Remove functions.
22092 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22093 (nxml-ensure-scan-up-to-date):
22094 Don't clear&mark dependent regions.
22095
22096 2013-05-15 Leo Liu <sdl.web@gmail.com>
22097
22098 * progmodes/octave.el (octave-goto-function-definition):
22099 Improve and fix callers.
22100
22101 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22102
22103 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22104 the setter (bug#14387).
22105
22106 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22107 surrounding group (bug#14402).
22108
22109 2013-05-14 Juri Linkov <juri@jurta.org>
22110
22111 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22112 (Bug#14390)
22113
22114 2013-05-14 Glenn Morris <rgm@gnu.org>
22115
22116 * progmodes/f90.el (f90-imenu-generic-expression):
22117 Fix typo in 2013-05-08 change. (Bug#14402)
22118
22119 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22120
22121 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22122 Remove signals for which replies are never received.
22123
22124 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22125
22126 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22127 (gdb-handler-alist, gdb-handler-number): Remove variables.
22128 (gdb-handler-list): New variable.
22129 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22130 (gdb-pending-handler-p, gdb-handle-reply)
22131 (gdb-remove-all-pending-triggers): New functions.
22132 (gdb-discard-unordered-replies): New defcustom.
22133 (gdb-handler): New defstruct.
22134 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
22135 instead of gdb-pending-triggers. Update docstring.
22136 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
22137 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22138 (gdb-var-update-handler, def-gdb-auto-update-trigger)
22139 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22140 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22141 (gdb-frame-handler): Pending triggers are now automatically managed.
22142 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22143 Remove argument.
22144 (gdb-input): Automatically handles pending triggers. Update docstring.
22145 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22146 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22147 Update comments.
22148 (gdb-done-or-error): Now use gdb-handle-reply.
22149
22150 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22151
22152 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22153 gdb-debug-log.
22154
22155 2013-05-14 Glenn Morris <rgm@gnu.org>
22156
22157 * subr.el (user-emacs-directory-warning): New option.
22158 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
22159
22160 2013-05-14 Leo Liu <sdl.web@gmail.com>
22161
22162 * progmodes/octave.el (octave-font-lock-keywords): Fix error
22163 during redisplay.
22164 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22165 (octave-font-lock-texinfo-comment): Fix invalid search bound
22166 error: wrong side of point.
22167
22168 2013-05-14 Glenn Morris <rgm@gnu.org>
22169
22170 * progmodes/flymake.el (flymake-xml-program): New option.
22171 (flymake-xml-init): Use it.
22172
22173 * term/xterm.el: Provide a feature.
22174
22175 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
22176
22177 2013-05-13 Glenn Morris <rgm@gnu.org>
22178
22179 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22180 Add compat aliases as a hack workaround. (Bug#14384)
22181
22182 2013-05-13 Leo Liu <sdl.web@gmail.com>
22183
22184 * progmodes/octave.el (octave-indent-comment): Fix indentation for
22185 ###, and %!.
22186 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22187 C-M-q.
22188 (octave-comment-start-skip): Include %!.
22189 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22190
22191 2013-05-12 Leo Liu <sdl.web@gmail.com>
22192
22193 * progmodes/octave.el (inferior-octave-startup): Store the value
22194 of __octave_srcdir__ for octave-source-directories.
22195 (inferior-octave-check-process): New function refactored out of
22196 inferior-octave-send-list-and-digest.
22197 (octave-source-directories)
22198 (octave-find-definition-filename-function): New variables.
22199 (octave-source-directories)
22200 (octave-find-definition-default-filename): New functions.
22201 (octave-find-definition): Improve to find functions implemented in C++.
22202
22203 2013-05-12 Glenn Morris <rgm@gnu.org>
22204
22205 * calendar/diary-lib.el (diary-outlook-format-1):
22206 Don't include dayname in the output. (Bug#14349)
22207
22208 2013-05-11 Glenn Morris <rgm@gnu.org>
22209
22210 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22211
22212 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22213 Treat cc-provide like provide.
22214
22215 2013-05-11 Kevin Ryde <user42@zip.com.au>
22216
22217 * cus-dep.el (custom-make-dependencies):
22218 Use generated-autoload-load-name for the sake of files such
22219 such cedet/semantic/bovine/c.el, where the base file name
22220 is not in load-path. (Bug#5277)
22221
22222 2013-05-11 Glenn Morris <rgm@gnu.org>
22223
22224 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22225 Provide features.
22226
22227 2013-05-11 Leo Liu <sdl.web@gmail.com>
22228
22229 * progmodes/octave.el (octave-indent-comment): Improve.
22230 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22231 (octave-eldoc-function-signatures, octave-eldoc-function):
22232 New functions.
22233 (octave-mode, inferior-octave-mode): Add eldoc support.
22234
22235 2013-05-11 Richard Stallman <rms@gnu.org>
22236
22237 * epa.el (epa-decrypt-file): Take output file name as argument
22238 and read it using `interactive'.
22239
22240 2013-05-11 Leo Liu <sdl.web@gmail.com>
22241
22242 * progmodes/octave.el (octave-beginning-of-line)
22243 (octave-end-of-line): Check before using up-list because it jumps
22244 out of more syntactic contructs since moving to smie.
22245 (octave-indent-comment): New function.
22246 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
22247 (octave-begin-keywords, octave-end-keywords)
22248 (octave-reserved-words, octave-smie-bnf-table)
22249 (octave-smie-rules): Add new keywords from Octave 3.6.4.
22250
22251 2013-05-11 Glenn Morris <rgm@gnu.org>
22252
22253 * faces.el (internal-face-x-get-resource):
22254 * frame.el (ns-display-monitor-attributes-list):
22255 * calc/calc-aent.el (math-to-radians-2):
22256 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22257 Fix declarations.
22258
22259 * calc/calc-menu.el: Make it loadable in isolation.
22260
22261 * net/eudcb-bbdb.el: Make it loadable without bbdb.
22262 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22263 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22264 (eudc-bbdb-query-internal): Require 'bbdb.
22265
22266 * lpr.el (lpr-headers-switches):
22267 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22268
22269 * progmodes/sql.el (sql-login-params): Fix and improve :type.
22270
22271 * emulation/edt-mapper.el: In batch mode, error rather than hang.
22272
22273 * term.el (term-set-escape-char): Make it idempotent.
22274
22275 2013-05-10 Leo Liu <sdl.web@gmail.com>
22276
22277 * progmodes/octave.el (inferior-octave-completion-table):
22278 No longer a function and all uses changed. Use cache to speed up
22279 completion due to bug#11906.
22280 (octave-beginning-of-defun): Re-write to be more general.
22281
22282 2013-05-10 Glenn Morris <rgm@gnu.org>
22283
22284 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22285
22286 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
22287
22288 * comint.el (comint-redirect-send-command-to-process): Use :around
22289 rather than :override for comint-redirect-filter.
22290 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22291 Call it instead of comint-redirect-original-filter-function (which
22292 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
22293
22294 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
22295
22296 * frame.el (display-monitor-attributes-list): Add NS case.
22297 (ns-display-monitor-attributes-list): Declare.
22298
22299 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
22300
22301 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
22302
22303 2013-05-09 Glenn Morris <rgm@gnu.org>
22304
22305 * international/fontset.el (vertical-centering-font-regexp):
22306 Set standard-value.
22307
22308 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
22309
22310 * bookmark.el (bookmark-search-delay):
22311 * cus-start.el (vertical-centering-font-regexp):
22312 * ps-mule.el (ps-mule-font-info-database-default):
22313 * ps-print.el (ps-default-fg, ps-default-bg):
22314 * type-break.el (type-break-good-break-interval):
22315 * whitespace.el (whitespace-indentation-regexp)
22316 (whitespace-space-after-tab-regexp):
22317 * emacs-lisp/testcover.el (testcover-1value-functions)
22318 (testcover-noreturn-functions, testcover-progn-functions)
22319 (testcover-prog1-functions):
22320 * emulation/viper-init.el (viper-emacs-state-cursor-color):
22321 * eshell/em-glob.el (eshell-glob-translate-alist):
22322 * play/tetris.el (tetris-tty-colors):
22323 * progmodes/cpp.el (cpp-face-default-list):
22324 * progmodes/flymake.el (flymake-allowed-file-name-masks):
22325 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
22326 (idlwave-help-browser-generic-args):
22327 * progmodes/make-mode.el (makefile-special-targets-list):
22328 * progmodes/python.el (python-shell-virtualenv-path):
22329 * progmodes/verilog-mode.el (verilog-active-low-regexp)
22330 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
22331 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
22332 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
22333 * textmodes/reftex-vars.el (reftex-format-label-function):
22334 * textmodes/remember.el (remember-diary-file): Fix custom types.
22335
22336 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
22337 Add :version.
22338
22339 2013-05-09 Leo Liu <sdl.web@gmail.com>
22340
22341 * progmodes/octave.el (inferior-octave-completion-at-point):
22342 Restore file completion. (Bug#14300)
22343 (inferior-octave-startup): Fix incorrect highlighting for the
22344 first prompt.
22345
22346 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22347
22348 * progmodes/ruby-mode.el: First cut at SMIE support.
22349 (ruby-use-smie): New var.
22350 (ruby-smie-grammar): New constant.
22351 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
22352 (ruby-smie--forward-token, ruby-smie--backward-token)
22353 (ruby-smie-rules): New functions.
22354 (ruby-mode-variables): Setup SMIE if applicable.
22355
22356 2013-05-08 Eli Zaretskii <eliz@gnu.org>
22357
22358 * simple.el (line-move-visual): Signal beginning/end of buffer
22359 only if vertical-motion moved less than it was requested. Avoids
22360 silly incorrect error messages when there are display strings with
22361 multiple newlines at EOL.
22362
22363 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22364
22365 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
22366 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
22367 (prolog-char-quote-workaround):
22368 * progmodes/cperl-mode.el (cperl-under-as-char):
22369 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
22370 Mark as obsolete.
22371 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
22372 their declaration.
22373 (vhdl-mode-syntax-table-init): Remove.
22374
22375 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
22376 last change.
22377
22378 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
22379 syntax for "_".
22380 (ld-script-font-lock-keywords):
22381 Change regexps to use things like \_< and \_>.
22382
22383 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
22384 Change all regexps to use things like \_< and \_>.
22385
22386 * progmodes/autoconf.el (autoconf-definition-regexp)
22387 (autoconf-font-lock-keywords, autoconf-current-defun-function):
22388 Handle a _ with symbol syntax.
22389 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
22390
22391 * progmodes/ada-mode.el (ada-mode-abbrev-table):
22392 Consolidate declaration.
22393 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
22394 the declaration.
22395 (ada-create-syntax-table): Remove.
22396 (ada-capitalize-word): Don't mess with the syntax of "_" since it
22397 already has the right syntax nowadays.
22398 (ada-goto-next-word): Don't change the syntax of "_".
22399
22400 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
22401 with-wrapper-hook.
22402
22403 2013-05-08 Sam Steingold <sds@gnu.org>
22404
22405 * thingatpt.el (thing-at-point): Accept optional second argument
22406 NO-PROPERTIES to strip the text properties from the return value.
22407 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
22408 to `thing-at-point' instead of stripping the properties ourselves.
22409 Also, when `thing-at-point' fails to find a url, prepend "http://"
22410 to the filename at point on the assumption that the user is
22411 pointing at something like gnu.org/gnu.
22412
22413 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
22414
22415 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22416 * faces.el (crm-separator):
22417 Silence byte-compiler.
22418
22419 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
22420 (tool-bar-map): Remove unneeded defvars.
22421
22422 2013-05-08 Leo Liu <sdl.web@gmail.com>
22423
22424 Re-work a fix for bug#10994 based on Le Wang's patch.
22425 * ido.el (ido-remove-consecutive-dups): New helper.
22426 (ido-completing-read): Use it.
22427 (ido-chop): Revert fix for bug#10994.
22428
22429 2013-05-08 Adam Spiers <emacs@adamspiers.org>
22430
22431 * cus-edit.el (custom-save-variables):
22432 Pretty-print long values. (Bug#14187)
22433
22434 2013-05-08 Glenn Morris <rgm@gnu.org>
22435
22436 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
22437 (m4-mode-syntax-table): Init in the defvar.
22438 (m4-mode-abbrev-table): Let define-derived-mode define it.
22439
22440 2013-05-08 Tom Tromey <tromey@redhat.com>
22441
22442 * progmodes/m4-mode.el (m4-mode-syntax-table):
22443 Do not treat "_" as word constituent. (Bug#14167)
22444
22445 2013-05-07 Glenn Morris <rgm@gnu.org>
22446
22447 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
22448 Remove explicit eshell-isearch-cancel-map.
22449
22450 * progmodes/f90.el (f90-smart-end-names): New option.
22451 (f90-smart-end): Doc fix.
22452 (f90-end-block-optional-name): New constant.
22453 (f90-block-match): Respect f90-smart-end-names.
22454
22455 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22456
22457 * progmodes/octave.el (octave-smie-forward-token): Be more careful
22458 about implicit semi-colons (bug#14218).
22459
22460 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22461
22462 * frame.el (display-monitor-attributes-list)
22463 (frame-monitor-attributes): New functions.
22464
22465 2013-05-06 Leo Liu <sdl.web@gmail.com>
22466
22467 * progmodes/octave.el (octave-syntax-propertize-function): Change
22468 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
22469 (octave-font-lock-keywords): Use octave-operator-regexp.
22470 (octave-completion-at-point): Rename from
22471 octave-completion-at-point-function.
22472 (inferior-octave-directory-tracker): Robustify.
22473 (octave-text-functions): Remove and fix its uses. No such things
22474 any more.
22475
22476 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22477
22478 * emacs-lisp/trace.el (trace--display-buffer): New function.
22479 (trace-make-advice): Use it.
22480
22481 2013-05-06 Juri Linkov <juri@jurta.org>
22482
22483 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
22484 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
22485 Doc fix.
22486 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
22487 in the help string. (Bug#12985)
22488
22489 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
22490
22491 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
22492
22493 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22494
22495 * progmodes/perl-mode.el: Add support for here documents.
22496 (perl-syntax-propertize-function): Match here-doc markers.
22497 (perl-syntax-propertize-special-constructs): Find their end.
22498 (perl-imenu-generic-expression): Use [:alnum:].
22499
22500 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
22501 (advice--add-function): Refresh the advice if already present
22502 (bug#14317).
22503
22504 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
22505
22506 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
22507
22508 2013-05-06 Glenn Morris <rgm@gnu.org>
22509
22510 * w32-fns.el (w32-charset-info-alist): Declare.
22511
22512 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
22513 of its defcustom properties.
22514 (eshell-cmpl-initialize): No need to load pcomplete.
22515
22516 * generic-x.el: No need to require comint when compiling.
22517
22518 * net/eudc-export.el: Make it loadable without bbdb.
22519 (top-level): Use require rather than load-library.
22520 (eudc-create-bbdb-record, eudc-bbdbify-phone)
22521 (eudc-batch-export-records-to-bbdb)
22522 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
22523 Require bbdb.
22524
22525 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22526
22527 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
22528 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
22529 some tweaks, instead.
22530
22531 2013-05-05 Leo Liu <sdl.web@gmail.com>
22532
22533 * progmodes/octave.el (octave-font-lock-keywords)
22534 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
22535 (inferior-octave-send-list-and-digest): Improve error message.
22536 (octave-mode, inferior-octave-mode): Use setq-local.
22537 (octave-help): Set info-lookup-mode.
22538
22539 2013-05-05 Richard Stallman <rms@gnu.org>
22540
22541 * vc/compare-w.el (compare-windows-whitespace):
22542 Treat no-break space as whitespace.
22543
22544 * mail/rmailsum.el (rmail-summary-rmail-update):
22545 Detect empty summary and don't change selected message.
22546 (rmail-summary-goto-msg): Likewise.
22547
22548 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
22549 Doc fixes, rename args.
22550
22551 2013-05-05 Alan Mackenzie <acm@muc.de>
22552
22553 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
22554
22555 2013-05-05 Juri Linkov <juri@jurta.org>
22556
22557 * info.el (Info-read-subfile): Use (point-min) instead of (point)
22558 to not add the length of the summary segment to the return value.
22559 (Bug#14125)
22560
22561 2013-05-05 Leo Liu <sdl.web@gmail.com>
22562
22563 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
22564 (inferior-octave-output-filter): Remove.
22565 (octave-send-region, inferior-octave-startup): Fix callers.
22566 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
22567 (octave-binary-file-extensions): New user variable.
22568 (octave-find-definition): Confirm if opening binary files.
22569 (octave-help-file): Use octave-find-definition to get the binary
22570 confirmation.
22571 (octave-help): Adjust for octave-help-file change.
22572
22573 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22574
22575 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
22576 Merge the two entries that handle function definitions.
22577 (pascal--syntax-propertize): New const.
22578 (pascal-mode): Use it. Use setq-local.
22579
22580 2013-05-04 Glenn Morris <rgm@gnu.org>
22581
22582 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
22583 (diary-from-outlook): Respect diary-from-outlook-function.
22584
22585 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22586
22587 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
22588 Move the declaration from C.
22589 (read-minibuffer, eval-minibuffer): Move from C.
22590 (completion-setup-function): Avoid minibuffer-completion-contents.
22591
22592 2013-05-03 Leo Liu <sdl.web@gmail.com>
22593
22594 * progmodes/octave.el (octave-font-lock-keywords): Do not
22595 dehighlight 'end' in comments or strings.
22596 (octave-completing-read, octave-goto-function-definition):
22597 New helpers.
22598 (octave-help-buffer): New user variable.
22599 (octave-help-file, octave-help-function): New button types.
22600 (octave-help): New command and bind it to C-h ;.
22601 (octave-find-definition): New command and bind it to M-.
22602 (user-error): Alias to error if not defined.
22603
22604 2013-05-02 Leo Liu <sdl.web@gmail.com>
22605
22606 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
22607 for \. (bug#14332)
22608 (octave-font-lock-keywords): Include [ and {.
22609
22610 2013-05-02 Leo Liu <sdl.web@gmail.com>
22611
22612 * progmodes/octave.el (inferior-octave-startup-file): Change default.
22613 (inferior-octave): Remove calling comint-mode and return the buffer.
22614 (inferior-octave-startup): Cosmetic changes.
22615
22616 2013-05-02 Leo Liu <sdl.web@gmail.com>
22617
22618 * progmodes/octave.el (octave-syntax-propertize-function):
22619 Include the case when ' is at line beginning. (Bug#14336)
22620
22621 2013-05-02 Glenn Morris <rgm@gnu.org>
22622
22623 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
22624 * desktop.el (vc-dir-mode): Just autoload it here.
22625
22626 2013-05-02 Alan Mackenzie <acm@muc.de>
22627
22628 Eliminate variable c-standard-font-lock-fontify-region-function.
22629 * progmodes/cc-mode.el
22630 (c-standard-font-lock-fontify-region-function): Remove.
22631 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
22632
22633 2013-05-01 Leo Liu <sdl.web@gmail.com>
22634
22635 * progmodes/octave.el: Compatible with older emacs-24 releases.
22636 (inferior-octave-has-built-in-variables): Remove. Built-in
22637 variables were removed from Octave in 2007.
22638 (inferior-octave-startup): Fix uses.
22639 (comint-line-beginning-position): Remove compatibility code for
22640 emacs 21.
22641
22642 2013-05-01 Juri Linkov <juri@jurta.org>
22643
22644 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
22645
22646 2013-05-01 Juri Linkov <juri@jurta.org>
22647
22648 * comint.el (comint-previous-matching-input): Don't print message
22649 "History item: %d" when `isearch-mode' is active.
22650 (comint-history-isearch-message): Print message "History item: %d"
22651 when `comint-input-ring-index' is not empty and this function is
22652 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
22653
22654 2013-05-01 Leo Liu <sdl.web@gmail.com>
22655
22656 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
22657 definitions. Use completion-at-point to insert keywords.
22658 (octave-abbrev-start): Remove.
22659 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
22660
22661 2013-04-30 Leo Liu <sdl.web@gmail.com>
22662
22663 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
22664 change.
22665
22666 2013-04-30 Alan Mackenzie <acm@muc.de>
22667
22668 Handle arbitrarily long C++ member initialisation lists.
22669 * progmodes/cc-engine.el (c-back-over-member-initializers):
22670 new function.
22671 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
22672 (most) member init lists.
22673
22674 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22675
22676 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
22677 variable.
22678
22679 2013-04-30 Leo Liu <sdl.web@gmail.com>
22680
22681 * progmodes/octave.el (octave-variables): Remove. No builtin
22682 variables any more. All converted to functions.
22683 (octave-font-lock-keywords, octave-completion-at-point-function):
22684 Fix uses.
22685 (octave-font-lock-texinfo-comment): New user variable.
22686 (octave-texinfo-font-lock-keywords): New variable for texinfo
22687 comment block.
22688 (octave-function-comment-block): New face.
22689 (octave-font-lock-texinfo-comment): New function.
22690 (octave-mode): Font lock texinfo comment block.
22691
22692 2013-04-29 Leo Liu <sdl.web@gmail.com>
22693
22694 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
22695 indexing expression.
22696 (octave-continuation-string): Do not use \.
22697 (inferior-octave-complete-impossible): Remove.
22698 (inferior-octave-completion-table)
22699 (inferior-octave-completion-at-point): Remove its uses.
22700 (inferior-octave-startup): completion_matches was introduced to
22701 Octave in 1996 so safe to assume it.
22702 (octave-function-file-comment): Improve to follow how Octave does it.
22703 (octave-update-function-file-comment): Tweak.
22704
22705 2013-04-29 Leo Liu <sdl.web@gmail.com>
22706
22707 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
22708 (inferior-octave-startup): Remove inferior-octave-startup-hook.
22709 (octave-function-file-comment): Fix typo.
22710 (octave-sync-function-file-names): Use read-char-choice.
22711
22712 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
22713
22714 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
22715 to t for the less important warnings.
22716
22717 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
22718
22719 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
22720
22721 2013-04-27 Glenn Morris <rgm@gnu.org>
22722
22723 * vc/log-view.el (log-view-current-entry):
22724 Treat "---" separator lines as part of the following rev. (Bug#14169)
22725
22726 2013-04-27 Juri Linkov <juri@jurta.org>
22727
22728 * subr.el (read-number): Doc fix about using it by interactive
22729 code letter `n'. (Bug#14254)
22730
22731 2013-04-27 Juri Linkov <juri@jurta.org>
22732
22733 * desktop.el (desktop-auto-save-timeout): New option.
22734 (desktop-file-checksum): New variable.
22735 (desktop-save): Add optional arg `auto-save' and don't auto-save
22736 if nothing changed.
22737 (desktop-auto-save-timer): New variable.
22738 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
22739 (after-init-hook): Call `desktop-auto-save-set-timer'.
22740 Suggested by Reuben Thomas <rrt@sc3d.org> in
22741 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
22742
22743 2013-04-27 Leo Liu <sdl.web@gmail.com>
22744
22745 * progmodes/octave.el (octave-function-file-p)
22746 (octave-skip-comment-forward, octave-function-file-comment)
22747 (octave-update-function-file-comment): New functions.
22748 (octave-mode-map): Bind C-c ; to
22749 octave-update-function-file-comment.
22750 (octave-mode-menu): Add octave-update-function-file-comment.
22751 (octave-mode, inferior-octave-mode): Fix doc-string.
22752 (octave-insert-defun): Conform to Octave's coding convention.
22753 (Bug#14285)
22754
22755 * files.el (basic-save-buffer): Don't let errors in
22756 before-save-hook prevent saving buffer.
22757
22758 2013-04-20 Roland Winkler <winkler@gnu.org>
22759
22760 * faces.el (read-face-name): Use completing-read if arg multiple
22761 is nil.
22762
22763 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
22764
22765 * ls-lisp.el (ls-lisp-insert-directory): If no files are
22766 displayed, move point to after the totals line.
22767 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
22768 for the details.
22769
22770 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
22771
22772 * emacs-lisp/package.el (package-autoload-ensure-default-file):
22773 Add current dir to the load-path.
22774 (package-generate-autoloads): Don't rely on
22775 autoload-ensure-default-file.
22776
22777 2013-04-26 Reuben Thomas <rrt@sc3d.org>
22778
22779 * textmodes/remember.el (remember-store-in-files): Document that
22780 the file name format is passed to `format-time-string'.
22781
22782 2013-04-26 Leo Liu <sdl.web@gmail.com>
22783
22784 * progmodes/octave.el (octave-sync-function-file-names): New function.
22785 (octave-mode): Use it in before-save-hook.
22786
22787 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
22788
22789 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
22790 (bug#14274).
22791
22792 * progmodes/octave.el (octave-smie-forward-token): Properly skip
22793 \n and comment, even if it's not an implicit ; (bug#14218).
22794
22795 2013-04-26 Glenn Morris <rgm@gnu.org>
22796
22797 * subr.el (read-number): Once more use `read' rather than
22798 `string-to-number', to trap non-numeric input. (Bug#14254)
22799
22800 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
22801
22802 * emacs-lisp/syntax.el (syntax-propertize-multiline):
22803 Use `syntax-multiline' text property consistently instead of
22804 `font-lock-multiline'. (Bug#14237)
22805
22806 2013-04-26 Glenn Morris <rgm@gnu.org>
22807
22808 * emacs-lisp/shadow.el (list-load-path-shadows):
22809 No longer necessary to check for duplicate simple.el, since
22810 2012-07-07 change to init_lread to not include installation lisp
22811 directories in load-path when running uninstalled. (Bug#14270)
22812
22813 2013-04-26 Leo Liu <sdl.web@gmail.com>
22814
22815 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
22816 (octave-mode, inferior-octave-mode): Use setq-local.
22817 (octave-not-in-string-or-comment-p): Rename to
22818 octave-in-string-or-comment-p.
22819 (octave-in-comment-p, octave-in-string-p)
22820 (octave-in-string-or-comment-p): Replace defsubst with defun.
22821
22822 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
22823
22824 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
22825
22826 2013-04-25 Bastien Guerry <bzg@gnu.org>
22827
22828 * textmodes/remember.el (remember-data-directory)
22829 (remember-directory-file-name-format): Fix custom types.
22830
22831 2013-04-25 Leo Liu <sdl.web@gmail.com>
22832
22833 * progmodes/octave.el (octave-completion-at-point-function):
22834 Make use of inferior octave process.
22835 (octave-initialize-completions): Remove.
22836 (inferior-octave-completion-table): New function.
22837 (inferior-octave-completion-at-point): Use it.
22838 (octave-completion-alist): Remove.
22839
22840 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22841
22842 * progmodes/opascal.el: Use font-lock and syntax-propertize.
22843 (opascal-mode-syntax-table): New var.
22844 (opascal-literal-kind, opascal-is-literal-end)
22845 (opascal-literal-token-at): Rewrite.
22846 (opascal--literal-start-re, opascal-font-lock-keywords)
22847 (opascal--syntax-propertize): New constants.
22848 (opascal-font-lock-defaults): Adjust.
22849 (opascal-mode): Use them. Set comment-<foo> variables as well.
22850 (delphi-comment-face, opascal-comment-face, delphi-string-face)
22851 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
22852 (delphi-other-face, opascal-other-face): Remove face variables.
22853 (opascal-save-state): Remove macro.
22854 (opascal-fontifying-progress-step): Remove constant.
22855 (opascal--ignore-changes): Remove var.
22856 (opascal-set-token-property, opascal-parse-next-literal)
22857 (opascal-is-stable-literal, opascal-complete-literal)
22858 (opascal-is-literal-start, opascal-face-of)
22859 (opascal-parse-region, opascal-parse-region-until-stable)
22860 (opascal-fontify-region, opascal-after-change)
22861 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
22862 (opascal-debug-parse-region, opascal-debug-parse-window)
22863 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
22864 (opascal-debug-fontify-buffer): Remove.
22865 (opascal-debug-mode-map): Adjust accordingly.
22866
22867 2013-04-25 Leo Liu <sdl.web@gmail.com>
22868
22869 Merge octave-mod.el and octave-inf.el into octave.el with some
22870 cleanups.
22871 * progmodes/octave.el: New file renamed from octave-mod.el.
22872 * progmodes/octave-inf.el: Merged into octave.el.
22873 * progmodes/octave-mod.el: Renamed to octave.el.
22874
22875 2013-04-25 Tassilo Horn <tsdh@gnu.org>
22876
22877 * textmodes/reftex-vars.el
22878 (reftex-label-ignored-macros-and-environments): New defcustom.
22879
22880 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
22881
22882 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22883
22884 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
22885 (smie-indent-keyword): Improve the check to ensure that the next
22886 comment is really on the same line.
22887 (smie-indent-comment): Don't align with a subsequent closer (or eob).
22888
22889 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
22890 semi-colons if the line is not otherwise empty (bug#14218).
22891
22892 2013-04-25 Glenn Morris <rgm@gnu.org>
22893
22894 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
22895
22896 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
22897
22898 * progmodes/opascal.el (opascal-set-token-property): Rename from
22899 opascal-set-text-properties and only set `token' (bug#14134).
22900 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
22901 (opascal-literal-text-properties): Remove.
22902 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
22903 Adjust callers.
22904
22905 2013-04-24 Reuben Thomas <rrt@sc3d.org>
22906
22907 * textmodes/remember.el (remember-handler-functions): Add an
22908 option for a new handler `remember-store-in-files'.
22909 (remember-data-directory, remember-directory-file-name-format):
22910 New options.
22911 (remember-store-in-files): New function to store remember notes
22912 as separate files within a directory.
22913
22914 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
22915
22916 * progmodes/compile.el (compilation-next-error-function):
22917 Pass "formats" to compilation-find-file (bug#11777).
22918
22919 2013-04-24 Glenn Morris <rgm@gnu.org>
22920
22921 * vc/vc-bzr.el (vc-bzr-print-log):
22922 * vc/vc-hg.el (vc-hg-print-log):
22923 * vc/vc-svn.el (vc-svn-print-log):
22924 Fix START-REVISION with LIMIT != 1. (Bug#14168)
22925
22926 * vc/vc-bzr.el (vc-bzr-print-log):
22927 * vc/vc-cvs.el (vc-cvs-print-log):
22928 * vc/vc-git.el (vc-git-print-log):
22929 * vc/vc-hg.el (vc-hg-print-log):
22930 * vc/vc-mtn.el (vc-mtn-print-log):
22931 * vc/vc-rcs.el (vc-rcs-print-log):
22932 * vc/vc-sccs.el (vc-sccs-print-log):
22933 * vc/vc-svn.el (vc-svn-print-log):
22934 * vc/vc.el (vc-print-log-internal): Doc fixes.
22935
22936 2013-04-23 Glenn Morris <rgm@gnu.org>
22937
22938 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
22939 Remove venerable code attempting to avoid substitute-command-keys.
22940
22941 2013-04-23 Tassilo Horn <tsdh@gnu.org>
22942
22943 * textmodes/reftex-vars.el (reftex-label-regexps):
22944 Call `reftex-compile-variables' after changes to this variable.
22945
22946 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
22947
22948 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
22949 Use lexical-binding.
22950 (jit-lock-force-redisplay): Use markers, check buffer's continued
22951 existence and beware narrowed buffers.
22952 (jit-lock-fontify-now): Adjust call accordingly.
22953
22954 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
22955
22956 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
22957 to avoid misleading the user.
22958
22959 2013-04-22 Leo Liu <sdl.web@gmail.com>
22960
22961 * info-look.el: Prefer latex2e.info. (Bug#14240)
22962
22963 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
22964
22965 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
22966
22967 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
22968 * net/tramp.el (tramp-call-process): ... here.
22969 (tramp-set-completion-function, tramp-parse-putty):
22970 * net/tramp-adb.el (tramp-adb-execute-adb-command):
22971 * net/tramp-gvfs.el (tramp-gvfs-send-command):
22972 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
22973 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
22974 (tramp-call-local-coding-command): Use `tramp-call-process'
22975 instead of `tramp-compat-call-process'.
22976
22977 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
22978 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
22979 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
22980 (tramp-find-inline-compress): Improve traces.
22981 (tramp-maybe-send-script): Check for Perl binary.
22982 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
22983
22984 2013-04-22 Daiki Ueno <ueno@gnu.org>
22985
22986 * epg.el (epg-context-pinentry-mode): New function.
22987 (epg-context-set-pinentry-mode): New function.
22988 (epg--start): Pass --pinentry-mode option to gpg command.
22989
22990 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
22991
22992 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
22993 `comint-dynamic-complete' is obsolete since 24.1, replaced by
22994 `completion-at-point'. (Bug#13774)
22995
22996 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
22997 default key binding for `describe-distribution' has been moved to
22998 `C-h C-o'. (Bug#13970)
22999
23000 2013-04-21 Glenn Morris <rgm@gnu.org>
23001
23002 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
23003 Add doc strings.
23004 (vc-print-log): Clarify interactive prompt.
23005
23006 2013-04-20 Glenn Morris <rgm@gnu.org>
23007
23008 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23009 No longer include timestamp etc information.
23010
23011 2013-04-20 Roland Winkler <winkler@gnu.org>
23012
23013 * faces.el (read-face-name): Bug fix, return just one face if arg
23014 multiple is nil. (Bug#14209)
23015
23016 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23017
23018 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23019 (remove-function): Autoload.
23020
23021 * comint.el (comint-redirect-original-filter-function): Remove.
23022 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23023 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23024 (vc-cvs-annotate-command):
23025 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23026 * progmodes/prolog.el (prolog-consult-compile):
23027 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23028 Use add/remove-function instead.
23029 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23030 (gud-tooltip-process-output, gud-tooltip-tips):
23031 Use add/remove-function instead.
23032 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23033 (scheme-interaction-mode, exit-scheme-interaction-mode):
23034 Use add/remove-function instead.
23035
23036 * vc/vc-dispatcher.el: Use lexical-binding.
23037 (vc--process-sentinel): Rename from vc-process-sentinel.
23038 Change last arg to be the code to run. Don't use vc-previous-sentinel
23039 and vc-sentinel-commands any more.
23040 (vc-exec-after): Allow code to be a function. Use add/remove-function.
23041 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23042
23043 2013-04-19 Masatake YAMATO <yamato@redhat.com>
23044
23045 * progmodes/sh-script.el (sh-imenu-generic-expression):
23046 Handle function names with a single character. (Bug#14111)
23047
23048 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
23049
23050 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23051 for subroutines defined in an eval (bug#14182).
23052
23053 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23054
23055 * bookmark.el (bookmark-completing-read): Improve handling of empty
23056 string (bug#14176).
23057
23058 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23059
23060 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23061
23062 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
23063
23064 New faster Imenu implementation (bug#14058).
23065 * progmodes/python.el (python-imenu-prev-index-position)
23066 (python-imenu-format-item-label-function)
23067 (python-imenu-format-parent-item-label-function)
23068 (python-imenu-format-parent-item-jump-label-function):
23069 New vars.
23070 (python-imenu-format-item-label)
23071 (python-imenu-format-parent-item-label)
23072 (python-imenu-format-parent-item-jump-label)
23073 (python-imenu--put-parent, python-imenu--build-tree)
23074 (python-imenu-create-index, python-imenu-create-flat-index)
23075 (python-util-popn): New functions.
23076 (python-mode): Set imenu-create-index-function to
23077 python-imenu-create-index.
23078
23079 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23080
23081 * winner.el (winner-active-region): Use region-active-p, activate-mark
23082 and deactivate-mark (bug#14225).
23083
23084 * simple.el (deactivate-mark): Don't inline it.
23085
23086 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
23087
23088 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23089
23090 2013-04-18 Tassilo Horn <tsdh@gnu.org>
23091
23092 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23093 file extensions from the archive-mode entry in order to prefer
23094 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23095
23096 2013-04-18 Leo Liu <sdl.web@gmail.com>
23097
23098 * bindings.el (help-event-list): Add ?\?.
23099
23100 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23101
23102 * subr.el (with-wrapper-hook): Declare obsolete.
23103 * simple.el (filter-buffer-substring-function): New hook.
23104 (filter-buffer-substring): Use it.
23105 (filter-buffer-substring-functions): Mark obsolete.
23106 * minibuffer.el (completion-in-region-function): New hook.
23107 (completion-in-region): Use it.
23108 (completion-in-region-functions): Mark obsolete.
23109 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23110 * abbrev.el (abbrev-expand-function): New hook.
23111 (expand-abbrev): Use it.
23112 (abbrev-expand-functions): Mark obsolete.
23113 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23114 and :filter-return.
23115
23116 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23117
23118 * progmodes/python.el (python-nav--syntactically): Fix cornercases
23119 and do not care about match data.
23120
23121 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23122
23123 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23124 completion tables when completing error conditions and
23125 `declare' arguments.
23126 (lisp-complete-symbol, field-complete): Mark as obsolete.
23127 (check-parens): Unmatched parens are user errors.
23128 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23129
23130 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
23131
23132 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23133 command changed buffer (ie. `flyspell-pre-buffer' is not current
23134 buffer), which prevents making decisions based on invalid value of
23135 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
23136 cause an error when `flyspell-pre-point' was nil after switching
23137 buffers.
23138 (flyspell-post-command-hook): No longer needs to change buffers when
23139 checking pre-word. While at it remove unnecessary progn.
23140
23141 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
23142
23143 * textmodes/ispell.el (ispell-add-per-file-word-list):
23144 Fix `flyspell-correct-word-before-point' error when accepting
23145 words and `coment-padding' is an integer by using
23146 `comment-normalize-vars' (Bug #14214).
23147
23148 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23149
23150 New defun movement commands.
23151 * progmodes/python.el (python-nav--syntactically)
23152 (python-nav--forward-defun, python-nav-backward-defun)
23153 (python-nav-forward-defun): New functions.
23154
23155 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23156
23157 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23158 (python-syntax-context): Use named compiler-macro for backwards
23159 compatibility with Emacs 24.x.
23160
23161 2013-04-17 Leo Liu <sdl.web@gmail.com>
23162
23163 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23164 octave-hide-process-buffer.
23165
23166 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23167
23168 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23169 (bug#14216).
23170
23171 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
23172
23173 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23174 Fix adjustment of offset when receiving incomplete responses from GDB
23175 (bug#14129).
23176
23177 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23178
23179 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23180 python-mode-abbrev-table.
23181 (python-skeleton-define): Adjust accordingly.
23182 (python-mode-abbrev-table): New table that inherits from it so that
23183 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23184
23185 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23186 (abbrev-symbol): Use it.
23187 (abbrev--before-point): Use it since we already handle inheritance.
23188
23189 2013-04-16 Leo Liu <sdl.web@gmail.com>
23190
23191 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23192 binding to info-lookup-symbol.
23193
23194 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
23195
23196 * minibuffer.el (completion--twq-all):
23197 * term/ns-win.el (ns-initialize-window-system):
23198 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23199
23200 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23201
23202 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23203 global bindings.
23204
23205 * doc-view.el (doc-view-start-process): Handle url-handler directories.
23206
23207 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
23208
23209 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23210 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23211 to nil.
23212 (ruby-end-of-defun): Remove the unused arg, change the docstring
23213 to reflect that this function is only used as the value of
23214 `end-of-defun-function'.
23215 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23216 to reflect an earlier change that beginning/end-of-defun functions
23217 jump between methods in a class definition, as well as top-level
23218 functions.
23219
23220 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23221
23222 * minibuffer.el (minibuffer-complete): Don't just scroll
23223 a *Completions* that's been iconified.
23224 (minibuffer-force-complete): Make sure repetitions do cycle when going
23225 through completion-in-region -> minibuffer-complete.
23226
23227 2013-04-15 Alan Mackenzie <acm@muc.de>
23228
23229 Correct the placement of c-cpp-delimiters when there're #s not at
23230 col 0.
23231
23232 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23233 place a submatch around the #.
23234 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23235 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
23236 on the #, not BOL.
23237
23238 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23239
23240 * emacs-lisp/nadvice.el: Properly test names when adding advice.
23241 (advice--member-p): New arg `name'.
23242 (advice--add-function, advice-member-p): Use it (bug#14202).
23243
23244 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
23245
23246 Reformulate java imenu-generic-expression.
23247 The old expression contained ill formed regexps.
23248
23249 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23250 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23251 (cc-imenu-java-method-arg-regexp): New defconsts.
23252 (cc-imenu-java-build-type-args-regex): New defun.
23253 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23254 handling of spaces in the regexp.
23255
23256 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23257
23258 * textmodes/ispell.el (ispell-command-loop): Remove
23259 flyspell highlight of a word when ispell accepts it (bug #14178).
23260
23261 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
23262
23263 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23264 uses code from the previous `ange-ftp-run-real-handler'.
23265 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23266 only in case that function exist. This is needed for proper
23267 unloading of Tramp.
23268
23269 2013-04-15 Tassilo Horn <tsdh@gnu.org>
23270
23271 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23272
23273 * textmodes/reftex.el (reftex-compile-variables): Use it.
23274
23275 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23276
23277 * files.el (normal-mode): Only use default major-mode if no other mode
23278 was specified.
23279
23280 * emacs-lisp/trace.el (trace-values): New function.
23281
23282 * files.el: Allow : in local variables (bug#14089).
23283 (hack-local-variable-regexp): New var.
23284 (hack-local-variables-prop-line, hack-local-variables): Use it.
23285
23286 2013-04-13 Roland Winkler <winkler@gnu.org>
23287
23288 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
23289 data before it gets modified by bibtex-beginning-of-entry.
23290
23291 2013-04-13 Roland Winkler <winkler@gnu.org>
23292
23293 * textmodes/bibtex.el (bibtex-url): Doc fix.
23294
23295 2013-04-13 Roland Winkler <winkler@gnu.org>
23296
23297 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
23298 does not visit a BibTeX file, exclude it from the list of buffers
23299 returned by bibtex-initialize.
23300
23301 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
23302
23303 * window.el (split-window): Remove interactive form, since as a
23304 command this function is a special case of split-window-below.
23305 Correct doc string.
23306
23307 2013-04-12 Roland Winkler <winkler@gnu.org>
23308
23309 * faces.el (read-face-name): Do not override value of arg default.
23310 Allow single faces and strings as default values. Remove those
23311 elements from return value that are not faces.
23312 (describe-face): Simplify.
23313 (face-at-point): New optional args thing and multiple so that this
23314 function can provide the same functionality previously provided by
23315 read-face-name.
23316 (make-face-bold, make-face-unbold, make-face-italic)
23317 (make-face-unitalic, make-face-bold-italic, invert-face)
23318 (modify-face, read-face-and-attribute): Use face-at-point.
23319
23320 * cus-edit.el (customize-face, customize-face-other-window)
23321 * cus-theme.el (custom-theme-add-face)
23322 * face-remap.el (buffer-face-set)
23323 * facemenu.el (facemenu-set-face): Use face-at-point.
23324
23325 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
23326
23327 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
23328
23329 2013-04-10 Tassilo Horn <tsdh@gnu.org>
23330
23331 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
23332 off leading { and trailing } from field values.
23333
23334 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
23335
23336 * emacs-lisp/timer.el (timer--check): New function.
23337 (timer--time, timer-set-function, timer-event-handler): Use it.
23338 (timer-set-idle-time): Simplify.
23339 (timer--activate): CSE.
23340 (timer-event-handler): Give more info in error message.
23341 (internal-timer-start-idle): New function, moved from C.
23342
23343 * mpc.el (mpc-proc): Add `restart' argument.
23344 (mpc-proc-cmd): Use it.
23345 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
23346 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
23347 less often.
23348
23349 2013-04-10 Masatake YAMATO <yamato@redhat.com>
23350
23351 * progmodes/sh-script.el: Implement `sh-mode' own
23352 `add-log-current-defun-function' (bug#14112).
23353 (sh-current-defun-name): New function.
23354 (sh-mode): Use the function.
23355
23356 2013-04-09 Bastien Guerry <bzg@gnu.org>
23357
23358 * simple.el (choose-completion-string): Fix docstring (bug#14163).
23359
23360 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
23361
23362 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
23363
23364 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
23365 timer (bug#14156).
23366
23367 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
23368
23369 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
23370 declaration.
23371
23372 2013-04-07 Leo Liu <sdl.web@gmail.com>
23373
23374 * pcmpl-x.el: New file.
23375
23376 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
23377
23378 Do not set x-display-name until X connection is established.
23379 This is needed to prevent from weird situation described at
23380 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
23381 * frame.el (make-frame): Set x-display-name after call to
23382 window system initialization function, not before.
23383 * term/x-win.el (x-initialize-window-system): Add optional
23384 display argument and use it.
23385 * term/w32-win.el (w32-initialize-window-system):
23386 * term/ns-win.el (ns-initialize-window-system):
23387 * term/pc-win.el (msdos-initialize-window-system):
23388 Add compatible optional display argument.
23389
23390 2013-04-06 Eli Zaretskii <eliz@gnu.org>
23391
23392 * files.el (normal-backup-enable-predicate): On MS-Windows and
23393 MS-DOS compare truenames of temporary-file-directory and of the
23394 file, so that 8+3 aliases (usually found in $TEMP on Windows)
23395 don't fail comparison by compare-strings. Also, compare file
23396 names case-insensitively on MS-Windows and MS-DOS.
23397
23398 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23399
23400 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
23401 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
23402
23403 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
23404
23405 * whitespace.el (whitespace-color-on, whitespace-color-off):
23406 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
23407
23408 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
23409
23410 * ispell.el (ispell-set-spellchecker-params):
23411 Really set `ispell-args' for all equivs.
23412
23413 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23414
23415 * ido.el (ido-completions): Use extra elements of ido-decorations
23416 (bug#14143).
23417 (ido-decorations): Update docstring.
23418
23419 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
23420
23421 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
23422 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
23423 nil during initialization, in order not to miss changes since the
23424 file was opened. (Bug#14140)
23425
23426 2013-04-05 Leo Liu <sdl.web@gmail.com>
23427
23428 * kmacro.el (kmacro-call-macro): Fix bug#14135.
23429
23430 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
23431
23432 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
23433
23434 2013-04-04 Glenn Morris <rgm@gnu.org>
23435
23436 * electric.el (electric-pair-inhibit-predicate): Add :version.
23437
23438 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
23439
23440 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
23441 when a package is required several times (bug#14082).
23442
23443 2013-04-04 Roland Winkler <winkler@gnu.org>
23444
23445 * faces.el (read-face-name): Behave as promised by the docstring.
23446 Assume that arg default is a list of faces.
23447 (describe-face): Call read-face-name with list of default faces.
23448
23449 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23450
23451 * bookmark.el: Fix deletion of bookmarks (bug#13972).
23452 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
23453 (bookmark-bmenu-execute-deletions): Only skip first line if it's
23454 the header.
23455 (bookmark-exit-hook-internal): Save even if list is empty.
23456
23457 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
23458
23459 * emacs-lisp/package.el (package-pinned-packages): New var.
23460 (package--add-to-archive-contents): Obey it (bug#14118).
23461
23462 2013-04-03 Alan Mackenzie <acm@muc.de>
23463
23464 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
23465 Also adapt to the new values of element 7 of a parse state.
23466
23467 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
23468 parameter `not-in-delimiter'. Handle being inside comment opener.
23469 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
23470 character in case we're typing a '*' after a '/'.
23471 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
23472 instead by passing the parameter to c-state-pp-to-literal.
23473
23474 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
23475 for elt. 7 of a parse state.
23476
23477 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
23478
23479 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
23480 * international/latin1-disp.el, international/mule-util.el:
23481 * language/cyril-util.el, language/european.el, language/ind-util.el:
23482 * language/lao-util.el, language/thai.el, language/tibet-util.el:
23483 * language/tibetan.el, language/viet-util.el:
23484 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
23485
23486 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23487
23488 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
23489 (electric-pair-post-self-insert-function): Use it.
23490 (electric-pair-default-inhibit): New function, extracted from
23491 electric-pair-post-self-insert-function.
23492
23493 2013-03-31 Roland Winkler <winkler@gnu.org>
23494
23495 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
23496
23497 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23498
23499 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
23500
23501 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
23502
23503 Un-indent after "pass" and "return" statements (Bug#13888)
23504 * progmodes/python.el (python-indent-block-enders): New var.
23505 (python-indent-calculate-indentation): Use it.
23506
23507 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
23508
23509 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
23510 defun. Defining it as defalias could introduce too eager
23511 byte-compiler optimization. (Bug#14030)
23512
23513 2013-03-30 Chong Yidong <cyd@gnu.org>
23514
23515 * iswitchb.el (iswitchb-read-buffer): Fix typo.
23516
23517 2013-03-30 Leo Liu <sdl.web@gmail.com>
23518
23519 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
23520 (kmacro-execute-from-register): Pass the keyboard macro to
23521 kmacro-call-macro or repeating won't work correctly.
23522
23523 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
23524
23525 * progmodes/subword.el: Back to using `forward-symbol'.
23526
23527 * subr.el (forward-whitespace, forward-symbol)
23528 (forward-same-syntax): Move from thingatpt.el.
23529
23530 2013-03-29 Leo Liu <sdl.web@gmail.com>
23531
23532 * kmacro.el (kmacro-to-register): New command.
23533 (kmacro-execute-from-register): New function.
23534 (kmacro-keymap): Bind to 'x'. (Bug#14071)
23535
23536 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
23537
23538 * mpc.el: Use defvar-local and setq-local.
23539 (mpc--proc-connect): Connection failures are not bugs.
23540 (mpc-mode-map): `follow-link' only applies to the buffer's content.
23541 (mpc-volume-map): Bind to the up-events.
23542
23543 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
23544
23545 * progmodes/subword.el (superword-mode): Use `forward-sexp'
23546 instead of `forward-symbol'.
23547
23548 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
23549
23550 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
23551 (edebug--recursive-edit): Use it.
23552 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
23553 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
23554
23555 2013-03-28 Leo Liu <sdl.web@gmail.com>
23556
23557 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
23558
23559 2013-03-27 Eli Zaretskii <eliz@gnu.org>
23560
23561 * facemenu.el (list-colors-callback): New defvar.
23562 (list-colors-redisplay): New function.
23563 (list-colors-display): Install list-colors-redisplay as the
23564 revert-buffer-function. (Bug#14063)
23565
23566 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
23567
23568 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
23569 and suffixes don't overlap (bug#14061).
23570
23571 * case-table.el: Use lexical-binding.
23572 (case-table-get-table): New function.
23573 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
23574
23575 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
23576
23577 * progmodes/subword.el: Add `superword-mode' to do word motion
23578 over symbol_words (parallels and leverages `subword-mode' which
23579 does word motion inside MixedCaseWords).
23580
23581 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
23582
23583 * eshell/em-unix.el: Move su and sudo to...
23584 * eshell/em-tramp.el: ...Eshell tramp module.
23585
23586 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23587
23588 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
23589 Change return value to be a sexp. Delay `get-buffer' to after
23590 restoring the desktop (bug#13951).
23591
23592 2013-03-26 Leo Liu <sdl.web@gmail.com>
23593
23594 * register.el: Move semantic tag handling back to
23595 cedet/semantic/senator.el. (Bug#14052)
23596
23597 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23598
23599 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
23600 into the prompt either (bug#13963).
23601
23602 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
23603
23604 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
23605 part of "(error-foo)".
23606
23607 2013-03-24 Juri Linkov <juri@jurta.org>
23608
23609 * replace.el (list-matching-lines-prefix-face): New defcustom.
23610 (occur-1): Pass `list-matching-lines-prefix-face' to the function
23611 `occur-engine' if `face-differs-from-default-p' returns t.
23612 (occur-engine): Add `,' inside backquote construct to evaluate
23613 `prefix-face'. Propertize the prefix with the `prefix-face' face.
23614 Pass `prefix-face' to the functions `occur-context-lines' and
23615 `occur-engine-add-prefix'.
23616 (occur-engine-add-prefix, occur-context-lines): Add optional arg
23617 `prefix-face' and propertize the prefix with `prefix-face'.
23618 (Bug#14017)
23619
23620 2013-03-24 Leo Liu <sdl.web@gmail.com>
23621
23622 * nxml/rng-valid.el (rng-validate-while-idle)
23623 (rng-validate-quick-while-idle): Guard against deleted buffer.
23624 (Bug#13999)
23625
23626 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
23627 is the last entry in kill-buffer-hook.
23628
23629 * files.el (kill-buffer-hook): Doc fix.
23630
23631 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
23632
23633 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
23634 Make it safe-local.
23635
23636 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
23637
23638 2013-03-23 Leo Liu <sdl.web@gmail.com>
23639
23640 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
23641 Remove.
23642
23643 * nxml/rng-valid.el (rng-validate-mode)
23644 (rng-after-change-function, rng-do-some-validation):
23645 * nxml/rng-maint.el (rng-validate-buffer):
23646 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
23647 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
23648 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
23649 (nxml-extend-after-change-region): Use with-silent-modifications.
23650
23651 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
23652 timer-idle-list.
23653
23654 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
23655 (rng-next-error-1, rng-previous-error-1): Do not let-bind
23656 timer-idle-list. (Bug#13999)
23657
23658 2013-03-23 Juri Linkov <juri@jurta.org>
23659
23660 * info.el (info-index-match): New face.
23661 (Info-index, Info-apropos-matches): Add a nested subgroup to the
23662 main pattern and add text properties with the new face to matches
23663 in index entries relative to the beginning of the index entry.
23664 (Bug#14015)
23665
23666 2013-03-21 Eric Ludlam <zappo@gnu.org>
23667
23668 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
23669 Inhibit read only while inserting objects.
23670
23671 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
23672
23673 * progmodes/cfengine.el: Update docs to mention
23674 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
23675 symbol motion. Remove "_" from the word syntax.
23676
23677 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
23678
23679 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
23680 syntax for both `cfengine2-mode' and `cfengine3-mode'.
23681
23682 2013-03-20 Juri Linkov <juri@jurta.org>
23683
23684 * info.el (Info-next-reference-or-link)
23685 (Info-prev-reference-or-link): New functions.
23686 (Info-next-reference, Info-prev-reference): Use them.
23687 (Info-try-follow-nearest-node): Handle footnote navigation.
23688 (Info-fontify-node): Fontify footnotes. (Bug#13989)
23689
23690 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
23691
23692 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
23693 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
23694
23695 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
23696
23697 Suppress unnecessary non-ASCII chatter during build process.
23698 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23699 (batch-skkdic-convert): Suppress most of the chatter.
23700 It's not needed so much now that machines are faster,
23701 and its non-ASCII component was confusing; see Dmitry Gutov in
23702 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
23703
23704 2013-03-20 Leo Liu <sdl.web@gmail.com>
23705
23706 * ido.el (ido-chop): Fix bug#10994.
23707
23708 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23709
23710 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
23711 Remove vars.
23712 (whitespace-color-on, whitespace-color-off):
23713 Use `font-lock-fontify-buffer' (Bug#13817).
23714
23715 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
23716
23717 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
23718 remapping in mode-line.
23719 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
23720
23721 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23722
23723 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
23724 value for `whitespace-line' face (Bug#13875).
23725 (whitespace-font-lock-keywords): Change description.
23726 (whitespace-color-on): Don't save `font-lock-keywords' value, save
23727 the constructed keywords instead.
23728 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
23729
23730 2013-03-19 Leo Liu <sdl.web@gmail.com>
23731
23732 * progmodes/compile.el (compilation-display-error): New command.
23733 (compilation-mode-map, compilation-minor-mode-map): Bind it to
23734 C-o. (Bug#13992)
23735
23736 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23737
23738 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
23739
23740 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
23741
23742 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
23743
23744 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
23745
23746 * net/tramp-compat.el (tramp-compat-user-error): New defun.
23747
23748 * net/tramp-adb.el (tramp-adb-handle-shell-command):
23749 * net/tramp-gvfs.el (top):
23750 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
23751 (tramp-handle-shell-command): Use it.
23752 (tramp-dissect-file-name): Raise an error when hostname is a
23753 method name, and neither method nor user is specified.
23754
23755 * net/trampver.el: Update release number.
23756
23757 2013-03-18 Leo Liu <sdl.web@gmail.com>
23758
23759 Make sure eldoc can be turned off properly.
23760 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
23761 eldoc-mode.
23762 (eldoc-display-message-p): Revert last change.
23763 (eldoc-display-message-no-interference-p)
23764 (eldoc-print-current-symbol-info): Tweak.
23765
23766 2013-03-18 Tassilo Horn <tsdh@gnu.org>
23767
23768 * doc-view.el (doc-view-new-window-function): Check the new window
23769 overlay's display property instead the char property of the
23770 buffer's first char. Use `with-selected-window' instead of
23771 `save-window-excursion' with `select-window'.
23772 (doc-view-document->bitmap): Check the current doc-view overlay's
23773 display property instead the char property of the buffer's first char.
23774
23775 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23776
23777 Automate the build of ja-dic.el (Bug#13984).
23778 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
23779 from the input, rather than assume that it's been done for us by the
23780 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
23781 the current date into a ja-dic.el comment, as that complicates
23782 regression testing.
23783
23784 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23785
23786 * whitespace.el: Fix double evaluation.
23787 (whitespace-space, whitespace-hspace, whitespace-tab)
23788 (whitespace-newline, whitespace-trailing, whitespace-line)
23789 (whitespace-space-before-tab, whitespace-indentation)
23790 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
23791 obsolete defvars.
23792 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
23793 (whitespace-color-on): Use a single font-lock-add-keywords call.
23794 Fix double-evaluation of face variables.
23795
23796 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
23797
23798 * net/tramp-adb.el (tramp-adb-parse-device-names):
23799 Use `start-process' instead of `call-process'. Otherwise, the
23800 function might be blocked under MS Windows. (Bug#13299)
23801
23802 2013-03-17 Leo Liu <sdl.web@gmail.com>
23803
23804 Extend eldoc to display info in the mode-line. (Bug#13978)
23805 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
23806 (eldoc-mode-line-string): New variable.
23807 (eldoc-minibuffer-message): New function.
23808 (eldoc-message-function): New variable.
23809 (eldoc-message): Use it.
23810 (eldoc-display-message-p)
23811 (eldoc-display-message-no-interference-p):
23812 Support eldoc-post-insert-mode.
23813
23814 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
23815 (eval-expression): Run it.
23816
23817 2013-03-17 Roland Winkler <winkler@gnu.org>
23818
23819 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
23820 strings in the list of return values.
23821
23822 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23823
23824 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
23825 radix before checking for HMS forms.
23826
23827 2013-03-16 Leo Liu <sdl.web@gmail.com>
23828
23829 * progmodes/scheme.el: Add indentation and font-locking for λ.
23830 (Bug#13975)
23831
23832 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
23833
23834 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
23835 token before point (bug#13942).
23836
23837 2013-03-16 Leo Liu <sdl.web@gmail.com>
23838
23839 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
23840
23841 2013-03-16 Eli Zaretskii <eliz@gnu.org>
23842
23843 * startup.el (command-line-normalize-file-name): Fix handling of
23844 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
23845 <xfq.free@gmail.com> in
23846 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
23847
23848 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
23849
23850 Sync with Tramp 2.2.7.
23851
23852 * net/trampver.el: Update release number.
23853
23854 2013-03-14 Tassilo Horn <tsdh@gnu.org>
23855
23856 * doc-view.el: Fix bug#13887.
23857 (doc-view-insert-image): Don't modify overlay associated to
23858 non-live windows, and implement horizontal centering of image in
23859 case it's smaller than the window.
23860 (doc-view-new-window-function): Force redisplay of new windows on
23861 doc-view buffers.
23862
23863 2013-03-13 Karl Fogel <kfogel@red-bean.com>
23864
23865 * saveplace.el (save-place-alist-to-file): Don't sort
23866 `save-place-alist', just pretty-print it (bug#13882).
23867
23868 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
23869
23870 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
23871 Check whether `default-file-name-coding-system' is bound.
23872 It isn't in XEmacs.
23873
23874 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
23875
23876 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
23877 backquotes for `obsolete' (bug#13929).
23878
23879 * international/mule.el (find-auto-coding): Include file name in
23880 obsolescence warning (bug#13922).
23881
23882 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
23883
23884 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
23885 for CFEngine 3-specific indentation.
23886 (cfengine3-indent-line): Use it. Fix up category regex.
23887 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
23888
23889 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23890
23891 * type-break.el (type-break-file-name):
23892 * textmodes/remember.el (remember-data-file):
23893 * strokes.el (strokes-file):
23894 * shadowfile.el (shadow-initialize):
23895 * saveplace.el (save-place-file):
23896 * ps-bdf.el (bdf-cache-file):
23897 * progmodes/idlwave.el (idlwave-config-directory):
23898 * net/quickurl.el (quickurl-url-file):
23899 * international/kkc.el (kkc-init-file-name):
23900 * ido.el (ido-save-directory-list-file):
23901 * emulation/viper.el (viper-custom-file-name):
23902 * emulation/vip.el (vip-startup-file):
23903 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
23904 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
23905
23906 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
23907
23908 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
23909 * language/thai-word.el: Switch to UTF-8.
23910
23911 See ChangeLog.16 for earlier changes.
23912
23913 ;; Local Variables:
23914 ;; coding: utf-8
23915 ;; End:
23916
23917 Copyright (C) 2011-2015 Free Software Foundation, Inc.
23918
23919 This file is part of GNU Emacs.
23920
23921 GNU Emacs is free software: you can redistribute it and/or modify
23922 it under the terms of the GNU General Public License as published by
23923 the Free Software Foundation, either version 3 of the License, or
23924 (at your option) any later version.
23925
23926 GNU Emacs is distributed in the hope that it will be useful,
23927 but WITHOUT ANY WARRANTY; without even the implied warranty of
23928 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23929 GNU General Public License for more details.
23930
23931 You should have received a copy of the GNU General Public License
23932 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.