]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from origin/emacs-24
[gnu-emacs] / lisp / ChangeLog
1 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * emacs-lisp/cl.el (cl--function-convert):
4 Merge cache that cl--labels-convert adds (bug#19699).
5
6 2015-01-27 Ivan Shmakov <ivan@siamics.net>
7
8 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
9 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
10 (tar-header-serialize): New functions.
11 (tar-current-position): Split from tar-current-descriptor.
12 (tar-current-descriptor): Use it.
13 (tar-new-entry): New command.
14 (tar-mode-map): Bind it.
15
16 2015-01-27 Sam Steingold <sds@gnu.org>
17
18 * progmodes/python.el (python-check-custom-command): Buffer local
19 because it usually includes the buffer name.
20 (python-check-command): Set to epylint when pyflakes is not available.
21
22 2015-01-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
23
24 * net/eudcb-bbdb.el, net/eudcb-ldap.el, net/eudcb-mab.el,
25 net/eudc-bob.el, net/eudcb-ph.el, net/eudc.el, net/eudc-export.el,
26 net/eudc-hotlist.el, net/eudc-vars.el: New maintainer.
27
28 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
29
30 * isearch.el (isearch-process-search-char): Add docstring.
31
32 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
33
34 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
35
36 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
37
38 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
39 for the case cl-flet or cl-labels form is wrapped with lexical-let
40 (bug#19613).
41
42 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
45 (cl--generic): The method-table is now a (list-of cl--generic-method).
46 (cl--generic-member-method): New function.
47 (cl-generic-define-method): Use it.
48 (cl--generic-build-combined-method, cl--generic-cache-miss):
49 Adapt to new method-table.
50 (cl--generic-no-next-method-function): Add `method' argument.
51 (cl-generic-call-method): Adapt to new method representation.
52 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
53 (cl-find-method, cl-method-qualifiers): New functions.
54 (cl--generic-method-info): Adapt to new method representation.
55 Return a string for the qualifiers.
56 (cl--generic-describe):
57 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
58 (eieio-all-generic-functions, eieio-method-documentation):
59 Adjust to new method representation.
60
61 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
62
63 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * emacs-lisp/cl-generic.el: Add a method-combination hook.
66 (cl-generic-method-combination-function): New var.
67 (cl--generic-lambda): Remove `with-cnm' arg.
68 (cl-defmethod): Change accordingly.
69 (cl-generic-define-method): Don't check qualifiers validity.
70 Preserve all qualifiers in `method-table'.
71 (cl-generic-call-method): New function.
72 (cl--generic-nest): Remove (morph into cl-generic-call-method).
73 (cl--generic-build-combined-method): Adjust to new format of method-table
74 and use cl-generic-method-combination-function.
75 (cl--generic-standard-method-combination): New function, extracted from
76 cl--generic-build-combined-method.
77 (cl--generic-cnm-sample): Adjust to new format of method-table.
78
79 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
80 instead of :primary.
81
82 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
83 Remove obsolete function.
84
85 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
86
87 * net/shr.el (shr-make-table-1): Fix colspan typo.
88
89 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
90 slightly.
91
92 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
95 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
96 (bug#19672).
97 (cl--generic-typeof-types): Add support for `sequence'.
98 (cl-defmethod): Add non-keywords in the qualifiers.
99
100 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
101
102 * emacs-lisp/find-func.el (find-function-regexp): Don't match
103 `defgroup' (regression from the previous change here).
104
105 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
106
107 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
108 credentials error message.
109
110 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
111
112 * net/ldap.el (ldap-password-read): Validate password before
113 caching it.
114 (ldap-search-internal): Handle ldapsearch error conditions.
115
116 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
117
118 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
119
120 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
121
122 * net/eudc.el (eudc-expand-inline): Always restore former server
123 and protocol.
124
125 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
126
127 * net/eudcb-ldap.el: Don't nag the user in case a default base is
128 provided by the LDAP system configuration file.
129
130 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
131
132 * net/eudc.el (eudc-format-query): Preserve the
133 eudc-inline-query-format ordering of attributes in the returned list.
134 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
135 Append the LDAP wildcard character to the last attribute value.
136
137 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
138
139 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
140 Downcase field names of LDAP results.
141 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
142
143 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
144
145 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
146 (ldap-search-internal): Send password to ldapsearch through a pipe
147 instead of via the command line.
148
149 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
150
151 * net/ldap.el: Require password-cache.
152 (ldap-password-read): New function.
153 (ldap-search-internal): Call ldap-password-read when it is
154 configured to be called.
155
156 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
157
158 * net/eudc-vars.el (eudc-expansion-overwrites-query):
159 Change default to nil.
160
161 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
162
163 * net/eudc.el (eudc-expand-inline): Ignore text properties of
164 string-to-expand.
165
166 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
167
168 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
169 format that includes first name and surname.
170
171 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
172
173 * net/eudc-vars.el (eudc-inline-query-format): Change default to
174 query email and first name instead of surname.
175
176 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
177
178 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
179
180 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
181
182 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
183 eudc-server-hotlist.
184 (eudc-server-hotlist): Move from eudc.el and make defcustom.
185 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
186 (eudc-set-server): Allow setting protocol to nil.
187 (eudc-expand-inline): Support hotlist-only expansions when server
188 is not set.
189
190 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
193 (cl--generic-build-combined-method): Use it.
194
195 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
196
197 Don't downcase system diagnostics' first letters
198 * emacs-lisp/bytecomp.el (byte-compile-file):
199 * ffap.el (find-file-at-point):
200 * files.el (insert-file-1):
201 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
202 (ange-ftp-copy-file-internal):
203 * progmodes/etags.el (visit-tags-table):
204 Keep diagnostics consistent with system's.
205 * ffap.el (ffap-machine-p):
206 Ignore case while comparing diagnostics.
207
208 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
211 arg (bug#19645).
212 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
213 body with a docstring.
214
215 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
216
217 * progmodes/xref.el (xref-location-marker, xref-location-group):
218 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
219 counterparts.
220
221 * progmodes/etags.el (xref-location-marker): Same.
222
223 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
224 (xref--inhibit-mark-current): Rename from
225 `xref--inhibit-mark-selected'. Update the usages.
226 (xref-quit): Reword the docstring. Kill buffers after quitting
227 windows instead of before.
228 (xref--insert-xrefs): Tweak help-echo.
229 (xref--read-identifier-history, xref--read-pattern-history):
230 New variables.
231 (xref--read-identifier, xref-find-apropos): Use them.
232
233 2015-01-21 Ulrich Müller <ulm@gentoo.org>
234
235 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
236 Allow the 'update-game-score' helper program to run suid or sgid.
237
238 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * emacs-lisp/eieio.el: Use cl-defmethod.
241 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
242 (eieio-object-name-string): Declare as obsolete.
243
244 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
245 (eieio--specializers-apply-to-class-p): New function.
246 (eieio-all-generic-functions): Use it.
247 (eieio-method-documentation): Use it as well as cl--generic-method-info.
248 Change format of return value.
249 (eieio-help-class): Adapt accordingly.
250
251 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
252 errors when there's a `before' but no `primary' (bug#19645).
253 (next-method-p): Return nil rather than signal an error.
254 (eieio-defgeneric): Remove bogus (fboundp 'method).
255
256 * emacs-lisp/eieio-speedbar.el:
257 * emacs-lisp/eieio-datadebug.el:
258 * emacs-lisp/eieio-custom.el:
259 * emacs-lisp/eieio-base.el: Use cl-defmethod.
260
261 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
262 (cl--generic-setf-rewrite): Setup the setf expander right away.
263 (cl-defmethod): Make sure the setf expander is setup before we expand
264 the body.
265 (cl-defmethod): Silence byte-compiler warnings.
266 (cl-generic-define-method): Shuffle code to change return value.
267 (cl--generic-method-info): New function, extracted from
268 cl--generic-describe.
269 (cl--generic-describe): Use it.
270
271 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
272
273 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
274 the major mode. Remap `quit-window' to `xref-quit'.
275 (xref--xref-buffer-mode): Inherit from special-mode.
276
277 xref: Keep track of temporary buffers (bug#19466).
278 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
279 (xref--inhibit-mark-selected): New variables.
280 (xref--mark-selected): New function.
281 (xref--show-location): Maybe add the buffer to
282 `xref--temporary-buffers', add `xref--mark-selected' to
283 `buffer-list-update-hook' there.
284 (xref--window): Add docstring.
285 (xref-quit): Rename from `xref--quit'. Update both references.
286 Add KILL argument. When it's non-nil, kill the temporary buffers
287 that haven't been selected by the user.
288 (xref--show-xref-buffer): Change the second argument to alist,
289 extract the values for `xref--window' and
290 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
291 `buffer-list-update-hook' to each buffer in the list.
292 (xref--show-xrefs): Move the logic of calling `xref-find-function'
293 here. Save the difference between buffer lists before and after
294 it's called as "temporary buffers", and `pass it to
295 `xref-show-xrefs-function'.
296 (xref--find-definitions, xref-find-references)
297 (xref-find-apropos): Update accordingly.
298
299 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
300
301 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
302
303 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * emacs-lisp/eieio-generic.el: Remove.
306 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
307 * emacs-lisp/eieio-compat.el: New file.
308 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
309 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
310 Remove unused function.
311 (eieio-defclass): Move to eieio-compat.el.
312 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
313 (macroexp--expand-all): Use it.
314 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
315
316 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
317
318 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
319 major modes should use `add-function' to alter value of the variable.
320 * hexl.el (hexl-mode):
321 * ielm.el (inferior-emacs-lisp-mode):
322 * progmodes/cfengine.el (cfengine3-mode):
323 * progmodes/elisp-mode (emacs-lisp-mode):
324 * progmodes/octave.el (octave-mode):
325 * progmodes/python.el (python-mode):
326 * simple.el (read--expression): Set `eldoc-documentation-function'
327 using `add-function' so the default value is always used.
328
329 * descr-text.el (describe-char-eldoc): New function returning
330 basic Unicode codepoint information (e.g. name) about character
331 at point. It is meant to be used as a default value of the
332 `eldoc-documentation-function' variable.
333 (describe-char-eldoc--format, describe-char-eldoc--truncate):
334 New helper functions for `describe-char-eldoc' function.
335
336 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
337
338 * textmodes/paragraphs.el (sentence-end-base): Include an
339 ellipsis (…) and interrobang (‽) characters as end of a sentence,
340 and a closing single quote (’) as an end of a quote.
341
342 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
343
344 * textmodes/tildify.el (tildify-double-space-undos): A new
345 variable specifying whether pressing space in `tildify-mode' after
346 a space has been replaced with hard space undos the substitution.
347 (tildify-space): Add code branch for handling `tildify-doule-space'.
348
349 * textmodes/tildify.el (tildify-space): A new function
350 which can be used as a `post-self-insert-hook' to automatically
351 convert spaces into hard spaces.
352 (tildify-space-pattern): A new variable specifying pattern where
353 `tildify-space' should take effect.
354 (tildify-space-predicates): A new variable specifying list of
355 predicate functions that all must return non-nil for
356 `tildify-space' to take effect.
357 (tildify-space-region-predicate): A new functions meant to be
358 used as a predicate in `tildify-space-predicates' list.
359 (tildify-mode): A new minor mode enabling `tildify-space' as a
360 `post-self-insert-hook'
361
362 2015-01-20 Daniel Colascione <dancol@dancol.org>
363
364 * vc/vc-dir.el (vc-dir): Default to repository root, not
365 default-directory.
366
367 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
368
369 * progmodes/etags.el (xref-etags-location): New class.
370 (xref-make-etags-location): New function.
371 (etags--xref-find-definitions): Use it.
372 (xref-location-marker): New method implementation.
373
374 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
375 (xref--insert-xrefs): Expand help-echo string.
376
377 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
378
379 * ido.el: Update Customization instructions.
380
381 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
382
383 Define Ido keymaps once (bug#17000).
384 * ido.el (ido-common-completion-map)
385 (ido-file-dir-completion-map)
386 (ido-file-completion-map, ido-buffer-completion-map): Set up key
387 bindings when each variable is defined.
388 (ido-completion-map): Move definition.
389 (ido-init-completion-maps): Noop.
390 (ido-common-initialization): Don't call it.
391 (ido-setup-completion-map): Improve doc-string, cleanup.
392
393 2015-01-19 Ivan Shmakov <ivan@siamics.net>
394
395 * cus-dep.el (custom-make-dependencies): Ensure that
396 default-directory is interpreted as a directory (see bug#19140.)
397
398 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
399
400 * progmodes/xref.el (xref--display-position):
401 Set `other-window-scroll-buffer'.
402 (xref-goto-xref): Use `user-error'.
403
404 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
405
406 * progmodes/xref.el (xref--display-history): New variable.
407 (xref--window-configuration): Remove.
408 (xref--save-to-history): New function.
409 (xref--display-position): Use it. Add new argument.
410 (xref--restore-window-configuration): Remove.
411 (xref--show-location, xref-show-location-at-point):
412 Update accordingly.
413 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
414 (xref--quit): New command.
415 (xref-goto-xref): Use it.
416 (xref--xref-buffer-mode-map): Bind `q' to it.
417
418 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
419
420 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
421 indentation or at eol.
422
423 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
426 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
427 New functions.
428 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
429
430 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
431 `newname' argument.
432
433 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
434 introduction of a new dispatch argument.
435 (cl--generic-cache-miss): Handle dispatch on an argument which was not
436 considered as dispatchable for this method.
437 (cl-defmethod): Warn when adding a method to an obsolete generic function.
438 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
439
440 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
441
442 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
443
444 * emacs-lisp/package.el (package--append-to-alist): Rename from
445 `package--add-to-alist'
446 Updated docstring due to new name.
447
448 2015-01-18 Leo Liu <sdl.web@gmail.com>
449
450 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
451 multiple evaluation. (Bug#19519)
452
453 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
454 error. (Bug#19434)
455
456 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
459 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
460 New functions.
461 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
462
463 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
464 or print is nil.
465 (cl-struct-type-p): New function.
466
467 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
468 (cl-defmethod): Add edebug spec.
469 (cl--generic-build-combined-method): Fix call to
470 cl-no-applicable-method.
471 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
472 (cl--generic-isnot-nnm-p): New function.
473 (cl--generic-lambda): Use it to add support for cl-next-method-p.
474 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
475 (cl-next-method-p): New function.
476
477 2015-01-17 Ulrich Müller <ulm@gentoo.org>
478
479 * version.el (emacs-repository-get-version): Update docstring.
480
481 2015-01-17 Ivan Shmakov <ivan@siamics.net>
482
483 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
484 and print-level to nil to avoid writing a garbled list. (Bug#16805)
485
486 * files.el (find-file-other-window, find-file-other-frame):
487 Use mapc instead of mapcar. (Bug#18175)
488
489 * files.el (dir-locals-collect-variables): Use default-directory
490 in place of the file name while working on non-file buffers, just
491 like hack-dir-local-variables already does. (Bug#19140)
492
493 * textmodes/enriched.el (enriched-encode):
494 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
495 (Bug#18246)
496
497 * desktop.el (desktop-read): Do not call desktop-clear when no
498 desktop file is found. (Bug#18371)
499
500 * misearch.el (multi-isearch-unload-function): New function.
501 (misearch-unload-function): New alias. (Bug#19566)
502
503 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
506 class-constructor, and make it an alias for `identity'.
507 Update all callers.
508
509 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
510 argument here (bug#19620)...
511 (defclass): ...instead of in the constructor here.
512
513 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
514
515 * emacs-lisp/package.el (package-archive-priorities):
516 Specify correct type.
517
518 2015-01-17 Ulrich Müller <ulm@gentoo.org>
519
520 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
521 Remove.
522 (emacs-repository-get-version): Discard the Bazaar case.
523 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
524 emacs-bzr-version-dirstate and move from version.el to here.
525 (vc-bzr-working-revision): Use it.
526
527 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
530 eieio--scoped-class any more.
531
532 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
533 (eieio--scoped-class): Remove function.
534 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
535 (eieio--slot-name-index): Don't check the :protection anymore.
536 (eieio-initializing-object): Remove var.
537 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
538
539 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
540
541 Improve handling of doc-strings and describe-function for cl-generic.
542
543 * help-mode.el (help-function-def): Add optional arg `type'.
544
545 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
546 as it's a symbol.
547 (help-fns-short-filename): New function.
548 (describe-function-1): Use it. Use autoload-do-load.
549
550 * emacs-lisp/find-func.el: Use lexical-binding.
551 (find-function-regexp): Don't rule out `defgeneric'.
552 (find-function-regexp-alist): Document new possibility of including
553 a function instead of a regexp.
554 (find-function-search-for-symbol): Implement that new possibility.
555 (find-function-library): Don't assume that `function' is a symbol.
556 (find-function-do-it): Remove unused var `orig-buf'.
557
558 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
559 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
560 (eieio--method-optimize-primary): Don't mess with the docstring.
561 (defgeneric): Keep the `args' in the docstring.
562 (defmethod): Don't use the method's docstring for the generic
563 function's docstring.
564
565 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
566 (eieio-defclass-autoload): Don't record the superclasses any more.
567 (eieio-defclass-internal): Reuse the old class object if it was just an
568 autoload stub.
569 (eieio--class-precedence-list): Load the class if it's autoloaded.
570
571 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
572 override an autoload.
573 (cl-generic-current-method-specializers): Replace dyn-bind variable
574 with a lexically-scoped macro.
575 (cl--generic-lambda): Update accordingly.
576 (cl-generic-define-method): Record manually in the load-history with
577 type `cl-defmethod'.
578 (cl--generic-get-dispatcher): Minor optimization.
579 (cl--generic-search-method): New function.
580 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
581 (cl--generic-search-method): Add hyperlinks for methods. Merge the
582 specializers and the function's arguments.
583
584 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
585
586 * emacs-lisp/package.el (package--read-pkg-desc):
587 New function. Read a `define-package' form in current buffer.
588 Return the pkg-desc, with desc-kind set to KIND.
589 (package-dir-info): New function. Find package information for a
590 directory. The return result is a `package-desc'.
591 (package-install-from-buffer): Install packages from dired buffer.
592 (package-install-file): Install packages from directory.
593 (package-desc-suffix)
594 (package-install-from-archive)
595 * emacs-lisp/package-x.el (package-upload-buffer-internal):
596 Ensure all remaining instances of `package-desc-kind' handle the 'dir
597 value.
598
599 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
600
601 * emacs-lisp/package.el: Provide repository priorities.
602 (package-archive-priorities): New variable.
603 (package--add-to-alist): New function.
604 (package--add-to-archive-contents): Use it.
605 (package-menu--find-upgrades): Use it as well. Small clean up to
606 make the use of the package name here explicit.
607 (package-archive-priority): New function.
608 (package-desc-priority-version): New function.
609
610 2015-01-16 Daniel Colascione <dancol@dancol.org>
611
612 * cus-start.el (all): Make `ring-bell-function' customizable.
613
614 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
615
616 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
617 vc-svn-after-dir-status's second argument. (Bug#19429)
618
619 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
620
621 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
622 regardless of pcomplete-cycle-completions's value. (Bug#18950)
623
624 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
625
626 * dom.el (dom-strings): New function.
627
628 * files.el (directory-files-recursively): Don't use the word
629 "path" for a file name.
630
631 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
632
633 * calc/calc-units.el (math-units-in-expr-p)
634 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
635 (math-extract-units): Handle the `neg' operator. (Bug#19582)
636
637 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
640 (cl--labels-convert): Use it to ask the macro what is its replacement
641 in the #'f case.
642
643 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
644 Return the value of the primary rather than the after method.
645
646 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
647 (eieio--generic-tagcode): New function.
648 (cl-generic-tagcode-function): Use it.
649 (eieio--generic-tag-types): New function.
650 (cl-generic-tag-types-function): Use it.
651 (eieio-object-p): Tighten up the test.
652
653 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
654
655 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * emacs-lisp/cl-generic.el: New file.
658
659 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
660 (cl-load-time-value, cl-labels): Use closures rather than
661 backquoted lambdas.
662 (cl-macrolet): Use `eval' to create the function value, and support CL
663 style arguments in for the defined macros.
664
665 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * net/eww.el: Use lexical-binding.
668 (eww-links-at-point): Remove unused arg.
669 (eww-mode-map): Inherit from special-mode-map.
670 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
671
672 2015-01-13 Alan Mackenzie <acm@muc.de>
673
674 Allow compilation during loading of CC Mode-derived modes (bug#19206).
675 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
676 New function which walks the stack to discover whether we're compiling
677 or loading.
678 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
679 (cc-bytecomp-is-loading): New defsubst.
680 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
681 Use the above defsubsts.
682 (cc-require-when-compile, cc-bytecomp-defvar)
683 (cc-bytecomp-defun): Simplify conditionals.
684 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
685 "Borrow" this function from cc-bytecomp.el.
686 (c-get-current-file): Reformulate using the above.
687 (c-lang-defconst): Prevent duplicate entries of file names in a
688 symbol's 'source property.
689 (c-lang-const): Use cc-bytecomp-is-compiling.
690 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
691 Use cc-bytecomp-is-compiling.
692
693 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
696 (bug#19552).
697
698 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
699
700 * menu-bar.el (menu-bar-goto-menu): Before calling
701 `xref-marker-stack-empty-p', first check that `xref' is loaded.
702 (Bug#19554)
703
704 2015-01-12 Martin Rudalics <rudalics@gmx.at>
705
706 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
707 cookie (Bug#19554).
708
709 * frame.el (frame-notice-user-settings): Remove code dealing with
710 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
711 only if `window-system-frame-alist' or `default-frame-alist' ask
712 for it.
713 (make-frame): Update frame-adjust-size-history if needed.
714
715 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
716
717 Have 'make' output better GEN names
718 * Makefile.in (PHONY_EXTRAS): New macro.
719 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
720 relevant files' time stamps are ignored.
721 (custom-deps, $(lisp)/cus-load.el, finder-data)
722 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
723 (custom-deps, $(lisp)/cus-load.el, finder-data)
724 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
725 ($(lisp)/subdirs.el, update-subdirs):
726 Output more-accurate destination names with GEN.
727
728 Say "ELC foo.elc" instead of "GEN foo.elc"
729 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
730 New macros.
731 ($(THEFILE)c, .el.elc): Use them.
732
733 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
734
735 * files.el (directory-files-recursively): Do not include
736 superfluous remote file names.
737
738 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
739
740 * net/eww.el (eww): Interpret anything that looks like a protocol
741 designator as a full URL.
742
743 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
744
745 * net/shr.el (shr-urlify): Don't bother the user about
746 invalidly-encoded display strings.
747
748 2015-01-10 Ivan Shmakov <ivan@siamics.net>
749
750 * net/shr.el (shr-urlify): Decode URLs before using them as titles
751 (bug#19555).
752
753 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
754
755 * net/eww.el (eww): Always interpret URLs that start with https?:
756 as plain URLs, even if they have spaces in them (bug#19556).
757 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
758 software" as an URL.
759 (eww): Don't interpret "org/foo" as an URL.
760 (eww): Clear the title when loading so that we don't display
761 misleading information.
762
763 2015-01-10 Daniel Colascione <dancol@dancol.org>
764
765 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
766 by analogy with dired.
767
768 2015-01-09 Daniel Colascione <dancol@dancol.org>
769
770 * progmodes/js.el (js--function-heading-1-re)
771 (js--function-prologue-beginning): Parse ES6 generator function
772 declarations. (That is, "function* name()").
773
774 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
777 that creates functions, and most of the sanity checks.
778 Mark as obsolete the <class>-child-p function.
779 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
780 (eieio--class, eieio--object): Use cl-defstruct.
781 (eieio--object-num-slots): Define manually.
782 (eieio-defclass-autoload): Use eieio--class-make.
783 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
784 `(lambda...) definitions and most of the sanity checks to `defclass'.
785 Mark as obsolete the <class>-list-p function, the <class> variable and
786 the <initarg> variables. Use pcase-dolist.
787 (eieio-defclass): New compatibility function.
788 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
789 (eieio-class-speedbar): Don't use eieio-default-superclass var.
790
791 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * emacs-lisp/eieio-generic.el: New file.
794 * emacs-lisp/eieio-core.el: Move all generic function code to
795 eieio-generic.el.
796 (eieio--defmethod): Declare.
797
798 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
799 function code to eieio-generic.el.
800 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
801 eieio-generic.el.
802 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
803 to eieio--generic-call.
804 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
805 <class>-child type.
806
807 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
808
809 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
810 Don't use <class> as a variable.
811
812 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
813 (call-next-method): Simplify.
814 (clone): Obey eieio-backward-compatibility.
815
816 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
817 (eieio-read-generic): Use `generic-p' instead.
818
819 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
820 (eieio-defclass-autoload): Obey it.
821 (eieio--class-object): Improve error behavior.
822 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
823 every use site.
824 (eieio--defgeneric-form-primary-only): Rename from
825 eieio-defgeneric-form-primary-only; update all callers.
826 (eieio--defgeneric-form-primary-only-one): Rename from
827 eieio-defgeneric-form-primary-only-one; update all callers.
828 (eieio-defgeneric-reset-generic-form)
829 (eieio-defgeneric-reset-generic-form-primary-only)
830 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
831 (eieio--method-optimize-primary): New function to replace them.
832 (eieio--defmethod, eieio-defmethod): Use it.
833 (eieio--perform-slot-validation): Rename from
834 eieio-perform-slot-validation; update all callers.
835 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
836 Change `class' to be a class object. Update all callers.
837 (eieio--validate-class-slot-value): Rename from
838 eieio-validate-class-slot-value. Change `class' to be a class object.
839 Update all callers.
840 (eieio-oset-default): Accept class object as well.
841 (eieio--generic-call-primary-only): Rename from
842 eieio-generic-call-primary-only. Update all callers.
843
844 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
845 Improve error messages.
846 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
847 well as user-defined types. Emit errors for legacy types like
848 <class>-child and <class>-list, if not eieio-backward-compatibility.
849
850 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
853 (eieio--class-slot-initarg): Rename from class-slot-initarg.
854 Change `class' arg to be a class object. Update all callers.
855 (call-next-method): Adjust to new return value of `eieio-generic-form'.
856 (eieio-default-superclass): Set var to the class object.
857 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
858 Change print behavior to affect class objects rather than
859 class symbols.
860
861 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
862 (eieio-class-parents-fast): Remove macro.
863 (eieio--class-option-assoc): Rename from class-option-assoc.
864 Update all callers.
865 (eieio--class-option): Rename from class-option. Change `class' arg to
866 be a class object. Update all callers.
867 (eieio--class-method-invocation-order): Rename from
868 class-method-invocation-order. Change `class' arg to be a class
869 object. Update all callers.
870 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
871 a list of class objects rather than names.
872 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
873 for accessors to class allocated slots.
874 (eieio--perform-slot-validation-for-default): Rename from
875 eieio-perform-slot-validation-for-default. Update all callers.
876 (eieio--add-new-slot): Rename from eieio-add-new-slot.
877 Update all callers. Use push.
878 (eieio-copy-parents-into-subclass): Adjust to new content of
879 `parent' field. Use dolist.
880 (eieio-oref): Remove support for providing a class rather than
881 an object.
882 (eieio-oref-default): Prefer class objects over class names.
883 (eieio--slot-originating-class-p): Rename from
884 eieio-slot-originating-class-p. Update all callers. Use `or'.
885 (eieio--slot-name-index): Turn check into assertion.
886 (eieio--class-slot-name-index): Rename from
887 eieio-class-slot-name-index. Change `class' arg to be a class object.
888 Update all callers.
889 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
890 (eieio--c3-candidate): Rename from eieio-c3-candidate.
891 Update all callers.
892 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
893 Update all callers.
894 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
895 Update all callers.
896 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
897 Update all callers.
898 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
899 Update all callers. Adjust to new `parent' content.
900 (eieio--class-precedence-list): Rename from -class-precedence-list.
901 Update all callers.
902 (eieio-generic-call): Use autoloadp and autoload-do-load.
903 Slight simplification.
904 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
905 return value of `eieio-generic-form'.
906 (eieiomt-add): Index the hashtable with class objects rather than
907 class names.
908 (eieio-generic-form): Accept class objects as well.
909
910 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
911 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
912 (eieio-persistent-validate/fix-slot-value):
913 Change `class' arg to be a class object. Update all callers.
914
915 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
918 additionally to class names.
919
920 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
921 (object): Remove first (constant) slot; rename second to `class-tag'.
922 (eieio--object-class-object, eieio--object-class-name): New funs
923 to replace eieio--object-class.
924 (eieio--class-object, eieio--class-p): New functions.
925 (same-class-fast-p): Make it a defsubst, change its implementation
926 to check the class objects rather than their names.
927 (eieio-object-p): Rewrite.
928 (eieio-defclass): Adjust the object initialization according to the new
929 object layout.
930 (eieio--scoped-class): Declare it returns a class object (not a class
931 name any more). Adjust calls accordingly (along with calls to
932 eieio--with-scoped-class).
933 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
934 its class arg to be a class object. Adjust callers accordingly.
935 (eieio-slot-originating-class-p): Make its start-class arg a class
936 object. Adjust all callers.
937 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
938 Make its `class' arg a class object. Adjust all callers.
939
940 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
941 Use eieio--slot-name-index rather than eieio-slot-name-index.
942
943 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
946 name argument.
947 (eieio-object-name): Use eieio-object-name-string.
948 (eieio--object-names): New const.
949 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
950 using a hashtable rather than a built-in slot.
951 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
952 (clone): Don't mess with the object's "name".
953
954 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
955 (eieio-object-value-get): Use eieio-object-set-name-string.
956
957 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
958 (eieio--object): Remove `name' field.
959 (eieio-defclass): Adjust to new convention where constructors don't
960 take an "object name" any more.
961 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
962 (eieio-validate-slot-value, eieio-oset-default)
963 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
964 (eieio-generic-call-primary-only): Simplify.
965
966 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
967 Use call-next-method.
968 (eieio-constructor): Rename from `constructor'.
969 (eieio-persistent-convert-list-to-object): Drop objname.
970 (eieio-persistent-validate/fix-slot-value): Don't hardcode
971 eieio--object-num-slots.
972 (eieio-named): Use a normal slot.
973 (slot-missing) <eieio-named>: Remove.
974 (eieio-object-name-string, eieio-object-set-name-string, clone)
975 <eieio-named>: New methods.
976
977 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
980 (method-*): Add a "eieio--" prefix to those constants.
981
982 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
983
984 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
985
986 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
989 `eieio-default-superclass'.
990
991 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
992
993 * emacs-lisp/eieio-custom.el: Use lexical-binding.
994 (eieio-object-value-to-abstract): Simplify.
995
996 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
997 (eieio-build-class-alist): Use dolist.
998 (eieio-all-generic-functions): Adjust to use of hashtables.
999
1000 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1001 symbol-hashtable. It contains a hashtable instead of an obarray.
1002 (generic-p): Use symbol property `eieio-method-hashtable' instead of
1003 `eieio-method-obarray'.
1004 (generic-primary-only-p, generic-primary-only-one-p):
1005 Slight optimization.
1006 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1007 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1008 (eieio-class-un-autoload): Use autoload-do-load.
1009 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1010 Use new cl-deftype-satisfies. Adjust to use of hashtables.
1011 Don't hardcode the value of eieio--object-num-slots.
1012 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1013 Use a closure rather than a backquoted lambda.
1014 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
1015 function-documentation property.
1016 (eieio-slot-originating-class-p, eieio-slot-name-index)
1017 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1018 (eieio-generic-form): Adjust to use of hashtables.
1019 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1020 additional class argument.
1021 (eieio-generic-call-methodname): Remove, unused.
1022
1023 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1024 Prefer \' to $.
1025
1026 2015-01-08 Eli Zaretskii <eliz@gnu.org>
1027
1028 * simple.el (line-move-visual): When converting X pixel coordinate
1029 to temporary-goal-column, adjust the value for right-to-left
1030 screen lines. This fixes vertical-motion, next/prev-line, etc.
1031
1032 2015-01-08 Glenn Morris <rgm@gnu.org>
1033
1034 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
1035
1036 2015-01-07 K. Handa <handa@gnu.org>
1037
1038 * international/ccl.el (define-ccl-program): Improve the docstring.
1039
1040 2015-01-06 Sam Steingold <sds@gnu.org>
1041
1042 * shell.el (shell-display-buffer-actions): Remove,
1043 use `display-buffer-alist' instead.
1044
1045 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1048 to the references.
1049
1050 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * minibuffer.el (completion-category-defaults): New var.
1053 Set unicode-name to use substring completion.
1054 (completion-category-defaults): Set it to nil.
1055
1056 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1057
1058 Add mouse interaction to xref.
1059 * progmodes/xref.el (xref--button-map): New variable.
1060 (xref--mouse-2): New command.
1061 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1062 the inserted references.
1063
1064 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
1065
1066 Less 'make' chatter for lisp dir
1067 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1068 to make it clearer that the caller must specify it.
1069 (compile-onefile): Remove, replacing by ...
1070 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
1071 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1072 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1073 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1074 Use AM_V_GEN to lessen 'make' chatter.
1075 (.el.elc): Omit duplicate comment.
1076
1077 Less 'make' chatter in batch mode
1078 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1079 * emacs-lisp/bytecomp.el (byte-compile-file):
1080 * files.el (save-buffer, basic-save-buffer):
1081 * international/quail.el (quail-update-leim-list-file):
1082 Don't output messages like "Generating ..." in batch mode.
1083
1084 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1085
1086 Unbreak `mouse-action' property in text buttons.
1087 * button.el (push-button): Fix regression from 2012-12-06.
1088
1089 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1090
1091 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1092
1093 * menu-bar.el (menu-bar-goto-menu): Use it.
1094
1095 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1096
1097 * progmodes/xref.el (xref--window-configuration): New variable.
1098 (xref-show-location-at-point): New command.
1099 (xref--restore-window-configuration): New function.
1100 (xref-next-line, xref-prev-line): Delegate to
1101 `xref-show-location-at-point'.
1102 (xref--location-at-point): Don't signal the error.
1103 (xref-goto-xref): Do that here instead.
1104 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1105 to `pre-command-hook'.
1106 (xref--xref-buffer-mode-map): Don't remap `next-line' and
1107 `previous-line'. Additionally bind `xref-next-line' and
1108 `xref-prev-line' to `n' and `p' respectively.
1109 Bind `xref-show-location-at-point' to `C-o'.
1110
1111 2015-01-01 Eli Zaretskii <eliz@gnu.org>
1112
1113 * tool-bar.el (tool-bar-local-item)
1114 (tool-bar-local-item-from-menu): Call force-mode-line-update to
1115 make sure the tool-bar changes show on display.
1116
1117 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
1118
1119 Sync with Tramp 2.2.11.
1120
1121 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1122 Make an alias for `default-toplevel-value' if it doesn't exist.
1123
1124 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1125 Use `tramp-compat-delete-directory'.
1126
1127 * net/trampver.el: Update release number.
1128
1129 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
1130
1131 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1132 for remote files. (Bug#19449)
1133
1134 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1135
1136 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1137
1138 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
1139
1140 Less 'make' chatter in lisp directory
1141 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1142 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1143 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1144
1145 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
1146
1147 * info.el (info-display-manual): Limit the completion alternatives
1148 to currently visited manuals if prefix argument is non-nil.
1149
1150 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
1151
1152 * Makefile.in (semantic): Simplify.
1153
1154 2014-12-30 Juri Linkov <juri@linkov.net>
1155
1156 * net/eww.el (eww-isearch-next-buffer): New function.
1157 (eww-mode): Set multi-isearch-next-buffer-function to it.
1158
1159 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
1160
1161 * progmodes/xref.el (xref-find-definitions): Mention "no
1162 identifier at point" case in the docstring.
1163
1164 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1165 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1166 and `separator-tag-file' items.
1167
1168 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
1169
1170 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1171 This is instead of system-name, which is both wrong here and obsolete.
1172 * desktop.el (desktop-save-frameset):
1173 * dnd.el (dnd-get-local-file-uri):
1174 * nxml/rng-uri.el (rng-uri-file-name-1):
1175 Prefer (system-name) to system-name, and avoid naming
1176 locals 'system-name'.
1177 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
1178
1179 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * menu-bar.el (menu-bar-next-tag-other-window)
1182 (menu-bar-next-tag): Remove.
1183
1184 2014-12-29 K. Handa <handa@gnu.org>
1185
1186 * international/mule.el (make-translation-table-from-alist):
1187 Accept nil or zero-length vector for FROM and TO.
1188
1189 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
1190
1191 * net/eww.el (eww-mode): Truncate overlong lines for prettier
1192 display when resizing.
1193
1194 * net/shr.el (shr-width): Default to using the window width when
1195 rendering.
1196
1197 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1198
1199 Unbreak jumping to an alias's definition.
1200 * emacs-lisp/find-func.el (find-function-library): Return a pair
1201 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1202 (find-function-noselect): Use it.
1203 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1204 `elisp--xref-identifier-location', incorporate logic from
1205 `elisp--xref-find-definitions', use the changed
1206 `find-function-library' return value.
1207
1208 2014-12-29 Juri Linkov <juri@linkov.net>
1209
1210 * comint.el (comint-history-isearch-message): Use field-beginning
1211 instead of comint-line-beginning-position - that's more fixes for
1212 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1213 (comint-history-isearch-message): Fix args of isearch-message-prefix.
1214
1215 2014-12-29 Juri Linkov <juri@linkov.net>
1216
1217 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1218 (vc-dir-mode-map): Bind it to "\C-o".
1219 (vc-dir-menu-map): Add it to menu.
1220
1221 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1222
1223 * progmodes/etags.el (find-tag-other-window)
1224 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1225 (tags-apropos): Declare obsolete.
1226
1227 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1228 with xref ones.
1229
1230 2014-12-28 Eli Zaretskii <eliz@gnu.org>
1231
1232 * international/mule.el (define-coding-system): Fix typos in the
1233 doc string.
1234
1235 2014-12-28 Kenichi Handa <handa@gnu.org>
1236
1237 * international/mule.el (define-coding-system): Improve the doc
1238 string.
1239
1240 2014-12-28 Ivan Shmakov <ivan@siamics.net>
1241
1242 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1243 elements in tables (bug#19444).
1244
1245 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1246 (bug#19445).
1247
1248 2014-12-28 Juri Linkov <juri@linkov.net>
1249
1250 * vc/compare-w.el: Require diff-mode for diff faces.
1251 (compare-windows-removed, compare-windows-added): New faces
1252 inheriting from diff faces.
1253 (compare-windows): Define obsolete face alias.
1254 (compare-windows-highlight): Replace face `compare-windows' with
1255 new faces `compare-windows-added' and `compare-windows-removed'
1256 (bug#19451).
1257 (compare-windows-get-recent-window): Signal an error when
1258 no other window is found (bug#19170).
1259
1260 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1261
1262 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1263 Skip features that have no sources.
1264
1265 * simple.el (execute-extended-command):
1266 When `suggest-key-bindings' is nil, don't.
1267
1268 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1269
1270 python.el: Native readline completion.
1271 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1272 (python-shell-completion-native-enable)
1273 (python-shell-completion-native-output-timeout): New defcustoms.
1274 (python-shell-completion-native-interpreter-disabled-p)
1275 (python-shell-completion-native-try)
1276 (python-shell-completion-native-setup)
1277 (python-shell-completion-native-turn-off)
1278 (python-shell-completion-native-turn-on)
1279 (python-shell-completion-native-turn-on-maybe)
1280 (python-shell-completion-native-turn-on-maybe-with-msg)
1281 (python-shell-completion-native-toggle): New functions.
1282 (python-shell-completion-native-get-completions): New function.
1283 (python-shell-completion-at-point): Use it.
1284
1285 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1286
1287 python.el: Enhance shell user interaction and deprecate
1288 python-shell-get-or-create-process.
1289 * progmodes/python.el (python-shell-get-process-or-error):
1290 New function.
1291 (python-shell-with-shell-buffer): Use it.
1292 (python-shell-send-string, python-shell-send-region)
1293 (python-shell-send-buffer, python-shell-send-defun)
1294 (python-shell-send-file, python-shell-switch-to-shell): Use it.
1295 Add argument MSG to display user-friendly message when no process
1296 is running.
1297 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
1298 (python-shell-make-comint): Rename argument SHOW from POP.
1299 Use display-buffer instead of pop-to-buffer.
1300 (run-python): Doc fix. Return process.
1301 (python-shell-get-or-create-process): Make obsolete.
1302
1303 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1304
1305 * progmodes/python.el (python-shell-buffer-substring):
1306 Handle cornercase when region sent starts at point-min.
1307
1308 2014-12-27 Eli Zaretskii <eliz@gnu.org>
1309
1310 * language/misc-lang.el (composition-function-table): Add Syriac
1311 characters and also ZWJ/ZWNJ.
1312 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
1313 for the details.
1314
1315 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1316
1317 python.el: Fix message when sending region.
1318 * progmodes/python.el (python-shell-send-region): Rename argument
1319 send-main from nomain. Fix message.
1320 (python-shell-send-buffer): Rename argument send-main from arg.
1321
1322 python.el: Cleanup temp files even with eval errors.
1323 * progmodes/python.el (python-shell-send-file): Make file-name
1324 mandatory. Fix temp file removal in the majority of cases.
1325
1326 python.el: Handle file encoding for shell.
1327 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
1328 (python-shell--save-temp-file): Write file with proper encoding.
1329 (python-shell-buffer-substring): Add coding cookie for detected
1330 encoding to generated content. Fix blank lines when removing
1331 if-name-main block.
1332 (python-shell-send-file): Handle file encoding.
1333 (python-info-encoding-from-cookie)
1334 (python-info-encoding): New functions.
1335
1336 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1337
1338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1339 Use `tramp-rsh-end-of-line', it ought to be more robust.
1340
1341 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
1344 (bug#19397).
1345
1346 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1347
1348 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
1349
1350 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
1351 as end-of-line delimeter for passwords, when running on MS Windows.
1352
1353 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
1356 of indent-line-function (bug#19433).
1357
1358 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1359
1360 Fix line numbers on Python shell.
1361 * progmodes/python.el (python-shell--save-temp-file): Do not
1362 append coding cookie.
1363 (python-shell-send-string): Generalize for
1364 python-shell-send-region.
1365 (python--use-fake-loc): Delete var.
1366 (python-shell-buffer-substring): Cleanup fake-loc logic.
1367 (python-shell-send-region): Remove fake-loc logic, simplify.
1368
1369 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1370
1371 * progmodes/python.el (python-indent-post-self-insert-function):
1372 Make colon to re-indent only for dedenters, handling
1373 multiline-statements gracefully.
1374
1375 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1376
1377 * net/tramp.el (tramp-handle-insert-file-contents):
1378 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
1379
1380 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * net/tramp-sh.el (tramp-send-command-and-read): New optional
1383 arg MARKER.
1384 (tramp-get-remote-path): Use it.
1385
1386 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * subr.el (redisplay-dont-pause): Mark as obsolete.
1389
1390 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1391
1392 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
1393 (tramp-accept-process-output): Use nil as argument for
1394 `accept-process-output', when there is a gateway prepended.
1395
1396 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
1397 wrong debug buffer.
1398 (tramp-gw-open-connection): Set process coding system 'binary.
1399 (tramp-gw-open-network-stream): Handle HTTP error 403.
1400
1401 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
1402 wrong debug buffer.
1403 (tramp-maybe-open-connection): Set connection property "gateway".
1404
1405 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * subr.el (sit-for): Tweak docstring (bug#19381).
1408
1409 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1410
1411 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
1412 stage to after `diff-index' (bug#19386).
1413
1414 2014-12-27 João Távora <joaotavora@gmail.com>
1415
1416 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
1417 `electric-pair-mode' (bug#19356).
1418
1419 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1420
1421 elisp-xref-find: Don't create buffers eagerly.
1422
1423 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
1424 into `elisp--company-location'.
1425 (elisp--identifier-completion-table): Rename to
1426 `elisp--identifier-completion-table', and do not include just any
1427 symbols with a property list.
1428 (elisp-completion-at-point): Revert the 2014-12-25 change.
1429 (elisp--xref-identifier-file): New function.
1430 (elisp--xref-find-definitions): Use it.
1431
1432 * emacs-lisp/find-func.el (find-function-library): New function,
1433 extracted from `find-function-noselect'.
1434
1435 * progmodes/xref.el (xref-elisp-location): New class.
1436 (xref-make-elisp-location): New function.
1437 (xref-location-marker): New implementation.
1438
1439 2014-12-27 Juri Linkov <juri@linkov.net>
1440
1441 * minibuffer.el (minibuffer-completion-help):
1442 Use shrink-window-if-larger-than-buffer in window-height
1443 when temp-buffer-resize-mode is nil.
1444
1445 * window.el (with-displayed-buffer-window): Remove window-height
1446 from the action alist in the temp-buffer-window-show call
1447 when window-height is handled explicitly afterwards (bug#19355).
1448
1449 2014-12-27 Juri Linkov <juri@linkov.net>
1450
1451 Support subdirectories when saving places in dired.
1452 * saveplace.el (toggle-save-place, save-place-to-alist)
1453 (save-places-to-alist, save-place-dired-hook):
1454 Use dired-current-directory instead of dired-directory (bug#19436).
1455 (save-place-dired-hook): Add check for alist to make the new
1456 format future-proof to allow other possible formats.
1457
1458 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1459
1460 python.el: Generate clearer shell buffer names.
1461 * progmodes/python.el (python-shell-get-process-name)
1462 (python-shell-internal-get-process-name): Use `buffer-name`.
1463 (python-shell-internal-get-or-create-process): Simplify.
1464
1465 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 Add basic xref apropos implementation to elisp-mode.
1468
1469 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
1470 Filter out nil results.
1471 (elisp--xref-find-apropos): New function.
1472 (elisp-xref-find): Use it.
1473
1474 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
1475
1476 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
1477
1478 * dired-aux.el (dired-maybe-insert-subdir):
1479 Make dired-maybe-insert-subdir always skip trivial files.
1480
1481 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
1482 Dmitry Gutov <dgutov@yandex.ru>
1483
1484 Consolidate cross-referencing commands.
1485
1486 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
1487 `C-x 5 .' from etags.el to xref.el.
1488
1489 * progmodes/xref.el: New file.
1490
1491 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
1492 (elisp--identifier-location): New function, extracted from
1493 `elisp--company-location'.
1494 (elisp--company-location): Use it.
1495 (elisp--identifier-completion-table): New variable.
1496 (elisp-completion-at-point): Use it.
1497 (emacs-lisp-mode): Set the local values of `xref-find-function'
1498 and `xref-identifier-completion-table-function'.
1499 (elisp-xref-find, elisp--xref-find-definitions)
1500 (elisp--xref-identifier-completion-table): New functions.
1501
1502 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
1503 favor of `xref--marker-ring'.
1504 (tags-lazy-completion-table): Autoload.
1505 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
1506 (find-tag-noselect): Use `xref-push-marker-stack'.
1507 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
1508 (etags--xref-limit): New constant.
1509 (etags-xref-find, etags--xref-find-definitions): New functions.
1510
1511 2014-12-25 Martin Rudalics <rudalics@gmx.at>
1512
1513 * cus-start.el (resize-mini-windows): Make it customizable.
1514
1515 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
1516
1517 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
1518 to (info "(emacs)Contributing"). (Bug#19299)
1519
1520 2014-12-24 Martin Rudalics <rudalics@gmx.at>
1521
1522 * window.el (mouse-autoselect-window-position-1): New variable.
1523 (mouse-autoselect-window-cancel)
1524 (mouse-autoselect-window-select, handle-select-window):
1525 With delayed autoselection select window only if mouse moves after
1526 selecting its frame.
1527
1528 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
1531 remote file names. (Bug#18782)
1532
1533 2014-12-23 Sam Steingold <sds@gnu.org>
1534
1535 * shell.el (shell-display-buffer-actions): New user option.
1536 (shell): Pass it to `pop-to-buffer' instead of hard-coding
1537 `pop-to-buffer-same-window'.
1538
1539 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
1542 (js-syntax-propertize-regexp): Use it to recognize "slash in
1543 a character class" (bug#19397).
1544
1545 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * completion.el: Use post-self-insert-hook (bug#19400).
1548 (completion-separator-self-insert-command)
1549 (completion-separator-self-insert-autofilling): Remove.
1550 (completion-separator-chars): New var.
1551 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
1552 of changing the keymap.
1553 (completion--post-self-insert): New function.
1554 (dynamic-completion-mode): Use it instead of rebinding keys.
1555 (cmpl--completion-string): Rename from completion-string.
1556 (add-completion-to-head, delete-completion): Let-bind it explicitly.
1557
1558 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
1559
1560 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
1561 by leveraging `syntax-ppss'.
1562
1563 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
1564
1565 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
1566
1567 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
1568
1569 * net/tramp-sh.el (tramp-histfile-override): Add :version.
1570
1571 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
1572
1573 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
1574
1575 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
1576
1577 * let-alist.el (let-alist): Enable access to deeper alists by
1578 using dots inside the dotted symbols.
1579
1580 2014-12-19 Alan Mackenzie <acm@muc.de>
1581
1582 Make C++11 uniform init syntax work.
1583 New keywords "final" and "override".
1584 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
1585 New function.
1586 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
1587 new function.
1588 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
1589 carefully for "are we at a declarator?" using
1590 c-back-over-member-initializers.
1591 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
1592 and "override" in the C++ value.
1593
1594 2014-12-19 Martin Rudalics <rudalics@gmx.at>
1595
1596 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
1597
1598 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
1599
1600 * net/nsm.el (nsm-save-host): Don't save the host name twice
1601 (bug#19269).
1602
1603 2014-12-18 Sam Steingold <sds@gnu.org>
1604
1605 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
1606 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
1607 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
1608 * menu-bar.el (menu-bar-buffer-vector): Extract from
1609 `menu-bar-update-buffers'.
1610 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
1611 (buffer-menu-open): New user command, bound globally to C-f10,
1612 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
1613 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
1614 convert the value returned by `mouse-buffer-menu-map' to a list
1615 acceptable to `popup-menu' for `buffer-menu-open'.
1616
1617 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
1618
1619 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
1620
1621 2014-12-18 Sam Steingold <sds@gnu.org>
1622
1623 * emacs-lisp/package.el: Avoid compilation warning by declaring
1624 the `find-library-name' function.
1625 (package-activate-1): Fix the `with-demoted-errors' calls:
1626 the first argument must be a string literal.
1627
1628 2014-12-18 Martin Rudalics <rudalics@gmx.at>
1629
1630 Add code for "preserving" window sizes.
1631 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
1632 `preserve-size' t.
1633 (dired-mark-pop-up): Preserve size of window showing marked files.
1634 * electric.el (Electric-pop-up-window):
1635 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
1636 with `preserve-size' t.
1637 * minibuffer.el (minibuffer-completion-help):
1638 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
1639 (Bug#19355). Preserve size of completions window.
1640 * register.el (register-preview): Preserve size of register
1641 preview window.
1642 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
1643 with `preserve-size' t (Bug#1291).
1644 * window.el (with-displayed-buffer-window): Add calls to
1645 `window-preserve-size'.
1646 (window-min-pixel-size, window--preservable-size)
1647 (window-preserve-size, window-preserved-size)
1648 (window--preserve-size, window--min-size-ignore-p): New functions.
1649 (window-min-size, window-min-delta, window--resizable)
1650 (window--resize-this-window, split-window-below)
1651 (split-window-right): Amend doc-string.
1652 (window--min-size-1, window-sizable, window--size-fixed-1)
1653 (window-size-fixed-p, window--min-delta-1)
1654 (frame-windows-min-size, window--max-delta-1, window-resize)
1655 (window--resize-child-windows, window--resize-siblings)
1656 (enlarge-window, shrink-window, split-window): Handle preserving
1657 window sizes.
1658 (adjust-window-trailing-edge): Handle preserving window
1659 sizes. Signal user-error instead of an error when there's no
1660 window above or below.
1661 (window--state-put-2): Handle horizontal scroll bars.
1662 (window--display-buffer): Call `preserve-size' if asked for.
1663 (display-buffer): Mention `preserve-size' alist member in doc-string.
1664 (fit-window-to-buffer): New argument PRESERVE-SIZE.
1665 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
1666 scroll bar on ispell's windows. Don't count window lines and
1667 don't deal with dedicated windows.
1668 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
1669 do the window handling.
1670 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
1671 (ispell-display-buffer): New function to reuse, create and fit
1672 window to ispell's buffers. (Bug#3413)
1673
1674 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1675
1676 * emacs-lisp/package.el (package-activate): Do not re-activate or
1677 reload the dependencies (bug#19390).
1678
1679 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
1682 (c-update-modeline):
1683 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
1684 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
1685 (c-mode-base-map): Use c-subword-mode.
1686
1687 2014-12-18 Eli Zaretskii <eliz@gnu.org>
1688
1689 * international/mule-diag.el (describe-font-internal):
1690 Display additional info returned by font-info.
1691
1692 * linum.el (linum--face-width): Rename from linum--face-height,
1693 and use the new functionality of font-info.
1694 (linum-update-window): Use linum--face-width and frame-char-width,
1695 instead of approximating with height.
1696
1697 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1698
1699 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
1700 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
1701
1702 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
1703 and a docstring.
1704 (package-activate): Call itself on dependencies on PACKAGE with
1705 the same FORCE argument. Pass FORCE as RELOAD into
1706 `package-activate-1' (bug#19390).
1707
1708 2014-12-17 Sam Steingold <sds@gnu.org>
1709
1710 * emacs-lisp/package.el (package--list-loaded-files):
1711 Handle `(nil ...)' elements in `load-history'.
1712
1713 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
1714
1715 * net/tramp-sh.el (tramp-histfile-override): New variable.
1716 (tramp-open-shell, tramp-maybe-open-connection): Use it.
1717
1718 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
1719
1720 * vc/vc.el: Improve `dir-status-files' description.
1721
1722 * emacs-lisp/package.el (package--list-loaded-files): Don't call
1723 file-truename on load-history elements (bug#19390).
1724
1725 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
1726
1727 * emacs-lisp/seq.el: New file.
1728
1729 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
1732 is 0 and there is no input pending.
1733
1734 2014-12-15 Juri Linkov <juri@linkov.net>
1735
1736 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
1737 only on the return value (bug#19383).
1738
1739 2014-12-15 Juri Linkov <juri@linkov.net>
1740
1741 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
1742 the wrapped search by the length of the search string to be able
1743 to lazy-highlight the whole search string at point (bug#19353).
1744
1745 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1746
1747 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
1748
1749 2014-12-14 Alan Mackenzie <acm@muc.de>
1750
1751 * cus-start.el (all): Add fast-but-imprecise-scrolling.
1752
1753 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
1754
1755 * let-alist.el: Add lexical binding.
1756
1757 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
1758
1759 * emacs-lisp/package.el (package-menu-mode): Use an extra column
1760 for the "Version" column, to accomodate date-and-time-based
1761 versions.
1762
1763 2014-12-14 Cameron Desautels <camdez@gmail.com>
1764
1765 * cus-edit.el (custom-unsaved-options): New function, extracted
1766 from `customize-unsaved'.
1767 (custom-unsaved): Use it.
1768 (custom-prompt-customize-unsaved-options): New function.
1769 (Bug#19328)
1770
1771 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
1774
1775 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 Move ASYNC argument to the `diff' VC command to the fifth
1778 position, for better compatibility with existing third-party code,
1779 and document it.
1780
1781 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
1782 backend `diff' command in the last position.
1783
1784 * vc/vc-svn.el (vc-svn-diff):
1785 * vc/vc-src.el (vc-src-diff):
1786 * vc/vc-sccs.el (vc-sccs-diff):
1787 * vc/vc-rcs.el (vc-rcs-diff):
1788 * vc/vc-mtn.el (vc-mtn-diff):
1789 * vc/vc-hg.el (vc-hg-diff):
1790 * vc/vc-git.el (vc-git-diff):
1791 * vc/vc-dav.el (vc-dav-diff):
1792 * vc/vc-cvs.el (vc-cvs-diff):
1793 * vc/vc-bzr.el (vc-bzr-diff):
1794 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
1795
1796 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
1797
1798 * emacs-lisp/cconv.el (cconv--analyze-use):
1799 Rename from cconv--analyse-use.
1800 (cconv--analyze-function): Rename from cconv--analyse-function.
1801 (cconv-analyze-form): Rename from cconv-analyse-form.
1802
1803 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
1804
1805 * net/shr.el (shr-next-link): Don't error out at eob.
1806
1807 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1808
1809 * isearch.el (isearch-open-necessary-overlays): Open overlay
1810 ending at point (bug#19333).
1811
1812 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1813
1814 * net/shr.el (shr-fold-text): New function.
1815 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
1816 alt/title texts.
1817 (shr-fold-text): Inhibit state from being altered.
1818
1819 * files.el (directory-files-recursively): Really check whether
1820 files are symlinks.
1821 (directory-name-p): New function.
1822 (directory-files-recursively): Use it.
1823
1824 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
1825
1826 * emacs-lisp/package.el (package--list-loaded-files): New function
1827 to list files in a given directory which correspond to already
1828 loaded files.
1829 (package-activate-1): Reload files given by `package--list-loaded-files'.
1830 Fix bug#10125, bug#18443, and bug#18448.
1831
1832 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
1833
1834 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
1835
1836 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1837
1838 * simple.el (password-word-equivalents): Add "passcode", used for
1839 numeric secrets like PINs or RSA tokens.
1840
1841 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
1842
1843 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
1844 order to determine `tramp-own-remote-path'.
1845
1846 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1847
1848 * progmodes/python.el (python-shell-parse-command):
1849 Quote `python-shell-interpreter`. (Bug#19289)
1850
1851 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
1854 (python-indent-levels): Document extra value.
1855 (python-indent-calculate-indentation): Return `noindent' in strings.
1856 (python-indent-post-self-insert-function)
1857 (python-indent-calculate-levels): Handle new value.
1858
1859 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1860
1861 * net/network-stream.el (network-stream-open-starttls): No need to
1862 check for the availability of `gnutls-available-p'.
1863
1864 * files.el (directory-files-recursively): Don't follow symlinks to
1865 other directories.
1866
1867 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
1868
1869 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
1870 * vc/vc.el: latest-on-branch-p is no longer a public method.
1871
1872 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
1873 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
1874 Remove `rollback' method, to be replaced in the future by uncommit.
1875
1876 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
1877
1878 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
1879 that there is empty output.
1880
1881 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
1884 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
1885
1886 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
1887
1888 * let-alist.el: Add new package and macro.
1889
1890 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
1891
1892 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
1893 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
1894 it's a shoot-self-in-foot archaism. Workfiles are always kept.
1895
1896 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
1897
1898 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
1899 trouble with ls over ftp. These flags result in ls returning no
1900 output, causing Tramp-breakage. (bug#19192)
1901
1902 2014-12-10 Andreas Schwab <schwab@suse.de>
1903
1904 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
1905
1906 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1907
1908 * files.el (directory-files-recursively):
1909 Use `file-name-all-completions' instead of `directory-files' for
1910 greater speed.
1911
1912 * net/shr.el (shr-tag-object): Don't bug out on text elements in
1913 <object>.
1914
1915 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
1916
1917 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
1918 and Puppetfile.
1919 (ruby-toggle-string-quotes): New command that allows you to quickly
1920 toggle between single-quoted and double-quoted string literals.
1921
1922 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
1923
1924 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
1925 list, avoids problems witt names containing hyphens.
1926
1927 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
1928
1929 Sync with upstream verilog-mode revision aa4b777.
1930 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1931 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
1932 (verilog-set-auto-endcomments): Automatically comment property/
1933 endproperty blocks to match other similar blocks like sequence/
1934 endsequence, function/endfunction, etc. Reported by Alex Reed.
1935 (verilog-set-auto-endcomments): Fix end comments for functions of
1936 type void, etc. Detect the function- or task-name when
1937 auto-commenting blocks that lack an explicit portlist.
1938 Reported by Alex Reed.
1939 (verilog-nameable-item-re): Fix nameable items that can have an
1940 end-identifier to include endchecker, endgroup, endprogram,
1941 endproperty, and endsequence. Reported by Alex Reed.
1942 (verilog-preprocessor-re, verilog-beg-of-statement):
1943 Fix indentation of property/endproperty around pre-processor
1944 directives. Reported by Alex Reed.
1945 (verilog-label-be): When auto-commenting a buffer, consider
1946 auto-comments on all known keywords (not just a subset thereof).
1947 Reported by Alex Reed.
1948 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
1949 Reported by Alex Reed.
1950 (verilog-beg-of-statement-1, verilog-at-constraint-p):
1951 Fix hanging with many curly-bracket pairs, bug663.
1952 (verilog-do-indent): Fix electric tab deleting form-feeds.
1953 Note caused by indent-line-to deleting tabls pre 24.5.
1954 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
1955 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
1956 (verilog-read-always-signals, verilog-auto-sense-sigs)
1957 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
1958 bug844. Reported by Greg Hilton.
1959
1960 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
1961
1962 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
1963 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
1964 'foreach', and 'do' keywords.
1965 (verilog-endcomment-reason-re, verilog-beg-of-statement):
1966 Fix labeling do-while blocks, bug842.
1967 (verilog-backward-token): Fix indenting sensitivity lists with
1968 named events, bug840.
1969
1970 2014-12-09 Reto Zimmermann <reto@gnu.org>
1971
1972 Sync with upstream vhdl mode v3.36.1.
1973 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1974 (vhdl-compiler-alist): Anchor all error regexps.
1975 (vhdl-compile-use-local-error-regexp): Change default to nil.
1976 (vhdl-asort, vhdl-anot-head-p): Remove.
1977 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
1978 Remove optional argument of vhdl-aget and update all callers.
1979 (vhdl-import-project): Also set `vhdl-compiler'.
1980
1981 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1982
1983 * files.el (find-files): New function.
1984
1985 * net/shr.el (shr-dom-print): Don't print comments.
1986 (shr-tag-svg): Give inline SVG images the right type.
1987
1988 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
1989 certificates in the header line.
1990 (eww-invalid-certificate, eww-valid-certificate): New faces.
1991
1992 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1993
1994 * progmodes/python.el (inferior-python-mode):
1995 Set `comint-prompt-read-only` to `t` only locally.
1996
1997 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1998
1999 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2000 (nsm-format-certificate): Include more data about the connection.
2001 (nsm-query): Fill the text to that it looks nicer.
2002 (nsm-check-protocol): Also warn if using SSL3 or older.
2003
2004 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2007
2008 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2009
2010 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2011
2012 * info.el (Info-mode-map): Remove left-over binding.
2013
2014 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2015 (avl-tree--root): Remove redundant defsetf.
2016
2017 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2018
2019 * net/nsm.el (network-security-level): Remove the detailed
2020 description, which was already outdated, and refer the users to
2021 the manual.
2022 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2023 (bug#19153).
2024
2025 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
2026
2027 * net/eww.el (eww-buffers-mode): New major mode.
2028 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2029 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2030 New commands/functions (bug#19131).
2031
2032 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2033
2034 * net/gnutls.el (gnutls-negotiate): Ignore files found via
2035 'file-name-handler-alist' since the gnutls library can't use those
2036 (bug#15866).
2037
2038 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
2039
2040 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2041 when FILES is non-nil (bug#19304).
2042
2043 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
2044
2045 * vc/vc-arch.el: Move to obsolete directory so a test framework
2046 won't trip over bit-rot in it. There has been no Arch snapshot
2047 for nine years.
2048
2049 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2050
2051 * net/eww.el (eww-follow-link): Revert prefix behaviour to
2052 previous behavior.
2053 (eww-copy-page-url): Add doc string.
2054
2055 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2056
2057 * net/eww.el (eww): Move history recording here...
2058 (eww-browse-url): ... from here (bug#19253).
2059
2060 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2061 iterating over possible buffer names.)
2062
2063 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2064
2065 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2066 (eww-current-buffer): Compilation fix for bug#18550 patch.
2067
2068 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2069
2070 * net/eww.el (eww-list-histories): Restore the history in the
2071 correct buffer (bug#18550).
2072
2073 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2074
2075 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2076 displaying shortened titles first (bug#16398).
2077
2078 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
2079
2080 * progmodes/python.el: Recognize docstrings.
2081 (python-docstring-at-p, python-font-lock-syntactic-face-function):
2082 New functions.
2083 (python-mode): Use them.
2084
2085 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
2086
2087 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2088 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2089 (newsticker--treeview-create-groups-menu)
2090 (newsticker--treeview-create-tree-menu): Remove.
2091 (newsticker--treeview-tree-open-menu): New.
2092 (newsticker-treeview-tree-click): Pass event to
2093 `newsticker-treeview-tree-do-click'.
2094 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2095
2096 2014-12-05 Juri Linkov <juri@linkov.net>
2097
2098 * comint.el (comint-history-isearch-search)
2099 (comint-history-isearch-wrap): Use field-beginning instead of
2100 comint-line-beginning-position.
2101 (comint-send-input): Go to the end of the field instead of the end
2102 of the line to accept whole multi-line input.
2103 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2104
2105 2014-12-05 Juri Linkov <juri@linkov.net>
2106
2107 * minibuffer.el (minibuffer-completion-help):
2108 Compare selected-window with minibuffer-window to check whether
2109 completions should be displayed near the minibuffer. (Bug#17809)
2110 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2111
2112 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * vc/vc-mtn.el (vc-mtn-root):
2115 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2116
2117 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2120 of the whole pipe when indenting an opening keyword after a |.
2121 Generalize this treatment to opening keywords like "while" (bug#18031).
2122
2123 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * simple.el (newline): Place the hook buffer-locally,
2126 to make sure it's first.
2127
2128 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2129 Fix handling of symbols with different syntax at beginning/end or with
2130 symbol rather than word syntax.
2131
2132 2014-12-05 Eli Zaretskii <eliz@gnu.org>
2133
2134 * simple.el (line-move): If noninteractive, call line-move-1, not
2135 forward-line, since the former is compatible with line-move-visual
2136 both in terms of the column to which it moves and the return
2137 value. (Bug#19211)
2138
2139 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * vc/ediff-init.el (ediff-odd-p): Remove.
2142 (ediff-background-face): Use cl-oddp instead.
2143 (ediff-buffer-live-p): Make it a defsubst.
2144
2145 * tooltip.el (tooltip-region-active-p): Remove.
2146
2147 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2148 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2149
2150 * fringe.el (fringe-bitmap-p): Make it a plain function.
2151
2152 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2153 (class-p, generic-p, eieio-object-p, class-abstract-p):
2154 Make them defsubst, so as to avoid corner case problems where
2155 the arg might be evaluated in the condition-case, or it can't be passed
2156 to higher-order functions like `cl-some'.
2157
2158 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2159
2160 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2161 and remove old menu-related code.
2162
2163 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2164
2165 * net/eww.el (eww-display-pdf): Let mailcap determine how to
2166 display PDF files (bug#19270).
2167
2168 2014-12-05 Juri Linkov <juri@linkov.net>
2169
2170 Compare with the most recent window by default.
2171 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2172 (compare-windows-get-recent-window)
2173 (compare-windows-get-next-window): New functions.
2174 (compare-windows, compare-windows-sync-default-function):
2175 Use `compare-windows-get-window-function' instead of `next-window'.
2176 (compare-windows): Add diff/match messages with region boundaries.
2177 (Bug#19170)
2178
2179 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2182
2183 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2184
2185 * net/shr.el (shr--extract-best-source): Ignore non-text children.
2186
2187 2014-12-04 Eli Zaretskii <eliz@gnu.org>
2188
2189 Implement copying of a buffer portion while preserving visual order.
2190 * simple.el (bidi-directional-controls-chars)
2191 (bidi-directional-non-controls-chars): New variables.
2192 (squeeze-bidi-context-1, squeeze-bidi-context)
2193 (line-substring-with-bidi-context)
2194 (buffer-substring-with-bidi-context): New functions.
2195
2196 * files.el (file-tree-walk): Doc fix.
2197
2198 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
2199 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2200
2201 * autoinsert.el (auto-insert-alist): Update C/C++ header and
2202 program support to match more extensions. Replace non-alnum
2203 characters when generating include guards (headers) and check for
2204 more extensions when generating includes (programs)
2205 (bug#19254).
2206
2207 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
2208
2209 * files.el (file-tree-walk): Fix docstring.
2210
2211 2014-12-03 Karl Fogel <kfogel@red-bean.com>
2212
2213 Fix bug whereby saving files hung in VC hook.
2214
2215 Saving a buffer visiting a file under SVN control would hang if
2216 the remote repository were unreachable, because the VC hooks tried
2217 to run "svn status -u" on the file, where the "-u" tells svn to
2218 get update information from the remote repository.
2219 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2220
2221 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2222 argument and always pass "-v" to "svn status", never "-u".
2223
2224 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * emacs-lisp/inline.el: Fix up copyright header.
2227 (inline-quote, inline-const-p, inline-const-val, inline-error):
2228 Silence compiler warnings.
2229 (inline-letevals): Fix edebug spec.
2230 (inline--testconst-p): Consider lambda expressions as const-p.
2231 (inline--getconst-val): Use inline--testconst-p.
2232
2233 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2234 and change default to stay in the minibuffer when called from
2235 the minibuffer (bug#19250).
2236 (lazy-completion-table): Use this new argument to preserve the
2237 old behavior.
2238
2239 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2240 incorrect lexical elements (bug#19250).
2241
2242 2014-12-03 A. N. Other <none@example.com>
2243
2244 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2245
2246 2014-12-02 Glenn Morris <rgm@gnu.org>
2247
2248 * whitespace.el (whitespace-big-indent-regexp): Add :version.
2249
2250 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2251
2252 * subr.el (filter): New macro. Because it's just silly for a Lisp
2253 not to have this in 2014. And VC needs it.
2254
2255 * vc.el: All backends: API simplification: Abolish dir-status.
2256 It's replaced by dir-status-files.
2257
2258 * vc.el: All backends: API simplification: Remove 4th
2259 'default-state' argument from vc-dir-status files and its backend
2260 methods - no backend method ever set it. It was used only in the
2261 fallback method to to set a default of 'up-to-date, though a
2262 convoluted call chain obscured this.
2263
2264 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2265
2266 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2267 improving behavior on directories using multiple file-oriented VCSes.
2268
2269 * vc/vc.el: All backends: API simplification; clear-headers
2270 is no longer a public method. It is now local to the one place
2271 it's used, in the RCS steal-lock method.
2272
2273 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2274
2275 * vc/vc.el: In all backends: API simplification; could-register
2276 is no longer a public method. (vc-cvs.el still has a private
2277 implementation.)
2278
2279 * vc/vc.el: In all backends: API cleanup; the backend diff method
2280 takes an explicit async flag. This eliminates a particularly ugly
2281 global.
2282
2283 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2284 VC randomly/unpredictably fails without it; cause not yet established.
2285
2286 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 Merge some of the differences from the standalone CC-mode.
2289 The main change is to only use the `category' text-property only when
2290 available. For that many calls are changed to use c-get-char-property,
2291 c-next-single-property-change, c-sc-scan-lists,
2292 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
2293
2294 * progmodes/cc-mode.el (c-just-done-before-change): New var.
2295 (c-basic-common-init): Initialize it.
2296 (c-common-init): Only use mode-require-final-newline when available.
2297 (c-before-change): Check and set c-just-done-before-change.
2298 (c-after-change): Re-set c-just-done-before-change.
2299 (c-advise-fl-for-region): New macro.
2300 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
2301 (font-lock-after-change-function, jit-lock-after-change):
2302 Advise if needed.
2303
2304 * progmodes/cc-langs.el (c-modified-constant): New lang var.
2305 (c-known-type-key): Don't make a list just to throw it away.
2306
2307 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
2308 Handle the case where categories are not available.
2309 (c-record-parse-state-state, c-replay-parse-state-state):
2310 Handle marker values.
2311 (c-before-change-check-<>-operators): Look for the `syntax-table'
2312 property rather than for the corresponding `category'.
2313 (c-looking-at-decl-block): Remove unused var
2314 `c-disallow-comma-in-<>-arglists'.
2315 (c-forward-<>-arglist-recur): Remove unused var
2316 `orig-record-found-types'.
2317
2318 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
2319 (c-use-category): New const.
2320 (c-next-single-property-change): New macro.
2321 (c-region-is-active-p): Prefer region-active-p when available.
2322 (c-search-backward-char-property): Fix old min/max typo; probably
2323 a copy/paste error.
2324 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
2325 Turn them into macros that obey c-use-category.
2326 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
2327 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
2328 (c-sc-scan-lists, c-sc-parse-partial-sexp)
2329 (c-looking-at-non-alphnumspace): New macros.
2330 (c-sc-parse-partial-sexp-no-category): New function.
2331 (c-emacs-features): Add `category-properties' element.
2332
2333 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2334 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
2335 not available.
2336 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
2337 (c-indent-line-or-region): Use c-region-is-active-p.
2338
2339 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
2340 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
2341 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
2342 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
2343 (cc-bytecomp-obsolete-fun): Delete unused functions.
2344
2345 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
2346
2347 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2348
2349 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
2350 dom.el changes.
2351
2352 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
2355 current "project" rather than just the current directory.
2356 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
2357 the file names make sense.
2358
2359 * vc/smerge-mode.el (smerge-swap): New command.
2360
2361 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
2362
2363 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
2364
2365 * net/newst-treeview.el (newsticker--treeview-item-show):
2366 Check window liveliness before measuring its width.
2367
2368 * net/newst-backend.el (newsticker--get-news-by-url-callback):
2369 Pass correct status to `newsticker--sentinel-work'.
2370 (newsticker--sentinel-work): Use "newsticker--download-error" as
2371 guid in order to prevent multiple "Could not download..."
2372 messages. Fixes bug#19166.
2373
2374 2014-12-01 Ivan Shmakov <ivan@siamics.net>
2375
2376 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
2377 correct buffer (bug#19225).
2378
2379 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2380
2381 * net/nsm.el (network-security-level): Change the default to `medium'.
2382
2383 * net/eww.el (eww): Leave point in a place that doesn't cause
2384 scrolling when displaying "Loading...".
2385
2386 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2387
2388 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
2389 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
2390 'merge-branch'. Prompting for merge revisions is pushed down to
2391 the back ends; this fixes a layering violation that caused bad
2392 behavior with SVN.
2393
2394 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2395 vc-stay-local-p and repository-hostname are no longer public
2396 methods. Only the CVS and SVN backends used these, and the SVN
2397 support was conditioned out because svn status -v is too slow.
2398 The CVS back end retains this machinery and the vc-stay-local
2399 configuration variable now only affects it.
2400
2401 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * emacs-lisp/inline.el: New file.
2404
2405 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2406
2407 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2408 vc-state-heuristic is no longer a public method, having been
2409 removed where it is redundant, unnecessary, or known buggy.
2410 This eliminated all backends except CVS. Eliminates bug#7850.
2411
2412 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
2413 Eliminate vc-mistrust-permissions. It was only relevant to the
2414 RCS and SCCS back ends and defaulted to t. Code now always
2415 mistrusts permissions - by actual measurement the effect on
2416 performance is negligible. As a side effect bug#11490 is now
2417 irrelevant.
2418
2419 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2420 vc-workfile-unchanged-p is no longer a public method (but the RCS
2421 and SCCS back ends retain it as a private method used in state
2422 computation). This method was redundant with vc-state and usually
2423 implemented as a trivial call to same. Fixes the failure mode
2424 described in bug#694.
2425
2426 * vc/vc.el: All backends: API simplification; init-revision is
2427 gone, and vc-registered functions no longer take an
2428 initial-revision argument.
2429
2430 2014-11-29 Glenn Morris <rgm@gnu.org>
2431
2432 * vc/vc-src.el (vc-src, vc-src-diff-switches)
2433 (vc-src-master-templates): Fix :version tags.
2434
2435 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
2436
2437 * outline.el (outline-move-subtree-down): Refactor and improve code.
2438
2439 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2440 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * outline.el (outline-move-subtree-down): Make sure we can move
2443 forward to find the end of the subtree and the insertion point
2444 (bug#19102).
2445
2446 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2447
2448 * progmodes/python.el (python-shell-completion-setup-code):
2449 Use __builtin__ module (or builtins in Python 3) and catch all errors
2450 when importing readline and rlcompleter.
2451
2452 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2453
2454 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
2455 (todo-revert-buffer): New function.
2456 (todo-modes-set-1): Use it as the buffer-local value of
2457 revert-buffer-function.
2458
2459 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2460
2461 * calendar/todo-mode.el (todo-mode): If called interactively, just
2462 display a message saying to call todo-show to enter Todo mode
2463 (Bug#19112).
2464
2465 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
2466
2467 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2468 (Bug#18579)
2469
2470 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
2471 files. (Bug#18579)
2472
2473 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2474
2475 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
2476 remote `buffer-file-name'.
2477
2478 2014-11-29 Leo Liu <sdl.web@gmail.com>
2479
2480 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2481
2482 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2483
2484 Set PYTHONUNBUFFERED on shell startup.
2485
2486 * progmodes/python.el (python-shell-unbuffered): New var.
2487 (python-shell-calculate-process-environment): Use it.
2488
2489 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2490
2491 * net/tramp.el (tramp-action-password): Clean password on subsequent
2492 attempts even if there was no wrong password indication. (Bug#19047)
2493
2494 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
2495 fallback.
2496 (tramp-open-connection-setup-interactive-shell): No need to check
2497 for nil as `tramp-get-remote-locale' return value.
2498
2499 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2500
2501 * vc/vc-git.el (vc-git-command, vc-git--call):
2502 Bind coding-system-for-read and coding-system-for-write to
2503 vc-git-commits-coding-system.
2504 (vc-git-previous-revision): Use "~1" instead of "^", since the
2505 latter is a special character for MS-Windows system shells.
2506
2507 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2508
2509 Improve XEmacs compatibility.
2510
2511 * net/tramp.el (tramp-autoload-file-name-handler):
2512 Wrap `temporary-file-directory' by `symbol-value', it doesn't
2513 exist in XEmacs.
2514 (tramp-read-passwd): Don't use `with-timeout-suspend' and
2515 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
2516 (tramp-time-less-p, tramp-time-subtract): Remove functions.
2517 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
2518 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
2519 * net/tramp-cache.el (tramp-get-file-property):
2520 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2521 Use `time-less-p' and `time-subtract, respectively.
2522
2523 * net/tramp-adb.el (top): Do not require time-date.el.
2524
2525 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
2526
2527 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2528 Check, whether `utf-8' is a valid coding system.
2529
2530 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2531
2532 * vc/vc.el (vc-retrieve-tag): Doc fix.
2533
2534 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
2537 (bug#19152).
2538
2539 2014-11-28 Martin Rudalics <rudalics@gmx.at>
2540
2541 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
2542 * help.el (help-window-old-frame): New variable.
2543 (help-window-select): Default to nil (Bug#11039).
2544 Rewrite doc-string.
2545 (help-window-setup): When the help window appears on another
2546 frame and `help-window-select' is non-nil, give that frame input
2547 focus too (Bug#19012).
2548 (with-help-window): Store selected frame in
2549 help-window-old-frame.
2550
2551 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
2552
2553 * net/newst-treeview.el (newsticker--treeview-load): Take care of
2554 nil value for `newsticker-groups-filename'.
2555
2556 2014-11-28 Daiki Ueno <ueno@gnu.org>
2557
2558 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2559 (epa-sign-region, epa-encrypt-region):
2560 Use `epg-context-set-{passphrase,progress}-callback', instead of
2561 `setf'. This partially reverts commit 9e48a95c (bug#19150).
2562 Reported by José A. Romero L.
2563
2564 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2565
2566 * net/eww.el (eww-restore-history):
2567 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
2568
2569 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2570
2571 * net/newst-backend.el (newsticker--parse-atom-1.0):
2572 Handle embedded (x)html in summary node.
2573
2574 2014-11-27 Sam Steingold <sds@gnu.org>
2575
2576 * menu-bar.el (menu-bar-open): When everything else fails,
2577 use (mouse-menu-bar-map).
2578
2579 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2580
2581 * net/newst-treeview.el (newsticker-groups-filename):
2582 Change default value to nil. Point out that variable is obsolete in doc
2583 string.
2584 (newsticker--treeview-load): Change wording of the questions the
2585 user is asked when `newsticker-groups-filename' is found to be
2586 used and we offer to read and remove the groups file. (Bug#19165)
2587
2588 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2589
2590 * net/eww.el (eww): Record the new URL immediately, so that if the
2591 HTTP fetch fails, we have the right URL in the buffer.
2592 (eww-process-text-input): Don't shorten the input field if
2593 deleting at the last character (bug#19085).
2594 (eww-restore-history): Inhibit change functions while restoring
2595 the history.
2596 (eww-process-text-input): Fix deletion at the start of the field, too.
2597 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
2598 (eww-process-text-input): Try to keep track of the size more reliably.
2599
2600 * dom.el (dom-pp): New function.
2601
2602 2014-11-27 Eli Zaretskii <eliz@gnu.org>
2603
2604 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
2605 Don't assume --long is the default for "bzr log", always specify
2606 it explicitly, in case the user defined an alias for 'log' that
2607 uses some other format.
2608
2609 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2610
2611 * progmodes/python.el (python-eldoc--get-doc-at-point):
2612 Strip shell output before returning. (bug#18794)
2613
2614 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
2615
2616 Fix indentation before `!=' and after `+='. Originally reported
2617 in https://github.com/mooz/js2-mode/issues/174.
2618 * progmodes/js.el (js--indent-operator-re): Make assignments and
2619 (in)equality operator a separate case.
2620 (js--continued-expression-p): Escape the second `+' in the regexp.
2621
2622 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
2625
2626 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2627
2628 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
2629 when querying about new certificates.
2630
2631 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
2632
2633 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
2634 can be strings.
2635 (dom-elements): Protect against non-text nodes.
2636 (dom-non-text-children): New function.
2637
2638 * net/eww.el (eww-tag-title): Use `dom-text'.
2639
2640 2014-11-26 Sam Steingold <sds@gnu.org>
2641
2642 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2643
2644 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2645
2646 * net/eww.el (eww-highest-readability): More dom.el fixes.
2647
2648 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
2649
2650 * net/newst-backend.el (newsticker--parse-generic-items):
2651 Take care of UIDs when adding elements to cache.
2652
2653 2014-11-26 Alan Mackenzie <acm@muc.de>
2654
2655 Remove spurious reference to symbol category_properties.
2656 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
2657
2658 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2659
2660 * net/eww.el: Use the new dom.el accessors throughout.
2661
2662 * net/shr.el: Ditto.
2663
2664 * dom.el: New file.
2665
2666 2014-11-26 Glenn Morris <rgm@gnu.org>
2667
2668 * arc-mode.el (archive-visit-single-files): Add :version.
2669
2670 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2671
2672 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
2673 elements.
2674 (nsm-warnings-ok-p): The new version of this function always
2675 returned nil when everything was OK.
2676
2677 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
2678
2679 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
2680
2681 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
2682 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
2683
2684 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2685
2686 * emacs-lisp/byte-run.el (function-put): Match argument names to
2687 docstring.
2688
2689 2014-11-24 Sam Steingold <sds@gnu.org>
2690
2691 * vc/vc-hooks.el (vc-directory-exclusion-list):
2692 Fix a trivial typo (bug#19171).
2693
2694 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * vc/vc-hooks.el (vc-state-base-face): Don't override
2697 mode-line-inactive.
2698
2699 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2700
2701 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
2702 (eww-process-text-input): Inhibit read only so that input fields
2703 don't get shortened (bug#19085).
2704
2705 2014-11-24 Leo Liu <sdl.web@gmail.com>
2706
2707 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
2708
2709 * window.el (with-temp-buffer-window)
2710 (with-current-buffer-window, with-displayed-buffer-window):
2711 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
2712 * emacs-lisp/cl-lib.el (substring):
2713 * emacs-lisp/cl-extra.el (cl-getf): Use it.
2714
2715 2014-11-24 Eli Zaretskii <eliz@gnu.org>
2716
2717 * isearch.el (isearch-update): Don't assume
2718 pos-visible-in-window-p will return nil when point is hscrolled
2719 out of view. (Bug#19157)
2720
2721 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
2722
2723 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
2724 (eww-follow-link): Follow in new buffer in case of prefix
2725 argument, open externally with double prefix (bug#19130).
2726
2727 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2728
2729 * net/eww.el (eww-display-html): Decode the document-defined charset.
2730 (eww): Pop to the *eww* buffer immediately after executing the
2731 `M-x eww' command to avoid having buffers pop up later.
2732 (eww-display-html): Don't pop the *eww* buffer.
2733 (eww-display-raw): Ditto.
2734 (eww-display-image): Ditto.
2735 (eww-follow-link): Make going to #targets in the page work again.
2736
2737 2014-11-23 Ivan Shmakov <ivan@siamics.net>
2738
2739 * net/eww.el (eww-suggest-uris): New variable.
2740 (eww-suggested-uris): New function.
2741 (eww): Default to URL under point.
2742 (eww-links-at-point): New function.
2743
2744 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2745
2746 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
2747
2748 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2749
2750 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
2751
2752 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2753
2754 * net/eww.el (eww-set-character-encoding): New command and keystroke.
2755 (eww-display-raw): Use it (bug#16225).
2756
2757 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2758
2759 * net/nsm.el (network-security-level): Rename from
2760 `nsm-security-level' and documented.
2761
2762 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
2763 we're sending a password.
2764
2765 * net/nsm.el: New file that implements a Network Security Manager.
2766
2767 * net/network-stream.el (open-network-stream): Add a new
2768 :warn-unless-encrypted parameter.
2769 (network-stream-open-plain): Allow warning unless encrypted.
2770 (network-stream-open-starttls): Call the Network Security Manager.
2771 (network-stream-open-tls): Ditto.
2772
2773 2014-11-23 Leo Liu <sdl.web@gmail.com>
2774
2775 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
2776 (calendar-chinese-to-absolute-for-diary)
2777 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
2778 Handle leap months in Chinese calendar. (Bug#18953)
2779
2780 2014-11-22 Alan Mackenzie <acm@muc.de>
2781
2782 Fix error with `mark-defun' and "protected:" in C++ Mode.
2783 Fixes: debbugs:19134.
2784
2785 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
2786 return code of (label) from c-beginning-of-decl-1.
2787
2788 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
2789
2790 * net/newst-backend.el (newsticker--sentinel-work):
2791 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
2792
2793 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
2796 (tramp-sh-handle-process-file): Propagate `process-environment'.
2797
2798 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
2799 Tramp propagates environment variables now.
2800
2801 2014-11-22 Eric S. Raymond <esr@snark>
2802
2803 * vc/vc-filewise.el: New file to isolate code used only by the
2804 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
2805 live in vc.el and certainly not in vc-hooks.el.
2806
2807 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
2808 This is preparatory to isolating all the 'master' functions
2809 used only by the file-oriented back ends. With this done first,
2810 the substantive diffs will be easier to read.
2811
2812 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2813
2814 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
2815 that is recognized by `help-mode'.
2816
2817 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * desktop.el (desktop-create-buffer): Use activate-mark to set
2820 `mark-active' (bug#19058).
2821
2822 2014-11-21 Eric S. Raymond <esr@snark>
2823
2824 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
2825 nil state.
2826
2827 2014-11-21 Eli Zaretskii <eliz@gnu.org>
2828
2829 * vc/vc.el (vc-deduce-fileset): Support invocation from
2830 *vc-change-log* buffer. (Bug#19084)
2831
2832 2014-11-13 Matthew Leach <matthew@mattleach.net>
2833
2834 * arc-mode.el (archive-visit-single-files): New.
2835 (archive-mode): Visit file if archive contains a single file.
2836 (Bug#1702)
2837
2838 2014-11-21 Ulrich Müller <ulm@gentoo.org>
2839
2840 * vc/vc.el: Fix a typo in the commentary.
2841
2842 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
2843
2844 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
2845 testing and a real log-view mode.
2846
2847 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
2848 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
2849 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
2850 checkout methods; where it matters (which is only in SCCS and RCS)
2851 files are always checked out editable. This may actually have
2852 been dynamically true already - it looks like the vc-next-action
2853 code evolved past visiting the other case. Tested with RCS.
2854
2855 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
2856 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
2857 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
2858 argument from the backend checkin methods. Only the RCS, SCCS,
2859 and CVS back ends tried to do anything with it, and that code was
2860 never exercised. Chiseling away the cruft of decades...
2861
2862 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2863
2864 * net/eww.el (eww-render): Remove a no-op :title setting.
2865
2866 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2867
2868 * net/eww.el (eww-history-limit): New variable.
2869 (eww-save-history): Use it (bug#19105).
2870 (eww-reload): Reload the page in the right buffer.
2871
2872 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2873
2874 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
2875
2876 2014-11-19 Ivan Shmakov <ivan@siamics.net>
2877
2878 * net/eww.el (eww-desktop-remove-duplicates)
2879 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
2880 (eww-mode): Set up desktop mode (bug#18010).
2881 (eww-desktop-data-save, eww-desktop-data-1)
2882 (eww-desktop-history-duplicate, eww-desktop-misc-data)
2883 (eww-restore-desktop): New functions.
2884
2885 2014-11-19 Eli Zaretskii <eliz@gnu.org>
2886
2887 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
2888 correct buffer. (Bug#19101)
2889
2890 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2891
2892 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
2893 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
2894
2895 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
2896
2897 * ido.el (ido-bury-buffer-at-head): New command.
2898 (ido-buffer-completion-map): Bind it to C-S-b.
2899
2900 2014-11-18 Juri Linkov <juri@linkov.net>
2901
2902 * simple.el (next-line-or-history-element): Wrap next-line
2903 in with-no-warnings.
2904 (previous-line-or-history-element): Wrap previous-line
2905 in with-no-warnings.
2906
2907 2014-11-18 Juri Linkov <juri@linkov.net>
2908
2909 * progmodes/grep.el (grep-compute-defaults):
2910 Compute grep-highlight-matches before its use.
2911
2912 2014-11-18 Juri Linkov <juri@linkov.net>
2913
2914 * replace.el (query-replace-from-to-separator): Turn defvar into
2915 defcustom. Wrap char-displayable-p in ignore-errors because an
2916 attempt to autoload char-displayable-p fails during pre-loading.
2917 Move (propertize "\0" ... 'separator t) out of customizable part
2918 to query-replace-read-from.
2919 (query-replace-read-from): Call custom-reevaluate-setting on
2920 query-replace-from-to-separator to reevaluate the separator
2921 depending on the return value of char-displayable-p.
2922 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
2923
2924 2014-11-18 Juri Linkov <juri@linkov.net>
2925
2926 * bindings.el (minibuffer-local-map): Rebind [down] from
2927 next-history-element to next-line-or-history-element, and [up]
2928 from previous-history-element to previous-line-or-history-element.
2929
2930 * simple.el (next-line-or-history-element)
2931 (previous-line-or-history-element): New commands.
2932 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
2933
2934 2014-11-18 Leo Liu <sdl.web@gmail.com>
2935
2936 * emacs-lisp/nadvice.el (define-advice): New macro.
2937 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2938 Add define-advice.
2939 (lisp-font-lock-keywords-1): Add define-advice.
2940
2941 2014-11-18 Daiki Ueno <ueno@gnu.org>
2942
2943 * epg.el (epg-context): New slot EDIT-CALLBACK.
2944 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
2945 (epg-reset): Reset EDIT-CALLBACK of the context.
2946 (epg-start-edit-key): New function.
2947 (epg-edit-key): New function.
2948
2949 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
2950
2951 Port new time stamp handling to Emacs 23.2.
2952 This fix is for Gnus. Reported by Katsumi Yamaoka.
2953 * calendar/time-date.el (time-add, time-subtract, time-less-p):
2954 Use eval-and-compile, not eval-when-compile.
2955
2956 2014-11-18 Daiki Ueno <ueno@gnu.org>
2957
2958 * epg.el (epg-context-set-passphrase-callback)
2959 (epg-context-set-progress-callback): Check if the CALLBACK
2960 argument is a function, instead of a cons.
2961
2962 2014-11-18 Daiki Ueno <ueno@gnu.org>
2963
2964 * epa-file.el (epa-file-insert-file-contents)
2965 (epa-file-write-region): Remove redundant check of
2966 epa-pinentry-mode.
2967 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2968 (epa-sign-region, epa-encrypt-region): Remove redundant check of
2969 epa-pinentry-mode.
2970
2971 2014-11-18 Daiki Ueno <ueno@gnu.org>
2972
2973 * epa-file.el (epa-file-insert-file-contents): Don't show
2974 "*Error*" buffer if input file does not exist.
2975 Reported by Herbert J. Skuhra.
2976
2977 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
2978 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2979
2980 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
2981 An alternative version of the patch from bug#13871.
2982 (c-operators): Add "alignof".
2983 (c-primitive-type-kwds): Add "char16_t", "char32_t".
2984 (c-type-modifier-kwds): Add "constexpr", "noexcept".
2985 (c-modifier-kwds): Add "thread_local".
2986 (c-constant-kwds): Add "nullptr".
2987
2988 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
2989
2990 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
2991 New variables for specifying tildify pattern and representation of
2992 a hard space -- a no-break space by default -- respectively.
2993 Being buffer-local they are much easier to handle than
2994 `tildify-string-alist' and `tildify-pattern-alist' respectively
2995 that have been used so far. They also works better with derived
2996 modes.
2997 (tildify-foreach-region-function): New variable specifying
2998 a function determining portions of buffer that should be
2999 tildified. It allows major modes to create a filtering function
3000 more elaborate than a set of regular expressions. Initialised to
3001 `tildify--deprecated-ignore-evironments' by default to handle now
3002 deprecated `tildify-ignored-environments-alist' variable.
3003 (tildify--foreach-region): A new function that takes
3004 `tildify-foreach-region-function' into account and calls callback
3005 for regions of the buffer that should be tildified.
3006 (tildify-foreach-ignore-environments): A new function which can be
3007 partially applied and used as `tildify-foreach-region-function'.
3008 (tildify-ignored-environments-alist, tildify-pattern)
3009 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3010 (tildify--find-env): Rename from `tildify-find-env' and mark as
3011 obsolete.
3012 (tildify--deprecated-ignore-evironments): New function,
3013 immediately marked as obsolete, used to handle deprecated
3014 `tildify-ignored-environments-alist'.
3015
3016 * textmodes/tex-mode.el (tex-common-initialization):
3017 Set `tildify-space-string' and `tildify-foreach-region-function'
3018 variables in all variants of TeX mode since `tildify-string-alist'
3019 and `tildify-ignored-environments-alist' are now empty by default.
3020
3021 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3022 If encoding supports it use no-break space instead of character
3023 entity; this changes previous default which used a numeric
3024 reference.
3025
3026 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3027 If encoding does not support no-break space, use numeric reference;
3028 this changes previous default which used named entity (“&nbsp;”)
3029 in HTML mode.
3030
3031 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
3032
3033 * calendar/icalendar.el (icalendar-export-alarms):
3034 New customizable variable. (Bug#5433)
3035 (icalendar-export-region): Export alarms as specified in
3036 `icalendar-export-alarms'.
3037 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3038 New functions for exporting alarms.
3039
3040 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3041
3042 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3043
3044 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
3045
3046 Port new time stamp handling to old Emacs and to XEmacs.
3047 This is needed for Gnus, which copies time-date.el and which
3048 runs on older Emacs implementations.
3049 * calendar/time-date.el (with-decoded-time-value):
3050 Handle 'nil' and floating-point arg more compatibly with new Emacs.
3051 (encode-time-value, with-decoded-time-value):
3052 Obsolete only if new Emacs.
3053 (time-add, time-subtract, time-less-p): Define if not new Emacs.
3054
3055 Improve time stamp handling, and be more consistent about it.
3056 This implements a suggestion made in:
3057 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3058 Among other things, this means timer.el no longer needs to
3059 autoload the time-date module.
3060 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3061 * arc-mode.el (archive-ar-summarize):
3062 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3063 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3064 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3065 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3066 * proced.el (proced-time-lessp):
3067 * timezone.el (timezone-time-from-absolute):
3068 * type-break.el (type-break-schedule, type-break-time-sum):
3069 Simplify by using new functionality.
3070 * calendar/cal-dst.el (calendar-next-time-zone-transition):
3071 Do not return time values in obsolete and undocumented (HI . LO)
3072 format; use (HI LO) instead.
3073 * calendar/time-date.el (with-decoded-time-value):
3074 Treat 'nil' as current time. This is mostly for XEmacs.
3075 (encode-time-value, with-decoded-time-value): Obsolete.
3076 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3077 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
3078 * ldefs-boot.el: Update to match new time-date.el
3079 * proced.el: Do not require time-date.
3080
3081 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3082
3083 * net/eww.el (eww-mode): Make the buffer read-only.
3084 (eww-form-text): Inhibit read-only-ness in text input fields
3085 (bug#16476).
3086
3087 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * simple.el (execute-extended-command--shorter): Cut search here.
3090 (execute-extended-command): Instead of here.
3091
3092 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3093
3094 * progmodes/python.el (python-mode): Avoid use of set-local to
3095 keep Emacs 24.x compatibility.
3096
3097 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3098
3099 * net/shr.el (shr): Move to the new defgroup `web'.
3100
3101 * net/eww.el (eww): Ditto.
3102
3103 * simple.el (execute-extended-command): Don't show the help
3104 message if the binding isn't significantly shorter than the
3105 M-x command the user typed (bug#19013).
3106
3107 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
3108
3109 * calendar/icalendar.el (icalendar--convert-tz-offset):
3110 Return complete cons when offsets of standard time and daylight saving
3111 time are equal.
3112 (icalendar-export-region): Fix unbound variable warning.
3113
3114 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3115
3116 * progmodes/python.el (run-python): Allow CMD to be optional and
3117 default it to a safe command, even for Windows. (bug#18596)
3118
3119 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3120
3121 * progmodes/python.el (python-shell-calculate-command):
3122 Rename from python-shell-parse-command. Cleanup.
3123 (run-python, run-python-internal): Use it.
3124 (python-shell-calculate-pythonpath): Rename from
3125 python-new-pythonpath.
3126 (python-shell-calculate-process-environment): Use it.
3127 (python-shell-calculate-exec-path): Add comment.
3128
3129 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
3130
3131 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3132 for date handling.
3133
3134 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
3135
3136 * version.el (emacs-repository-get-version): Use git rev-parse
3137 instead of git log.
3138
3139 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3140
3141 * progmodes/python.el (python-indent-calculate-levels):
3142 Fix indentation behavior multiline dedenter statement. (Bug#18432)
3143
3144 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3145
3146 * progmodes/python.el (python-indent-region):
3147 Use python-indent-line and skip special cases. (Bug#18843)
3148
3149 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
3150
3151 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3152 envelope-from when reporting through sendmail (bug#19054).
3153
3154 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
3155
3156 Add faces for the VC modeline state indicator.
3157 * vc/vc-hooks.el:
3158 (vc-state-faces, vc-state-base-face)
3159 (vc-up-to-date-state, vc-needs-update-state)
3160 (vc-locked-state, vc-locally-added-state)
3161 (vc-conflict-state, vc-removed-state)
3162 (vc-missing-state, vc-edited-state):
3163 New faces.
3164 (vc-default-mode-line-string): Use them
3165
3166 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3169
3170 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3171
3172 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3173
3174 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
3175
3176 * progmodes/python.el (python-eldoc-setup-code): Enhance string
3177 type checks, simplify printing. (Bug#18962)
3178
3179 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
3180
3181 * progmodes/python.el (python-shell-font-lock-kill-buffer):
3182 (python-shell-font-lock-with-font-lock-buffer)
3183 (python-shell-get-buffer, python-ffap-module-path):
3184 Use `derived-mode-p' instead of equality test on `major-mode'.
3185
3186 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3187
3188 * progmodes/python.el (python-shell-virtualenv-root): Rename from
3189 python-shell-virtualenv-path.
3190 (python-shell-internal-get-process-name)
3191 (python-shell-calculate-process-environment)
3192 (python-shell-calculate-exec-path): Use it.
3193
3194 2014-11-14 Eli Zaretskii <eliz@gnu.org>
3195
3196 * bindings.el (search-map): Fix last change: don't use 'kbd' in
3197 bindings.el, since it is not yet loaded when bindings.el is
3198 preloaded.
3199
3200 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3201
3202 * progmodes/python.el (python-shell-completion-get-completions):
3203 Fix previous merge.
3204
3205 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3206
3207 * net/eww.el (eww-render): Don't set the title to the URL.
3208
3209 2014-11-13 Ulrich Müller <ulm@gentoo.org>
3210
3211 * version.el (emacs-repository-get-version): Call `git log'
3212 command with proper format argument (bug#19049).
3213
3214 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3215
3216 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3217
3218 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3219
3220 * net/eww.el (eww-search-words): New command (bug#16258).
3221
3222 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3223
3224 * net/shr.el (shr-inhibit-images): Add a doc string.
3225
3226 * net/eww.el (eww-after-render-hook): New variable.
3227 (eww-render): Use it.
3228
3229 * net/shr.el (shr-descend): Don't descend further than
3230 `max-specpdl-size' allows (bug#16587).
3231 (shr-depth): New variable.
3232 (shr-warning): New variable.
3233
3234 2014-11-13 Ivan Shmakov <ivan@siamics.net>
3235
3236 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3237 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3238
3239 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3240
3241 * net/eww.el (eww): Add comment to clarify.
3242
3243 * net/shr.el (shr-parse-image-data): Remove blocked bits from
3244 external SVG images.
3245 (shr-tag-object): Display images in <object> forms (bug#16244).
3246 (shr-tag-table): Also insert <objects> after the tables.
3247
3248 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
3249
3250 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
3251
3252 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3253
3254 * net/eww.el (eww-form-file): Fix version number.
3255
3256 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3257
3258 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3259
3260 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3261
3262 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3263 (eww-submit-file): New key map of file upload.
3264 (eww-form-file): New file upload button and file name context.
3265 (eww-select-file): Select file and display selected file name.
3266 (eww-tag-input): Handle input tag of file type.
3267 (eww-update-field): Add point offset.
3268 (eww-submit): Add submit with multipart/form-data.
3269
3270 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3271
3272 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3273 Allow taking a buffer to render data in. This allows using several
3274 eww buffers (bug#16211).
3275
3276 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
3277
3278 * net/eww.el (eww-download-callback): Save only the file contents,
3279 not the headers.
3280
3281 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3282
3283 * net/eww.el (eww-data): New plist to store all the data relevant
3284 to a single page, used throughout the file instead of the
3285 variables `eww-current-url', `eww-current-dom',
3286 `eww-current-source', and `eww-current-title'.
3287 (eww-readable): Copy over pertinent data from the parent page.
3288 (eww-save-history): Don't let the history grow infinitely.
3289
3290 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
3291 `eww-up-url', `eww-home-url', `eww-start-url' and
3292 `eww-contents-url' and put the data into the `eww-data' plist.
3293 This allow restoring these values after going back in the history.
3294
3295 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
3296
3297 Allow VTIMEZONE where daylight and standard time zones are equal.
3298 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
3299 * calendar/icalendar.el (icalendar--convert-tz-offset):
3300 Support timezone without daylight saving time.
3301
3302 2014-11-10 Glenn Morris <rgm@gnu.org>
3303
3304 * startup.el (command-line): Handle nil elements in load-path.
3305
3306 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * help.el (view-lossage): Include the actual commands run.
3309
3310 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
3311
3312 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
3313 no state is specified. (Bug#18964)
3314
3315 2014-11-09 Eric Ludlam <zappo@gnu.org>
3316
3317 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3318 Set eieio-cog (current group) to g, which is an improved form of input
3319 group.
3320
3321 2014-11-09 Juri Linkov <juri@jurta.org>
3322
3323 * isearch.el (isearch-message-prefix): Show "Multi-file" and
3324 "Multi-buffer" instead of "Multi". (Bug#13592)
3325
3326 * misearch.el (multi-isearch-file-list):
3327 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
3328 (multi-isearch-end): Reset multi-isearch-buffer-list and
3329 multi-isearch-file-list to nil.
3330
3331 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3334 Don't call byte-compile-preprocess since the result will go through
3335 cconv.
3336 (byte-compile-output-docform): Handle uninterned `name' correctly.
3337 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
3338 to circumvent byte-compiler bug.
3339
3340 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
3341 (macroexp--compiler-macro): Remove left-over debug code.
3342
3343 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
3344
3345 2014-11-08 Juri Linkov <juri@jurta.org>
3346
3347 * simple.el (shell-command): Use buffer-name when output-buffer is
3348 a buffer. (Bug#18096)
3349
3350 2014-11-08 Juri Linkov <juri@jurta.org>
3351
3352 * minibuffer.el (minibuffer-completion-help): Compare this-command
3353 with completion-at-point. (Bug#17809)
3354
3355 2014-11-08 Glenn Morris <rgm@gnu.org>
3356
3357 * emacs-lisp/bytecomp.el (byte-compile-report-error):
3358 Allow the argument to be a string. Due to the vague doc,
3359 it was already being used this way.
3360
3361 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3362
3363 * net/tramp.el (tramp-check-cached-permissions): Include hop in
3364 the constructed Tramp file name. (Bug#18943)
3365
3366 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
3369 (bug#18952).
3370 (cua-set-mark, cua--post-command-handler-1):
3371 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
3372
3373 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3374
3375 * files.el (file-name-non-special): Wrap the call of
3376 `insert-file-contents' by `unwind-protect', in order to set the
3377 buffer's file name anyway. (Bug#18891)
3378
3379 2014-11-08 Alan Mackenzie <acm@muc.de>
3380
3381 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
3382 * progmodes/cc-fonts.el (c-font-lock-declarations):
3383 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
3384 the buffer is sometimes narrowed to less than "limit" (e.g., in
3385 the presence of macros).
3386
3387 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3388
3389 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
3390 only when message appeared in minibuffer. (Bug#18891)
3391
3392 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
3393 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
3394 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
3395 case of errors.
3396
3397 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3400 Don't compile before eval in `eval-and-compile'.
3401 (byte-compile-arglist-warn): Add check for defining macros after their
3402 first use. Check call use even if the function is fboundp.
3403
3404 2014-11-08 Richard Stallman <rms@gnu.org>
3405
3406 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
3407 Check more carefully for mime-part specified character set.
3408 Check for mime-part Content Transfer Encoding.
3409 Notify if no armor found.
3410
3411 2014-11-08 Martin Rudalics <rudalics@gmx.at>
3412
3413 * faces.el (face-set-after-frame-default): Enable running
3414 `window-configuration-change-hook'.
3415
3416 2014-11-07 Juri Linkov <juri@jurta.org>
3417
3418 * replace.el: History for query replace pairs.
3419 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
3420 (query-replace-from-to-separator): New variable.
3421 (query-replace-read-from): Let-bind query-replace-from-to-history
3422 to a list of FROM-TO strings created from query-replace-defaults
3423 and separated by query-replace-from-to-separator. Use it as
3424 the history while reading from the minibuffer. Split the returned
3425 string by the separator to get FROM and TO parts, and add them
3426 to the history variables.
3427 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
3428 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
3429 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
3430
3431 * isearch.el (isearch-text-char-description): Keep characters
3432 intact and put formatted strings with the `display' property.
3433
3434 2014-11-07 Martin Rudalics <rudalics@gmx.at>
3435
3436 * cus-start.el (frame-resize-pixelwise): Fix group.
3437 (frame-inhibit-implied-resize): Add entry.
3438
3439 2014-11-07 Daiki Ueno <ueno@gnu.org>
3440
3441 * epa.el (epa-pinentry-mode): New user option.
3442 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3443 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
3444 * epa-file.el (epa-file-insert-file-contents)
3445 (epa-file-write-region): Respect epa-pinentry-mode.
3446
3447 2014-11-07 Daiki Ueno <ueno@gnu.org>
3448
3449 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
3450 (bug#18979). Reported by Hideki Saito.
3451
3452 2014-11-06 Daiki Ueno <ueno@gnu.org>
3453
3454 * emacs-lisp/package.el (package--display-verify-error): New function.
3455 (package--check-signature): Use it to display output sent to stderr.
3456
3457 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3458
3459 * subr.el (pop): Don't call the getter twice (bug#18968).
3460
3461 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
3462 uses of `funcall'.
3463
3464 2014-11-06 Daiki Ueno <ueno@gnu.org>
3465
3466 * epa.el (epa-error-buffer): New variable.
3467 (epa-display-error): New function.
3468 (epa-decrypt-file, epa-verify-file, epa-verify-region)
3469 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
3470 (epa-sign-file, epa-sign-region, epa-encrypt-region)
3471 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
3472 Use setf instead of epg-context-set-*.
3473 * epa-file.el (epa-file-insert-file-contents):
3474 Use epa-display-error instead of epa-display-info. Mimic the behavior
3475 of jka-compr when decryption program is not found.
3476 (epa-file-write-region): Use epa-display-error instead of
3477 epa-display-info.
3478
3479 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * vc/vc.el (vc-region-history): New command.
3482 (vc-print-log-internal): Use cl-some.
3483
3484 * vc/vc-git.el (vc-git-region-history): New function.
3485 (vc-git-region-history-mode-map)
3486 (vc-git--log-view-long-font-lock-keywords)
3487 (vc-git-region-history-font-lock-keywords): New vars.
3488 (vc-git-region-history-font-lock): New function.
3489 (vc-git-region-history-mode): New major mode.
3490
3491 2014-11-05 Tassilo Horn <tsdh@gnu.org>
3492
3493 * net/eww.el (subr-x): Require subr-x at compile-time because eww
3494 uses string-trim.
3495
3496 2014-11-05 Daiki Ueno <ueno@gnu.org>
3497
3498 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
3499 (epg-error-output): New buffer-local variable.
3500 (epg--start): Initialize epg-error-output.
3501 (epg--process-filter): Record output lines sent to stderr, in
3502 epg-error-output.
3503 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
3504 slot of context.
3505 * epa-file.el (epa-file-insert-file-contents): On error, display
3506 output sent to stderr.
3507 (epa-file-write-region): Likewise.
3508
3509 2014-11-05 Eli Zaretskii <eliz@gnu.org>
3510
3511 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
3512 returned by load-average.
3513
3514 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
3515
3516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
3517 a local copy; setting `inhibit-file-name-handlers' proper might be
3518 more performant. (Bug#18751)
3519
3520 2014-11-05 Glenn Morris <rgm@gnu.org>
3521
3522 * mail/emacsbug.el (report-emacs-bug): No longer include
3523 recent-keys in the report. (Bug#18900)
3524
3525 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
3526
3527 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
3528
3529 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3530
3531 * net/eww.el (eww): Trim URL with `string-trim'.
3532 Suggested by Vibhav Pant <vibhavp@gmail.com>.
3533
3534 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3535
3536 * net/eww.el (eww-score-readability): Don't count comments positively.
3537
3538 * net/shr.el (shr-retransform-dom): Typo fix.
3539
3540 * net/eww.el (eww-score-readability): Parse SVC images correctly.
3541 (eww-display-html): Don't leave point inside forms.
3542
3543 * net/shr.el: Ditto.
3544
3545 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3546
3547 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
3548 edebug-prin1-to-string already handles circularity.
3549
3550 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
3551 autoloading when specified as a lambda.
3552
3553 * simple.el (execute-extended-command--last-typed): New var.
3554 (read-extended-command): Set it.
3555 Don't complete obsolete commands.
3556 (execute-extended-command--shorter-1)
3557 (execute-extended-command--shorter): New functions.
3558 (execute-extended-command): Use them to suggest shorter names.
3559 (indicate-copied-region, deactivate-mark): Use region-active-p.
3560
3561 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
3562
3563 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
3564 local copy of FILENAME, when it is remote. (Bug#18751)
3565
3566 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
3567 an error when the command fails; the return code must indicate.
3568 (tramp-adb-send-command-and-check): Fix docstring.
3569
3570 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3571
3572 * net/shr.el (shr-retransform-dom): Don't ignore elements that
3573 have no children like <br />.
3574
3575 * net/eww.el (eww-display-html): Clear `url-queue'.
3576 (eww-display-pdf): New function.
3577 (eww-render): Display PDFs with `doc-view'.
3578 (url-queue): Require `url-queue' to avoid compilation warning.
3579 (eww-colorize-region): Remove duplicate function.
3580 (eww-tag-body): Use `shr-colorize-region'.
3581
3582 2014-11-03 Yoni Rabkin <yrk@gnu.org>
3583
3584 * net/eww.el (eww-list-bookmarks): Autoload.
3585
3586 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587
3588 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
3589
3590 * net/eww.el (eww-display-html): The charset is called `utf-8',
3591 not `utf8'.
3592 (eww-readable): Decode the saved text correctly.
3593 (eww-readable): Save the history before displaying so that we can
3594 go back to the non-readable version.
3595 (eww-display-html): Don't try to decode the text if we've been
3596 passed in a pre-parsed DOM.
3597 (eww-tag-title): Remove newlines and extra whitespace from the
3598 displayed title.
3599
3600 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3601
3602 * net/eww.el (eww-readable): New command and keystroke.
3603
3604 * net/shr.el (shr-retransform-dom): New function.
3605
3606 * net/eww.el (eww-display-html): Set `eww-current-source' in the
3607 correct buffer.
3608 (eww-view-source): Use it.
3609
3610 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3611
3612 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
3613 (Bug#18603).
3614
3615 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
3616
3617 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
3618
3619 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3620
3621 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
3622
3623 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3624
3625 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
3626 (Bug#18834).
3627
3628 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
3629
3630 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
3631 use as advice.
3632 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
3633
3634 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
3637 (bug#18821).
3638 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
3639
3640 2014-11-01 Michael R. Mauger <michael@mauger.com>
3641
3642 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
3643 syntax, add new keywords, and parse longer keywords first.
3644 (sql-redirect-one): Protect against empty command.
3645 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
3646 to SQL. (Bug#14759)
3647
3648 2014-11-01 Michael R. Mauger <michael@mauger.com>
3649
3650 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
3651 Bug#16814 with let-bind of comint-input-ring variables around read
3652 and save functions.
3653
3654 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/tramp-cache.el (tramp-get-file-property)
3657 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
3658 and `tramp-cache-set-count-*' are bound. Otherwise, there might
3659 be compiler warnings.
3660
3661 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
3662 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
3663
3664 2014-11-01 Eli Zaretskii <eliz@gnu.org>
3665
3666 * progmodes/compile.el (compilation-mode): Turn off deferred
3667 fontifications locally. (Bug#18856)
3668
3669 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
3670
3671 * net/tramp-sh.el (tramp-send-command): Fix the case where the
3672 remote-echo connection property is non-nil (bug#18858).
3673
3674 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * simple.el (newline): Add assertions to try and help catch bug#18913.
3677
3678 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
3679 (bug#18886).
3680 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
3681
3682 2014-11-01 Kim F. Storm <storm@cua.dk>
3683
3684 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
3685 * delsel.el (delete-selection-save-to-register)
3686 (delsel--replace-text-or-position): New vars.
3687 (delete-active-region): Use them.
3688 (delete-selection-repeat-replace-region): New command, moved from
3689 cua-base.el.
3690 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
3691 (cua-repeat-replace-region): Move command to delsel.el.
3692 (cua--init-keymaps): Update binding accordingly.
3693 (cua-mode): Set delete-selection-save-to-register.
3694
3695 2014-11-01 Alan Mackenzie <acm@muc.de>
3696
3697 Make blink-parens work with a closing template delimiter.
3698 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
3699 before calling blink-paren-function, so as to apply syntax-table
3700 properties to the ">".
3701
3702 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
3703
3704 * select.el (gui-get-selection): Comment: data-type ignored on NS.
3705
3706 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
3709 (macroexp--expand-all): Unrelated tweaks.
3710
3711 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
3712
3713 2014-10-30 Glenn Morris <rgm@gnu.org>
3714
3715 * startup.el (command-line): Remove pointless attempt to avoid
3716 statting the file-system (which expand-file-name doesn't do).
3717
3718 2014-10-30 Daniel Colascione <dancol@dancol.org>
3719
3720 Add "enum class" support to C++ mode.
3721 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
3722 (c-after-brace-list-key): New language consts/variables.
3723 * progmodes/cc-engine.el (c-looking-at-decl-block):
3724 Exclude spurious match of "enum struct" from decl-block recognition.
3725 (c-backward-colon-prefixed-type): New function.
3726 (c-backward-over-enum-header): Call above function to extend
3727 recognition of enum structure.
3728
3729 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
3732 (c-lang-defconst):
3733 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
3734
3735 2014-10-30 Eli Zaretskii <eliz@gnu.org>
3736
3737 * progmodes/compile.el (compilation-start):
3738 If compilation-scroll-output is non-nil, don't force window-start of
3739 the compilation buffer to be at beginning of buffer. (Bug#18874)
3740
3741 * startup.el (fancy-about-text): Read the entire tutorial, not
3742 just its first 256 bytes. (Bug#18760)
3743
3744 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
3747 * emacs-lisp/cl-extra.el: Add missing provide.
3748
3749 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
3750 all args are copyable (bug#18767).
3751 (=, <, >, <=, >=): Re-enable the optimization.
3752
3753 2014-10-29 Glenn Morris <rgm@gnu.org>
3754
3755 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
3756
3757 * version.el (emacs-bzr-version, emacs-bzr-get-version):
3758 Revert 2014-10-26 change.
3759
3760 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
3761
3762 Simplify use of current-time and friends.
3763 * allout-widgets.el (allout-widgets-hook-error-handler):
3764 * calendar/appt.el (appt-display-message):
3765 * calendar/icalendar.el (icalendar--convert-float-to-ical):
3766 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
3767 (timeclock-last-period, timeclock-day-base):
3768 * eshell/em-ls.el (eshell-ls-file):
3769 * eshell/esh-util.el (eshell-parse-ange-ls):
3770 * generic-x.el (named-database-print-serial):
3771 * net/newst-backend.el (newsticker--get-news-by-url-callback)
3772 (newsticker-get-news, newsticker--sentinel-work)
3773 (newsticker--image-get, newsticker--image-sentinel):
3774 * net/tramp-sh.el (tramp-get-remote-touch):
3775 * progmodes/opascal.el (opascal-debug-log):
3776 * textmodes/remember.el (remember-mail-date)
3777 (remember-store-in-files):
3778 * vc/vc-annotate.el (vc-annotate-display-autoscale)
3779 (vc-default-annotate-current-time):
3780 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
3781 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
3782 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
3783 Omit unnecessary call to current-time.
3784 * calendar/time-date.el (time-to-seconds) [!float-time]:
3785 * vc/vc-annotate.el (vc-annotate-convert-time):
3786 Use current time if arg is nil, to be compatible with float-time.
3787 (time-date--day-in-year): New function, with most of the guts of
3788 the old time-to-day-in-year.
3789 (time-to-day-in-year): Use it.
3790 (time-to-days): Use it, to avoid decoding the same time stamp twice.
3791 * calendar/timeclock.el (timeclock-time-to-date):
3792 Arg is now optional, like current-time-string.
3793 (timeclock-update-mode-line):
3794 Don't call current-time twice to get the current time stamp,
3795 as this can lead to inconsistent results.
3796 * completion.el (cmpl-hours-since-origin):
3797 * ido.el (ido-time-stamp):
3798 * vc/vc-annotate.el (vc-annotate-convert-time):
3799 Simplify by using float-time.
3800 * completion.el (save-completions-to-file):
3801 Rename local var to avoid confusion.
3802 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
3803 time-to-seconds now behaves like float-time with respect to nil arg.
3804 * subr.el (progress-reporter-do-update):
3805 Don't call float-time unless needed.
3806
3807 2014-10-29 Leo Liu <sdl.web@gmail.com>
3808
3809 * net/rcirc.el (rcirc-fill-column): Use function.
3810 (rcirc-markup-fill): Remove adjustment.
3811
3812 2014-10-28 Christopher Schmidt <ch@ristopher.com>
3813
3814 * calc/calc.el (quick-calc):
3815 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
3816
3817 2014-10-28 Sam Steingold <sds@gnu.org>
3818
3819 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
3820 the sake of `window-body-width' (in addition to `frame-width').
3821
3822 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
3823
3824 * version.el: Fix some fallback values to conform to the actual
3825 release number.
3826
3827 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
3828
3829 * Makefile.in: Change some production names so they're neutral
3830 about the repository type.
3831
3832 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
3835 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
3836 during initialization. (Bug#18774)
3837
3838 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
3839
3840 * ses.el (macroexp): Add require for this package, so that
3841 function `ses--cell' gets macroexp-quote --- this change was
3842 supposed to be in my previous commit, but left out by mistake.
3843 (ses--cell): Do not make formula a macroexp-quote of value when
3844 value, not formula, is *skip*.
3845
3846 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3847
3848 * ses.el (macroexp): Add require for this package, so that function
3849 `ses--cell gets macroexp-quote.
3850 (ses--cell): Makes formula a macroexp-quote of value when formula
3851 is nil. The rationale of this changr is to allow in the future
3852 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
3853 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
3854 reference list REFLIST would be re-computed after load --- thus
3855 trading off load time against file size.
3856
3857 * emacs-lisp/package.el (package--alist-to-plist-args):
3858 Use macroexp-quote instead of a lambda expression which has the same
3859 content as macroexp-quote.
3860 (macroexp): Add require for this package, so that function
3861 `package--alist-to-plist-args' gets macroexp-quote.
3862
3863 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
3864
3865 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * term/ns-win.el (ns-store-cut-buffer-internal)
3868 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
3869
3870 2014-10-24 Martin Rudalics <rudalics@gmx.at>
3871
3872 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
3873 Calculate increment from last position instead of window edge.
3874 Add right- and bottom-divider bindings to transient map.
3875
3876 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
3879 even if :predicate was nil, for the benefit of typep.
3880 Record the name of the predicate for typep's use.
3881 (cl--make-type-test): Use pcase. Obey new
3882 cl-deftype-satisfies property.
3883
3884 * epg.el: Use cl-defstruct.
3885 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
3886 (epg-data-string): Define via cl-defstruct.
3887 (epg--gv-nreverse): New macro.
3888 (epg-context--make): New constructor (provided vi cl-defstruct).
3889 (epg-make-context): Rewrite using it.
3890 (epg-context-protocol, epg-context-program)
3891 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
3892 (epg-context-include-certs, epg-context-cipher-algorithm)
3893 (epg-context-digest-algorithm, epg-context-compress-algorithm)
3894 (epg-context-passphrase-callback, epg-context-progress-callback)
3895 (epg-context-signers, epg-context-sig-notations, epg-context-process)
3896 (epg-context-output-file, epg-context-result, epg-context-operation)
3897 (epg-context-pinentry-mode): Define using cl-defstruct.
3898 (epg-context-set-protocol, epg-context-set-program)
3899 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
3900 (epg-context-set-digest-algorithm)
3901 (epg-context-set-sig-notations, epg-context-set-process)
3902 (epg-context-set-output-file, epg-context-set-result)
3903 (epg-context-set-operation, epg-context-set-pinentry-mode)
3904 (epg-context-set-compress-algorithm): Remove. Use setf instead.
3905 (epg-context-set-armor, epg-context-set-textmode)
3906 (epg-context-set-signers): Redefine using setf
3907 and declare as obsolete.
3908 (epg-context-set-passphrase-callback)
3909 (epg-context-set-progress-callback): Use setf.
3910 (epg-signature-notations): Rename from epg-sig-notations.
3911 (epg-make-signature, epg-signature-status, epg-signature-key-id)
3912 (epg-signature-validity, epg-signature-fingerprint)
3913 (epg-signature-creation-time, epg-signature-expiration-time)
3914 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
3915 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
3916 (epg-signature-set-status, epg-signature-set-key-id)
3917 (epg-signature-set-validity, epg-signature-set-fingerprint)
3918 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
3919 (epg-signature-set-pubkey-algorithm)
3920 (epg-signature-set-digest-algorithm, epg-signature-set-class)
3921 (epg-signature-set-version, epg-signature-set-notations): Remove.
3922 Use setf instead.
3923 (epg-make-new-signature, epg-new-signature-type)
3924 (epg-new-signature-pubkey-algorithm)
3925 (epg-new-signature-digest-algorithm, epg-new-signature-class)
3926 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
3927 Define using cl-defstruct.
3928 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
3929 (epg-key-user-id-list): Define using cl-defstruct.
3930 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
3931 Use setf instead.
3932 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
3933 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
3934 (epg-sub-key-id, epg-sub-key-creation-time)
3935 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
3936 cl-defstruct.
3937 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
3938 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
3939 (epg-user-id-signature-list): Define using cl-defstruct.
3940 (epg-user-id-set-signature-list): Remove. Use setf instead.
3941 (epg-make-key-signature, epg-key-signature-validity)
3942 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
3943 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
3944 (epg-key-signature-user-id, epg-key-signature-class)
3945 (epg-key-signature-exportable-p): Define using cl-defstruct.
3946 (epg-make-sig-notation, epg-sig-notation-name)
3947 (epg-sig-notation-value, epg-sig-notation-human-readable)
3948 (epg-sig-notation-critical): Define using cl-defstruct.
3949 (epg-sig-notation-set-value): Remove. Use setf instead.
3950 (epg-make-import-status, epg-import-status-fingerprint)
3951 (epg-import-status-reason, epg-import-status-new)
3952 (epg-import-status-user-id, epg-import-status-signature)
3953 (epg-import-status-sub-key, epg-import-status-secret): Define using
3954 cl-defstruct.
3955 (epg-make-import-result, epg-import-result-considered)
3956 (epg-import-result-no-user-id, epg-import-result-imported)
3957 (epg-import-result-imported-rsa, epg-import-result-unchanged)
3958 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
3959 (epg-import-result-new-signatures, epg-import-result-new-revocations)
3960 (epg-import-result-secret-read, epg-import-result-secret-imported)
3961 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
3962 (epg-import-result-imports): Define using cl-defstruct.
3963
3964 * emacs-lisp/package.el: Require EPG during macroexpansion.
3965 (package--check-signature, package-import-keyring): Use setf instead of
3966 epg-context-set-home-directory.
3967
3968 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
3971
3972 2014-10-23 Leo Liu <sdl.web@gmail.com>
3973
3974 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
3975 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
3976 (cfengine3-current-defun): New function.
3977 (cfengine3-mode): Set add-log-current-defun-function.
3978
3979 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * select.el: Use lexical-binding.
3982 (gui-set-selection): Provide an implementation for non-GUI frames
3983 (bug#18791).
3984 * term/x-win.el: Use lexical-binding.
3985 (x-clipboard-yank): Fix up missed renamings.
3986 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
3987 (w32--set-selection): Fix up var names.
3988 * term/pc-win.el: Use lexical-binding.
3989 (w16-selection-exists-p): Silence compiler warning.
3990 (w16-selection-owner-p): Fix up missed renamings.
3991
3992 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
3993
3994 * frame.el (frame-notice-user-settings): Fix excessive quoting.
3995
3996 2014-10-22 Tassilo Horn <tsdh@gnu.org>
3997
3998 * doc-view.el (doc-view-open-text): View the document's plain text
3999 in the current buffer instead of a new one.
4000 (doc-view-toggle-display): Handle the case where the current
4001 buffer contains the plain text contents of the document.
4002 (doc-view-initiate-display): Don't switch to fallback mode if the
4003 user wants to view the doc's plain text.
4004 (doc-view-set-doc-type): Use assoc-string instead of
4005 assoc-ignore-case.
4006
4007 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * subr.el (read-key): Fix clicks on the mode-line.
4010 (set-transient-map): Return exit function.
4011
4012 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4013 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4014 (mouse-yank-secondary): Use gui-get-selection.
4015 (mouse--down-1-maybe-follows-link): Use read-key.
4016
4017 * xt-mouse.el: Add `event-kind' property on the fly from
4018 xterm-mouse-translate-1 rather than statically at the outset.
4019
4020 2014-10-21 Daniel Colascione <dancol@dancol.org>
4021
4022 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4023 change window configuration when we turn it off.
4024
4025 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 Get rid of backend-dependent selection-handling functions for kill/yank
4028 and make it generic instead by relying on the lower-level selection
4029 management functions.
4030
4031 * select.el (select-enable-clipboard): Rename from
4032 gui-select-enable-clipboard.
4033 (select-enable-primary): Move from x-win.el and rename from
4034 x-select-enable-primary.
4035 (gui-last-selected-text): Remove.
4036 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4037 New vars.
4038 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4039 (gui-select-text-alist, gui-selection-value-alist): Remove.
4040 (x-select-request-type): Move from x-win.el.
4041 (gui--selection-value-internal): New function, taken from x-win's
4042 x-selection-value-internal.
4043 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4044 (gui-set-selection-alist): Rename from gui-own-selection-alist and
4045 extend it to handle a nil value as a "disown" request.
4046 (gui-disown-selection-alist): Remove.
4047 (xselect-convert-to-delete): Adjust accordingly.
4048 (gui-set-selection): Simplify accordingly as well. Use dotimes.
4049
4050 * term/x-win.el (x-last-selected-text-primary)
4051 (x-select-enable-primary): Remove (moved to select.el).
4052 (x-select-request-type): Move to select.el.
4053 (x-selection-value-internal, x--selection-value): Remove functions.
4054 (gui-selection-value, gui-select-text): Remove moethods.
4055 (gui-set-selection): Merge own and disown methods.
4056
4057 * term/w32-win.el (w32--select-text, w32--get-selection-value):
4058 Delete function (move functionality into w32--set-selection and
4059 w32--get-selection).
4060 (gui-select-text, gui-selection-value): Don't define methods.
4061 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4062 New functions.
4063 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4064 Use them.
4065 (gui-selection-exists-p): Adjust to new name of C primitive.
4066
4067 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4068 test of gui-select-enable-clipboard, to make it usable as
4069 a gui-get-selection method.
4070 (gui-selection-exists-p): Adjust to new name of C primitive.
4071 (gui-set-selection): Merge own and disown methods.
4072 (gui-select-text, gui-selection-value): Delete methods.
4073 (w16--select-text): Delete function.
4074
4075 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4076 (ns-selection-value): Remove functions.
4077 (gui-select-text, gui-selection-value): Don't define method any more.
4078 (gui-set-selection): Merge the old own and disown methods.
4079 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4080 underlying C primitive.
4081
4082 * startup.el (command-line): Adjust now that `gui-method' expects nil
4083 for ttys.
4084
4085 * frame.el (gui-method): Use window-system rather than framep.
4086 (gui-method-declare): The tty case is now nil rather than t.
4087 (make-frame): Adjust accordingly.
4088
4089 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * net/newst-reader.el (newsticker--image-read): Simplify.
4092 (newsticker--icon-read): Use dolist and fix free var error.
4093
4094 * imenu.el (imenu--menubar-keymap): New var.
4095 (imenu-add-to-menubar): Set it to remember the keymap we used.
4096 (imenu-update-menubar): Use it instead of asking lookup-key.
4097
4098 * obsolete/cc-compat.el: Make obsolete (bug#18561).
4099
4100 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4101
4102 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4103 case (bug#18767).
4104
4105 2014-10-21 Glenn Morris <rgm@gnu.org>
4106
4107 * Merge in all changes up to version 24.4 release.
4108
4109 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4112 case (bug#18767).
4113
4114 2014-10-20 Glenn Morris <rgm@gnu.org>
4115
4116 * Merge in all changes up to 24.4 release.
4117
4118 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
4119
4120 * net/newst-backend.el
4121 (newsticker--image-download-by-url-callback): Make this function
4122 actually work: Check status properly, then save image.
4123
4124 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4127 `this-event'.
4128 (mouse-drag-line): Unless there's no actual mouse, use the event's
4129 position info.
4130
4131 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * textmodes/css-mode.el (scss-mode): New major-mode.
4134 (css-mode-syntax-table): Use d style comment, to ease the scss case.
4135 (css-ident-re): Allow things like @-moz-keyframes.
4136 (scss--hash-re): New const.
4137 (css--font-lock-keywords): New function, extracted from
4138 css-font-lock-keywords.
4139
4140 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
4141
4142 * net/newst-backend.el: Require url-parse.
4143 (newsticker--get-news-by-wget): Store feed name as process property.
4144 (newsticker--sentinel): Read feed name from process property.
4145 (newsticker--sentinel-work): Rename argument name to feed-name.
4146 Rename variable imageurl to image-url. Pick icon url from Atom
4147 1.0 data. Launch download of feed icon.
4148 (newsticker--get-icon-url-atom-1.0): New.
4149 (newsticker--unxml)
4150 (newsticker--unxml-node)
4151 (newsticker--unxml-attribute): Documentation.
4152 (newsticker--icons-dir): New.
4153 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4154 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4155 (newsticker--image-download-by-wget): New. Use process properties
4156 for storing informations.
4157 (newsticker--image-sentinel): Read informations from process properties.
4158 (newsticker--image-save)
4159 (newsticker--image-remove)
4160 (newsticker--image-download-by-url)
4161 (newsticker--image-download-by-url-callback): New.
4162 (newsticker-opml-export): Handle url list entries containing a
4163 function instead of an url string.
4164
4165 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4166 (newsticker--print-extra-elements)
4167 (newsticker--do-print-extra-element):
4168 Documentation (newsticker--image-read): Optionally limit image height.
4169 Use imagemagick if possible.
4170 (newsticker--icon-read): New.
4171
4172 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4173 (newsticker--treeview-tree-expand): Use feed icons in treeview.
4174 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
4175 (newsticker--tree-widget-leaf-icon): Use feed icon.
4176
4177 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4180 Use help-function-arglist instead.
4181
4182 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4183 (eieio--with-scoped-class): Use `declare'.
4184 (eieio-defclass): Remove compatibility code.
4185 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4186 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4187
4188 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
4189
4190 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4191
4192 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4193 replacements to stock names before stock names in a list.
4194 Cdr may be a list, each name is tried in turn until one is found.
4195
4196 2014-10-18 Alan Mackenzie <acm@muc.de>
4197
4198 Check that a "macro" found near point-min isn't a ## operator.
4199 Fixes bug #18749.
4200 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4201 (c-beginning-of-macro): Use the above new function.
4202
4203 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
4204
4205 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4206 correct data to `gnutls-boot' (Bug#18664).
4207 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4208
4209 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
4210
4211 * whitespace.el (whitespace-style, whitespace-big-indent)
4212 (whitespace-big-indent-regexp, whitespace-style-value-list)
4213 (whitespace-toggle-option-alist, whitespace-interactive-char)
4214 (whitespace-toggle-options)
4215 (global-whitespace-toggle-options, whitespace-help-text)
4216 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4217 style to `whitespace-mode' to indicate that the line indentation
4218 is too deep. By default, 32 SPACEs or four TABs are considered
4219 too many but `whitespace-big-indent-regexp' can be configured.
4220
4221 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
4222
4223 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4224 tildify-mode-alist.
4225
4226 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4229 (defclass, defgeneric, defmethod): Add doc-string position.
4230 (with-slots): Require cl-lib.
4231
4232 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4233 (list-of): New type.
4234 (eieio--typep): Remove.
4235 (eieio-perform-slot-validation): Use cl-typep instead.
4236
4237 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4238
4239 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4240
4241 2014-10-16 Alan Mackenzie <acm@muc.de>
4242
4243 Trigger showing when point is in the "periphery" of a line or just
4244 inside a paren.
4245 * paren.el (show-paren-style, show-paren-delay)
4246 (show-paren-priority, show-paren-ring-bell-on-mismatch):
4247 Remove superfluous :group specifications.
4248 (show-paren-when-point-inside-paren)
4249 (show-paren-when-point-in-periphery): New customizable variables.
4250 (show-paren-highlight-openparen): Make into a defcustom.
4251 (show-paren--unescaped-p, show-paren--categorize-paren)
4252 (show-paren--locate-near-paren): New defuns.
4253 (show-paren--default): Refaactor and trigger on more paren
4254 positions.
4255 (show-paren-function): Small consequential changes.
4256
4257 2014-10-16 Tom Tromey <tom@tromey.com>
4258
4259 * files.el (auto-mode-alist): Use javascript-mode for .jsm
4260 (bug #18719).
4261
4262 2014-10-16 Eli Zaretskii <eliz@gnu.org>
4263
4264 * international/characters.el (bracket-type): Force pre-loading of
4265 uni-brackets.el.
4266
4267 2014-10-16 Alan Mackenzie <acm@muc.de>
4268
4269 * cus-edit.el (custom-command-apply): Specify the return value in
4270 the doc string.
4271 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4272 custom-command-apply has returned non-nil.
4273
4274 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4275
4276 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4277 Remove incorrect handling of eldoc-print-after-edit.
4278 (eldoc-message-commands, eldoc-last-data): Use defvar.
4279 * loadup.el (emacs-lisp/eldoc): Load it.
4280
4281 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4282 (m4-mode): Use it.
4283 (m4--quoted-p): New function.
4284 (m4-font-lock-keywords): Don't handle #..\n comments any more.
4285 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4286 for most special characters.
4287
4288 * progmodes/compile.el (compilation--previous-directory): Simplify.
4289 (compilation-next-error): Ensure the parse before we look at
4290 compilation-message property.
4291
4292 2014-10-15 Eli Zaretskii <eliz@gnu.org>
4293
4294 * simple.el (what-cursor-position):
4295 * descr-text.el (describe-char): Update to support the new bidi
4296 characters.
4297
4298 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
4299 Force bidi-paragraph-direction to 'left-to-right'. This fixes
4300 buffer-menu display when the first buffer happens to start with
4301 R2L letter.
4302
4303 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * progmodes/elisp-mode.el (elisp--local-variables-1):
4306 Handle quoted expressions (bug#18688).
4307
4308 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
4309 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4312 Reduce the amount of set environment variable commands.
4313
4314 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4315
4316 Fix import completion. (Bug#18582)
4317 * progmodes/python.el (python-shell-completion-get-completions):
4318 Fix import case regexp.
4319
4320 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
4323 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
4324 * progmodes/prolog.el (prolog-electric--underscore): Same.
4325
4326 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
4329
4330 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4331
4332 * cus-start.el (all): Add missing ns and boolean to
4333 ns-use-fullscreen-animation.
4334
4335 2014-10-11 Leo Liu <sdl.web@gmail.com>
4336
4337 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
4338 Use strings.
4339 (cfengine3-create-imenu-index): New function.
4340 (cfengine3-mode): Use it for `imenu-create-index-function'.
4341 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
4342 buffer is empty.
4343
4344 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4345
4346 * cus-start.el (all): Add ns-use-fullscreen-animation.
4347
4348 2014-10-11 Glenn Morris <rgm@gnu.org>
4349
4350 * calendar/diary-lib.el (diary-display-function):
4351 Drop support for deprecated nil and list forms.
4352 (diary-list-entries): Update for the above.
4353 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
4354
4355 2014-10-10 Leo Liu <sdl.web@gmail.com>
4356
4357 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
4358 (Bug#18656)
4359
4360 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * select.el (gui-selection-exists-p-alist): New method.
4363 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
4364 * simple.el (deactivate-mark): Use it.
4365 * term/x-win.el (gui-selection-exists-p):
4366 * term/w32-win.el (gui-selection-exists-p):
4367 * term/pc-win.el (gui-selection-exists-p):
4368 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
4369
4370 2014-10-10 Glenn Morris <rgm@gnu.org>
4371
4372 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
4373 Fix :type. Allow t to mean no limit.
4374 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
4375
4376 2014-10-09 Glenn Morris <rgm@gnu.org>
4377
4378 * frame.el (display-monitor-attributes-list): Doc tweaks.
4379
4380 2014-10-09 Eli Zaretskii <eliz@gnu.org>
4381
4382 * faces.el (display-grayscale-p): Mention in the doc string that
4383 the argument can be either a display name or a frame.
4384
4385 * frame.el (display-pixel-height, display-pixel-width)
4386 (display-mm-height, display-mm-width, display-backing-store)
4387 (display-save-under, display-planes, display-color-cells)
4388 (display-visual-class, display-monitor-attributes-list)
4389 (display-screens): Mention in the doc string that the argument can
4390 be either a display name or a frame. Improve the docs of the
4391 monitor attributes. (Bug#18636)
4392
4393 2014-10-09 Martin Rudalics <rudalics@gmx.at>
4394
4395 * term.el (term-window-width): Subtract 1 from the width when
4396 any fringe has zero width, not just the right fringe. (Bug#18601)
4397
4398 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
4401
4402 2014-10-08 Leo Liu <sdl.web@gmail.com>
4403
4404 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
4405
4406 2014-10-08 Glenn Morris <rgm@gnu.org>
4407
4408 * calendar/cal-x.el (calendar-dedicate-diary):
4409 Drop support for recently deleted aliases.
4410
4411 2014-10-08 Leo Liu <sdl.web@gmail.com>
4412
4413 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
4414 Always return a syntax. Replace call-process-shell-command with
4415 process-file. Ensure cfengine-mode-syntax-functions-regex is
4416 always set. Ensure cache when cfengine-cf-promises fails.
4417 (Bug#18620)
4418
4419 2014-10-07 Glenn Morris <rgm@gnu.org>
4420
4421 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
4422
4423 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
4424
4425 Sync with upstream verilog-mode revision c075a492.
4426 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4427 (verilog-menu): Add AUTOINSERTLAST.
4428 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
4429 is nil, fix indenting initial/final to match always statements, bug825.
4430 Reported by Tim Clapp.
4431 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
4432 bug557. Reported by ZeDong Mao and Jason Forkey.
4433 (verilog-read-decls): Fix parsing typed interfaces.
4434 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
4435 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
4436 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
4437 Reported by Pierre-David Pfister.
4438 (verilog-auto-insert-lisp): Doc fix.
4439 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
4440 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
4441 (verilog-sk-ovm-class, verilog-sk-uvm-object)
4442 (verilog-sk-uvm-component): Fix missing string keyword in class
4443 skeletons, bug824. Reported by eldad faruhi.
4444
4445 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * term/w32-win.el: Move all code from 32-common-fns.el here.
4448 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
4449 console as well (bug#18629).
4450 * w32-common-fns.el: Remove.
4451 * loadup.el: Don't load w32-common-fns.el.
4452 * w32-fns.elc: Don't require w32-common-fns.
4453
4454 * icomplete.el: Move Iswitchb autoload here. Much simpler.
4455 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
4456 Remove redundant obsolescence thingy.
4457 * loadup.el: Don't load obsolete/loaddefs.el.
4458 * Makefile.in (obsolete-autoloads): Remove.
4459 (AUTOGENEL): Remove obsolete/loaddefs.el.
4460
4461 2014-10-06 Glenn Morris <rgm@gnu.org>
4462
4463 * Makefile.in (obsolete-autoloads): Write to a separate file,
4464 to workaround autoloads bug. (Bug#17407)
4465 (AUTOGENEL): Add obsolete/loaddefs.el.
4466 * loadup.el: Load obsolete/loaddefs.el if present.
4467 * subr.el (do-after-load-evaluation):
4468 Don't warn about obsolete/loaddefs.el.
4469
4470 * menu-bar.el (menu-bar-games-menu): Remove landmark.
4471 It has zero relationship to a game.
4472
4473 2014-10-06 Leo Liu <sdl.web@gmail.com>
4474
4475 * imenu.el (imenu): Re-write for clarity.
4476
4477 2014-10-06 Glenn Morris <rgm@gnu.org>
4478
4479 Remove calendar code obsolete since at least version 23.1.
4480 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
4481 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
4482 (calendar-goto-bahai-date, list-bahai-diary-entries)
4483 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
4484 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4485 (insert-yearly-bahai-diary-entry):
4486 * calendar/cal-china.el (chinese-calendar-time-zone)
4487 (chinese-calendar-location-name)
4488 (chinese-calendar-daylight-time-offset)
4489 (chinese-calendar-standard-time-zone-name)
4490 (chinese-calendar-daylight-time-zone-name)
4491 (chinese-calendar-daylight-savings-starts)
4492 (chinese-calendar-daylight-savings-ends)
4493 (chinese-calendar-daylight-savings-starts-time)
4494 (chinese-calendar-daylight-savings-ends-time)
4495 (chinese-calendar-celestial-stem)
4496 (chinese-calendar-terrestrial-branch)
4497 (calendar-absolute-from-chinese, calendar-print-chinese-date)
4498 (calendar-goto-chinese-date):
4499 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
4500 (calendar-print-coptic-date, coptic-prompt-for-date)
4501 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
4502 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
4503 * calendar/cal-french.el (calendar-absolute-from-french)
4504 (calendar-print-french-date, calendar-goto-french-date):
4505 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
4506 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
4507 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
4508 (holiday-rosh-hashanah-etc, holiday-hanukkah)
4509 (holiday-passover-etc, holiday-tisha-b-av-etc)
4510 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
4511 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
4512 (insert-monthly-hebrew-diary-entry)
4513 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
4514 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
4515 (diary-sabbath-candles):
4516 * calendar/cal-islam.el (calendar-absolute-from-islamic)
4517 (calendar-print-islamic-date, calendar-goto-islamic-date)
4518 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
4519 (mark-islamic-diary-entries, insert-islamic-diary-entry)
4520 (insert-monthly-islamic-diary-entry)
4521 (insert-yearly-islamic-diary-entry):
4522 * calendar/cal-iso.el (calendar-absolute-from-iso)
4523 (calendar-print-iso-date, calendar-iso-read-args)
4524 (calendar-goto-iso-date, calendar-goto-iso-week):
4525 * calendar/cal-julian.el (calendar-absolute-from-julian)
4526 (calendar-print-julian-date, calendar-goto-julian-date)
4527 (calendar-absolute-from-astro, calendar-print-astro-day-number)
4528 (calendar-goto-astro-day-number):
4529 * calendar/cal-mayan.el (calendar-print-mayan-date)
4530 (calendar-next-haab-date, calendar-previous-haab-date)
4531 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
4532 (calendar-next-calendar-round-date)
4533 (calendar-previous-calendar-round-date)
4534 (calendar-absolute-from-mayan-long-count)
4535 (calendar-goto-mayan-long-count-date):
4536 * calendar/cal-move.el (scroll-calendar-left)
4537 (scroll-calendar-right, scroll-calendar-left-three-months)
4538 (scroll-calendar-right-three-months):
4539 * calendar/cal-persia.el (calendar-absolute-from-persian)
4540 (calendar-print-persian-date, persian-prompt-for-date)
4541 (calendar-goto-persian-date):
4542 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
4543 * calendar/calendar.el (view-diary-entries-initially)
4544 (mark-diary-entries-in-calendar, calendar-today-face)
4545 (diary-face, holiday-face, view-calendar-holidays-initially)
4546 (mark-holidays-in-calendar, initial-calendar-window-hook)
4547 (today-visible-calendar-hook, today-invisible-calendar-hook)
4548 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
4549 (bahai-diary-entry-symbol, american-date-diary-pattern)
4550 (european-date-diary-pattern, european-calendar-display-form)
4551 (american-calendar-display-form, holidays-in-diary-buffer)
4552 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
4553 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
4554 (fancy-diary-buffer, increment-calendar-month)
4555 (extract-calendar-month, extract-calendar-day)
4556 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
4557 (mark-visible-calendar-date, calendar-version):
4558 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
4559 (diary-display-hook, list-diary-entries-hook)
4560 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
4561 (nongregorian-diary-marking-hook, print-diary-entries-hook)
4562 (abbreviated-calendar-year, number-of-diary-entries)
4563 (view-other-diary-entries, add-to-diary-list)
4564 (include-other-diary-files, simple-diary-display)
4565 (fancy-diary-display, print-diary-entries, mark-diary-entries)
4566 (mark-sexp-diary-entries, mark-included-diary-files)
4567 (mark-calendar-days-named, mark-calendar-month)
4568 (mark-calendar-date-pattern, sort-diary-entries)
4569 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
4570 (insert-weekly-diary-entry, insert-monthly-diary-entry)
4571 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
4572 (insert-block-diary-entry, insert-cyclic-diary-entry)
4573 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
4574 * calendar/holidays.el (general-holidays, oriental-holidays)
4575 (local-holidays, other-holidays, hebrew-holidays)
4576 (christian-holidays, islamic-holidays, bahai-holidays)
4577 (solar-holidays, list-calendar-holidays)
4578 (check-calendar-holidays, mark-calendar-holidays)
4579 (filter-visible-calendar-holidays):
4580 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
4581 (diary-phases-of-moon): Remove obsolete aliases.
4582 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
4583 * calendar/cal-x.el (calendar-one-frame-setup)
4584 (calendar-only-one-frame-setup, calendar-two-frame-setup):
4585 Remove obsolete functions.
4586 (cal-x-load-hook): Remove obsolete hook.
4587 * calendar/calendar.el (european-calendar-style):
4588 Remove obsolete variable.
4589 (calendar-date-style): No longer consult european-calendar-style.
4590 * calendar/calendar.el (european-calendar, american-calendar):
4591 Remove obsolete commands.
4592 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
4593 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
4594 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
4595 Use the face `diary' instead of the variable `diary-face'.
4596 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
4597 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
4598 * calendar/icalendar.el (icalendar--date-style): Remove function.
4599 Replace all uses with calendar-date-style.
4600 * textmodes/remember.el (calendar-date-style): Declare.
4601 (remember-diary-convert-entry):
4602 No longer consult european-calendar-style.
4603
4604 2014-10-05 Leo Liu <sdl.web@gmail.com>
4605
4606 * imenu.el (imenu-default-goto-function): Fix typo.
4607
4608 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4609
4610 * net/ntlm.el (ntlm-build-auth-request):
4611 Add NTLM2 Session support. (Bug#15603)
4612
4613 2014-10-04 Glenn Morris <rgm@gnu.org>
4614
4615 * apropos.el (apropos-symbols-internal):
4616 Avoid error with non-symbol properties. (Bug#18337#16)
4617
4618 * startup.el (command-line):
4619 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
4620
4621 2014-10-04 Martin Rudalics <rudalics@gmx.at>
4622
4623 * window.el (window-full-height-p): Make it behave correctly for
4624 minibuffer window.
4625 (window-current-scroll-bars): Fix code.
4626 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
4627 window-scroll-bars.
4628 * frame.el (frame-current-scroll-bars): Fix doc-string.
4629 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
4630
4631 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4632
4633 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
4634
4635 2014-10-04 Glenn Morris <rgm@gnu.org>
4636
4637 * frame.el (frame-monitor-attributes)
4638 (display-monitor-attributes-list): Doc fixes.
4639
4640 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 Merge trivially safe differences from standalone CC-mode.
4643 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
4644 just to then pass it to `symbol-value'.
4645 (prog-mode): Provide fallback definition, if needed.
4646 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
4647 Remove "cl-" prefix accordingly.
4648 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
4649 characterp depending on the type of characters.
4650 (c-font-lock-enum-tail): Remove unused var `start'.
4651 * progmodes/cc-engine.el: Load CL at compile-time.
4652 (c-declare-lang-variables): Use mapcan.
4653 (c-append-to-state-cache): Remove unused var `ce+1'.
4654 (c-parse-state-state): Make buffer-local.
4655 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
4656 (c-just-after-func-arglist-p): Remove unused var `end'.
4657 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
4658 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
4659 (c-make-keywords-re): Use delete-dups.
4660 (c-get-current-file): Avoid file-name-base.
4661 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
4662 `close-paren-inserted'.
4663 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
4664
4665 * progmodes/python.el: Avoid building unneeded markers.
4666 (python-font-lock-keywords, python-indent-dedent-line)
4667 (python-fill-paren, python-shell-completion-complete-or-indent):
4668 Prefer point over point-marker.
4669 (inferior-python-mode): Remove redundant completion settings.
4670
4671 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
4672
4673 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4674 (vc-svn-ignore): Use it. (Bug#18619)
4675
4676 2014-10-03 Martin Rudalics <rudalics@gmx.at>
4677
4678 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4679 In doc-string mention need to set `frame-resize-pixelwise'.
4680
4681 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4682
4683 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
4684 similarly to Rogers's 2010-06-16 change for the remote case
4685 (bug#18605).
4686
4687 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 New gui-selection-value consolidating x-selection-value.
4690 * select.el (gui-selection-value-alist): New method.
4691 (gui-selection-value): New function.
4692 (x-selection-value): Make it an obsolete alias.
4693 * simple.el (interprogram-paste-function): Default to
4694 gui-selection-value.
4695 * w32-common-fns.el (w32-get-selection-value): Simplify.
4696 (x-selection-value): Remove alias.
4697 (interprogram-paste-function): Don't set.
4698 (gui-selection-value): Define for w32.
4699 * term/x-win.el (gui-selection-value): Define for x.
4700 (x--selection-value): Rename from x--selection-value.
4701 (interprogram-paste-function): Don't set.
4702 * term/pc-win.el (w16-get-selection-value): Simplify.
4703 (msdos-initialize-window-system): Don't set
4704 interprogram-paste-function.
4705 (gui-selection-value): Define for pc.
4706 * term/ns-win.el (x-selection-value): Remove.
4707 (gui-selection-value): Define for ns, instead.
4708 * term/common-win.el (x-setup-function-keys): Don't set
4709 interprogram-paste-function.
4710 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
4711 Use gui-selection-value.
4712
4713 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
4714
4715 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
4716
4717 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * obsolete/lucid.el (read-number): Remove, redundant.
4720 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
4721 Remove, broken.
4722
4723 2014-10-02 Glenn Morris <rgm@gnu.org>
4724
4725 * emacs-lisp/package.el (package-import-keyring):
4726 Create gnupg directory private. (Bug#17625#155)
4727
4728 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * progmodes/python.el (python-shell-completion-get-completions):
4731 Use python-shell--prompt-calculated-input-regexp from the
4732 process buffer (bug#18582).
4733 Don't assume that `line' comes from the process buffer.
4734
4735 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * frame.el: Use lexical-binding (bug#18598).
4738 (make-frame): Use t rather than nil for tty's window-system.
4739 * startup.el (command-line): Use gui-method.
4740
4741 Consolidate management/ownership of selections.
4742 * select.el (gui-get-selection-alist): New method.
4743 (gui-get-selection): Use it. Rename from x-get-selection.
4744 (x-get-selection): Define as obsolete alias.
4745 (x-get-clipboard): Mark obsolete.
4746 (gui-get-primary-selection): New function.
4747 (x-get-selection-value): Mark obsolete.
4748 (gui-own-selection-alist, gui-disown-selection-alist)
4749 (gui-selection-owner-p-alist): New methods.
4750 (gui-set-selection): Use them. Rename from x-set-selection.
4751 (x-set-selection): Define as obsolete alias.
4752 (gui--valid-simple-selection-p): Rename from
4753 x-valid-simple-selection-p.
4754 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
4755 (gui-selection-owner-p, gui-get-selection): Define for w32.
4756 (w32-get-selection-value): Rename from x-get-selection-value.
4757 Use the new gui-last-selected-text.
4758 * term/x-win.el (x-get-selection-value): Remove.
4759 (x-clipboard-yank): Declare obsolete.
4760 (gui-own-selection, gui-disown-selection, gui-get-selection)
4761 (gui-selection-owner-p): Define for x.
4762 * term/w32-win.el (w32-win-suspend-error): Rename from
4763 x-win-suspend-error.
4764 * term/pc-win.el (w16-get-selection-value): Rename from
4765 x-get-selection-value.
4766 (w16-selection-owner-p): Rename from x-selection-owner-p.
4767 (gui-own-selection, gui-disown-selection, gui-get-selection)
4768 (gui-selection-owner-p): Define for pc.
4769 (w16--select-text): New function.
4770 * term/ns-win.el (gui-own-selection, gui-disown-selection)
4771 (gui-get-selection, gui-selection-owner-p): Define for ns.
4772 * term.el (term-mouse-paste):
4773 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
4774
4775 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
4776
4777 * calc/calc-help.el (calc-describe-thing): Quote strings
4778 which could look like regexps.
4779
4780 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 Consolidate x-select-text.
4783 * frame.el (gui-method, gui-method-define, gui-method-declare)
4784 (gui-call): New macros.
4785 (gui-method--name): New function.
4786 (frame-creation-function-alist): Use gui-method-declare.
4787 (make-frame): Use gui-method.
4788 * select.el (gui-select-enable-clipboard): Rename from
4789 x-select-enable-clipboard and move here.
4790 (x-select-enable-clipboard): Define as obsolete alias.
4791 (gui-last-selected-text): New var, to replace x-last-selected-text.
4792 (gui-select-text): New GUI method.
4793 (gui-select-text): New function.
4794 (x-select-text): Define as obsolete alias.
4795 * term/common-win.el (x-select-enable-clipboard, x-select-text):
4796 Move to select.el.
4797 * simple.el (interprogram-cut-function): Change default to
4798 x-select-text.
4799 (interprogram-paste-function): Change default to `ignore'.
4800 * w32-common-fns.el (interprogram-cut-function): Don't modify.
4801 * term/x-win.el (interprogram-cut-function): Don't modify.
4802 (gui-select-text): Add method for x.
4803 * term/w32-win.el (gui-select-text): Add method for w32.
4804 * term/pc-win.el (x-last-selected-text): Remove, use
4805 gui-last-selected-text instead.
4806 (msdos-initialize-window-system): Don't set interprogram-cut-function.
4807 (gui-select-text): Add method for pc.
4808 * term/ns-win.el (ns-last-selected-text): Remove, use
4809 gui-last-selected-text instead.
4810 (gui-select-text): Add method for ns.
4811 (x-setup-function-keys): Don't change interprogram-cut-function.
4812 * loadup.el ("startup"): Load after "frame".
4813 * subr.el (package--builtin-versions, package--description-file):
4814 Move from startup.el.
4815 * startup.el (package--builtin-versions, package--description-file):
4816 Move to subr.el.
4817 (handle-args-function-alist, window-system-initialization-alist):
4818 Use gui-method-declare.
4819 (command-line): Use gui-method.
4820
4821 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * subr.el (alist-get): New accessor.
4824 * emacs-lisp/gv.el (alist-get): Provide expander.
4825 * winner.el (winner-remember):
4826 * tempo.el (tempo-use-tag-list):
4827 * progmodes/gud.el (minor-mode-map-alist):
4828 * international/mule-cmds.el (define-char-code-property):
4829 * frameset.el (frameset-filter-params):
4830 * files.el (dir-locals-set-class-variables):
4831 * register.el (get-register, set-register):
4832 * calc/calc-yank.el (calc-set-register): Use it.
4833 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
4834 * tooltip.el (tooltip-set-param): Mark as obsolete.
4835 (tooltip-show): Use alist-get instead.
4836 * ses.el (ses--alist-get): Remove. Use alist-get instead.
4837
4838 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
4839
4840 * net/newst-backend.el: Remove Time-stamp. Rename variable
4841 `newsticker--download-logos' to `newsticker-download-logos' and
4842 make it customizable.
4843 (newsticker--sentinel-work): Move xml-workarounds to function
4844 `newsticker--do-xml-workarounds', call unless libxml-parser is
4845 used. Allow single quote in regexp for encoding.
4846 Use libxml-parser if available, else fall back to `xml-parse-region'.
4847 Take care of possibly missing namespace prefixes (like "RDF"
4848 instead of "rdf:RDF") when checking xml nodes and attributes (as
4849 libxml correctly removes the prefixes). Always use Atom 1.0 as
4850 fallback feed type. Rename `newsticker--download-logos' to
4851 `newsticker-download-logos'
4852 (newsticker--unxml, newsticker--unxml-node)
4853 (newsticker--unxml-attribute): New.
4854 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
4855 HTML code has become part of the xml parse tree.
4856 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
4857 of possibly missing namespace prefixes.
4858 (newsticker--parse-generic-items): Code formatting. Typo.
4859 (newsticker--images-dir): Add trailing slash.
4860 (newsticker--image-get): Fix error message.
4861
4862 * net/newst-plainview.el: Remove Time-stamp.
4863
4864 * net/newst-reader.el: Remove Time-stamp.
4865 (newsticker-download-logos): Rename variable
4866 `newsticker--download-logos' to `newsticker-download-logos' and
4867 make it customizable.
4868 (newsticker--print-extra-elements): Add optional parameter
4869 'htmlish for using html markup. Amend list of ignored elements.
4870 (newsticker--do-print-extra-element): Add parameter 'htmlish for
4871 using html markup.
4872
4873 * net/newst-ticker.el: Remove Time-stamp.
4874
4875 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
4876 for formatting extra elements.
4877
4878 * net/newsticker.el: Remove Time-stamp, Version.
4879 (newsticker-version): Make obsolete.
4880
4881 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
4882
4883 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
4884 (bug#18462).
4885
4886 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * emacs-lisp/package.el (package-check-signature): Default to nil if
4889 GPG is not available.
4890 (package-refresh-contents): Don't mess with the keyring if we won't
4891 check the signatures anyway.
4892
4893 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
4896 (ses-center, ses-center-span): Use them.
4897 (ses-print-cell): Bind them while calling the printer.
4898 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
4899 (ses-dorange): Revert last change.
4900 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
4901 the formula.
4902 (ses-set-cell): Avoid `eval'.
4903 (ses--time-check): Rename it from ses-time-check and turn it into
4904 a macro.
4905
4906 * ses.el (ses-setup): Don't assume modifying the iteration var of
4907 dotimes affects the iteration (bug#18191).
4908
4909 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
4910
4911 * ses.el (ses-calculate-cell): Bind row and col dynamically to
4912 their values with 'cl-progv'.
4913 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
4914 their values with 'cl-progv', also use non-interned symbols for
4915 row, minrow, maxrow, mincol and maxcol.
4916 (maxrow maxcol): New defvar, to make the compiler happy.
4917
4918 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
4921 completion functions.
4922
4923 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * ses.el (ses--letref): Quote value before it gets re-evaluated.
4926
4927 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
4928
4929 Font-lock `cl-flet*', too.
4930 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
4931 Add "flet*" to intermediate var `cl-lib-kw'.
4932
4933 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * epg-config.el (epg-gpg-program): Use the plain program names rather
4936 than their absolute file name.
4937
4938 * subr.el (track-mouse): New macro.
4939 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4940 Remove track-mouse case.
4941 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
4942
4943 2014-09-27 Leo Liu <sdl.web@gmail.com>
4944
4945 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
4946
4947 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
4948
4949 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
4952 Handle the case where `match' is :pcase--succeed or :pcase--fail
4953 (bug#18554).
4954
4955 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
4956 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
4957 (eldoc-schedule-timer): Obey it.
4958 (eldoc-documentation-function): Default to nil.
4959 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
4960 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
4961 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
4962 (eldoc-last-data-store, eldoc-docstring-first-line)
4963 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
4964 (eldoc-beginning-of-sexp, eldoc-current-symbol)
4965 (eldoc-function-argstring): Move to elisp-mode.el.
4966 (eldoc-symbol-function): Remove, unused.
4967 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
4968 (elisp-completion-at-point): Rename from lisp-completion-at-point.
4969 (elisp--preceding-sexp): Rename from preceding-sexp.
4970 * loadup.el: Load new file progmodes/elisp-mode.
4971 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
4972 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
4973 (lisp--local-variables-completion-table, lisp--expect-function-p)
4974 (lisp--form-quoted-p, lisp--company-doc-buffer)
4975 (lisp--company-doc-string, lisp--company-location)
4976 (lisp-completion-at-point): Move to elisp-mode.el.
4977 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
4978 extracted from emacs-lisp-mode-syntax-table.
4979 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
4980 elisp-mode.el.
4981 (lisp-imenu-generic-expression): Add comments to document what comes
4982 from which Lisp dialect.
4983 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
4984 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
4985 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
4986 (emacs-lisp-byte-code-comment)
4987 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
4988 (lisp-interaction-mode-map, lisp-interaction-mode)
4989 (eval-print-last-sexp, last-sexp-setup-props)
4990 (last-sexp-toggle-display, prin1-char, preceding-sexp)
4991 (eval-last-sexp-1, eval-last-sexp-print-value)
4992 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
4993 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
4994
4995 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
4996
4997 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
4998 Do not match file names that end in '/', as they cannot be 'grep'
4999 hits nowadays. This prevents confusion when 'grep -r' reports a
5000 match in a file whose basename is ':12345:'. Conversely, do not
5001 require exactly the same sequence of spaces and tabs after both
5002 colons, and allow spaces or tabs before the second colon, as per
5003 the POSIX spec for 'grep' output.
5004
5005 2014-09-26 Leo Liu <sdl.web@gmail.com>
5006
5007 Add cl-parse-integer based on parse-integer (Bug#18557)
5008 * calendar/parse-time.el (parse-time-digits): Remove.
5009 (digit-char-p, parse-integer) Moved to cl-lib.el.
5010 (parse-time-tokenize, parse-time-rules, parse-time-string):
5011 Use cl-parse-integer.
5012
5013 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5014
5015 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5016 (cl-digit-char-p): New function.
5017
5018 2014-09-25 Juri Linkov <juri@jurta.org>
5019
5020 * vc/add-log.el (change-log-next-buffer): Don't create an empty
5021 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5022 Return the current buffer if no files match the default pattern
5023 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
5024
5025 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5028 the global vc-handled-backends (bug#18535).
5029
5030 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5033 Suggested by <lompik@voila.fr>.
5034
5035 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
5036
5037 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5038 Rename from `newsticker--treeview-do-get-node'.
5039 (newsticker--treeview-get-node-by-id):
5040 Rename from `newsticker--treeview-get-node'.
5041 (newsticker--treeview-buffer-init)
5042 (newsticker--treeview-buffer-init): Disable buffer undo.
5043 (newsticker--treeview-unfold-node): Adapt to modified
5044 `newsticker--group-find-parent-group'.
5045 (newsticker--group-do-find-group):
5046 Rename from `newsticker--group-do-find-group-for-feed'.
5047 Now works for both, groups and feeds.
5048 (newsticker--group-find-parent-group):
5049 Rename from `newsticker--group-find-group-for-feed'.
5050 Now works for both, groups and feeds.
5051 (newsticker--group-do-get-parent-group)
5052 (newsticker--group-get-parent-group): Remove.
5053 (newsticker-group-add-group): Change interactive prompts.
5054 (newsticker-group-add-group): Finally jump to added group.
5055 (newsticker-group-delete-group): Finally jump to current feed.
5056 (newsticker--group-do-rename-group, newsticker-group-rename-group)
5057 (newsticker--get-group-names, newsticker--group-names): New.
5058 (newsticker-group-move-feed): Finally jump to moved feed.
5059 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5060 (newsticker-group-shift-group-down)
5061 (newsticker-group-shift-group-up, newsticker--group-shift): New.
5062 (newsticker-treeview-mode-map): New keybindings for new shift commands.
5063
5064 * net/newst-backend.el (newsticker--item-list)
5065 (newsticker--item-position, newsticker--prev-message)
5066 (newsticker--scrollable-text): Move to newst-ticker.el.
5067
5068 * net/newst-ticker.el (newsticker--item-list)
5069 (newsticker--item-position, newsticker--prev-message)
5070 (newsticker--scrollable-text): Move from newst-backend.el.
5071
5072 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
5073
5074 * window.el (fit-window-to-buffer): When counting buffer width,
5075 count the whole visible buffer. Correctly convert the body-height
5076 to pixel size for window-text-pixel-size (Bug#18498).
5077
5078 2014-09-22 Sam Steingold <sds@gnu.org>
5079
5080 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5081 (sql-execute): Use `special-mode'.
5082
5083 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 Add pcase-defmacro, as well as `quote' and `app' patterns.
5086 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5087 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5088 (pcase--funcall, pcase--eval): New functions.
5089 (pcase--u1): Use them for guard, pred, let, and app.
5090 (\`): Use the new feature to generate better code for vector patterns.
5091 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5092 (pcase--upat): Remove.
5093 (pcase--macroexpand): Don't hardcode handling of `.
5094 (pcase--split-consp, pcase--split-vector): Remove.
5095 (pcase--split-equal): Disregard ` since it's expanded away.
5096 (pcase--split-member): Optimize for quote rather than for `.
5097 (pcase--split-pred): Optimize for quote rather than for `.
5098 (pcase--u1): Remove handling of ` (and of `or' and `and').
5099 Quote non-selfquoting values when passing them to `eq'.
5100 Drop `app's let-binding if the variable is not used.
5101 (pcase--q1): Remove.
5102 (`): Define as a pattern macro.
5103 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5104 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5105 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5106 quote patterns.
5107 (pcase--split-match): Don't hoist or/and here any more.
5108 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5109 (pcase--flip): New helper macro.
5110 (pcase--u1): Optimize the memq case directly.
5111 Don't handle neither self-quoting nor and/or patterns any more.
5112 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5113 (pcase--macroexpand): New function.
5114 (pcase--expand): Use it.
5115 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5116 New optimization functions.
5117 (pcase--u1): Add support for `quote' and `app'.
5118 (pcase): Document them in the docstring.
5119
5120 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 Use lexical-bindin in Ibuffer.
5123 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5124 (ibuffer-compile-format): Simplify.
5125 (ibuffer-clear-summary-columns): Simplify.
5126 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5127 elem of dotimes when we don't refer to the iteration var from it.
5128 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5129 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5130 Silence byte-compiler.
5131
5132 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5135 expression for a list.
5136
5137 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5138 for functions with no arguments.
5139
5140 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5141 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5142
5143 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
5144
5145 * simple.el (clone-indirect-buffer): Mention the return value
5146 (bug#18478).
5147
5148 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5149 Text mode in docstring (bug#18464).
5150
5151 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5154 Accept underscores in identifiers after "sub" (bug#18502).
5155
5156 2014-09-21 Tassilo Horn <tsdh@gnu.org>
5157
5158 * textmodes/reftex-sel.el (reftex-select-label-mode)
5159 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5160 from special-mode (instead of fundamental-mode) and propertize
5161 with font-lock-face instead of just face. (Bug#18496)
5162
5163 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5164
5165 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5166
5167 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5168 `table-etc' when `end' is non-nil.
5169 (lisp-completion-at-point): Move `end' back if it's after quote.
5170 If in comment or string, only complete when after backquote.
5171 (Bug#18265)
5172 (lisp-completion-at-point): Don't use
5173 `lisp--local-variables-completion-table' in the
5174 `lisp--form-quoted-p' case.
5175
5176 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5177
5178 * emacs-lisp/lisp.el (lisp--expect-function-p)
5179 (lisp--form-quoted-p): New functions.
5180 (lisp-completion-at-point): Use them to see if we're completing a
5181 variable reference, a function name, or just any symbol.
5182 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5183
5184 2014-09-18 Ivan Kanis <ivan@kanis.fr>
5185
5186 * net/shr.el, net/eww.el: Don't override `shr-width', but
5187 introduce a new variable `shr-internal-width'. This allows users
5188 to specify a width themselves.
5189
5190 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191
5192 * image-mode.el (image-toggle-display-image): If we have a
5193 `fit-width' or a `fit-height', don't limit the size of the image
5194 to the window size, because that doesn't preserve the aspect ratio.
5195 * image-mode.el: Move defvars earlier to avoid a byte-compilation
5196 warning.
5197
5198 2014-09-17 Reuben Thomas <rrt@sc3d.org>
5199
5200 * progmodes/js.el: Add interpreter-mode-alist support for various
5201 JavaScript interpreters.
5202
5203 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
5204
5205 Don't assume 'grep' supports GREP_OPTIONS.
5206 The GREP_OPTIONS environment variable is planned to be marked
5207 obsolescent in GNU grep, due to problems in its use, so stop
5208 relying on it.
5209 * progmodes/grep.el (grep-highlight-matches): Document this.
5210 (grep-process-setup): Do not set GREP_OPTIONS.
5211 (grep-compute-defaults): Use an explicit --color option if supported.
5212
5213 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5216 Don't add outdated key-shortcut cache (bug#18482).
5217
5218 2014-09-15 Glenn Morris <rgm@gnu.org>
5219
5220 * image.el (image-multi-frame-p): Fix thinko - do not force
5221 a delay if none was specified. (Bug#18334)
5222
5223 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
5224
5225 * window.el (fit-window-to-buffer): Doc fix.
5226
5227 2014-09-15 Ivan Shmakov <ivan@siamics.net>
5228
5229 * desktop.el (desktop-create-buffer): Check that buffers are still live
5230 before burying them (bug#18373).
5231
5232 2014-09-15 Glenn Morris <rgm@gnu.org>
5233
5234 * calendar/diary-lib.el (diary-list-entries):
5235 Restore 24.3 display behavior. (Bug#18381)
5236
5237 2014-09-15 Eli Zaretskii <eliz@gnu.org>
5238
5239 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5240 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
5241 discrepancy between window-pixel-edges and mouse events, and
5242 avoids moving mode line up when the mouse click is on the modeline
5243 and no drag is attempted.
5244
5245 2014-09-14 Daniel Colascione <dancol@dancol.org>
5246
5247 * register.el (insert-register): Change default interactive
5248 insertion mode.
5249
5250 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
5251
5252 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5253 Suppress debug messages.
5254
5255 * net/tramp.el (tramp-file-name-handler):
5256 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5257 appropriate.
5258
5259 2014-09-13 Christopher Schmidt <ch@ristopher.com>
5260
5261 * calendar/calendar.el (calendar-update-mode-line):
5262 Do not overwrite mode-line-format if calendar-mode-line-format is
5263 nil. (Bug#18467)
5264
5265 2014-09-13 Leo Liu <sdl.web@gmail.com>
5266
5267 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5268 (pcase--expand): Use it.
5269 (pcase-exhaustive): New macro. (Bug#16567)
5270
5271 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5272 Add pcase-exhaustive.
5273
5274 2014-09-13 Eli Zaretskii <eliz@gnu.org>
5275
5276 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5277 using the specified transfer-encoding, if any, or 'undecided'.
5278 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5279 broken at the window margin.
5280
5281 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
5282
5283 Support rendering of HTML parts in Rmail (bug#4258).
5284 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5285 separately from other text/ types. Suppress tagline for
5286 multipart body.
5287 (rmail-mime-parse): Don't change visibility of tagline here.
5288 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5289 Handle text/html specially.
5290 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
5291 (rmail-mime-insert-html, rmail-mime-render-html-shr)
5292 (rmail-mime-render-html-lynx): New functions.
5293 (rmail-mime-fix-inserted-faces): New function.
5294 (rmail-mime-process-multipart): Find the best part to show
5295 following rmail-mime-prefer-html if set.
5296 (rmail-mime-searching): New variable.
5297 (rmail-search-mime-message): Bind rmail-mime-searching to
5298 suppress rendering while searching.
5299
5300 2014-09-12 Sam Steingold <sds@gnu.org>
5301
5302 * progmodes/sql.el (sql-product-alist): Add vertica.
5303 (sql-vertica-program, sql-vertica-options)
5304 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
5305 New functions and variables to support Vertica.
5306 Inspired by code by Roman Scherer <roman@burningswell.com>.
5307
5308 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
5309
5310 * ses.el (ses-file-format-extend-parameter-list): Rename from
5311 ses-file-format-extend-paramter-list, to correct a misspelling.
5312 All uses changed.
5313
5314 2014-09-10 Alan Mackenzie <acm@muc.de>
5315
5316 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
5317 gets loaded at run-time).
5318 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
5319 c-lang-const to c-make-no-parens-syntax-table and correct the
5320 logic.
5321 (c-no-parens-syntax-table): Correct the logic of the
5322 c-lang-defvar.
5323
5324 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
5327 plus misc cleanup.
5328 * progmodes/cc-mode.el (c-basic-common-init):
5329 Set open-paren-in-column-0-is-defun-start.
5330 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
5331 Remove declarations, unused.
5332 (run-mode-hooks): Remove declaration.
5333 (font-lock-defaults): Use plain `defvar' to declare.
5334 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
5335 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
5336 (c-make-mode-syntax-table): Don't micro-optimize.
5337 (c-keywords, c-keyword-member-alist): Simplify.
5338 (c-kwds-lang-consts): Don't eval at compile-time.
5339 (c-primary-expr-regexp): Comment out unused vars.
5340 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
5341 (c-font-byte-compile): New var.
5342 (c--compile): New function. Use it instead of `byte-compile'.
5343 (c-cpp-matchers): Quote the value returned by
5344 `c-make-syntactic-matcher' in case it's not self-evaluating.
5345 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
5346 parentheses instead (in case MATCHER happens to be a list).
5347 (c-font-lock-enum-tail): Remove unused var `start'.
5348 (c-font-lock-objc-methods): Silence byte-compiler warnings.
5349 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
5350 test into an argument.
5351 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
5352 (c-get-char-property): Don't use `eval' just to unquote a constant.
5353 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
5354 more efficiently.
5355 (c-put-char-property-fun): Don't call `byte-compile' by hand.
5356 (c-clear-char-property, c-clear-char-properties): Check that `property'
5357 is a quoted constant.
5358 (c-emacs-features): Remove `infodock', `syntax-properties', and
5359 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
5360 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
5361 changing buffer, so we don't have to setq them again afterwards.
5362 (c-lang-const): Remove redundant symbolp assertions.
5363 (c-find-assignment-for-mode): Use `or'.
5364 * Makefile.in (compile-one-process): Remove cc-mode dependency.
5365
5366 2014-09-09 Sam Steingold <sds@gnu.org>
5367
5368 * progmodes/sql.el (sql-default-directory): Fix type annotation.
5369
5370 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
5373 Change doc comments into docstrings.
5374 * Makefile.in: Remove cc-awk dependency.
5375
5376 2014-09-08 Sam Steingold <sds@gnu.org>
5377
5378 * progmodes/sql.el (sql-send-line-and-next): New command,
5379 bound to C-c C-n.
5380 (sql-show-sqli-buffer): Display the buffer instead of its name and
5381 bind the command to C-c C-z.
5382 (sql-default-directory): New user option.
5383 (sql-product-interactive): Bind `default-directory' to it to
5384 enable remote connections using Tramp.
5385 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
5386 suitable buffer is available.
5387
5388 2014-09-08 Glenn Morris <rgm@gnu.org>
5389
5390 * calendar/calendar.el (calendar-basic-setup):
5391 Fix calendar-view-holidays-initially-flag and fancy display.
5392 * calendar/diary-lib.el (diary-live-p): Doc fix.
5393
5394 * calendar/calendar.el (calendar-basic-setup):
5395 Avoid clobbering calendar with diary. (Bug#18381)
5396
5397 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
5400
5401 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
5402
5403 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
5404 as well (bug#18400).
5405
5406 2014-09-08 Eli Zaretskii <eliz@gnu.org>
5407
5408 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
5409
5410 2014-09-06 Leo Liu <sdl.web@gmail.com>
5411
5412 * emacs-lisp/pcase.el (pcase): Doc fix.
5413 (pcase--split-vector): New function.
5414 (pcase--q1): Support vector qpattern. (Bug#18327)
5415
5416 2014-09-05 Sam Steingold <sds@gnu.org>
5417
5418 * textmodes/tex-mode.el (tex-print-file-extension): New user
5419 option.
5420 (tex-print): Use it instead of the hard-coded string.
5421
5422 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
5423
5424 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5425 Expand `default-directory'.
5426
5427 2014-09-05 Martin Rudalics <rudalics@gmx.at>
5428
5429 * scroll-bar.el (horizontal-scroll-bars-available-p):
5430 New function.
5431 (horizontal-scroll-bar-mode): Rewrite using
5432 horizontal-scroll-bars-available-p.
5433 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
5434 horizontal-scroll-bars-available-p.
5435
5436 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * subr.el (call-process-shell-command, process-file-shell-command):
5439 Make the `args' obsolete (bug#18409).
5440 (start-process-shell-command, start-file-process-shell-command):
5441 Use `declare'.
5442
5443 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
5444
5445 * calc/calc-forms.el (math-normalize-hms): Do a better check for
5446 "negative" hms forms.
5447
5448 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
5449
5450 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
5451 returns nil (bug#18391).
5452
5453 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5454
5455 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
5456 terminating paren (bug#18352).
5457 (eldoc-last-data-store): Return cached data.
5458 (eldoc-get-var-docstring): Avoid setq.
5459 (eldoc-get-fnsym-args-string): Clarify data flow.
5460
5461 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5462
5463 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
5464 case where we're currently providing part of the &rest arg after some
5465 &key args, as in define-ibuffer-op (bug#18048).
5466
5467 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
5470 buffer-local setting of which-func-mode.
5471 (which-func-mode): Use defvar-local.
5472 (which-function-mode): Don't reset which-func-mode in each buffer since
5473 it might have been set by someone else.
5474 (which-func-update-ediff-windows): Check which-function-mode.
5475
5476 2014-09-03 Martin Rudalics <rudalics@gmx.at>
5477
5478 * frame.el (frame-initialize): Remove horizontal-scroll-bars
5479 from frame-initial-frame-alist.
5480 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
5481 (horizontal-scroll-bar-mode-explicit)
5482 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
5483 (toggle-horizontal-scroll-bar): Remove.
5484 (horizontal-scroll-bar-mode): Remove defcustom.
5485 (horizontal-scroll-bar-mode): Fix doc-string.
5486 (scroll-bar-toolkit-scroll)
5487 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
5488
5489 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/package.el (package-generate-description-file):
5492 Properly quote the arguments (bug#18332). Change second arg.
5493 (package--alist-to-plist-args): Rename from package--alist-to-plist and
5494 quote the elements.
5495 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
5496 the *-pkg.el file. Adjust to new calling convention of
5497 package-generate-description-file.
5498
5499 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
5500 (gud-gdb-completions): Remove obsolete workaround.
5501
5502 2014-09-03 Eli Zaretskii <eliz@gnu.org>
5503
5504 * subr.el (posn-col-row): Revert the change from commit
5505 2010-11-13T21:07:58Z!eliz@gnu.org, which
5506 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
5507 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
5508 introduced an off-by-one error in the reported row when there is a
5509 header line. (Bug#18384)
5510
5511 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5512
5513 * progmodes/python.el (python-indent-post-self-insert-function):
5514 Avoid electric colon at beginning-of-defun. (Bug#18228)
5515
5516 2014-09-03 Glenn Morris <rgm@gnu.org>
5517
5518 * tutorial.el (tutorial--display-changes):
5519 Fix 2014-08-01 change. (Bug#18382)
5520
5521 2014-09-03 Ken Brown <kbrown@cornell.edu>
5522
5523 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
5524 the Cygwin-w32 build. (Bug#18347)
5525
5526 2014-09-03 Glenn Morris <rgm@gnu.org>
5527
5528 * tar-mode.el (tar--extract, tar-extract):
5529 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
5530
5531 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
5534 handle multiline elements (bug#18380).
5535
5536 2014-09-01 Eli Zaretskii <eliz@gnu.org>
5537
5538 * ls-lisp.el (ls-lisp-use-string-collate)
5539 (ls-lisp-UCA-like-collation): New defcustoms.
5540 (ls-lisp-string-lessp): Use them to control sorting by file
5541 names. (Bug#18051)
5542 (ls-lisp-version-lessp): New function.
5543 (ls-lisp-handle-switches): Use it to implement the -v switch of
5544 GNU ls.
5545 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
5546
5547 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
5548
5549 * ibuffer.el: Replace mode-specific quit function with
5550 `quit-window' via `special-mode'.
5551 (ibuffer-mode-map): Use keybindings from special-mode-map instead
5552 of local overrides.
5553 (ibuffer): Don't store previous windows configuration.
5554 Let `quit-window' handle restoring.
5555 (ibuffer-quit): Remove function. Use `quit-window' instead.
5556 (ibuffer-restore-window-config-on-quit): Remove variable.
5557 (ibuffer-prev-window-config): Remove variable.
5558
5559 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
5560
5561 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
5562 name instead of variable name in hook docstring. (Bug#18349)
5563
5564 2014-08-29 Martin Rudalics <rudalics@gmx.at>
5565
5566 * window.el (display-buffer-at-bottom): Prefer bottom-left
5567 window to other bottom windows. Reuse a bottom window if it
5568 shows the buffer already. Suggested by Juri Linkov
5569 <juri@jurta.org> in discussion of (Bug#18181).
5570
5571 2014-08-29 Leo Liu <sdl.web@gmail.com>
5572
5573 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
5574 append to minibuffer-setup-hook. (Bug#18341)
5575
5576 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
5579 byte-compiler.
5580 (lookup-syntax-properties): Silence byte-compiler.
5581 (c-lang-defconst): Quote the code with `lambda' rather than with
5582 `quote'.
5583 (c-lang-const): Avoid unneeded setq.
5584 (c-lang-constants-under-evaluation): Add docstring.
5585 (c-lang--novalue): New constant.
5586 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
5587 (c-get-lang-constant): Same here.
5588 Get the mode's value using `funcall' now that the code is quoted
5589 with `lambda'.
5590
5591 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5592
5593 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
5594 (Bug#18326)
5595
5596 2014-08-28 Martin Rudalics <rudalics@gmx.at>
5597
5598 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
5599 interpretation of `portion-whole'.
5600
5601 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5602
5603 * net/tramp-adb.el: Spell author name correctly.
5604
5605 2014-08-28 João Távora <joaotavora@gmail.com>
5606
5607 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
5608 use url-expand-file-name. (Bug#18310)
5609
5610 2014-08-28 Glenn Morris <rgm@gnu.org>
5611
5612 * emulation/cua-rect.el (cua--highlight-rectangle):
5613 Avoid error at point-min. (Bug#18309)
5614
5615 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
5618 executable-find (bug#18244).
5619
5620 * simple.el (self-insert-uses-region-functions): Defvar.
5621
5622 2014-08-28 Glenn Morris <rgm@gnu.org>
5623
5624 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
5625
5626 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
5627
5628 * startup.el (normal-top-level): Now use internal--top-level-message.
5629
5630 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
5631
5632 * startup.el (normal-top-level): Use top-level-message.
5633
5634 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5635
5636 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
5637 URLs containing spaces and the like.
5638
5639 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5640
5641 * subr.el (remq): Fix docstring (Bug#18253).
5642
5643 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5644
5645 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
5646
5647 2014-08-24 Alan Mackenzie <acm@muc.de>
5648
5649 Handle C++11's "auto" and "decltype" constructions.
5650 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
5651 and return 'decltype.
5652 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
5653 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
5654 keyword.
5655 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
5656 "decltype" keyword.
5657 (c-font-lock-c++-new): Handle "decltype" constructions.
5658 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
5659 New c-lang-defconsts/defvars.
5660 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
5661 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
5662 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
5663 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
5664
5665 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
5666 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
5667 off from c->-op-cont-re.
5668 (c->-op-cont-tokens): Change to use the above.
5669 (c->-op-without->-cont-regexp): New lang-const.
5670 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
5671 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
5672
5673
5674 2014-08-23 Alan Mackenzie <acm@muc.de>
5675
5676 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
5677 loop, bug #18306. The bug was introduced on 2014-08-02.
5678
5679 2014-08-21 Eli Zaretskii <eliz@gnu.org>
5680
5681 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
5682 Don't recognize a Top node if there are other sectioning commands
5683 earlier in the Texinfo file. This fixes a bug in
5684 texinfo-make-menu and avoids inflooping in
5685 texinfo-all-menus-update when they are invoked on texinfo.texi.
5686
5687 2014-08-21 Martin Rudalics <rudalics@gmx.at>
5688
5689 * window.el (window--side-window-p): New function.
5690 (split-window, window-splittable-p): Use window--side-window-p to
5691 determine whether WINDOW can be split (Bug#18304).
5692 * calendar/calendar.el (calendar-basic-setup): Fix one call of
5693 `window-splittable-p' and add another (Bug#18304).
5694
5695 2014-08-20 Sam Steingold <sds@gnu.org>
5696
5697 * progmodes/python.el (python-new-pythonpath): Extract from
5698 `python-shell-calculate-process-environment'.
5699
5700 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5701
5702 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
5703 for &key args (bug#18048).
5704
5705 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
5708 (eldoc-function-argstring-format): Remove.
5709 (eldoc-function-argstring): Always return upcase args.
5710 Use help-make-usage. Don't add parens.
5711 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
5712 it's too late to do it right (bug#18048).
5713
5714 2014-08-18 Eli Zaretskii <eliz@gnu.org>
5715
5716 * scroll-bar.el (scroll-bar-horizontal-drag-1)
5717 (scroll-bar-toolkit-horizontal-scroll): When determining the
5718 paragraph direction, use the buffer of the window designated in
5719 the event.
5720
5721 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
5722
5723 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
5724 context of unified diff.
5725
5726 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
5727
5728 Add dependencies to fix loaddefs race during parallel builds.
5729 Without this, for example, 'make -j bootstrap' can fail and report
5730 "Opening input file: no such file or directory,
5731 .../lisp/calendar/diary-loaddefs.el ... recipe for target
5732 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
5733 got confused because diary-loaddefs.el was being built in parallel.
5734 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
5735 Depend on $(CAL_DIR)/cal-loaddefs.el.
5736 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
5737
5738 2014-08-16 Martin Rudalics <rudalics@gmx.at>
5739
5740 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
5741 portion-whole for scrolling right-to-left text.
5742
5743 2014-08-15 Leo Liu <sdl.web@gmail.com>
5744
5745 * speedbar.el (speedbar-generic-list-tag-p): Allow special
5746 elements from imenu.
5747
5748 2014-08-15 Glenn Morris <rgm@gnu.org>
5749
5750 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
5751
5752 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5753
5754 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5755 Add Guile regexpses.
5756
5757 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5758
5759 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
5760 add Guile debugger support for GUD.
5761
5762 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
5765 (mouse-sel--ignore): New function.
5766 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
5767 (mouse-sel-original-interprogram-cut-function)
5768 (mouse-sel-original-interprogram-paste-function): Remove.
5769
5770 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
5771
5772 * vc/vc-git.el (vc-git-resolve-when-done): New function.
5773 Call "git add" when there are no longer conflict markers.
5774
5775 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5776
5777 * vc/vc-git.el (vc-git-find-file-hook): New function.
5778 Adds support for calling smerge (and resolve) on a conflicted file.
5779 (vc-git-conflicted-files): New function.
5780 Useful in itself and a step towards better smerge support.
5781
5782 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
5785 to the first part if they're the same as the selection.
5786
5787 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5788
5789 * image-mode.el (image-transform-reset): New command and menu item.
5790 (image-mode-map): Rearrange the menu items to put presumably more
5791 obscure items at the end.
5792
5793 2014-08-12 Juri Linkov <juri@jurta.org>
5794
5795 * vc/vc-annotate.el (vc-annotate-background-mode):
5796 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
5797
5798 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * files.el (out-of-memory-warning-percentage): Turn it off by default.
5801
5802 2014-08-11 Sam Steingold <sds@gnu.org>
5803
5804 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
5805 the presence of known validators (tidy, (o)nsgmls).
5806
5807 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
5808
5809 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
5810 * net/newst-treeview.el (newsticker-treeview-date-format): New.
5811 (newsticker--treeview-list-add-item):
5812 Use `newsticker-treeview-date-format'.
5813
5814 2014-08-11 Glenn Morris <rgm@gnu.org>
5815
5816 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
5817 chose coding system for writing before backing up, since it causes
5818 a more serious problem than the one it solves. (Closes Bug#18141,
5819 reopens Bug#13522.)
5820
5821 2014-08-11 Martin Rudalics <rudalics@gmx.at>
5822
5823 * window.el (window-total-size): Make doc-string more self-contained.
5824
5825 * window.el (display-buffer-below-selected): Restore original
5826 behavior if buffer is already displayed in the window below the
5827 selected one (Bug#18181).
5828
5829 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
5832 event (bug#18212).
5833
5834 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5835
5836 * info.el (info): Doc fix.
5837
5838 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * info.el (Info-mode-map): Override a global down-mouse-2 binding
5841 (bug#18212).
5842
5843 2014-08-11 Eli Zaretskii <eliz@gnu.org>
5844
5845 * simple.el (default-line-height): A floating-point value of
5846 line-spacing means a fraction of the default frame font's height,
5847 not of the font currently used by the 'default' face.
5848 Truncate the pixel value, like the display engine does.
5849 (window-screen-lines): Use window-inside-pixel-edges for
5850 determining the window height in pixels. (Bug#18195)
5851
5852 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
5853
5854 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
5855
5856 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
5857
5858 Enumerate evaluated sexp diary entries (Bug#7911).
5859 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
5860 (icalendar-export-sexp-enumeration-days): New.
5861 (icalendar-export-region): Now `icalendar--convert-to-ical'
5862 returns a cons cell or a list of cons cells.
5863 (icalendar--convert-to-ical): Take care of
5864 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
5865 (icalendar--convert-ordinary-to-ical)
5866 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5867 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
5868 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
5869 (icalendar--convert-anniversary-to-ical): Return cons cell.
5870 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
5871 entries. Return (list of) cons cells.
5872
5873 2014-08-09 Juri Linkov <juri@jurta.org>
5874
5875 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
5876 to reevaluate `vc-annotate-color-map'. (Bug#18189)
5877
5878 2014-08-09 Alan Mackenzie <acm@muc.de>
5879
5880 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
5881 for top-level that can cause unacceptable slow-down in scrolling.
5882 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
5883 Antipov from 2013-10-14 in emacs-devel.
5884
5885 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5886
5887 * ibuffer.el (ibuffer-mode-map): Use toggle button for
5888 `ibuffer-auto-mode' menu entry.
5889 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
5890
5891 2014-08-08 Matthias Meulien <orontee@gmail.com>
5892
5893 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
5894 (Bug#16394)
5895
5896 2014-08-07 Martin Rudalics <rudalics@gmx.at>
5897
5898 * window.el (window--min-size-1): Explicitly set WINDOW arg in
5899 calls of window-min-pixel-height and window-min-pixel-width.
5900
5901 2014-08-07 Reuben Thomas <rrt@sc3d.org>
5902
5903 * progmodes/ada-mode.el:
5904 * net/tramp.el (tramp-handle-file-symlink-p):
5905 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
5906 about VMS, which we no longer support.
5907 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
5908 and fix a FIXME, using convert-standard-filename in place of
5909 removed ada-convert-file-name.
5910
5911 2014-08-07 Eli Zaretskii <eliz@gnu.org>
5912
5913 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
5914
5915 2014-08-07 Reuben Thomas <rrt@sc3d.org>
5916
5917 Refer to MS-DOS using the same name everywhere.
5918 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
5919 ``msdog'' become ``MS-DOS''.
5920
5921 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
5922
5923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5924 Use cached "remote-copy-args" value, if available. (Bug#18199)
5925
5926 2014-08-07 Leo Liu <sdl.web@gmail.com>
5927
5928 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
5929 Revert change on 2014-03-22.
5930
5931 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
5932
5933 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
5934 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
5935 (Bug#13750).
5936
5937
5938 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5939
5940 * image-mode.el (image-toggle-display-image): Always rescale images
5941 to not be bigger than the current window.
5942
5943 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
5944
5945 * net/eww.el (eww-bookmarks-directory): New variable.
5946 (eww-write-bookmarks): Use it.
5947 (eww-read-bookmarks): Ditto.
5948
5949 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5950
5951 * net/shr.el (shr-copy-url): Also copy the image URL.
5952
5953 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
5954
5955 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
5956 also for Tramp working buffers.
5957
5958 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
5959
5960 * progmodes/python.el: Fix completions inside (i)pdb.
5961 (python-shell-completion-pdb-string-code): Make obsolete.
5962 (python-shell-completion-get-completions):
5963 Use python-shell-completion-string-code resending setup code
5964 continuously for (i)pdb.
5965
5966 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
5967
5968 * rect.el (rectangle--default-line-number-format): Rename
5969 from misspelled rectange--default-line-number-format (Bug#18045).
5970 All uses changed.
5971
5972 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
5973
5974 Don't mishandle year-9999 dates (Bug#18176).
5975 * calendar/parse-time.el (parse-time-rules):
5976 Allow years up to most-positive-fixnum.
5977 * calendar/time-date.el (date-to-time):
5978 Pass "Specified time is not representable" errors through.
5979
5980 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5981
5982 * progmodes/python.el: Completion code cleanups.
5983 (python-shell-completion-get-completions): Detect and send import
5984 statements directly to completion function.
5985 (python-shell-completion-at-point): Simplify prompt calculation
5986 and import vs input completion logic.
5987
5988 2014-08-02 Alan Mackenzie <acm@muc.de>
5989
5990 Fix confusion in C++ file caused by comma in "= {1,2},".
5991 Bug #17756.
5992 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
5993 for a statement boundary marked by "}", check there's no "="
5994 before the "{".
5995 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
5996 non-nil `comma-delim' argument.
5997 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
5998 initializer expression more accurately.
5999
6000 Correct loop termination condition in c-syntactic-skip-backward.
6001 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6002 the situation where, after moving back out of a literal,
6003 skip-chars-backward doesn't move further, yet checks have still to
6004 be done.
6005
6006 2014-08-01 Eli Zaretskii <eliz@gnu.org>
6007
6008 * tutorial.el (tutorial--display-changes): Accept punctuation
6009 characters before the key binding. (Bug#18146)
6010
6011 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
6012
6013 * progmodes/python.el: Shell output capture enhancements.
6014 (python-shell-accept-process-output): New function.
6015 (inferior-python-mode)
6016 (python-shell-send-setup-code): Use it.
6017
6018 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
6019
6020 * calendar/icalendar.el (icalendar--decode-isodatetime):
6021 Use actual current-time-zone when converting to local time. (Bug#15408)
6022
6023 2014-07-29 Martin Rudalics <rudalics@gmx.at>
6024
6025 * window.el (window--state-put-2): Handle horizontal scroll
6026 bars, if present.
6027
6028 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6029
6030 * menu-bar.el (menu-bar-update-buffers): Update item list format
6031 in `buffers-menu' to confirm with changes to `get_keyelt'
6032 (r117463). (Bug#18016)
6033
6034 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6035
6036 * progmodes/python.el (inferior-python-mode): Make input prompts
6037 read-only.
6038
6039 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
6040
6041 * net/tramp-sh.el (tramp-get-remote-python): Also search for
6042 executables named "python2" or "python3".
6043 (tramp-get-remote-uid-with-python): Use parentheses around
6044 arguments to `print' to make it compatible with Python 3.
6045 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
6046
6047 2014-07-28 Eli Zaretskii <eliz@gnu.org>
6048
6049 * window.el (window--pixel-to-total): Use FRAME's root window, not
6050 that of the selected frame. (Bug#18112, Bug#16674)
6051
6052 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
6053
6054 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6055 (Bug#18117)
6056
6057 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6058
6059 * progmodes/python.el (inferior-python-mode): Doc fix.
6060
6061 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6062
6063 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6064 not a character, ignore it instead of raising an error.
6065
6066 * calendar/todo-mode.el: Fix handling of marked items and make
6067 minor code improvements.
6068 (todo-edit-item): If there are marked items, ensure user can only
6069 invoke editing commands that work with marked items.
6070 (todo-edit-item--text): When there are marked items, make it a
6071 noop if invoked with point not on an item; otherwise, ensure it
6072 applies only to item at point.
6073 (todo-item-undone): If there are marked not-done items, return
6074 point to its original position before signaling user error.
6075 (todo--user-error-if-marked-done-item): New function.
6076 (todo-edit-item--header, todo-edit-item--diary-inclusion)
6077 (todo-item-done): Use it.
6078
6079 2014-07-28 Glenn Morris <rgm@gnu.org>
6080
6081 * files.el (toggle-read-only): Re-add basic doc-string.
6082 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6083
6084 * progmodes/prolog.el (prolog-mode-keybindings-edit):
6085 Replace missing `switch-to-prolog' with `run-prolog'.
6086 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6087
6088 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6089
6090 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6091 of file-wide setting when changing category-wide setting.
6092
6093 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6094
6095 * doc-view.el (doc-view-open-text): Don't require that the
6096 document is saved in a file (e.g., email attachment).
6097
6098 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6099
6100 Parse completion input in a iPython friendly way. (Bug#18084)
6101 * progmodes/python.el
6102 (python-shell-completion-at-point): Rename from
6103 python-shell-completion-complete-at-point.
6104 (inferior-python-mode): Use it.
6105 (python-completion-at-point): Rename from
6106 python-completion-complete-at-point. Parse input up to first
6107 backward occurrence of whitespace, open-paren, close-paren or
6108 string delimiter.
6109 (python-mode): Use it.
6110
6111 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6112
6113 * progmodes/python.el
6114 (python-shell-with-shell-buffer): New macro.
6115 (python-shell-font-lock-get-or-create-buffer)
6116 (python-shell-font-lock-kill-buffer)
6117 (python-shell-font-lock-with-font-lock-buffer)
6118 (python-shell-font-lock-cleanup-buffer)
6119 (python-shell-font-lock-toggle): Use it.
6120 (python-shell-font-lock-turn-on)
6121 (python-shell-font-lock-turn-off): Use it. Make command.
6122
6123 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6124
6125 Grab all Python process output before inferior-python-mode hooks.
6126 * progmodes/python.el (inferior-python-mode):
6127 Call accept-process-output and sit-for to ensure all output for process
6128 has been received before running hooks.
6129 (python-shell-internal-get-or-create-process):
6130 Cleanup accept-process-output and sit-for calls.
6131
6132 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6133
6134 More robust shell startup and code setup.
6135 * progmodes/python.el (python-shell-make-comint):
6136 Remove accept-process-output call.
6137 (python-shell-get-buffer): Return current buffer if major-mode is
6138 inferior-python-mode.
6139 (python-shell-get-or-create-process): Use it.
6140 (python-shell-send-setup-code): Send all setup code in one string,
6141 output success message and accept-process-output.
6142
6143 2014-07-27 Eli Zaretskii <eliz@gnu.org>
6144
6145 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6146 Add rudimentary support for bidirectional text.
6147
6148 2014-07-27 Martin Rudalics <rudalics@gmx.at>
6149
6150 * frame.el (frame-notice-user-settings): Rewrite using
6151 frame-initial-frame-tool-bar-height.
6152 * menu-bar.el (menu-bar-horizontal-scroll-bar)
6153 (menu-bar-no-horizontal-scroll-bar): New functions.
6154 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6155 scroll bars.
6156 * scroll-bar.el (scroll-bar-lines)
6157 (set-horizontal-scroll-bar-mode)
6158 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6159 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6160 (scroll-bar-toolkit-horizontal-scroll): New functions.
6161 (horizontal-scroll-bar-mode)
6162 (previous-horizontal-scroll-bar-mode)
6163 (horizontal-scroll-bar-mode-explicit): New variables.
6164 (horizontal-scroll-bar-mode): New option.
6165 (toggle-horizontal-scroll-bar): Do something.
6166 (top-level): Bind horizontal-scroll-bar mouse-1.
6167 * startup.el (tool-bar-originally-present): Remove variable.
6168 (command-line): Don't set tool-bar-originally-present.
6169 * window.el (window-min-height): Update doc-string.
6170 (window--dump-frame): Dump horizontal scroll bar values.
6171 (window--min-size-1): Handle minibuffer window separately.
6172 Count in margins and horizontal scroll bar. Return safe value
6173 iff IGNORE equals 'safe.
6174 (frame-windows-min-size): New function (used by frame resizing
6175 routines).
6176 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6177 scroll bars.
6178 (window--sanitize-window-sizes): New function.
6179 (window-split-min-size): Remove.
6180 (split-window): Count divider-width. Don't use
6181 `window-split-min-size' any more. Reword error messages.
6182 Sanitize windows sizes after splitting.
6183
6184 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
6185
6186 Use `defvar-local' more.
6187 * progmodes/hideshow.el
6188 (hs-c-start-regexp, hs-block-start-regexp)
6189 (hs-block-start-mdata-select, hs-block-end-regexp)
6190 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6191 remove corresponding `make-variable-buffer-local' top-level calls.
6192
6193 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6194
6195 Cleanup error signals. (Bug#18067)
6196 * progmodes/python.el
6197 (python-indent-shift-left): Use user-error instead.
6198 (python-shell-prompt-detect): Use lwarn with python group.
6199 (python-completion-complete-at-point)
6200 (python-eldoc--get-doc-at-point): Don't signal error.
6201
6202 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6203
6204 Support for packages in Python shell. (Bug#13570)
6205 * progmodes/python.el (python-shell--package-depth): New var.
6206 (python-shell-package-enable): New command.
6207 (python-util-list-directories, python-util-list-files)
6208 (python-util-list-packages): New functions.
6209
6210 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6211
6212 Faster comint output. (Bug#16875)
6213 * progmodes/python.el:
6214 (python-comint-output-filter-function): Make obsolete.
6215 (python-comint-postoutput-scroll-to-bottom): New function.
6216 (inferior-python-mode): Set comint-output-filter-functions to a
6217 minimum.
6218
6219 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6220
6221 * progmodes/python.el (python-shell-font-lock-post-command-hook):
6222 Safeguard current point and undo history.
6223
6224 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6225
6226 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
6227 * progmodes/python.el:
6228 (python-shell-prompt-input-regexps): Add iPython block prompt.
6229 (python-shell-output-syntax-table): Delete var.
6230 (python-shell-font-lock-with-font-lock-buffer): New macro.
6231 (python-shell-font-lock-get-or-create-buffer)
6232 (python-shell-font-lock-kill-buffer)
6233 (python-shell-font-lock-cleanup-buffer)
6234 (python-shell-font-lock-post-command-hook)
6235 (python-shell-font-lock-turn-off): New functions.
6236 (python-shell-font-lock-turn-on): New function.
6237 (inferior-python-mode): Use it.
6238 (python-shell-font-lock-toggle): New command.
6239 (python-shell-font-lock-enable): Rename from
6240 python-shell-enable-font-lock.
6241 (run-python-internal): Use it.
6242 (python-shell-font-lock-comint-output-filter-function): New function.
6243 (python-shell-comint-end-of-output-p): New function.
6244 (python-shell-output-filter): Use it.
6245 (python-util-comint-last-prompt): New function.
6246 (python-util-text-properties-replace-name): New function.
6247
6248 2014-07-25 Glenn Morris <rgm@gnu.org>
6249
6250 * vc/ediff-init.el (ediff-toggle-read-only-function):
6251 * vc/ediff-util.el (ediff-toggle-read-only):
6252 Replace obsolete toggle-read-only with read-only-mode.
6253
6254 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
6255
6256 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6257 with `save-match-data'. (Bug#18095)
6258
6259 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
6260
6261 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6262 order to ensure that row and col are lexically bound inside the
6263 evaluated sexp.
6264
6265 2014-07-21 Glenn Morris <rgm@gnu.org>
6266
6267 * progmodes/hideif.el (hide-ifdef-mode-submap):
6268 Also substitute read-only-mode.
6269 * bindings.el (mode-line-toggle-read-only):
6270 * bs.el (bs-toggle-readonly):
6271 * buff-menu.el (Buffer-menu-toggle-read-only):
6272 * dired.el (dired-toggle-read-only):
6273 * files.el (view-read-only, find-file-read-only)
6274 (find-file-read-only-other-window)
6275 (find-file-read-only-other-frame):
6276 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6277 Doc fixes re toggle-read-only.
6278
6279 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6280
6281 * progmodes/python.el: Add comment about pipe buffering and
6282 solutions for missing/delayed output in inferior Python shells.
6283 (Bug#17304)
6284
6285 * progmodes/python.el (python-mode): Don't set
6286 mode-require-final-newline. (Bug#17990)
6287
6288 Make python.el work with IPython automatically. (Bug#15510)
6289 * progmodes/python.el:
6290 (python-shell-completion-setup-code): New value supporting iPython.
6291 (python-shell-completion-string-code): New value supporting iPython.
6292 (python-shell-completion-get-completions): Use them.
6293 (python-shell-completion-module-string-code): Make obsolete.
6294 (python-shell-prompt-input-regexps)
6295 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
6296 (python-shell-output-filter): Fix comment typo.
6297
6298 Fix Python shell prompts detection for remote hosts.
6299 * progmodes/python.el (python-shell-prompt-detect):
6300 Replace call-process with process-file and make it more robust.
6301
6302 Autodetect Python shell prompts. (Bug#17370)
6303 * progmodes/python.el:
6304 (python-shell-interpreter-interactive-arg)
6305 (python-shell-prompt-detect-enabled)
6306 (python-shell-prompt-detect-failure-warning)
6307 (python-shell-prompt-input-regexps)
6308 (python-shell-prompt-output-regexps): New vars.
6309 (python-shell-prompt-calculated-input-regexp)
6310 (python-shell-prompt-calculated-output-regexp): New vars.
6311 (python-shell-get-process-name)
6312 (python-shell-internal-get-process-name)
6313 (python-shell-output-filter)
6314 (python-shell-completion-get-completions): Use them.
6315 (python-shell-prompt-detect)
6316 (python-shell-prompt-validate-regexps): New functions.
6317 (python-shell-prompt-set-calculated-regexps): New function.
6318 (inferior-python-mode): Use it. Also honor overriden
6319 python-shell-interpreter and python-shell-interpreter-args.
6320 (python-shell-make-comint): Honor overriden
6321 python-shell-interpreter and python-shell-interpreter-args.
6322 (python-shell-get-or-create-process): Make it testable by allowing
6323 to call run-python non-interactively.
6324 (python-util-valid-regexp-p): New function.
6325 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
6326 (python-shell-prompt-output-regexp)
6327 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
6328
6329 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * emacs-lisp/smie.el (smie-config--guess-1): Split from
6332 smie-config--guess.
6333 (smie-config--guess): Use it.
6334
6335 * emacs-lisp/edebug.el: Use nadvice.
6336 (edebug-original-read): Remove.
6337 (edebug--read): Rename from edebug-read and add `orig' arg.
6338 (edebug-uninstall-read-eval-functions)
6339 (edebug-install-read-eval-functions): Use nadvice.
6340 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
6341 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
6342 (edebug-read-string, edebug-read-function): Use just `read'.
6343 (edebug-original-debug-on-entry): Remove.
6344 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
6345 `orig' arg.
6346 (debug-on-entry): Override with nadvice.
6347
6348 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
6349 it also makes sense to bind it to a non-mouse event.
6350
6351 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
6352
6353 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
6356 (bug#18015).
6357
6358 * rect.el (rectangle--string-preview): Don't assume there
6359 a non-nil default (bug#17984).
6360
6361 2014-07-16 Glenn Morris <rgm@gnu.org>
6362
6363 * desktop.el (after-init-hook): Disable startup frame restoration
6364 in non-graphical situations. (Bug#17693)
6365
6366 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
6367 if it was "empty", or used for a different set of files. (Bug#17884)
6368
6369 2014-07-16 Eli Zaretskii <eliz@gnu.org>
6370
6371 * bindings.el (mode-line-remote): If default-directory is not a
6372 string, don't call file-remote-p on it; instead state in the
6373 help-echo that it is nil. (Bug#17986)
6374
6375 2014-07-14 Daniel Colascione <dancol@dancol.org>
6376
6377 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
6378 to `macroexpand-all'
6379
6380 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
6381 Use `macroexpand-all' instead of `cl-macroexpand-all'.
6382
6383 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
6384
6385 Fix bug: C-x v v discarded existing log message (Bug#17884).
6386 * vc/vc-dispatcher.el (vc-log-edit):
6387 Don't clobber an already-existing log message.
6388
6389 2014-07-12 Glenn Morris <rgm@gnu.org>
6390
6391 * vc/log-edit.el (log-edit-changelog-entries):
6392 Check for a visited-but-never-saved ChangeLog.
6393
6394 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
6397 a non-existing file (bug#17970).
6398
6399 * faces.el (face-name): Undo last change.
6400 (x-resolve-font-name): Don't call face-name (bug#17956).
6401
6402 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6403
6404 Fix dedenters and electric colon handling. (Bug#15163)
6405 * progmodes/python.el
6406 (python-rx-constituents): Add dedenter and block-ender.
6407 (python-indent-dedenters, python-indent-block-enders): Delete.
6408 (python-indent-context): Return new case for dedenter-statement.
6409 (python-indent-calculate-indentation): Handle new case.
6410 (python-indent-calculate-levels): Fix levels calculation for
6411 dedenter statements.
6412 (python-indent-post-self-insert-function): Fix colon handling.
6413 (python-info-dedenter-opening-block-message): New function.
6414 (python-indent-line): Use it.
6415 (python-info-closing-block)
6416 (python-info-closing-block-message): Remove.
6417 (python-info-dedenter-opening-block-position)
6418 (python-info-dedenter-opening-block-positions)
6419 (python-info-dedenter-statement-p): New functions.
6420
6421 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
6422
6423 * files.el (out-of-memory-warning-percentage): New defcustom.
6424 (warn-maybe-out-of-memory): Use it.
6425
6426 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
6427
6428 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
6429 when calling `read-string'. (Bug#17839)
6430
6431 2014-07-10 Eli Zaretskii <eliz@gnu.org>
6432
6433 * files.el (warn-maybe-out-of-memory): Fix the wording of the
6434 warning.
6435
6436 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
6437
6438 * files.el (warn-maybe-out-of-memory): New function.
6439 (find-file-noselect): Use it.
6440
6441 2014-07-09 Sam Steingold <sds@gnu.org>
6442
6443 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
6444 `constant' like `bless', `return' &c
6445
6446 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * rect.el (apply-on-rectangle): Check forward-line really moved to the
6449 next line.
6450
6451 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
6454 the middle of a line (bug#17896).
6455
6456 2014-07-09 Juri Linkov <juri@jurta.org>
6457
6458 * startup.el (command-line): Append displaying the warning about
6459 the errors in the init file to the end of `after-init-hook'.
6460 (Bug#17927)
6461
6462 * faces.el (face-name): Return input arg `face' as-is
6463 when it's not a symbol.
6464 (x-resolve-font-name): Don't check if the face is a symbol.
6465 (Bug#17956)
6466
6467 * facemenu.el (list-colors-print): In help-echo format use %.2f
6468 instead of %d because now HSV values are floating-point components
6469 between 0.0 and 1.0.
6470
6471 2014-07-09 Glenn Morris <rgm@gnu.org>
6472
6473 * emulation/cua-rect.el (cua--activate-rectangle):
6474 Avoid setting cua--rectangle to nil. (Bug#17877)
6475
6476 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6477
6478 * calendar/todo-mode.el: Fix wrong-type-argument error when
6479 marking multiple consecutive items.
6480 (todo-toggle-mark-item): Don't try to mark the empty lines at the
6481 end of the todo and done items sections. Note in doc string that
6482 items marked by passing a numeric prefix argument can include the
6483 last todo and first done items.
6484 (todo-mark-category): Don't try to mark the empty line between the
6485 todo and done items sections.
6486
6487 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
6490 proper Lisp quoting (bug#17934).
6491
6492 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
6493 require-final-newline since prog-mode already took care of it (bug#17947).
6494
6495 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6496
6497 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
6498 refer to the Todo mode Info manual. Update the comment on
6499 requiring cl-lib.
6500 (todo-find-filtered-items-file): Add todo-prefix overlays.
6501 (todo-filter-items): Reorder a let-bound variable to avoid a
6502 wrong-type-argument error on canceling the file choice dialog.
6503
6504 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * progmodes/octave.el (inferior-octave-mode):
6507 Set comint-input-ring-size to a number (bug#17912).
6508
6509 2014-07-09 Juri Linkov <juri@jurta.org>
6510
6511 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
6512 and `isearch-mode' associated with nil. (Bug#17849)
6513
6514 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * linum.el (linum--face-height): New function (bug#17813).
6517 (linum-update-window): Use it to adjust margin to linum's width.
6518
6519 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
6520 * eshell/em-smart.el (eshell-smart-scroll-window):
6521 Use with-selected-window.
6522
6523 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
6524 Remove also pointless window&mark manipulation.
6525
6526 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
6527 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
6528 (perl-continuation-line-p): Don't skip over anything else than labels.
6529 Return the previous char.
6530 (perl-calculate-indent): Use syntax-ppss instead of parse-start
6531 and update callers accordingly. For continuation lines, check the
6532 the case of array hashes.
6533 (perl-backward-to-noncomment): Make it non-interactive.
6534 (perl-backward-to-start-of-continued-exp): Rewrite.
6535
6536 2014-07-08 Sam Steingold <sds@gnu.org>
6537
6538 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
6539 New user commands.
6540
6541 2014-07-08 Juri Linkov <juri@jurta.org>
6542
6543 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
6544 (vc-annotate-color-map): Use less saturated colors (20%) for
6545 background-mode.
6546 (vc-annotate-very-old-color): Add default value for background-mode.
6547 (vc-annotate-background): Set default value to nil since now text on
6548 the default backgrounds should be legible in light and dark modes.
6549 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
6550 (Bug#17808)
6551
6552 2014-07-08 Juri Linkov <juri@jurta.org>
6553
6554 * simple.el (transpose-chars): Don't move point into read-only area.
6555 (Bug#17829)
6556
6557 2014-07-08 Juri Linkov <juri@jurta.org>
6558
6559 * window.el (with-displayed-buffer-window): New macro.
6560 (with-temp-buffer-window, with-current-buffer-window):
6561 Use `macroexp-let2' to evaluate and bind variables
6562 in the same order as macro arguments.
6563 (display-buffer--action-function-custom-type):
6564 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
6565
6566 * minibuffer.el (minibuffer-completion-help): Replace
6567 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
6568 with actions that display *Completions* at-bottom when called
6569 from the minibuffer, or below-selected in a normal buffer.
6570 Associate `window-height' with `fit-window-to-buffer'.
6571 Let-bind `pop-up-windows' to nil.
6572
6573 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
6574 instead of `with-current-buffer-window'. (Bug#17809)
6575
6576 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
6577
6578 * progmodes/hideif.el (hide-ifdef-env): Change to global.
6579 (hide-ifdef-env-backup): New variable.
6580 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
6581 New customizable variables.
6582 (hif-clear-all-ifdef-defined): New defun.
6583 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
6584 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
6585 (hif-tokenize): Fix for MS-DOS/Win EOL style.
6586 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
6587 Fix bug to hide the correct #elif region(s).
6588 (hif-range-elif): New defun.
6589 (hif-recurse-level): New var.
6590 (hif-evaluate-region, hif-evaluate-macro): New defun.
6591 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
6592 fully hidden.
6593 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
6594 Better interaction.
6595
6596 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
6597
6598 * net/dbus.el (dbus-peer-handler): New defun.
6599 (dbus-register-service): Register it. (Bug#17858)
6600 (dbus-managed-objects-handler): Fix docstring.
6601
6602 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
6603
6604 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
6605 (narrow-to-defun): New arg include-comments, defaulting to it
6606 (bug#16328).
6607
6608 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
6611 different calling convention to rectangle--unhighlight-for-redisplay.
6612
6613 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
6614
6615 * net/tramp.el (tramp-call-process): Handle error strings.
6616
6617 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
6618
6619 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
6620 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
6621
6622 * net/trampver.el: Update release number.
6623
6624 2014-07-03 Juri Linkov <juri@jurta.org>
6625
6626 * desktop.el (desktop-save): Rename arg `auto-save' to
6627 `only-if-changed'. Doc fix. (Bug#17873)
6628
6629 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6630
6631 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6632 Use insert-for-yank (bug#17271).
6633
6634 2014-07-03 Leo Liu <sdl.web@gmail.com>
6635
6636 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
6637 Support lexical-binding.
6638
6639 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * vc/log-edit.el (log-edit-goto-eoh): New function.
6642 (log-edit--match-first-line): Use it (bug#17861).
6643
6644 2014-07-03 Glenn Morris <rgm@gnu.org>
6645
6646 * vc/log-edit.el (log-edit-hook): Add missing :version.
6647
6648 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6649
6650 * progmodes/python.el (python-indent-post-self-insert-function):
6651 Enhancements to electric indentation behavior inside
6652 parens. (Bug#17658)
6653
6654 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
6657 buffer-invisibility-spec (bug#17867).
6658
6659 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
6660
6661 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
6662 pass "-a".
6663
6664 2014-07-03 Glenn Morris <rgm@gnu.org>
6665
6666 * cus-edit.el (help):
6667 * finder.el (finder-known-keywords):
6668 * help.el (help-for-help-internal):
6669 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
6670 (ediff-redraw-registry-buffer):
6671 * vc/ediff-ptch.el (ediff-patch-file-internal):
6672 Doc fixes re "online" help. (Bug#17803)
6673
6674 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
6675 (idlwave-mode): Doc URL update.
6676
6677 2014-07-01 Juri Linkov <juri@jurta.org>
6678
6679 * man.el: Display man pages immediately and use process-filter
6680 to format them asynchronously.
6681 (Man-width): Doc fix.
6682 (man): Doc fix.
6683 (Man-start-calling): Use `with-selected-window' to get
6684 `frame-width' and `window-width'.
6685 (Man-getpage-in-background): Call `Man-notify-when-ready'
6686 immediately after creating a new buffer. Call `Man-mode' and set
6687 `mode-line-process' in the created buffer. Set process-filter to
6688 `Man-bgproc-filter' in start-process branch. In call-process branch
6689 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
6690 Use `Man-start-calling' inside `with-current-buffer'.
6691 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
6692 (Man-cleanup-manpage): Don't print messages.
6693 (Man-bgproc-filter): New function.
6694 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
6695 user moved it during asynchronous formatting. Move calls of
6696 `Man-fontify-manpage' and `Man-cleanup-manpage' to
6697 `Man-bgproc-filter'. Move the call of `Man-mode' to
6698 `Man-getpage-in-background'. Use `quit-restore-window'
6699 instead of `kill-buffer'. Use `message' instead of `error'
6700 because errors are caught by process sentinel.
6701 (Man-mode): Move calls of `Man-build-page-list',
6702 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
6703 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
6704
6705 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
6706 for the message about the man page cleaned up.
6707
6708 2014-07-01 Mario Lang <mlang@delysid.org>
6709
6710 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
6711 cosutomization option `gnutls-verify-error'.
6712
6713 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
6716 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
6717
6718 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
6719 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
6720 is suspended (bug#17857).
6721
6722 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
6723
6724 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6725 Prefer utf-8 coding. (Bug#17859)
6726
6727 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6728
6729 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
6730 for `reverse'.
6731
6732 2014-06-30 Glenn Morris <rgm@gnu.org>
6733
6734 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
6735 (autoload-ensure-default-file): Maybe make existing output writable.
6736 * Makefile.in (AUTOGEN_VCS): Remove.
6737 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
6738
6739 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6740
6741 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
6742
6743 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6744
6745 New if-let, when-let, thread-first and thread-last macros.
6746
6747 * emacs-lisp/subr-x.el
6748 (internal--listify, internal--check-binding)
6749 (internal--build-binding-value-form, internal--build-binding)
6750 (internal--build-bindings): New functions.
6751 (internal--thread-argument, thread-first, thread-last)
6752 (if-let, when-let): New macros.
6753
6754 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
6755
6756 * net/rcirc.el (rcirc-buffer-process): Restore previous
6757 behaviour. (Bug#17772)
6758
6759 2014-06-29 Alan Mackenzie <acm@muc.de>
6760
6761 Don't call c-parse-state when c++-template-syntax-table is active.
6762 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
6763 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
6764 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
6765
6766 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6767
6768 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
6769 account for file-wide setting of todo-top-priorities-overrides.
6770 Make code a bit cleaner.
6771
6772 2014-06-28 Glenn Morris <rgm@gnu.org>
6773
6774 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
6775
6776 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6777
6778 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
6779 category-wide setting of todo-top-priorities-overrides, check for
6780 a file-wide setting and fontify accordingly.
6781
6782 2014-06-28 Glenn Morris <rgm@gnu.org>
6783
6784 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
6785
6786 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
6789
6790 2014-06-28 K. Handa <handa@gnu.org>
6791
6792 Fix Bug#17739.
6793
6794 * composite.el: Setup composition-function-table for dotted circle.
6795 (compose-gstring-for-dotted-circle): New function.
6796
6797 * international/characters.el: Add category "^" to all
6798 non-spacing characters.
6799
6800 2014-06-28 Glenn Morris <rgm@gnu.org>
6801
6802 * Makefile.in (doit): Remove force rule.
6803 (custom-deps, finder-data, autoloads, update-subdirs)
6804 (compile-one-process): PHONY targets do not need force rules.
6805
6806 * Makefile.in (compile-main, compile, compile-always):
6807 No need to explicitly pass variables to ourself in recursive calls.
6808
6809 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
6812
6813 2014-06-26 Glenn Morris <rgm@gnu.org>
6814
6815 * Makefile.in (update-authors): Update for moved authors.el.
6816
6817 2014-06-26 Leo Liu <sdl.web@gmail.com>
6818
6819 * skeleton.el (skeleton-end-hook): Default to nil and move the
6820 work to skeleton-insert. (Bug#17850)
6821
6822 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
6823
6824 * calc/calc-alg.el (math-beforep):
6825 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
6826 Simplify because string-lessp can accept symbols as args.
6827
6828 2014-06-26 Daiki Ueno <ueno@gnu.org>
6829
6830 * emacs-lisp/package.el (package--check-signature):
6831 If package-check-signature is allow-unsigned, don't signal error when
6832 we can't verify signature because of missing public key
6833 (bug#17625).
6834
6835 2014-06-26 Glenn Morris <rgm@gnu.org>
6836
6837 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
6838 Remove outdated declaration.
6839
6840 * emacs-lisp/authors.el (authors-valid-file-names)
6841 (authors-renamed-files-alist): Additions.
6842
6843 2014-06-26 Leo Liu <sdl.web@gmail.com>
6844
6845 * textmodes/picture.el (picture-set-tab-stops):
6846 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
6847 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
6848
6849 * progmodes/asm-mode.el (asm-calculate-indentation):
6850 Use indent-next-tab-stop.
6851
6852 * indent.el (indent-accumulate-tab-stops): New function.
6853
6854 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
6857 (package-desc-status): Obey it.
6858
6859 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
6860
6861 * calendar/todo-mode.el: Fix two bugs.
6862 (todo-insert-item--basic): If user cancels item insertion to
6863 another category before setting priority, show original category
6864 whether it is in the same or a different file.
6865 (todo-set-item-priority): After selecting category, instead of
6866 moving point to top, which extends an active region, restore it.
6867
6868 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * help-fns.el (describe-function-1): Check file-name is a string before
6871 calling help-fns--autoloaded-p (bug#17564).
6872
6873 2014-06-26 Juri Linkov <juri@jurta.org>
6874
6875 * desktop.el (desktop-auto-save-enable)
6876 (desktop-auto-save-disable): New functions.
6877 (desktop-save-mode, desktop-auto-save-timeout): Use them.
6878 (desktop-read): Disable the autosave before loading the desktop,
6879 and enable afterwards. (Bug#17351)
6880
6881 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 Fix some indentation problem with \; and pipes (bug#17842).
6884 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
6885 (sh-smie--default-forward-token, sh-smie--default-backward-token):
6886 New functions.
6887 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
6888 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
6889 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
6890
6891 2014-06-26 Glenn Morris <rgm@gnu.org>
6892
6893 * emacs-lisp/find-func.el (find-function-C-source-directory):
6894 Use file-accessible-directory-p.
6895
6896 * ps-samp.el: Make it slightly less awful.
6897 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
6898 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
6899 Only set local values.
6900 (ps-article-subject, ps-article-author): Use standard functions
6901 like mail-fetch-field.
6902 (ps-info-file, ps-info-node): Use match-string.
6903 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
6904 (ps-samp-ps-setup): ... new function.
6905
6906 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
6907 Optimize away code unneeded on any modern Emacs.
6908
6909 * emacs-lisp/authors.el: Move to ../admin.
6910
6911 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
6912
6913 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
6914
6915 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
6916 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
6917 performance enhancements.
6918 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
6919 expansion.
6920 (hif-factor, hif-string-concatenation, intern-safe): Support string
6921 concatenation and argumented macro expansion.
6922 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
6923 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
6924 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
6925 (hif-canonicalize-tokens, hif-place-macro-invocation)
6926 (hif-parse-macro-arglist): Mostly new functions for supporting
6927 argumented macro expansion.
6928 (hif-string-concatenation, hif-stringify, hif-token-concat)
6929 (hif-token-stringification, hif-token-concatenation):
6930 Stringification and concatenation.
6931 (hif-find-next-relevant): Fix comments.
6932 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
6933 some cases involving #elif.
6934 (hif-find-define, hif-add-new-defines): New functions for automatically
6935 scanning of defined symbols.
6936 (hide-ifdef-guts): Fix for defined symbol auto scanning.
6937 (hide-ifdef-undef): Fix behavior to match CPP.
6938
6939 2014-06-25 Glenn Morris <rgm@gnu.org>
6940
6941 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
6942 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
6943 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
6944 files. They are not relevant to the original issue (bug#1004),
6945 and cause unnecessary recompilation (bug#2151).
6946
6947 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * play/landmark.el: Use lexical-binding and avoid `intangible'.
6950 (landmark--last-pos): New var.
6951 (landmark--intangible-chars): New const.
6952 (landmark--intangible): New function.
6953 (landmark-mode, landmark-move): Use it.
6954 (landmark-mode): Remove properties.
6955 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
6956 (landmark-cross-qtuple):
6957 Don't worry about `intangible' any more.
6958 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
6959 (landmark-init-display): Don't set `intangible' and `point-entered'.
6960 (square): Remove. Inline it instead.
6961 (landmark--distance): Rename from `distance'.
6962 (landmark-calc-distance-of-robot-from): Rename from
6963 calc-distance-of-robot-from.
6964 (landmark-calc-smell-internal): Rename from calc-smell-internal.
6965
6966 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
6967
6968 * files.el (dir-locals-find-file, file-relative-name):
6969 * info.el (Info-complete-menu-item):
6970 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
6971 to compare-strings to avoid out-of-range errors.
6972 * subr.el (string-prefix-p): Adjust to match strict range
6973 checking in compare-strings.
6974
6975 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
6976
6977 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
6978 for comment lines non-greedy and stopping at newlines to fix stack
6979 overflows with large files.
6980
6981 2014-06-24 Eli Barzilay <eli@barzilay.org>
6982
6983 * calculator.el (calculator-last-input): Drop 'ascii-character property
6984 lookup.
6985
6986 2014-06-24 Leo Liu <sdl.web@gmail.com>
6987
6988 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
6989 tab-stop-list to nil. (Bug#16381)
6990
6991 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
6992 (indent-rigidly-left-to-tab-stop)
6993 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
6994 (move-to-tab-stop): Change callers.
6995
6996 2014-06-24 Eli Zaretskii <eliz@gnu.org>
6997
6998 * skeleton.el (skeleton-insert): Yet another fix of the doc string
6999 wrt behavior of \n as the first/last element of a skeleton.
7000
7001 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
7002
7003 * net/tramp-adb.el (tramp-adb-handle-process-file):
7004 * net/tramp-sh.el (tramp-sh-handle-process-file):
7005 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7006 the output buffer when DISPLAY is non-nil. (Bug#17815)
7007
7008 2014-06-24 Glenn Morris <rgm@gnu.org>
7009
7010 * play/landmark.el (landmark-move-down, landmark-move-up):
7011 Fix 2007-10-20 change - preserve horizontal position.
7012
7013 2014-06-23 Sam Steingold <sds@gnu.org>
7014
7015 * simple.el (kill-append): Remove undo boundary depending on ...
7016 (kill-append-merge-undo): New user option.
7017
7018 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * simple.el (handle-shift-selection, exchange-point-and-mark)
7021 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7022 (transient-mark-mode): Use&set the global value.
7023 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7024 * emulation/edt.el (edt-emulation-off): Save&restore the global
7025 transient-mark-mode setting.
7026 * obsolete/pc-select.el (pc-selection-mode): Use the
7027 transient-mark-mode function.
7028
7029 2014-06-23 Eli Zaretskii <eliz@gnu.org>
7030
7031 * international/fontset.el (script-representative-chars):
7032 Add representative characters for scripts added in Unicode 7.0.
7033 (otf-script-alist): Synchronize with the latest registry of OTF
7034 script tags.
7035
7036 * international/characters.el (char-script-table): Update for
7037 scripts added and codepoint ranges changed in Unicode 7.0.
7038
7039 2014-06-23 Eli Barzilay <eli@barzilay.org>
7040
7041 * calculator.el (calculator-standard-displayer): Fix bug in use of
7042 `calculator-groupize-number'.
7043 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7044 `eval' code, so it works in v24.3.1 too.
7045 (calculator-last-input): Comment to clarify purpose.
7046
7047 2014-06-22 Mario Lang <mlang@delysid.org>
7048
7049 * textmodes/rst.el (rst-comment-region): From from -> from.
7050
7051 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7052
7053 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
7054
7055 * electric.el (electric-layout-post-self-insert-function):
7056 * emacs-lisp/ert.el (ert--insert-infos):
7057 * obsolete/vi.el (vi-set-mark):
7058 * term.el (term-handle-scroll):
7059 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7060 * wid-edit.el (widget-editable-list-value-create):
7061 Prefer point-marker to copy-marker of point.
7062
7063 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7064
7065 Fix completion retrieval parsing (bug#17209).
7066 * progmodes/python.el (python-mode):
7067 (python-util-strip-string): New function.
7068 (python-shell-completion-get-completions): Use it.
7069
7070 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7071
7072 * skeleton.el (skeleton-insert): Fix last change.
7073
7074 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7075
7076 Enhancements for outline integration (bug#17796).
7077 * progmodes/python.el (python-mode): Properly set
7078 outline-heading-end-regexp so that comments after colons for
7079 defuns are supported.
7080
7081 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7082
7083 * skeleton.el (skeleton-insert): Doc fix.
7084
7085 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7088 (smie-config-guess): Use smie-config-local so the rules are obeyed
7089 (bug#17818).
7090
7091 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7092 since it's already done inside the loop (bug#17819).
7093
7094 2014-06-21 Martin Rudalics <rudalics@gmx.at>
7095
7096 * mouse.el (mouse-drag-line): Re-remove code initially removed
7097 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7098 (Bug#17819).
7099
7100 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7103 align with the surrounding parent (bug#17721).
7104
7105 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7106
7107 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7108 locally to nil.
7109 (texinfo-insert-block, texinfo-insert-@end)
7110 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7111 local setting of skeleton-end-newline by adding an explicit \n to
7112 the skeletons where appropriate. (Bug#17801)
7113
7114 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7117 (smie-indent--hanging-p): Use it.
7118 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7119
7120 2014-06-21 Leo Liu <sdl.web@gmail.com>
7121
7122 * simple.el (read-quoted-char): Don't let help chars pop up help
7123 buffer. (Bug#16617)
7124
7125 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7128 for | (bug#17621).
7129
7130 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7131 Drop unknown events instead of burping.
7132
7133 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7134
7135 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7136 and later. (Bug#17790)
7137
7138 2014-06-21 Juri Linkov <juri@jurta.org>
7139
7140 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7141 to `soft'. (Bug#17554)
7142
7143 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7146 (bug#17737).
7147
7148 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
7149
7150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7151 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
7152
7153 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
7154
7155 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7156 `unread-command-events'.
7157
7158 2014-06-19 William Xu <william.xwl@gmail.com>
7159
7160 * progmodes/hideif.el (hif-string-to-number): Don't return float for
7161 hex integer constants (bug#17807).
7162
7163 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * international/mule-util.el (truncate-string-ellipsis): New var.
7166 (truncate-string-to-width): Use it.
7167
7168 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
7169
7170 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7171 (lisp-string-in-doc-position-p): New function, extracted from
7172 lisp-font-lock-syntactic-face-function.
7173 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7174
7175 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
7176
7177 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
7178
7179 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7182 (bubbles--game-over): Don't add `intangible' properties since they
7183 didn't work anyway.
7184
7185 2014-06-18 Juri Linkov <juri@jurta.org>
7186
7187 * vc/ediff-init.el (ediff-current-diff-Ancestor)
7188 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7189 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7190 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7191 Add `min-colors 88' version with removed black/white foregrounds.
7192 (Bug#10181)
7193
7194 2014-06-18 Juri Linkov <juri@jurta.org>
7195
7196 * vc/diff-mode.el (diff-changed): Empty face definition to use
7197 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
7198 (diff-context): Use darker color on light background and
7199 lighter color on dark background.
7200
7201 2014-06-18 Juri Linkov <juri@jurta.org>
7202
7203 * vc/diff-mode.el (diff-refine-changed): Rename from
7204 `diff-refine-change' for consistency with `diff-changed'.
7205 (diff-refine-change): Add obsolete face alias. (Bug#10181)
7206
7207 * vc/smerge-mode.el (smerge-refined-changed): Rename from
7208 `smerge-refined-change'.
7209 (smerge-refined-change): Add obsolete face alias.
7210
7211 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * rect.el (rectangle-preview): New custom.
7214 (rectangle): New group.
7215 (rectangle--pos-cols): Add `window' argument.
7216 (rectangle--string-preview-state, rectangle--string-preview-window):
7217 New vars.
7218 (rectangle--string-flush-preview, rectangle--string-erase-preview)
7219 (rectangle--space-to, rectangle--string-preview): New functions.
7220 (string-rectangle): Use them.
7221 (rectangle--inhibit-region-highlight): New var.
7222 (rectangle--highlight-for-redisplay): Obey it. Make sure
7223 `apply-on-region' uses the point-crutches of the right window.
7224 Use :align-to rather than multiple spaces.
7225
7226 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
7227
7228 * ruler-mode.el (ruler-mode-window-col)
7229 (ruler-mode-mouse-set-left-margin)
7230 (ruler-mode-mouse-set-right-margin): Fix calculation of column
7231 from mouse position (Bug#17768).
7232
7233 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
7234
7235 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7236 without varname or rhs causes crash.
7237 (dun-ftp): Fix bug where blank ftp password is allowed, making it
7238 impossible to win endgame.
7239 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7240 rlogin is anymore.
7241 (dun-help): Bump version number; update contact info.
7242
7243 2014-06-15 Eli Barzilay <eli@barzilay.org>
7244
7245 * calculator.el (calculator-prompt, calculator-remove-zeros)
7246 (calculator-mode-hook, calculator-operators, calculator-stack)
7247 (calculator-mode): Tweak docstring.
7248 (calculator-user-operators): Tweak docstring, fix a bug in the last
7249 example.
7250 (calculator-displayer): `std' case has an optional boolean.
7251 (calculator-displayers): Use the new boolean to group in decimal mode.
7252 (calculator-mode-map, calculator, calculator-message)
7253 (calculator-op-arity, calculator-add-operators)
7254 (calculator-string-to-number, calculator-displayer-prev)
7255 (calculator-displayer-next, calculator-remove-zeros)
7256 (calculator-eng-display, calculator-number-to-string)
7257 (calculator-update-display, calculator-last-input)
7258 (calculator-clear-fragile, calculator-digit, calculator-decimal)
7259 (calculator-exp, calculator-saved-move, calculator-clear)
7260 (calculator-copy, calculator-put-value, calculator-help)
7261 (calculator-expt, calculator-truncate): Minor code improvements.
7262 (calculator-need-3-lines): New function pulling out code from
7263 `calculator'.
7264 (calculator-get-display): Rename from `calculator-get-prompt', and
7265 improved.
7266 (calculator-push-curnum): Rename from `calculator-curnum-value', and
7267 extended for all uses of it. All callers changed.
7268 (calculator-groupize-number): New utility for splitting a number into
7269 groups.
7270 (calculator-standard-displayer): Improve code, new optional argument to
7271 use comma-split groups, make second argument optional too to use with
7272 'left/'right inputs. All callers changed.
7273 (calculator-reduce-stack-once): New utility, doing the meat of what
7274 `calculator-reduce-stack' used to do, much improved (mostly using
7275 `pcase' for conciseness and clarity).
7276 (calculator-reduce-stack): Now doing just the reduction loop using
7277 `calculator-reduce-stack-once'.
7278 (calculator-funcall): Improve code, make it work in v24.3.1 too.
7279 (calculator-last-input): Improve code, remove some old cruft.
7280 (calculator-quit): Kill `calculator-buffer' in electric mode too.
7281 (calculator-integer-p): Remove.
7282 (calculator-fact): Improve code, make it work on non-integer values
7283 too (using truncated numbers).
7284
7285 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
7286
7287 Sync with Tramp 2.2.10.
7288
7289 * net/tramp.el (tramp-methods): Tweak docstring.
7290 (tramp-handle-file-accessible-directory-p): Check for
7291 `file-readable-p' instead of `file-executable-p'.
7292 (tramp-check-cached-permissions):
7293 Use `tramp-compat-file-attributes'.
7294 (tramp-call-process): Add new argument VEC. Adapt callees in all
7295 tramp*.el files.
7296
7297 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
7298 (tramp-adb-maybe-open-connection): Don't set
7299 `tramp-current-*' variables.
7300
7301 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
7302 file properties of temporary buffers.
7303
7304 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
7305
7306 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
7307 (tramp-gvfs-handle-delete-file): Flush file
7308 properties, not directory properties.
7309 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
7310 reading "unix::mode".
7311 (tramp-gvfs-handle-file-name-all-completions):
7312 Use "-h" option for "gvfs-ls".
7313 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
7314 (tramp-gvfs-send-command): Simplify traces.
7315
7316 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
7317 (vc-git-program, vc-hg-program): Declare.
7318 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
7319 (tramp-methods) <nc>: Add new method.
7320 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
7321 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
7322 `tramp-login-args'.
7323 (tramp-default-user-alist): Add "nc".
7324 (top): Remove completion function for "sftp". Add completion
7325 functions for "nc" and "psftp".
7326 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
7327 Implement support for "nc" method.
7328 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
7329 (tramp-remote-coding-commands, tramp-call-local-coding-command):
7330 Tweak docstring.
7331 (tramp-sh-handle-write-region): Tweak error message.
7332 (tramp-sh-handle-vc-registered): Remove backends when the remote
7333 binary does not exist.
7334 (tramp-find-inline-encoding): Do not raise an error.
7335 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
7336 the "nc" case. Quote result also locally.
7337
7338 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7339 (tramp-smb-handle-set-file-acl): Use `start-process'.
7340 (tramp-smb-handle-insert-directory): Use progress reporter.
7341 (tramp-smb-handle-rename-file): Flush also file properties of
7342 FILENAME.
7343
7344 * net/trampver.el: Update release number.
7345
7346 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
7349 add-to-list.
7350 (ses-localvars): Remove ses--local-printer-list, unused.
7351 (ses--metaprogramming): New macro. Use it to defvar variables.
7352 (ses-set-localvars): Simplify.
7353 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
7354 property-list into an alist.
7355 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7356 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
7357 Remove; use defstruct accessors/setters instead.
7358 (ses-cell-formula-aset, ses-cell-printer-aset)
7359 (ses-cell-references-aset): Remove, use setf instead.
7360 (ses--alist-get): New function.
7361 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
7362 Use an alist instead of a plist and don't do move-to-front since the
7363 list is always short.
7364 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
7365 (ses-cell-property-set-fun, ses-cell-property-set)
7366 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
7367 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
7368 (ses--letref): New macro.
7369 (ses-cell-property-pop): Rewrite.
7370 (ses--cell): Rename from ses-cell and make it into a function.
7371 Make `formula' fallback on `value' if nil.
7372 (ses--local-printer): Rename from ses-local-printer and make it into
7373 a function.
7374 (ses-set-cell): Turn it into a macro so finding the accessor from the
7375 field name is done at compile time.
7376 (ses-repair-cell-reference-all): Test presence of `sym' rather than
7377 `ref' before adding `sym' to :ses-repair-reference.
7378 (ses-calculate-cell): Use ses--letref rather than
7379 ses-cell-property-get-handle.
7380 (ses-write-cells): Use a single prin1-to-string.
7381 (ses-setter-with-undo): New function.
7382 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
7383 (ses-unset-with-undo): Remove.
7384 (ses-load): Prefer apply' over `eval'.
7385 (ses-read-printer, ses-set-column-width): Use standard "(default
7386 foo)" format.
7387
7388 2014-06-15 Glenn Morris <rgm@gnu.org>
7389
7390 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
7391
7392 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
7393 Replace delete-duplicates and mapcan by cl- versions throughout.
7394 And cl-macroexpand-all by macroexpand-all.
7395 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
7396
7397 2014-06-15 Eli Zaretskii <eliz@gnu.org>
7398
7399 * subr.el (posn-col-row): Doc fix. (Bug#17768)
7400
7401 2014-06-15 Juri Linkov <juri@jurta.org>
7402
7403 * bindings.el: Put `ascii-character' property on keypad keys
7404 mapped to characters. (Bug#17759)
7405
7406 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
7409 bumping forward into a closing paren (bug#17761).
7410
7411 * term/xterm.el (xterm--version-handler): Work around for OSX
7412 Terminal.app (bug#17607).
7413
7414 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
7415
7416 * play/dunnet.el (dun-describe-room, dun-mode):
7417 If a lamp is in the room, you won't be eaten by a grue.
7418
7419 2014-06-13 Glenn Morris <rgm@gnu.org>
7420
7421 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
7422 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
7423 (compile-always): GNU make automatically passes
7424 command-line arguments to sub-makes.
7425
7426 * calendar/calendar.el (calendar-generate-window):
7427 Remove pointless call to font-lock-fontify-buffer.
7428
7429 2014-06-13 Matthias Meulien <orontee@gmail.com>
7430
7431 * simple.el (completion-list-mode-map): Navigate with tab and backtab
7432 (bug#17767).
7433
7434 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * simple.el (set-mark-command): Simplify a bit.
7437
7438 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7439
7440 * help.el (help--key-binding-keymap): New function.
7441 (help--binding-locus): New function.
7442 (describe-key): Mention the keymap in which the binding was
7443 found. (bug#13948)
7444
7445 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * hippie-exp.el (he--all-buffers): New function.
7448 (try-expand-line-all-buffers, try-expand-list-all-buffers)
7449 (try-expand-dabbrev-all-buffers): Use it.
7450
7451 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
7452
7453 * hippie-exp.el (try-expand-line-all-buffers)
7454 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
7455 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
7456 original buffer, in case they're buffer-local.
7457
7458 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
7459
7460 * ses.el (ses-initial-global-parameters-re): New defconst, a
7461 specific regexp is needed now that ses.el can handle both
7462 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
7463 local printers.
7464 (ses-localvars): Add local variables needed for local printer handling.
7465 (ses-set-localvars): Handle hashmap initialisation.
7466 (ses-paramlines-plist): Add param-line for number of local printers.
7467 (ses-paramfmt-plist): New defconst, needed for code factorization
7468 between functions `ses-set-parameter' and
7469 `ses-file-format-extend-paramter-list'
7470 (ses-make-local-printer-info): New defsubst.
7471 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7472 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
7473 (ses-cell-printer-aset): New defmacro.
7474 (ses-local-printer-compile): New defun.
7475 (ses-local-printer): New defmacro.
7476 (ses-printer-validate, ses-call-printer): Add support for local
7477 printer functions.
7478 (ses-file-format-extend-paramter-list): New defun.
7479 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
7480 factorization.
7481 (ses-load): Add support for local printer functions.
7482 (ses-read-printer): Update docstring and add support for local printer
7483 functions.
7484 (ses-refresh-local-printer, ses-define-local-printer): New defun.
7485 (ses-safe-printer): Add support for local printer functions.
7486
7487 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
7488
7489 * ffap.el (ffap-lax-url): New var (bug#17723).
7490 (ffap-url-at-point): Use it.
7491 (ffap-file-at-point): Avoid returning just "/".
7492
7493 2014-06-12 Matthias Meulien <orontee@gmail.com>
7494
7495 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
7496 (python-mode-map): Bind it.
7497
7498 * progmodes/python.el (class skeleton): Don't erase last char of class
7499 name (bug#17683).
7500
7501 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
7502
7503 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
7504
7505 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
7506
7507 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
7508 (bug#17745).
7509
7510 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * international/mule-cmds.el: Use lexical-binding.
7513 (ucs-names): Simplify.
7514
7515 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
7516
7517 * progmodes/python.el (run-python): Use read-shell-command.
7518
7519 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * rect.el: Make it possible to move bounds past EOL or into TABs.
7522 (operate-on-rectangle): Use apply-on-rectangle.
7523 (rectangle--mark-crutches): New var.
7524 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
7525 (rectangle--crutches, rectangle--reset-crutches): New functions.
7526 (apply-on-rectangle): Obey crutches. Avoid setq.
7527 Fix missing final iteration if end is at EOB&BOL.
7528 (rectangle-mark-mode-map): Add remap bindings for
7529 exchange-point-and-mark and char/line movements.
7530 (rectangle--*-char): New function.
7531 (rectangle-exchange-point-and-mark, rectangle-right-char)
7532 (rectangle-left-char, rectangle-forward-char)
7533 (rectangle-backward-char, rectangle-next-line)
7534 (rectangle-previous-line): New commands.
7535 (rectangle--place-cursor): New function.
7536 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
7537
7538 2014-06-08 Glenn Morris <rgm@gnu.org>
7539
7540 * startup.el (initial-buffer-choice): Doc fix.
7541 Reset :version (adding an option does not merit a :version bump).
7542
7543 * bookmark.el (bookmark-load):
7544 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
7545
7546 2014-06-08 Juri Linkov <juri@jurta.org>
7547
7548 * desktop.el: Activate auto-saving on window configuration changes.
7549 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
7550 `desktop-auto-save-set-timer' to/from
7551 `window-configuration-change-hook'.
7552 (desktop-auto-save-set-timer): Change REPEAT arg of
7553 `run-with-idle-timer' from t to nil.
7554 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
7555
7556 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
7557
7558 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
7559 vc-hg-command (bug#17570).
7560
7561 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * international/mule-cmds.el (ucs-names): Add special entry for BEL
7564 (bug#17702).
7565
7566 2014-06-08 Glenn Morris <rgm@gnu.org>
7567
7568 * startup.el (window-setup-hook): Doc fix.
7569
7570 * emacs-lisp/package.el (package-check-signature)
7571 (package-unsigned-archives): Doc fixes.
7572
7573 2014-06-08 Martin Rudalics <rudalics@gmx.at>
7574
7575 * window.el (display-buffer-use-some-window): Don't make window
7576 used smaller than it was before (Bug#17671).
7577
7578 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7579
7580 * menu-bar.el (menu-bar-open): Fix last change: use the PC
7581 'redisplay' instead of '(sit-for 0)'.
7582
7583 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
7584
7585 * net/tramp.el (tramp-ssh-controlmaster-options):
7586 Improve search regexp. (Bug#17653)
7587
7588 2014-06-08 Glenn Morris <rgm@gnu.org>
7589
7590 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
7591
7592 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7593
7594 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
7595
7596 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
7597
7598 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
7599 (bug#17586).
7600
7601 * vc/vc-hg.el (vc-hg-log-graph): New var.
7602 (vc-hg-print-log): Use it.
7603 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
7604 graph output (bug#17515).
7605
7606 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * mouse.el (mouse-posn-property): Ignore buffer position info when the
7609 even happened elsewhere.
7610
7611 2014-06-06 Mario Lang <mlang@delysid.org>
7612
7613 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
7614 `recenter' if `current-buffer' is equal to `window-buffer'.
7615
7616 2014-06-05 Leo Liu <sdl.web@gmail.com>
7617
7618 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
7619
7620 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
7621
7622 * textmodes/tildify.el (tildify-foreach-region-outside-env):
7623 New function which calls a callback on portions of the buffer that are
7624 outside of ignored environments.
7625 (tildify-build-regexp): Remove function since it is now
7626 incorporated in `tildify-foreach-region-outside-env' where it is
7627 optimized and simplified by the use of `mapconcat'.
7628 (tildify-tildify): Return number of substitutions made so that…
7629 (tildify-count): …can be removed.
7630 (tildify-find-env): Accept a new PAIRS argument which was
7631 previously looked up in `tildify-ignored-environments-alist' each
7632 time the function was called. With this change, the lookup is
7633 performed only once in `tildify-foreach-region-outside-env'.
7634 (tildify-region): Greatly simplify the function since now most of
7635 the work is done by `tildify-foreach-region-outside-env'.
7636 (tildify-mode-alist): Simplify slightly by avoiding if and setq
7637 and instead using or.
7638
7639 * textmodes/tildify.el (tildify-ignored-environments-alist):
7640 Optimize environments regexes
7641
7642 Each time beginning of an environment to ignore is found,
7643 `tildify-find-env' needs to identify regexp for the ending
7644 of the environment. This is done by trying all the opening
7645 regexes on matched text in a loop, so to speed that up, this
7646 loop should have fewer things to match, which can be done by
7647 using alternatives in the opening regexes.
7648
7649 Coincidentally, this should make matching of the opening
7650 regexp faster as well thanks to the use of `regexp-opt' and
7651 having common prefix pulled from many regexes.
7652
7653 * textmodes/tildify.el (tildify-string-alist)
7654 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
7655 of supported modes since `xml-mode' is no longer a thing but just
7656 an alias to the former. Also include comments and insides of tags
7657 in `tildify-ignored-environments-alist' for XML modes. Finally,
7658 since XML does not define “&nbsp;”[1], use a numeric reference for
7659 a no-break space (namely “&#160;”)
7660
7661 [1] XML specification defines only a handful of predefined entities.
7662 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
7663 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
7664 >, &, ' and " respectively). This is in contrast to HTML and even
7665 XHTML which defined a whole bunch of entities including “&nbsp;”.
7666
7667 * textmodes/tildify.el (tildify-pattern-alist)
7668 (tildify-string-alist, tildify-ignored-environments-alist):
7669 Improve defcustom's types by adding more tags explaining what each
7670 value means and replace “sexp” used in
7671 `tildify-ignored-environments-alist' with a full type declaration.
7672
7673 * textmodes/tildify.el (tildify-find-env): Fix matched group
7674 indexes in end-regex building
7675
7676 When looking for a start of an ignore-environment, the regex is built
7677 by concatenating regexes of all the environments configured in
7678 `tildify-ignored-environments-alist'. So for example, the following
7679 list could be used to match TeX's \verb and \verb* commands:
7680
7681 (("\\\\verb\\(.\\)" . (1))
7682 ("\\\\verb\\*\\(.\\)" . (1)))
7683
7684 This would result in the following regex being used to find the start
7685 of any of the variants of the \verb command:
7686
7687 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
7688
7689 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
7690 won't match anything, and thus (match-string 1) will be nil, which
7691 will cause building of the end-matching regex to fail.
7692
7693 Fix this by using capture groups from the time when the opening
7694 regexes are matched individually.
7695
7696 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
7697 in `tildify-find-env'
7698
7699 The `tildify-ignored-environments-alist' allows the end-regex to
7700 be provided not as a static string but mix of strings and indexes
7701 of groups matched the begin-regex. For example, the “\verb!…!”
7702 TeX-command (where “!” is an arbitrary character) is handled
7703 using:
7704
7705 ("\\\\verb\\*?\\(.\\)" . (1))
7706
7707 In the same way, the following should be supported as well:
7708
7709 ("open-\\(.\\)" . ("end-" 1))
7710
7711 However the tildify-find-env function fails at
7712
7713 (concat result
7714 (if (stringp (setq aux (car expression)))
7715 expression ; BUG: expression is a list
7716 (regexp-quote (match-string aux))))
7717
7718 where the string part is handled incorrectly.
7719
7720 The most trivial fix would be to replace `expression' in the
7721 true-part of the if-statement with `aux', but instead, this commit
7722 optimizes `tildify-find-env' by changing it to use `mapconcat'
7723 rather than open-coded while-loop.
7724
7725 2014-06-05 Mario Lang <mlang@delysid.org>
7726
7727 * woman.el (woman-mapcan): Remove.
7728 (woman-parse-colon-path): Use cl-mapcan instead.
7729
7730 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7731
7732 * register.el: Add link to Emacs manual in Commentary.
7733
7734 2014-06-02 Sam Steingold <sds@gnu.org>
7735
7736 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
7737 (popup-menu): ...here.
7738 (menu-bar-open): Use it to avoid an error when `lookup-key'
7739 returns a number.
7740
7741 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
7742
7743 * net/tramp.el (tramp-call-process): Add traces.
7744 (tramp-handle-unhandled-file-name-directory): Return "/".
7745
7746 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
7747
7748 Sync with upstream verilog-mode revision 3cd8144.
7749 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
7750 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
7751 (verilog-type-font-keywords): Add nor.
7752 (verilog-batch-execute-func): Force reading of Local Variables.
7753 Fix printing "no changes to be saved" with verilog-batch.
7754 (verilog-auto-arg-ports): Doc fix.
7755 Add verilog-auto-arg-format to support newlines in AUTOARG.
7756 (verilog-auto-arg): Doc fix.
7757
7758 2014-06-02 Glenn Morris <rgm@gnu.org>
7759
7760 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
7761 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
7762 * emulation/ws-mode.el: Move to obsolete/.
7763 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
7764
7765 2014-06-02 Eli Zaretskii <eliz@gnu.org>
7766
7767 * simple.el (keyboard-quit): Force update of mode lines, to remove
7768 the "Def" indicator, if we were defining a macro. (Bug#17615)
7769
7770 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * minibuffer.el (minibuffer-force-complete-and-exit):
7773 Obey minibuffer-default (bug#17545).
7774
7775 * progmodes/js.el (js-indent-line): Don't mix columns and chars
7776 (bug#17619).
7777
7778 * subr.el (set-transient-map): Don't wait for some "nested"
7779 transient-map to finish if we're only supposed to be active for
7780 the next command (bug#17642).
7781
7782 2014-06-02 Leo Liu <sdl.web@gmail.com>
7783
7784 * emacs-lisp/gv.el (window-buffer, window-display-table)
7785 (window-dedicated-p, window-hscroll, window-point, window-start):
7786 Fix gv-expander. (Bug#17630)
7787
7788 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
7791 clicks (bug#17633).
7792
7793 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
7794 for the single comma, since ", " is *very* common in normal French text
7795 (bug#17643).
7796
7797 2014-06-02 Glenn Morris <rgm@gnu.org>
7798
7799 * emacs-lisp/package.el (package-check-signature)
7800 (package-unsigned-archives): Fix :version.
7801
7802 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * subr.el (sit-for): Don't run input-methods (bug#15614).
7805
7806 2014-06-02 Glenn Morris <rgm@gnu.org>
7807
7808 * cus-start.el: Fix some :version numbers.
7809
7810 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * simple.el (deactivate-mark): Set mark-active to nil even if
7813 deactivation is done via setting transient-mark-mode to nil,
7814 since one is buffer-local and the other is global.
7815
7816 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
7817 there can't be more than 2 arguments (bug#17584).
7818
7819 2014-06-02 Glenn Morris <rgm@gnu.org>
7820
7821 * simple.el (filter-buffer-substring-functions)
7822 (filter-buffer-substring-function, buffer-substring-filters)
7823 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
7824
7825 * minibuffer.el (completion-in-region-functions, completion-in-region)
7826 (completion--in-region): Doc fixes.
7827
7828 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
7829 (expand-abbrev, abbrev--default-expand): Doc fixes.
7830
7831 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
7832
7833 Include sources used to create macuvs.h.
7834 * international/README: Refer to the Unicode Terms of Use rather
7835 than copying it bodily here, as that simplifies maintenance.
7836
7837 2014-06-01 Glenn Morris <rgm@gnu.org>
7838
7839 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
7840
7841 2014-05-31 Glenn Morris <rgm@gnu.org>
7842
7843 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
7844
7845 2014-05-30 Glenn Morris <rgm@gnu.org>
7846
7847 * loadup.el: Treat `command-line-args' more flexibly.
7848
7849 2014-05-30 Alan Mackenzie <acm@muc.de>
7850
7851 Guard (looking-at "\\s!") from XEmacs.
7852 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
7853
7854 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
7855
7856 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
7857 The argument COUNT is now optional, to be more backward-compatible.
7858 Doc fix. (Bug#17560)
7859
7860 2014-05-29 Reuben Thomas <rrt@sc3d.org>
7861
7862 * whitespace.el (whitespace-report-region):
7863 Simplify documentation.
7864 (whitespace-report-region): Allow report-if-bogus to take the
7865 value `never', for non-interactive use.
7866 (whitespace-report): Refer to whitespace-report-region's
7867 documentation.
7868
7869 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * whitespace.el: Use font-lock-flush. Minimize refontifications.
7872 Side benefit: it works without jit-lock.
7873 (whitespace-point--used): New buffer-local var.
7874 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
7875 (whitespace-color-off): Use font-lock-flush.
7876 (whitespace-point--used, whitespace-point--flush-used): New functions.
7877 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
7878 (whitespace-empty-at-eob-regexp): Use them.
7879 (whitespace-post-command-hook): Rewrite.
7880
7881 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
7882 (font-lock-fontify-buffer): Mark interactive-only.
7883 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
7884 Make buffer-local.
7885 (font-lock-specified-p): Remove redundant boundp check.
7886 (font-lock-flush-function, font-lock-ensure-function): New vars.
7887 (font-lock-turn-on-thing-lock): Set them.
7888 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
7889 (font-lock-after-change-function): Make `old-len' optional.
7890 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
7891 Call font-lock-flush, just in case.
7892 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
7893 recent Emacsen.
7894 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
7895 (vera-mode-map, vera-mode-menu): Remove bindings to it.
7896 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
7897 and with-syntax-table.
7898 * textmodes/conf-mode.el (conf-quote-normal):
7899 * progmodes/sh-script.el (sh-set-shell):
7900 * progmodes/prog-mode.el (prettify-symbols-mode):
7901 * progmodes/f90.el (f90-font-lock-n):
7902 * progmodes/cwarn.el (cwarn-mode):
7903 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
7904 * progmodes/compile.el (compilation-setup, compilation--unsetup):
7905 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
7906 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
7907 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
7908 font-lock-fontify-buffer-function and
7909 font-lock-unfontify-buffer-function.
7910 (rmail-unfontify-buffer-function, rmail-fontify-message):
7911 Use with-silent-modifications.
7912 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
7913 and font-lock-ensure.
7914 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
7915
7916 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
7917
7918 * emacs-lisp/package.el (package-generate-autoloads):
7919 Inhibit backup files.
7920
7921 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
7924 (bug#17608).
7925
7926 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
7927
7928 * textmodes/tildify.el (tildify-buffer, tildify-region):
7929 Add dont-ask option.
7930
7931 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
7934 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
7935
7936 * subr.el (internal--funcall-interactively): New.
7937 (internal--call-interactively): Remove.
7938 (called-interactively-p): Detect funcall-interactively instead of
7939 call-interactively.
7940 * simple.el (repeat-complex-command): Use funcall-interactively.
7941 (repeat-complex-command--called-interactively-skip): Remove.
7942
7943 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * register.el (register-read-with-preview): Don't burp on
7946 frame switches (e.g. due to the frame we just popped).
7947
7948 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
7949 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
7950
7951 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
7952
7953 * cus-face.el (custom-face-attributes): Add :distant-foreground.
7954
7955 2014-05-26 Martin Rudalics <rudalics@gmx.at>
7956
7957 * window.el (window--dump-frame): Remove interactive specification.
7958
7959 2014-05-26 Glenn Morris <rgm@gnu.org>
7960
7961 * hippie-exp.el (he-line-search-regexp):
7962 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
7963
7964 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
7965
7966 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
7967 to avoid errors when trying to create or visit a file foo.todo
7968 located outside to todo-directory, and to allow having such files
7969 without them being tied to Todo mode (bug#17482).
7970 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
7971 (todo-archive-done-item, todo-find-filtered-items-file)
7972 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
7973 (todo-category-completions, todo-read-category): When visiting a
7974 Todo file, make sure we're in the right mode and the buffer local
7975 variables are set.
7976 (todo-make-categories-list, todo-reset-nondiary-marker)
7977 (todo-reset-done-string, todo-reset-comment-string):
7978 After processing all Todo files, kill the buffers of those files that
7979 weren't being visited before the processing.
7980 (todo-display-as-todo-file, todo-add-to-buffer-list)
7981 (todo-visit-files-commands): Comment out.
7982 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
7983 (auto-mode-alist): Remove add-to-list calls making Todo file
7984 extensions unrestrictedly tied to Todo modes.
7985
7986 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
7989 (advice-function-member-p): Tell it to check both names and functions
7990 (bug#17531).
7991 (advice--add-function): Adjust call accordingly.
7992
7993 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
7994
7995 * calendar/todo-mode.el: Miscellaneous bug fixes.
7996 (todo-delete-file): When deleting an archive but not its todo
7997 file, make sure to update the todo file's category sexp.
7998 (todo-move-category): Keep the moved category's name unless the
7999 file moved to already has a category with that name. If the
8000 numerically last category of the source file was moved, make the
8001 first category current to avoid selecting a nonexisting category.
8002 (todo-merge-category): Fix implementation to make merging to a
8003 category in another file work as documented. Eliminate now
8004 insufficient and unnecessary renaming of archive category, correct
8005 document string accordingly, and clarify it. If the numerically
8006 last category of the source file was merged, make the first
8007 category current to avoid selecting a nonexisting category.
8008 (todo-archive-done-item): When there are marked items and point
8009 happens to be on an unmarked item, ignore the latter. Don't leave
8010 point below last item after archiving marked items.
8011 (todo-unarchive-items): Fix logic to ensure unarchiving an item
8012 from an archive with only one category deletes the archive only
8013 when the category is empty after unarchiving. Make sure the todo
8014 file's category sexp is updated.
8015 (todo-read-file-name): Allow an existing file name even when it is
8016 not required (todo-move-category needs this to work as documented).
8017 (todo-add-file): Call todo-validate-name to reject the name of an
8018 existing todo file (needed due to fix in todo-read-file-name).
8019 (todo-reset-nondiary-marker): Also reset in filtered items files.
8020 (todo-reset-done-string, todo-reset-comment-string): Also reset in
8021 regexp filtered items files.
8022 (todo-reset-highlight-item): Also reset in filtered items files.
8023 Fix incorrect variable reference in document string.
8024
8025 2014-05-26 Glenn Morris <rgm@gnu.org>
8026
8027 * window.el (window--dump-frame): Avoid error in --without-x builds.
8028
8029 2014-05-26 Glenn Morris <rgm@gnu.org>
8030
8031 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8032
8033 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8034
8035 * frame.el (set-frame-font): Doc fix.
8036
8037 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
8038
8039 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
8040
8041 * emacs-lisp/package.el (package--download-one-archive):
8042 Use `write-region' instead of `save-buffer' to avoid running various
8043 hooks. (Bug#17155)
8044 (describe-package-1): Same. Insert newline at the end of the
8045 buffer if appropriate.
8046
8047 2014-05-26 Juri Linkov <juri@jurta.org>
8048
8049 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8050 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8051 Add more modifiers: meta, control, shift, hyper, super, alt.
8052 (Bug#17439)
8053
8054 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8055 to allow changing its value with `set-variable'.
8056
8057 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8060 #; comments.
8061 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8062 New functions.
8063 (scheme-mode-variables): Set syntax-propertize-function instead of
8064 font-lock-syntactic-face-function.
8065 (scheme-font-lock-syntactic-face-function): Delete.
8066
8067 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8068
8069 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8070 (bug#17392).
8071
8072 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8073
8074 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8075 for a temporary file name.
8076
8077 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8078
8079 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
8080
8081 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8082
8083 * net/dbus.el (dbus-init-bus, dbus-call-method)
8084 (dbus-call-method-asynchronously, dbus-send-signal)
8085 (dbus-method-return-internal, dbus-method-error-internal):
8086 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
8087
8088 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8089
8090 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8091 methods which do not have a doc string. (Bug#17490)
8092
8093 2014-05-25 Tassilo Horn <tsdh@gnu.org>
8094
8095 * textmodes/reftex-ref.el (reftex-format-special): Make it work
8096 also for AMS Math's \eqref macro.
8097
8098 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8099
8100 Arrange to never byte-compile the generated -pkg.el file.
8101
8102 * emacs-lisp/package.el (package-generate-description-file):
8103 Output first-line comment to set buffer-local var `no-byte-compile'.
8104 Suggested by Dmitry Gutov:
8105 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8106
8107 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8108
8109 Fix bug: Properly quote args to generated -pkg.el `define-package'.
8110
8111 * emacs-lisp/package.el (package-generate-description-file):
8112 Inline `package--alist-to-plist'; rewrite to selectively
8113 quote alist values that are not self-quoting.
8114 (package--alist-to-plist): Delete func.
8115
8116 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
8117
8118 * term/xterm.el (xterm-function-map): Add mapping for shifted
8119 keypad keys.
8120
8121 2014-05-24 Daniel Colascione <dancol@dancol.org>
8122
8123 * progmodes/subword.el (subword-find-word-boundary): Move point to
8124 correct spot before search. (Bug#17580)
8125
8126 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8127 breaking the build.
8128
8129 2014-05-24 Leo Liu <sdl.web@gmail.com>
8130
8131 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
8132
8133 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * minibuffer.el (completion--sreverse): Remove.
8136 (completion--common-suffix): Use `reverse' instead.
8137 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8138
8139 2014-05-22 Glenn Morris <rgm@gnu.org>
8140
8141 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8142
8143 2014-05-21 Daniel Colascione <dancol@dancol.org>
8144
8145 * files.el (interpreter-mode-alist): Add mksh.
8146
8147 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8148 derivative.
8149 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8150 mksh. Improve custom spec; allow regular expressions.
8151 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8152 (sh-after-hack-local-variables): New function.
8153 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
8154 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8155 the normalization.
8156 (sh-canonicalize-shell): Rewrite to support regexes.
8157
8158 2014-05-21 Leo Liu <sdl.web@gmail.com>
8159
8160 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8161
8162 2014-05-19 Leo Liu <sdl.web@gmail.com>
8163
8164 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8165
8166 2014-05-18 Glenn Morris <rgm@gnu.org>
8167
8168 * loadup.el:
8169 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8170
8171 2014-05-14 Sam Steingold <sds@gnu.org>
8172
8173 * progmodes/python.el (python-shell-get-or-create-process):
8174 Do not bind `current-prefix-arg' so that C-c C-z does not talk
8175 back unless requested.
8176
8177 2014-05-14 Glenn Morris <rgm@gnu.org>
8178
8179 * subr.el (with-file-modes): New macro.
8180 * printing.el (pr-save-file-modes): Make obsolete.
8181 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8182 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8183 Add with-file-modes.
8184 * doc-view.el (doc-view-make-safe-dir):
8185 * epg.el (epg--start):
8186 * files.el (locate-user-emacs-file, make-temp-file)
8187 (backup-buffer-copy, move-file-to-trash):
8188 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8189 * eshell/esh-util.el (eshell-with-private-file-modes)
8190 (eshell-make-private-directory):
8191 * net/browse-url.el (browse-url-mosaic):
8192 * obsolete/mailpost.el (post-mail-send-it):
8193 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8194 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8195 Use with-file-modes.
8196
8197 * vc/emerge.el (emerge-make-temp-file): Simplify.
8198
8199 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
8200 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8203 suffix (bug#15419).
8204
8205 2014-05-14 Glenn Morris <rgm@gnu.org>
8206
8207 * vc/emerge.el (emerge-temp-file-prefix):
8208 Make pointless option obsolete.
8209 (emerge-temp-file-mode): Make non-functional option obsolete.
8210
8211 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
8212
8213 * net/browse-url.el (browse-url):
8214 Use `unhandled-file-name-directory' when setting `default-directory',
8215 in order to circumvent stalled remote connections. (Bug#17425)
8216
8217 2014-05-14 Glenn Morris <rgm@gnu.org>
8218
8219 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8220 Optimize on Emacs, which has the relevant functions for ages.
8221
8222 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * simple.el (undo-make-selective-list): Obey undo-no-redo.
8225
8226 2014-05-12 Sam Steingold <sds@gnu.org>
8227
8228 * calendar/time-date.el (seconds-to-string): New function to
8229 pretty print time delay in seconds.
8230
8231 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * mpc.el (mpc-format): Trim Date to the year.
8234 (mpc-songs-hashcons): Shorten the Date field.
8235
8236 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8237 into autoloading just because of a silly indirection.
8238
8239 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
8240
8241 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
8242
8243 2014-05-12 Glenn Morris <rgm@gnu.org>
8244
8245 * emacs-lisp/find-gc.el: Move to ../admin.
8246
8247 * printing.el (pr-version):
8248 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8249
8250 * net/browse-url.el (browse-url-mosaic):
8251 Create /tmp/Mosaic.PID as a private file.
8252
8253 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8256 (advice--member-p): If name is given, only compare the name.
8257 (advice--remove-function): Don't stop at the first match.
8258 (advice--normalize-place): New function.
8259 (add-function, remove-function): Use it.
8260 (advice--add-function): Pass the name, if any, to
8261 advice--remove-function.
8262
8263 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
8264
8265 * electric.el (electric-indent-post-self-insert-function): Don't use
8266 `pos' after modifying the buffer (bug#17449).
8267
8268 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
8269
8270 * calendar/todo-mode.el (todo-insert-item-from-calendar):
8271 Correct argument list to conform to todo-insert-item--basic.
8272
8273 2014-05-12 Glenn Morris <rgm@gnu.org>
8274
8275 * files.el (cd-absolute): Test if directory is accessible
8276 rather than executable. (Bug#17330)
8277
8278 * progmodes/compile.el (recompile):
8279 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
8280
8281 * net/browse-url.el (browse-url-mosaic):
8282 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
8283 This is CVE-2014-3423.
8284
8285 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * mouse.el: Use the normal toplevel loop while dragging.
8288 (mouse-set-point): Handle multi-clicks.
8289 (mouse-set-region): Handle multi-clicks for drags.
8290 (mouse-drag-region): Update call accordingly.
8291 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8292 Use the normal event loop instead of a local while/read-event loop.
8293 (global-map): Remove redundant bindings for double/triple-mouse-1.
8294 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
8295 Generate synthetic down events when the protocol only sends up events.
8296 (xterm-mouse-last): Remove.
8297 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
8298 terminal parameter instead.
8299 (xterm-mouse--set-click-count): New function.
8300 (xterm-mouse-event): Detect/generate double/triple clicks.
8301 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
8302
8303 * info.el (Info-quoted): New face.
8304 (Info-mode-font-lock-keywords): New var.
8305 (Info-mode): Use it.
8306
8307 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
8308 are a hindrance for C-x C-e.
8309
8310 2014-05-11 Leo Liu <sdl.web@gmail.com>
8311
8312 * net/rcirc.el (rcirc-sentinel): Fix last change.
8313
8314 2014-05-08 Sam Steingold <sds@gnu.org>
8315
8316 * net/rcirc.el (rcirc-reconnect-delay): New user option.
8317 (rcirc-sentinel): Auto-reconnect to the server if
8318 `rcirc-reconnect-delay' is non-0 (but not more often than its
8319 value in case the host is off-line).
8320
8321 2014-05-09 Eli Zaretskii <eliz@gnu.org>
8322
8323 * progmodes/grep.el (lgrep): Fix a typo in last commit.
8324
8325 2014-05-09 Glenn Morris <rgm@gnu.org>
8326
8327 * files.el (file-expand-wildcards):
8328 * man.el (Man-support-local-filenames):
8329 * printing.el (pr-i-directory, pr-interface-directory):
8330 * progmodes/grep.el (lgrep, rgrep):
8331 * textmodes/ispell.el (ispell-call-process)
8332 (ispell-call-process-region, ispell-start-process)
8333 (ispell-init-process): Use file-accessible-directory-p.
8334
8335 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
8338 (xterm-mouse--read-event-sequence-1000): Return nil if something
8339 looks fishy.
8340 (xterm-mouse-event): Propagate it.
8341 (xterm-mouse-translate-1): Handle it.
8342
8343 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
8344
8345 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
8346 four slots of the parameter list are filled, make sure to pass it
8347 to the argument list of todo-insert-item--basic.
8348
8349 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
8352 Add optional `seen' argument to detect and break infinite loops.
8353
8354 2014-05-08 Eli Zaretskii <eliz@gnu.org>
8355
8356 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
8357 (trace-unsafe, trace-use-tree): Make parentheses style be
8358 according to Emacs style.
8359
8360 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
8361
8362 * net/tramp-sh.el (tramp-remote-process-environment):
8363 Remove HISTFILE and HISTSIZE; it's too late to set them here.
8364 Add :version entry.
8365 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
8366 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
8367 extra "PSx=..." commands.
8368 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
8369 (Bug#17295)
8370
8371 (tramp-uudecode): Replace the hard-coded temporary file name by a
8372 format specifier.
8373 (tramp-remote-coding-commands): Enhance docstring.
8374 (tramp-find-inline-encoding): Replace "%t" by a temporary file
8375 name. (Bug#17415)
8376 This is CVE-2014-3424.
8377
8378 2014-05-08 Glenn Morris <rgm@gnu.org>
8379
8380 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
8381 (find-gc-source-files): Update some names.
8382 (trace-call-tree): Simplify and update.
8383 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
8384 This is CVE-2014-3422.
8385
8386 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * minibuffer.el (completion--try-word-completion): Revert fix for
8389 Bug#15980 (bug#17375).
8390
8391 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
8392 Always store button numbers in the same way in xterm-mouse-last;
8393 Don't burp is xterm-mouse-last is not set as expected.
8394 Never return negative indices.
8395
8396 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
8397
8398 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8399 Backtrack one char if the global/char-literal var matcher hits
8400 inside a string. The next char could be the beginning of an
8401 expression expansion.
8402
8403 2014-05-08 Glenn Morris <rgm@gnu.org>
8404
8405 * help-fns.el (describe-function-1): Test for an autoload before a
8406 macro, since `macrop' works on autoloads. (Bug#17410)
8407
8408 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * electric.el (electric-indent-functions-without-reindent): Add yaml.
8411
8412 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
8413 Make sure the new point we return is within the new string (bug#17239).
8414
8415 2014-05-05 Daniel Colascione <dancol@dancol.org>
8416
8417 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8418 Port `gnu' pattern to rx.
8419
8420 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
8421
8422 Remove unneeded prompt when closing a buffer with active
8423 emacsclient ("Buffer ... still has clients"), #16548.
8424 * server.el (server-start): Remove the only call to:
8425 (server-kill-buffer-query-function): Remove.
8426
8427 2014-05-04 Leo Liu <sdl.web@gmail.com>
8428
8429 * calendar/diary-lib.el (calendar-chinese-month-name-array):
8430 Defvar to pacify compiler.
8431
8432 2014-05-04 Eli Zaretskii <eliz@gnu.org>
8433
8434 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
8435
8436 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8439 Use nil rather than `default' for the "default" appearance (bug#17388).
8440 * vc/ediff-util.el (ediff-inferior-compare-regions)
8441 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
8442 a misleading `default' value when it's really a boolean.
8443 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
8444 overlay is not visible.
8445
8446 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8447
8448 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
8449 (todo-menu): Uncomment and update.
8450
8451 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8452
8453 * calendar/todo-mode.el: Reimplement item editing to have the same
8454 basic user interface as item insertion, and make small UI and
8455 larger internal improvements to the latter.
8456 (todo-insert-item): Add reference to the Todo mode user manual to
8457 the documentation string.
8458 (todo-insert-item--basic): Rename from todo-basic-insert-item and
8459 adjust all callers. Change signature to combine diary and
8460 nonmarking arguments. Incorporate functionality of deleted item
8461 copying command and add error checking. Remove detailed
8462 descriptions of the arguments from the documentation string, since
8463 this is treated in the Todo mode user manual.
8464 (todo-copy-item, todo-edit-multiline-item)
8465 (todo-edit-done-item-comment, todo-edit-item-header)
8466 (todo-edit-item-time, todo-edit-item-date-from-calendar)
8467 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
8468 (todo-edit-item-date-year, todo-edit-item-date-month)
8469 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
8470 Remove.
8471 (todo-edit-item): Reimplement as wrapper command for
8472 todo-edit-item--next-key and make it distinguish done and not done
8473 todo items.
8474 (todo-edit-item--text): New function, replacing old command
8475 todo-edit-item and incorporating deleted commands
8476 todo-edit-multiline-item and todo-edit-done-item-comment.
8477 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
8478 Use only numeric value of prefix argument. Remove detailed
8479 descriptions of the arguments from the documentation string, since
8480 this is treated in the Todo mode user manual.
8481 (todo-edit-item--diary-inclusion): New function, replacing old
8482 command todo-edit-item-diary-inclusion and incorporating and fixing
8483 functionality of deleted command todo-edit-item-diary-nonmarking,
8484 making sure to remove todo-nondiary-marker when adding
8485 diary-nonmarking-symbol.
8486 (todo-edit-category-diary-inclusion): Make sure to delete
8487 diary-nonmarking-symbol when adding todo-nondiary-marker.
8488 (todo-edit-category-diary-nonmarking): Fix indentation.
8489 (todo-insert-item--parameters): Group diary and nonmarking
8490 parameters together.
8491 (todo-insert-item--apply-args): Adjust to signature of
8492 todo-insert-item--basic and incorporate copy parameter.
8493 Make small code improvements.
8494 (todo-insert-item--next-param): Improve prompt and adjust it to
8495 new parameter grouping. Remove obsolete code.
8496 (todo-edit-item--param-key-alist)
8497 (todo-edit-item--date-param-key-alist)
8498 (todo-edit-done-item--param-key-alist): New defconsts.
8499 (todo-edit-item--prompt): New variable.
8500 (todo-edit-item--next-key): New function.
8501 (todo-key-bindings-t): Bind "e" to todo-edit-item.
8502 Remove bindings of deleted commands.
8503
8504 2014-05-04 Leo Liu <sdl.web@gmail.com>
8505
8506 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
8507
8508 2014-05-04 Glenn Morris <rgm@gnu.org>
8509
8510 * allout-widgets.el (allout-widgets-tally)
8511 (allout-decorate-item-guides):
8512 * menu-bar.el (menu-bar-positive-p):
8513 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8514 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
8515 * progmodes/js.el (js--inside-param-list-p)
8516 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
8517 * progmodes/prolog.el (region-exists-p):
8518 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
8519 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
8520 Doc fixes (replace `iff').
8521
8522 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
8525
8526 2014-05-04 Leo Liu <sdl.web@gmail.com>
8527
8528 Support Chinese diary entries in calendar and diary. (Bug#17393)
8529 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
8530 (calendar-chinese-from-absolute-for-diary)
8531 (calendar-chinese-to-absolute-for-diary)
8532 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8533 (diary-chinese-list-entries): New functions to list and mark
8534 Chinese diary entries in the calendar window.
8535 (diary-chinese-anniversary)
8536 (diary-chinese-insert-anniversary-entry)
8537 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
8538 (diary-chinese-insert-yearly-entry): New commands to insert
8539 Chinese diary entries.
8540
8541 * calendar/diary-lib.el (diary-font-lock-keywords):
8542 Support font-locking Chinese dates.
8543
8544 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
8545 inserting Chinese diary entries.
8546
8547 * calendar/calendar.el (diary-chinese-entry-symbol):
8548 New customizable variable.
8549 (calendar-mode-map): Add bindings for inserting Chinese diary
8550 entries.
8551
8552 2014-05-03 Juri Linkov <juri@jurta.org>
8553
8554 * dired.el (dired-check-switches, dired-switches-recursive-p):
8555 New functions. (Bug#17218)
8556 (dired-switches-escape-p, dired-move-to-end-of-filename):
8557 Use `dired-check-switches'.
8558 (dired-insert-old-subdirs, dired-build-subdir-alist)
8559 (dired-sort-R-check): Use `dired-switches-recursive-p'.
8560
8561 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
8562
8563 * simple.el (undo-make-selective-list): New algorithm fixes
8564 incorrectness of position adjustments when undoing in region.
8565 (Bug#17235)
8566 (undo-elt-crosses-region): Make obsolete.
8567 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
8568 New functions to adjust positions using undo-deltas.
8569
8570 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
8573 the last consecutive closing paren (bug#17345).
8574
8575 2014-04-30 Reuben Thomas <rrt@sc3d.org>
8576
8577 * dired.el (dired-mode): make terminology for eXpunge command
8578 consistent. (Bug#17276)
8579
8580 2014-04-30 Eli Zaretskii <eliz@gnu.org>
8581
8582 * dired.el (dired-initial-position-hook, dired-initial-position):
8583 Doc string fixes.
8584
8585 2014-04-30 Glenn Morris <rgm@gnu.org>
8586
8587 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
8588
8589 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
8590
8591 * faces.el (face-spec-recalc): Apply X resources only after the
8592 defface spec has been applied. Thus, X resources are no longer
8593 overriden by the defface spec which also fixes issues on win32 where
8594 the toolbar coloring was wrong because it is set through X resources
8595 and was (wrongfully) overriden. (Bug#16694)
8596
8597 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * textmodes/rst.el (electric-pair-pairs): Declare.
8600 (rst-mode): Set it (bug#17131).
8601
8602 2014-04-30 Juri Linkov <juri@jurta.org>
8603
8604 * desktop.el (desktop-value-to-string): Let-bind `print-length'
8605 and `print-level' to nil. (Bug#17351)
8606
8607 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8608
8609 * battery.el (battery-update): Handle the case where battery
8610 status is "N/A" (bug#17319).
8611
8612 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
8615 to syntax-propertize.
8616 (ps-mode-auto-indent): Mark as obsolete.
8617 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
8618 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
8619 word regexp operators.
8620 (ps-mode-map): Move initialization into declaration. Remove binding
8621 for TAB, RET, >, ], and }.
8622 (ps-mode-syntax-table): Move initialization into declaration.
8623 Don't give word syntax to non-word chars.
8624 (ps-run-mode-map): Move initialization into declaration.
8625 (ps-mode-menu-main): Remove auto-indent entry.
8626 (ps-mode-smie-rules): New function.
8627 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
8628 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
8629 (ps-mode--string-syntax-table): New const.
8630 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
8631 New functions.
8632 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
8633 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
8634
8635 2014-04-27 Daniel Colascione <dancol@dancol.org>
8636
8637 * term/xterm.el (xterm-paste): Use large finite timeout when
8638 reading event to avoid putting keys in this-command-keys.
8639
8640 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
8643 (perl-syntax-propertize-function): Use it. Extend handling of
8644 here-docs to the unquoted case.
8645
8646 2014-04-25 Eli Zaretskii <eliz@gnu.org>
8647
8648 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
8649 Use equal-including-properties to compare help-echo strings (bug#17331).
8650
8651 2014-04-25 Leo Liu <sdl.web@gmail.com>
8652
8653 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8654 Fix syntax for @. (Bug#17325)
8655
8656 2014-04-25 Daniel Colascione <dancol@dancol.org>
8657
8658 * emacs-lisp/cl.el (gv): Require gv early to break eager
8659 macro-expansion cycles.
8660
8661 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8662
8663 * simple.el (region-active-p): Check there's a mark (bug#17324).
8664
8665 * simple.el (completion-list-mode-map): Use choose-completion for the
8666 mouse binding as well (bug#17302).
8667 (completion-list-mode, completion-setup-function): Adjust docstring and
8668 echo area message accordingly.
8669 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
8670 calling convention of choose-completion.
8671 * comint.el (comint-dynamic-list-completions):
8672 * term.el (term-dynamic-list-completions): Accept choose-completion.
8673
8674 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
8675 &, |, +, - and * can't be a division (bug#17317).
8676
8677 * term/xterm.el (xterm--version-handler): Don't use modern xterm
8678 features on gnome-terminal (bug#16988).
8679
8680 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
8681
8682 Improve Scheme font-locking for (define ((foo ...) ...) ...).
8683
8684 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
8685 the declared object, ignore zero or more parens, not zero or one.
8686
8687 2014-04-24 Leo Liu <sdl.web@gmail.com>
8688
8689 * progmodes/xscheme.el (xscheme-expressions-ring)
8690 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
8691 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
8692 (xscheme-allow-output-p, xscheme-prompt)
8693 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
8694
8695 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
8696 Comment out unused functions.
8697
8698 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * info.el: Use lexical-binding and cl-lib.
8701 Use defvar-local and setq-local instead of make-local-variable.
8702 (Info-apropos-matches): Avoid add-to-list.
8703 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
8704
8705 2014-04-24 Daniel Colascione <dancol@dancol.org>
8706
8707 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
8708
8709 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
8712
8713 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
8714
8715 * dired.el (dired-insert-set-properties): Do not consider
8716 subdirectory headings and empty lines to be information that
8717 `dired-hide-details-mode' should hide. (Bug#17228)
8718
8719 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8720
8721 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8722 Remove test messages.
8723 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
8724 and `target' twice.
8725
8726 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
8729 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
8730
8731 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
8732
8733 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8734
8735 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8736 Set "IFS=" when using read builtin, in order to preserve spaces in
8737 the file name. Add test messages for hunting a bug on hydra.
8738 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
8739
8740 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
8743 Don't prettify a word within a symbol.
8744
8745 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8746
8747 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
8748 possible.
8749
8750 2014-04-22 Daniel Colascione <dancol@dancol.org>
8751
8752 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
8753 use defun to define `function-put'.
8754
8755 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
8758 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
8759 (lisp-mode-variables): Set font-lock-extra-managed-props.
8760
8761 * emacs-lisp/byte-run.el (function-put): New function.
8762 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
8763 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
8764 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
8765 Use them.
8766
8767 2014-04-22 Daniel Colascione <dancol@dancol.org>
8768
8769 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
8770 Add `full-p' parameter; when nil, call `macroexpand' instead of
8771 `macroexpand-all'.
8772
8773 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
8774 Improve docstrings.
8775
8776 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8777 Use lambda function values, not quoted lambdas.
8778 (byte-compile-recurse-toplevel): Remove extraneous &optional.
8779
8780 * emacs-lisp/cl-macs.el
8781 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
8782 (cl-struct-slot-value): Conditionally use aref or nth so that the
8783 compiler produces optimal code.
8784
8785 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
8788 (inline): Don't inline cl--set-elt.
8789 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
8790 Define as inlinable instead.
8791 (cl-struct-set-slot-value): Remove.
8792
8793 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
8794 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
8795 Use setf instead.
8796
8797 2014-04-21 Daniel Colascione <dancol@dancol.org>
8798
8799 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
8800 last two parameters after all.
8801 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
8802 (cl--compiler-macro-assoc,cl-struct-slot-value)
8803 (cl-struct-set-slot-value): Stop using them.
8804
8805 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
8808 entry in image-mode-winprops-alist.
8809
8810 2014-04-21 Daniel Colascione <dancol@dancol.org>
8811
8812 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
8813 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
8814 (byte-compile-toplevel-file-form): Use it.
8815
8816 * emacs-lisp/cl-macs.el:
8817 (cl--loop-let): Properly destructure `while' clauses.
8818
8819 2014-04-20 Daniel Colascione <dancol@dancol.org>
8820
8821 * vc/vc.el (vc-root-dir): New public autoloaded function for
8822 generically finding the current VC root.
8823 * vc/vc-hooks.el (vc-not-supported): New error.
8824 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
8825
8826 2014-04-20 Daniel Colascione <dancol@dancol.org>
8827
8828 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
8829 argument.
8830 (cl--const-expr-val): cl--const-expr-val should macroexpand its
8831 argument in case we're inside a symbol-macrolet.
8832 (cl--do-arglist, cl--compiler-macro-typep)
8833 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
8834 environment to `cl--const-expr-val'.
8835 (cl-struct-sequence-type,cl-struct-slot-info)
8836 (cl-struct-slot-offset, cl-struct-slot-value)
8837 (cl-struct-set-slot-value): New functions.
8838
8839 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
8842 assignments such as "case=hello" (bug#17297).
8843
8844 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
8845
8846 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
8847 Do not autoload.
8848 (tramp-file-name-handler, tramp-completion-file-name-handler):
8849 Revert patch from 2014-04-10, it isn't necessary anymore.
8850 (tramp-autoload-file-name-handler)
8851 (tramp-register-autoload-file-name-handlers): New defuns.
8852 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
8853 (tramp-register-file-name-handlers): Remove also
8854 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
8855 Do not autoload its invocation, but eval it after loading of 'tramp.
8856
8857 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
8858
8859 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
8860
8861 2014-04-17 Daniel Colascione <dancol@dancol.org>
8862
8863 Add support for bracketed paste mode; add infrastructure for
8864 managing terminal mode enabling and disabling automatically.
8865
8866 * xt-mouse.el:
8867 (xterm-mouse-mode): Simplify.
8868 (xterm-mouse-tracking-enable-sequence)
8869 (xterm-mouse-tracking-disable-sequence): New constants.
8870 (turn-on-xterm-mouse-tracking-on-terminal)
8871 (turn-off-xterm-mouse-tracking-on-terminal):
8872 Use tty-mode-set-strings and tty-mode-reset-strings terminal
8873 parameters instead of random hooks.
8874 (turn-on-xterm-mouse-tracking)
8875 (turn-off-xterm-mouse-tracking): Delete.
8876
8877 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
8878 (xterm-paste-ending-sequence): New constant.
8879 (xterm-paste): New command used for bracketed paste support.
8880
8881 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
8882 (terminal-init-xterm-bracketed-paste-mode): New function.
8883 (terminal-init-xterm): Call it.
8884 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
8885 and tty-mode-reset-strings instead of random hooks.
8886 (xterm-turn-on-modify-other-keys)
8887 (xterm-turn-off-modify-other-keys)
8888 (xterm-remove-modify-other-keys): Delete obsolete functions.
8889
8890 * term/screen.el: Rewrite to just use the xterm code.
8891 Add copyright notice. Mention tmux.
8892
8893 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
8894
8895 * image-mode.el (image-mode-window-put): Also update the property of
8896 the "default window".
8897 * doc-view.el (doc-view-new-window-function): If no window
8898 exists, move to the last known page.
8899
8900 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
8903 here-documents (bug#17262).
8904
8905 2014-04-16 Eli Zaretskii <eliz@gnu.org>
8906
8907 * term/pc-win.el (x-list-fonts, x-get-selection-value):
8908 Provide doc strings, as required by snarf-documentation.
8909
8910 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
8913 arg of overlays-at. Use `invisible-p'.
8914
8915 * obsolete/lucid.el (extent-at):
8916 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
8917 overlays-at.
8918 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
8919
8920 2014-04-16 João Távora <joaotavora@gmail.com>
8921
8922 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
8923 links. (Bug#17217).
8924
8925 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8926
8927 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8928 Use mapc to loop over a vector. (Bug#17257).
8929
8930 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
8931
8932 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
8933 patch, there are new problems with file names containing spaces.
8934 Get rid of backticks. (Bug#17238)
8935
8936 2014-04-16 João Távora <joaotavora@gmail.com>
8937
8938 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
8939 possible bug.
8940
8941 2014-04-16 Eli Zaretskii <eliz@gnu.org>
8942
8943 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
8944 (blink-cursor-mode): Mention customization variables and the
8945 effect of 'blink-cursor-blinks'.
8946
8947 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
8948
8949 * simple.el (undo): Prevent insertion of identity mapping into
8950 undo-equiv-table so as undo-only does not inf loop in the presence
8951 of consecutive nils in undo list.
8952
8953 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
8954
8955 * faces.el (make-face): Deprecate optional argument as it is no
8956 longer needed/used since the conditional X resources handling
8957 has been pushed down to make-face-x-resource-internal itself.
8958 (make-empty-face): Don't pass optional argument to make-face.
8959
8960 2014-04-16 Karl Fogel <kfogel@red-bean.com>
8961
8962 * savehist.el (savehist-save): Remove workaround for a read-passwd
8963 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
8964 noticing that the shim was still present.
8965
8966 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
8969
8970 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * faces.el (face-set-after-frame-default): Remove unused local variable.
8973
8974 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * progmodes/grep.el: Use lexical-binding.
8977 (grep-expand-template): Pass explicit lexical env to `eval'.
8978 (zrgrep): Let-bind grep-find-template explicitly.
8979
8980 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
8981 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
8982
8983 2014-04-12 Eli Zaretskii <eliz@gnu.org>
8984
8985 * international/characters.el <standard-case-table>: Add entries
8986 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
8987 Set category of Coptic characters be 'g' (Greek).
8988
8989 2014-04-12 Leo Liu <sdl.web@gmail.com>
8990
8991 * progmodes/octave.el (completion-table-with-cache):
8992 Define if not available.
8993 (octave-goto-function-definition, octave-sync-function-file-names)
8994 (octave-find-definition-default-filename):
8995 Backquote upattern for compatibility.
8996
8997 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
8998
8999 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9000 name twice due to backticks. (Bug#17238)
9001
9002 2014-04-12 Glenn Morris <rgm@gnu.org>
9003
9004 * term/w32-win.el (x-win-suspend-error):
9005 * term/x-win.el (x-win-suspend-error): Sync docs.
9006
9007 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
9008
9009 * faces.el (make-face): Remove deprecated optional argument.
9010 The conditional application of X resources is handled directly by
9011 make-face-x-resource-internal since Emacs 24.4.
9012 (make-empty-face): Don't pass optional argument to make-face.
9013
9014 2014-04-11 Glenn Morris <rgm@gnu.org>
9015
9016 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
9017
9018 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 Ediff's overlay priorities cause more trouble than they solve.
9021 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9022 (ediff-highest-priority): Remove function (bug#17234).
9023 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9024 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9025 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9026 overlay priorities.
9027
9028 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
9029
9030 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9031 entry; use symbol boundaries to avoid mis-matches.
9032
9033 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
9034
9035 * net/tramp.el (tramp-file-name-handler)
9036 (tramp-completion-file-name-handler): Avoid recursive loading.
9037
9038 * net/tramp-sh.el (tramp-make-copy-program-file-name):
9039 Quote result also locally.
9040
9041 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9044 Remove left-over code.
9045
9046 * newcomment.el (comment-indent-new-line): Sink code where it's used.
9047 Reuse the previous comment's indentation unconditionally if it's on its
9048 own line.
9049
9050 2014-04-09 Daniel Colascione <dancol@dancol.org>
9051
9052 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9053 `no-syntax-crossing' arguments. Forward to `up-list'.
9054 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9055 Implement logic for escaping from strings. Use narrowing to deal
9056 with corner cases.
9057
9058 2014-04-09 Leo Liu <sdl.web@gmail.com>
9059
9060 * net/rcirc.el (rcirc-connection-info): New variable.
9061 (rcirc-connect): Use it to store connection info.
9062 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9063 for killed process.
9064 (rcirc-cmd-reconnect): New command. (Bug#17045)
9065 (rcirc-mode, set-rcirc-encode-coding-system)
9066 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9067
9068 2014-04-09 Daniel Colascione <dancol@dancol.org>
9069
9070 * emacs-lisp/cl-indent.el: Add comment claiming
9071 facility is also good for elisp.
9072 (lisp-indent-find-method): New function.
9073 (common-lisp-indent-function): Recognize cl-loop.
9074 (common-lisp-indent-function-1): Recognize cl constructs; use
9075 `lisp-indent-find-method' instead of `get' directly.
9076 (if): Use else-body style for elisp.
9077
9078 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
9079
9080 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9081 Module methods. (Bug#17216)
9082
9083 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * help.el (describe-bindings): Fix buffer handling (bug#17210).
9086 (describe-bindings-internal): Mark obsolete.
9087
9088 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9091 buffer-file-name, and buffer-file-truename any more.
9092
9093 2014-04-08 Leo Liu <sdl.web@gmail.com>
9094
9095 Use lexical-binding and require cl-lib.
9096 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9097 (rcirc-handler-generic, rcirc-fill-paragraph)
9098 (rcirc-format-response-string, rcirc-target-buffer)
9099 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9100 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9101 (rcirc-ctcp-sender-PING, rcirc-browse-url)
9102 (rcirc-markup-timestamp, rcirc-markup-attributes)
9103 (rcirc-markup-my-nick, rcirc-markup-urls)
9104 (rcirc-markup-bright-nicks, rcirc-markup-fill)
9105 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9106 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9107 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9108 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9109 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9110 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9111 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9112 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9113 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9114 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9115 use cl-lib.
9116
9117 2014-04-07 João Távora <joaotavora@gmail.com>
9118
9119 * elec-pair.el (electric-pair--syntax-ppss):
9120 When inside comments parse from comment beginning.
9121 (electric-pair--balance-info): Fix typo in comment.
9122 (electric-pair--in-unterminated-string-p): Delete.
9123 (electric-pair--unbalanced-strings-p): New function.
9124 (electric-pair-string-bound-function): New var.
9125 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9126 according to `electric-pair--in-unterminated-string-p'
9127
9128 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9129 Inhibit quote pairing if point-max is inside an unterminated string.
9130 (electric-pair--looking-at-unterminated-string-p): Delete.
9131 (electric-pair--in-unterminated-string-p): New function.
9132
9133 2014-04-07 Glenn Morris <rgm@gnu.org>
9134
9135 * shell.el (shell-directory-tracker):
9136 Go back to just ignoring failures. (Bug#17159)
9137
9138 2014-04-07 João Távora <joaotavora@gmail.com>
9139
9140 Fix `electric-pair-delete-adjacent-pairs' in modes binding
9141 backspace. (Bug#16981)
9142 * elec-pair.el (electric-pair-backward-delete-char): Delete.
9143 (electric-pair-backward-delete-char-untabify): Delete.
9144 (electric-pair-mode-map): Bind backspace to a menu item filtering
9145 a new `electric-pair-delete-pair' command.
9146 (electric-pair-delete-pair): New command.
9147
9148 * progmodes/python.el (python-electric-pair-string-delimiter):
9149 Fix triple-quoting electricity. (Bug#17192)
9150
9151 * elec-pair.el (electric-pair-post-self-insert-function):
9152 Don't skip whitespace when `electric-pair-text-pairs' and
9153 `electric-pair-pairs' were used. syntax to
9154 electric-pair--skip-whitespace. (Bug#17183)
9155
9156 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9157
9158 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9159 "<F>". (Bug#17199)
9160
9161 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9164 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9165
9166 2014-04-07 Glenn Morris <rgm@gnu.org>
9167
9168 * help.el (view-lossage): Doc tweak.
9169
9170 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
9171
9172 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9173 only when inhibit-x-resources is nil, and do that earlier in the
9174 function. Doc fix. (Bug#16694)
9175 (face-spec-choose): Accept additional optional argument, whose
9176 value is returned if no matching attributes are found.
9177 (face-spec-recalc): Use the new optional argument when calling
9178 face-spec-choose. (Bug#16378)
9179 (make-face-x-resource-internal): Do nothing when
9180 inhibit-x-resources is non-nil. Don't touch the default face if
9181 reversed video is given--as was done in previous versions of Emacs.
9182 (face-set-after-frame-default): Don't call
9183 make-face-x-resource-internal here. (Bug#16434)
9184
9185 2014-04-07 Tassilo Horn <tsdh@gnu.org>
9186
9187 * doc-view.el (doc-view-bookmark-jump):
9188 Use `bookmark-after-jump-hook' to jump to the right page after the
9189 buffer is shown in a window. (bug#16090)
9190
9191 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9192
9193 * international/characters.el (mirroring): Fix last change:
9194 instead of loading uni-mirrored.el explicitly, do that implicitly
9195 by creating the 'mirroring' uniprop table. This avoids announcing
9196 the loading of uni-mirrored.el.
9197
9198 2014-04-07 Glenn Morris <rgm@gnu.org>
9199
9200 * files.el (buffer-stale--default-function)
9201 (buffer-stale-function, revert-buffer--default):
9202 * autorevert.el (auto-revert-buffers): Doc tweaks.
9203
9204 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9205
9206 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
9207
9208 2014-04-07 Glenn Morris <rgm@gnu.org>
9209
9210 * files.el (make-backup-file-name-function)
9211 (make-backup-file-name, make-backup-file-name--default-function)
9212 (make-backup-file-name-1, find-backup-file-name)
9213 (revert-buffer-function, revert-buffer-insert-file-contents-function)
9214 (buffer-stale--default-function, buffer-stale-function)
9215 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9216 (revert-buffer, revert-buffer--default)
9217 (revert-buffer-insert-file-contents--default-function):
9218 Doc fixes related to defaults no longer being nil.
9219 (make-backup-file-name-function): Bump :version.
9220 Restore nil as a valid but deprecated custom type.
9221
9222 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9225 Handle $' used as a variable (bug#17174).
9226
9227 * progmodes/perl-mode.el (perl-indent-new-calculate):
9228 Handle forward-sexp failure (bug#16985).
9229 (perl-syntax-propertize-function): Add "foreach" and "for" statement
9230 modifiers introducing expressions (bug#17116).
9231
9232 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9235
9236 2014-04-05 Leo Liu <sdl.web@gmail.com>
9237
9238 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9239 Add define-compilation-mode.
9240
9241 2014-04-04 João Távora <joaotavora@gmail.com>
9242
9243 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9244 parse from comment beginning.
9245 (electric-pair--balance-info): Fix typo in comment.
9246 (electric-pair--in-unterminated-string-p): Delete.
9247 (electric-pair--unbalanced-strings-p): New function.
9248 (electric-pair-string-bound-function): New var.
9249 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9250 according to `electric-pair--in-unterminated-string-p'.
9251
9252 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9255 Move declaration before first use.
9256 (reftex-move-to-next-arg): Silence compiler warning.
9257
9258 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
9259
9260 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9261 Use `window-total-width' instead of `window-width'.
9262
9263 2014-04-03 Daniel Colascione <dancol@dancol.org>
9264
9265 * subr.el (set-transient-map): Remove rms's workaround entirely;
9266 use new `suspicious-object' subr to mark our lambda for closer
9267 scrutiny during gc.
9268
9269 2014-04-02 Richard Stallman <rms@gnu.org>
9270
9271 * subr.el (set-transient-map): Comment out previous change.
9272
9273 2014-04-02 Glenn Morris <rgm@gnu.org>
9274
9275 * menu-bar.el (menu-bar-file-menu):
9276 * vc/ediff.el (ediff-current-file):
9277 Update for revert-buffer-function no longer being nil by default.
9278
9279 * simple.el (command-execute): Respect nil disabled-command-function.
9280
9281 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9282
9283 * simple.el (command-execute): Do not execute the command when it
9284 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
9285
9286 2014-04-02 Juri Linkov <juri@jurta.org>
9287
9288 * dired-aux.el (dired-compress-file): Don't use string-match-p
9289 because its match data is used afterwards.
9290
9291 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
9294 0 like nil.
9295
9296 2014-04-02 João Távora <joaotavora@gmail.com>
9297
9298 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9299 Inhibit quote pairing if point-max is inside an unterminated string.
9300 (electric-pair--looking-at-unterminated-string-p):
9301 Delete.
9302 (electric-pair--in-unterminated-string-p): New function.
9303
9304 2014-04-01 Daniel Colascione <dancol@dancol.org>
9305
9306 * minibuffer.el (minibuffer-complete): Prevent assertion failure
9307 when trying to complete the prompt.
9308
9309 2014-03-31 Leo Liu <sdl.web@gmail.com>
9310
9311 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9312 Refactor out eldoc-documentation-function-default.
9313 (eldoc-documentation-function-default): New function.
9314 (eldoc-documentation-function): Change value.
9315
9316 2014-03-31 Glenn Morris <rgm@gnu.org>
9317
9318 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
9319
9320 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
9321 (vhdl-compose-components-package, vhdl-compose-configuration):
9322 Abbreviate default-directory (missing from some previous upstream sync).
9323
9324 2014-03-31 Reto Zimmermann <reto@gnu.org>
9325
9326 Sync with upstream vhdl mode v3.35.2.
9327 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9328 (top-level): No longer require assoc.
9329 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
9330 New functions. Use throughout to replace aget etc.
9331 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
9332 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
9333 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
9334 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
9335 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
9336 except `vhdl-compiler'.
9337 (vhdl-error-regexp-add-emacs): Remove all other compilers,
9338 when appropriate.
9339
9340 2014-03-31 Glenn Morris <rgm@gnu.org>
9341
9342 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
9343 Revert 2014-03-26 merge goof; go back to using defalias.
9344
9345 2014-03-30 Daniel Colascione <dancol@dancol.org>
9346
9347 * comint.el (comint-send-input):
9348 Deactivate completion-in-region-mode before we send comint input.
9349 (Bug#17139).
9350
9351 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
9352 on keyboard-quit.
9353
9354 2014-03-29 Glenn Morris <rgm@gnu.org>
9355
9356 * textmodes/reftex.el: Manage most autoloads automatically.
9357 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
9358 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
9359 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
9360 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
9361 * textmodes/reftex-toc.el: Set generated-autoload-file,
9362 and add autoload cookies for reftex.el.
9363 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
9364
9365 2014-03-28 Glenn Morris <rgm@gnu.org>
9366
9367 * cus-start.el (report-emacs-bug-address): Set custom properties.
9368 * mail/emacsbug.el (report-emacs-bug-address):
9369 Variable is now defined in emacs.c.
9370
9371 * mail/emacsbug.el (report-emacs-bug):
9372 Include system-configuration-features.
9373
9374 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
9375
9376 * simple.el (cycle-spacing): Never delete spaces on first run by
9377 default, but do so in a new 'fast mode and if there are already
9378 N spaces (the previous behavior).
9379 Compare N with its value in previous invocation so that changing
9380 prefix argument restarts `cycle-spacing' sequence.
9381 The idea is that with this change, binding M-SPC to
9382 `cycle-spacing' should not introduce any changes in behavior of
9383 the binding so long as users do not type M-SPC twice in a raw with
9384 the same prefix argument or lack thereof.
9385
9386 2014-03-28 Glenn Morris <rgm@gnu.org>
9387
9388 * faces.el (term-file-aliases): New variable.
9389 (tty-run-terminal-initialization): Respect term-file-aliases.
9390 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
9391 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
9392 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
9393
9394 2014-03-27 Glenn Morris <rgm@gnu.org>
9395
9396 * startup.el (inhibit-startup-hooks): Doc tweak.
9397 (normal-top-level): Simplify running of hooks.
9398 For window-setup-hook, respect inhibit-startup-hooks.
9399 (command-line-1): Don't set window-setup-hook to nil.
9400
9401 Allow selective autoloading from obsolete/ directory.
9402 * Makefile.in (obsolete-autoloads): New rule.
9403 (autoloads): Run obsolete-autoloads.
9404 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
9405 * simple.el (iswitchb-mode): Remove hand-written autoloads.
9406
9407 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
9408
9409 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9410 Highlight special globals with font-lock-builtin-face. (Bug#17057)
9411
9412 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9413 Don't propertize `?' or `!' as symbol constituent when after
9414 colon. (Bug#17097)
9415
9416 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
9417
9418 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
9419 which is no longer needed and causes trouble in GTK builds (bug#17046).
9420
9421 * emacs-lisp/package-x.el (package--archive-contents-from-url):
9422 Use url-insert-file-contents; package-handle-response no longer exists.
9423
9424 2014-03-26 Daniel Colascione <dancol@dancol.org>
9425
9426 * simple.el (process-menu-mode-map): New variable.
9427 (process-menu-delete-process): New command.
9428
9429 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9430
9431 * emacs-lisp/package.el: Fix bug#16733 (again).
9432 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
9433 (url-http-target-url): Remove unused declarations.
9434 (package-handle-response): Remove.
9435 (package--with-work-buffer): Use url-insert-file-contents and simplify.
9436 (package--download-one-archive): Use current-buffer instead of
9437 dynamic binding of `buffer'.
9438 (describe-package-1): Do not decode readme-string.
9439
9440 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
9441
9442 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
9443
9444 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
9445 from 2014-03-07, it decreases performance unnecessarily. Let-bind
9446 `remote-file-name-inhibit-cache' to nil in the second pass.
9447 (tramp-find-executable): Do not call "which" on SunOS.
9448 (tramp-send-command-and-check): Fix docstring.
9449 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
9450 check whether source directory has set the sticky bit.
9451
9452 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
9453
9454 * simple.el (primitive-undo): Only process marker adjustments
9455 validated against their corresponding (TEXT . POS). Issue warning
9456 for lone marker adjustments in undo history. (Bug#16818)
9457 (undo-make-selective-list): Add marker adjustments to selective
9458 undo list based on whether their corresponding (TEXT . POS) is in
9459 the region. Remove variable adjusted-markers, which was unused
9460 and only non nil during undo-make-selective-list.
9461 (undo-elt-in-region): Return nil when passed a marker adjustment
9462 and explain in function doc.
9463
9464 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9465
9466 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
9467
9468 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9469
9470 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
9471 Match special global variables without curlies, too.
9472 (ruby-font-lock-keywords): Simplify the matcher for special global
9473 variables. Don't require a non-word character after the variable.
9474 (Bug#17057)
9475
9476 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * simple.el (redisplay-highlight-region-function): Increase priority of
9479 overlay to make sure boundaries are visible (bug#15899).
9480
9481 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9482
9483 * frameset.el (frameset--initial-params): Fix typo in parameter name.
9484 (frameset-restore): Compare display strings with equal.
9485
9486 * frame.el (make-frame): Don't quote display name in error message,
9487 it is already a string.
9488
9489 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9490
9491 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
9492 the password.
9493
9494 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9495
9496 * emacs-lisp/package.el (package--add-to-archive-contents):
9497 Include already installed and built-in packages in
9498 `package-archive-contents'.
9499 (package-install): Don't include already installed packages in the
9500 options during interactive invocation. (Bug#16762)
9501 (package-show-package-list): If the buffer is already displayed in
9502 another window, switch to that window.
9503
9504 2014-03-26 Reto Zimmermann <reto@gnu.org>
9505
9506 Sync with upstream vhdl mode v3.35.1.
9507 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9508 (vhdl-compiler-alist): Doc fix.
9509 (vhdl-goto-line): Remove.
9510 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
9511 (vhdl-mode) <paragraph-start>: Fix value.
9512 (vhdl-fix-statement-region): Not `for' in wait-statement.
9513 (vhdl-beautify-region): Also (un)tabify.
9514 (vhdl-get-visible-signals):
9515 Scan declarative part of generate statements.
9516 (vhdl-template-record): Fix indentation for record type declaration.
9517 (vhdl-expand-abbrev, vhdl-expand-paren):
9518 Revert to using fset again rather than defalias.
9519 (vhdl-scan-directory-contents): Tweak.
9520 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
9521 (vhdl-compose-components-package):
9522 Replace vhdl-goto-line with forward-line.
9523 (top-level): Tweak speedbar frame selection.
9524 (vhdl-generate-makefile-1): Support for compilers with no
9525 unit-to-file name mapping (create directory with dummy files).
9526
9527 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
9528
9529 Sync with upstream verilog-mode revision 702457d.
9530 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9531 (create-lockfiles): Declare.
9532 (verilog-read-decls): Fix module header imports, bug709.
9533 Reported by Victor Lau.
9534 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
9535 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9536 interface-only modules, bug721. Reported by Dean Hoyt.
9537
9538 2014-03-26 Glenn Morris <rgm@gnu.org>
9539
9540 * obsolete/gulp.el: Move here from emacs-lisp/.
9541
9542 * files.el (lock-buffer, unlock-buffer, file-locked-p):
9543 Remove fallback aliases, since they are always defined now.
9544
9545 2014-03-24 Daniel Colascione <dancol@dancol.org>
9546
9547 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9548 instead of cl-loop search function.
9549
9550 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9551
9552 * calendar/parse-time.el (parse-time-iso8601-regexp)
9553 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
9554 it more generally.
9555
9556 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9557
9558 * net/dns.el (network-interface-list): Define for XEmacs.
9559
9560 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
9561
9562 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
9563 the network interfaces changed.
9564 (dns-query): Use it to flush the data.
9565
9566 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
9567
9568 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
9569
9570 2014-03-23 Daniel Colascione <dancol@dancol.org>
9571
9572 Change subword-mode to use `find-word-boundary-function-table' and
9573 replace `capitalized-words-mode'. Also, convert to lexical binding.
9574 * progmodes/cap-words.el: Delete now-obsolete file.
9575 * progmodes/subword.el: Reimplement using
9576 `find-word-boundary-function-table'.
9577 (subword-mode-map): Hollow out.
9578 (capitalized-words-mode): Define as obsolete alias for
9579 `subword-mode'.
9580 (subword-mode, superword-mode): Tweak documentation to reflect new
9581 implementation; call `subword-setup-buffer'.
9582 (subword-forward, subword-capitalize): Add underscore to indicate
9583 unused variable.
9584 (subword-find-word-boundary-function-table): New constant.
9585 (subword-empty-char-table): New constant.
9586 (subword-setup-buffer): New function.
9587 (subword-find-word-boundary): New function.
9588
9589 2014-03-23 Daniel Colascione <dancol@dancol.org>
9590
9591 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9592 list to look for keyword arguments instead of `memq', fixing
9593 (Bug#3647) --- unfortunately, only for freshly-compiled code.
9594 Please make bootstrap.
9595
9596 2014-03-22 Glenn Morris <rgm@gnu.org>
9597
9598 * dired.el (dired-read-regexp): Make obsolete.
9599 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
9600 (dired-flag-files-regexp):
9601 * dired-aux.el (dired-mark-read-regexp):
9602 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9603
9604 * startup.el (fancy-startup-text):
9605 * help.el (describe-gnu-project): Visit online info about GNU project.
9606
9607 * help-fns.el (help-fns--interactive-only): New function.
9608 (help-fns-describe-function-functions): Add the above function.
9609 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
9610 (next-line, previous-line): Remove hand-written interactive-only
9611 information from doc strings, it is auto-generated now.
9612 * bookmark.el (bookmark-write):
9613 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
9614 (epa-mail-import-keys): Mark interactive-only,
9615 and remove hand-written interactive-only information from doc strings.
9616 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
9617 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
9618 * files.el (not-modified):
9619 * simple.el (mark-whole-buffer): Mark interactive-only.
9620
9621 * emacs-lisp/byte-run.el (defun-declarations-alist):
9622 Add interactive-only. Doc tweak.
9623 (macro-declarations-alist): Doc tweak.
9624 * subr.el (declare): Doc tweak (add xref to manual).
9625 * comint.el (comint-run):
9626 * files.el (insert-file-literally, insert-file):
9627 * replace.el (replace-string, replace-regexp):
9628 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9629 (delete-forward-char, goto-line, insert-buffer, next-line)
9630 (previous-line): Set interactive-only via declare.
9631
9632 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
9633
9634 * emacs-lisp/package.el (package-desc): Use the contents of the
9635 quoted form, not its cdr. (Bug#16873)
9636
9637 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
9638
9639 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
9640 benefit of doc.c; change parameter profile to match the X function.
9641
9642 2014-03-22 Leo Liu <sdl.web@gmail.com>
9643
9644 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
9645 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
9646
9647 2014-03-21 Richard Stallman <rms@gnu.org>
9648
9649 * battery.el (battery-linux-sysfs): Search for each field
9650 from the beginning of the buffer.
9651
9652 * subr.el (set-transient-map): Clear out function and value
9653 of the temporary symbol when we're done with it.
9654
9655 * mail/rmailsum.el (rmail-summary-delete-forward):
9656 Optimize case of reaching end and handling count.
9657 (rmail-summary-mark-deleted): Optimize when N is current msg.
9658 Don't create new summary line.
9659 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
9660 (rmail-summary-undelete-many): Rewrite for speed.
9661 (rmail-summary-msg-number): New function.
9662
9663 * mail/rmail.el (rmail-delete-message): Update summary.
9664 (rmail-undelete-previous-message): Handle repeat count arg.
9665 (rmail-delete-backward, rmail-delete-forward): Likewise.
9666
9667 2014-03-21 Daniel Colascione <dancol@dancol.org>
9668
9669 * mail/emacsbug.el (report-emacs-bug): Include memory usage
9670 information in bug reports.
9671
9672 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
9673
9674 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
9675 and `tramp-copy-env'.
9676
9677 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
9678 (tramp-maybe-open-connection): Handle `tramp-login-env'.
9679
9680 2014-03-21 Glenn Morris <rgm@gnu.org>
9681
9682 * electric.el (electric-indent-post-self-insert-function): Add doc.
9683
9684 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
9685
9686 * emacs-lisp/package.el (package-compute-transaction):
9687 Use `version-list-<=' to compare the requirement version against
9688 the version of package already to be installed. Update the error
9689 message. (Bug#16826)
9690
9691 * progmodes/ruby-mode.el (ruby-smie-rules):
9692 Add indentation rule for ` @ '. (Bug#17050)
9693
9694 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9695
9696 * align.el (align-regexp): Remove superfluous backslash.
9697
9698 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
9699 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
9700 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
9701 Fix docstring typos.
9702 (ffap-next): Use C-u in docstring.
9703 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
9704 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
9705 Remove superfluous backslashes.
9706 (ffap-string-at-point): Reflow docstring.
9707
9708 * server.el (server-host): Reflow docstring.
9709 (server-unload-function): Fix docstring typo.
9710 (server-eval-at): Remove superfluous backslash.
9711
9712 * skeleton.el (skeleton-insert): Remove superfluous backslash.
9713 (skeleton-insert): Doc fix.
9714 (skeleton-insert): Reflow docstring.
9715
9716 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
9717 (tty-color-approximate, tty-color-by-index, tty-color-values)
9718 (tty-color-desc): Remove superfluous backslashes.
9719
9720 2014-03-21 Glenn Morris <rgm@gnu.org>
9721
9722 * cus-start.el (history-length): Bump :version.
9723
9724 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9725 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9726 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9727 Don't set `make-backup-files'.
9728
9729 * info.el (info--prettify-description): New function,
9730 to give info-finder descriptions consistent case, punctuation.
9731 (Info-finder-find-node): Use it. Sort packages.
9732 Refer to "description" rather than "commentary".
9733
9734 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * frameset.el (frameset--print-register): New function.
9737 (frameset-to-register): Use it.
9738
9739 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
9740
9741 * progmodes/hideif.el (hif-string-to-number): New function.
9742 (hif-tokenize): Use it to understand non-decimal floats.
9743
9744 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
9745
9746 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
9747
9748 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * electric.el (electric-newline-and-maybe-indent): New command.
9751 Bind it globally to C-j.
9752 (electric-indent-mode): Don't mess with the global map any more.
9753 Don't drop the post-self-insert-hook is some buffer is still using it
9754 (bug#16770).
9755
9756 * bindings.el (global-map): Remove C-j binding.
9757
9758 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
9759 the docstring of functions advised before dumping (bug#16993).
9760
9761 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
9762
9763 * ps-print.el (ps-generate-postscript-with-faces):
9764 Explicitly deactivate the mark (bug#16866).
9765 * simple.el (deactivate-mark): Update region highlight.
9766
9767 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
9768
9769 * emacs-lisp/package.el (describe-package-1):
9770 Decode commentary (bug#16733).
9771
9772 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
9773
9774 * custom.el (defcustom): Doc fix: recommend avoiding destructive
9775 modification of the value argument of :set (bug#16755).
9776
9777 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * simple.el (newline-and-indent): Do autofill (bug#17031).
9780
9781 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
9782
9783 * newcomment.el (comment-normalize-vars): Only add escaping check
9784 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
9785 (comment-beginning): Use `narrow-to-region' instead of moving back
9786 one character.
9787 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
9788 (comment-start-skip): Update the docstring.
9789
9790 2014-03-18 Richard Stallman <rms@gnu.org>
9791
9792 * dired.el (dired-display-file): Force use of other window.
9793
9794 2014-03-18 Daniel Colascione <dancol@dancol.org>
9795
9796 * startup.el (tty-handle-args): Remove debug message from 2007.
9797
9798 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
9801 (advice--make-interactive-form): Use it to avoid (auto)loading function.
9802 (advice--make-1, advice-add, advice-remove):
9803 Remove braindead :advice-pending hack.
9804
9805 2014-03-17 Glenn Morris <rgm@gnu.org>
9806
9807 * calendar/calendar.el (calendar-generate-month): Apply weekend
9808 face to the right days; fixes 2013-08-06 change. (Bug#17028)
9809
9810 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
9811
9812 * net/tramp.el (tramp-action-out-of-band): Read pending output.
9813 (tramp-call-process): Trace also DESTINATION.
9814
9815 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9816 Quote file names when they are local. Remove superfluous trace.
9817
9818 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
9819
9820 * newcomment.el (comment-beginning): If `comment-start-skip'
9821 doesn't match, move back one char and try again. (Bug#16971)
9822
9823 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9824 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
9825 Set `comment-start-skip' to a simpler value that doesn't try to
9826 check if the semicolon is escaped (this is handled by
9827 `syntax-ppss' now). (Bug#16971)
9828
9829 * progmodes/scheme.el (scheme-mode-variables): Same.
9830
9831 2014-03-16 Martin Rudalics <rudalics@gmx.at>
9832
9833 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
9834 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
9835 current (Bug#16816, Bug#17007).
9836 (with-current-buffer-window): New macro doing the same as
9837 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
9838 * help.el (help-print-return-message): Warn in doc-string to not
9839 use this in `with-help-window'.
9840 (describe-bindings-internal): Call `describe-buffer-bindings'
9841 from within help buffer. See Juanma's scenario in (Bug#16816).
9842 (with-help-window): Update doc-string.
9843 * dired.el (dired-mark-pop-up):
9844 * files.el (save-buffers-kill-emacs):
9845 * register.el (register-preview): Use `with-current-buffer-window'
9846 instead of `with-temp-buffer-window'.
9847
9848 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
9851 Implement inserting into current buffer, documented in their docstrings.
9852 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
9853 (rst-section-tree-point, rst-forward-section, rst-indent)
9854 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
9855 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
9856 (rst-font-lock-handle-adornment-pre-match-form)
9857 (rst-repeat-last-character): Reflow docstrings.
9858 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
9859 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
9860 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
9861 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
9862 Fix docstring typos.
9863 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
9864 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
9865 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
9866
9867 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
9868
9869 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
9870 for compatibility with other ports.
9871 (ns-initialize-window-system): Use it. It is set in term/common-win.el
9872 from the -xrm command line argument, but in the Nextstep port its value
9873 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
9874
9875 * progmodes/python.el (defconst, python-syntax-count-quotes)
9876 (python-indent-region, python-indent-shift-right)
9877 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
9878 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
9879 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
9880 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
9881 (inferior-python-mode, python-shell-make-comint, run-python-internal)
9882 (python-shell-buffer-substring, python-shell-send-buffer)
9883 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
9884 (python-completion-complete-at-point, python-fill-docstring-style)
9885 (python-eldoc-function, python-imenu-format-item-label)
9886 (python-imenu-format-parent-item-label)
9887 (python-imenu-format-parent-item-jump-label)
9888 (python-imenu--build-tree, python-imenu-create-index)
9889 (python-imenu-create-flat-index): Fix docstring typos.
9890 (python-indent-context, python-shell-prompt-regexp, run-python):
9891 Remove superfluous backslashes.
9892 (python-indent-line, python-nav-beginning-of-defun)
9893 (python-shell-get-buffer, python-shell-get-process)
9894 (python-info-current-defun, python-info-current-line-comment-p)
9895 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
9896 (python-indent-post-self-insert-function, python-shell-send-file)
9897 (python-shell-completion-get-completions)
9898 (python-shell-completion-complete-or-indent)
9899 (python-eldoc--get-doc-at-point): Reflow docstrings.
9900
9901 2014-03-14 Glenn Morris <rgm@gnu.org>
9902
9903 * emacs-lisp/package.el (package-menu-mode-map):
9904 Replace use of obsolete function alias. Tweak menu item text.
9905
9906 * info.el (Info-finder-find-node):
9907 Ignore the `emacs' metapackage. (Bug#10813)
9908
9909 * finder.el (finder-list-matches): Include unversioned packages
9910 in the result of a keyword search.
9911
9912 * finder.el (finder--builtins-descriptions): New constant.
9913 (finder-compile-keywords): Use finder--builtins-descriptions.
9914
9915 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
9916
9917 * simple.el (blink-matching-paren): Describe the new value,
9918 `jump', enabling the old behavior.
9919 (blink-matching-open): Use that value. (Bug#17008)
9920
9921 2014-03-14 Glenn Morris <rgm@gnu.org>
9922
9923 * finder.el (finder-no-scan-regexp): Add leim-list.
9924 (finder-compile-keywords):
9925 Don't skip files with same basename. (Bug#14010)
9926 * Makefile.in (setwins_finder): New, excluding leim.
9927 (finder-data): Use setwins_finder.
9928
9929 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
9930 (help-function-arglist, help-make-usage): Move from here...
9931 * help.el (help-split-fundoc, help-add-fundoc-usage)
9932 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
9933 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
9934
9935 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
9936
9937 * net/socks.el (socks, socks-override-functions)
9938 (socks-find-services-entry):
9939 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
9940 (hif-find-ifdef-block):
9941 * progmodes/modula2.el (m2-indent): Fix docstring typos.
9942
9943 * net/tls.el (tls-program): Reflow docstring.
9944
9945 * progmodes/pascal.el (pascal-mode-abbrev-table)
9946 (pascal-imenu-generic-expression, pascal-auto-endcomments)
9947 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
9948 (pascal-outline-mode): Fix docstring typos.
9949 (pascal-mode): Let define-derived-mode document mode hook.
9950 (pascal-uncomment-area): Reflow.
9951 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
9952
9953 * progmodes/opascal.el (opascal-compound-block-indent)
9954 (opascal-case-label-indent): Fix docstring typos.
9955 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
9956
9957 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
9958
9959 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9960 Fontify multiple adjacent negation chars. (Bug#17004)
9961
9962 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
9963
9964 * emacs-lisp/package.el (package--prepare-dependencies):
9965 Accept requirements without explicit version (bug#14941).
9966
9967 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * register.el (register-separator, copy-to-register): Doc fixes.
9970 (register-preview-default): Remove unnecessary call to concat.
9971
9972 * frameset.el (frameset-restore): When checking for a visible frame,
9973 use the action map instead of calling visible-frame-list.
9974
9975 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
9976
9977 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
9978
9979 2014-03-12 Martin Rudalics <rudalics@gmx.at>
9980
9981 * window.el (fit-frame-to-buffer): Get maximum width from
9982 display's width instead of height.
9983
9984 2014-03-12 Glenn Morris <rgm@gnu.org>
9985
9986 * desktop.el (desktop-restore-frames)
9987 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
9988 (desktop-restore-reuses-frames): Doc tweaks.
9989
9990 * electric.el (electric-indent-mode): Doc fix.
9991
9992 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
9995 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
9996 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
9997 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
9998 (cvs-dired-use-hook): Fix docstring typos.
9999 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10000 Doc fixes.
10001
10002 * vc/pcvs-defs.el (cvs-auto-remove-handled)
10003 (cvs-auto-remove-directories, cvs-default-ignore-marks)
10004 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10005 (cvs-execute-single-dir): Fix docstring typos.
10006
10007 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10008 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10009
10010 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10011
10012 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10013 Fix docstring typos.
10014
10015 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * frameset.el (frameset--jump-to-register): Add autoload; it could be
10018 called from jump-to-register after unloading the frameset package.
10019
10020 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10023 (bug#16975). Deactivate the mark before setting it to nil.
10024 (activate-mark): Do nothing if region is already active.
10025
10026 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10027
10028 * frameset.el (frameset--target-display): Remove definition; declare.
10029 (frameset-save, frameset-restore): Let-bind frameset--target-display.
10030
10031 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10034 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10035 when the advice is pending.
10036 (advice-remove): Remove this marker when not needed any more.
10037
10038 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10039
10040 * frameset.el: Separate options for reusing frames and cleaning up.
10041 (frameset--reuse-list): Remove definition; declare.
10042 (frameset--action-map): Declare.
10043 (frameset--find-frame-if): Doc fix.
10044 (frameset--restore-frame): Cache frame action.
10045 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10046 how to clean up the frame list after restoring. Remove cleaning
10047 options from REUSE-FRAMES. Change all keyword values to symbols.
10048 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10049
10050 * desktop.el (desktop-restore-forces-onscreen)
10051 (desktop-restore-reuses-frames): Use non-keyword values.
10052 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10053
10054 2014-03-10 Glenn Morris <rgm@gnu.org>
10055
10056 * files.el (find-file): Doc fix: update info node name.
10057
10058 * emacs-lisp/advice.el (ad-add-advice, defadvice):
10059 Doc fix: remove references to deleted info nodes.
10060
10061 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
10062
10063 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10064 Do not add nil to the environment, when there's no remote `locale'.
10065 (tramp-find-inline-encoding): Check, that the remote host has
10066 installed perl, before sending scripts.
10067
10068 2014-03-10 Leo Liu <sdl.web@gmail.com>
10069
10070 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10071 Clear eldoc-last-message. (Bug#16920)
10072
10073 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10076 (bug#14430).
10077
10078 2014-03-09 Juri Linkov <juri@jurta.org>
10079
10080 * ansi-color.el (ansi-color-names-vector): Copy default colors
10081 from `xterm-standard-colors' that look well on the default white
10082 background (and also on the black background) to avoid illegible
10083 color combinations like yellow-on-white and white-on-white.
10084 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10085
10086 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
10087
10088 * frameset.el (frameset-restore): When no frame is visible, do not
10089 generate a list of frames, just make visible the selected one.
10090
10091 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
10092
10093 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10094 it only contains the repository root. (Bug#16897)
10095
10096 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
10097
10098 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10099 only when `remote-file-name-inhibit-cache' is nil.
10100 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
10101
10102 2014-03-06 Martin Rudalics <rudalics@gmx.at>
10103
10104 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10105 Fix doc-strings.
10106 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
10107 fit-frame-to-buffer variable. Fix doc-string.
10108 (fit-window-to-buffer): Set ONLY argument in call of
10109 fit-frame-to-buffer. Fix doc-string.
10110
10111 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
10112
10113 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10114 (tramp-action-password): Clear password cache if needed.
10115 (tramp-read-passwd): Do not clear password cache.
10116
10117 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10118 cache unless it is the first password request.
10119
10120 2014-03-06 Glenn Morris <rgm@gnu.org>
10121
10122 * simple.el (newline): Doc tweak.
10123
10124 * emacs-lisp/shadow.el (load-path-shadows-find):
10125 Ignore dir-locals. (Bug#12357)
10126
10127 2014-03-05 Glenn Morris <rgm@gnu.org>
10128
10129 * files.el (interpreter-mode-alist):
10130 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
10131
10132 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10133
10134 * frameset.el (frameset--initial-params): Filter out null entries.
10135
10136 2014-03-05 Martin Rudalics <rudalics@gmx.at>
10137
10138 * window.el (window-min-height, window-min-width):
10139 Rewrite doc-strings.
10140 (window-body-size): Add PIXELWISE argument to make it consistent
10141 with its callees.
10142
10143 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10144
10145 * finder.el (finder-mode-map, finder-mode-syntax-table):
10146 Revert part of 2014-02-28 change.
10147
10148 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
10149
10150 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10151 (eww-setup-buffer): Clear next/prev/etc more reliably.
10152 (eww-textarea-map): [tab] doesn't work on tty.
10153 Reported by Mario Lang.
10154
10155 * net/shr.el (shr-map): Ditto.
10156
10157 2014-03-04 Glenn Morris <rgm@gnu.org>
10158
10159 * minibuffer.el (completion-hilit-commonality):
10160 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10161
10162 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * hilit-chg.el (hilit-chg-unload-function): New function.
10165 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10166 (hilit-chg-map-changes): Prefer cardinal number to digit.
10167 (hilit-chg-display-changes): Reflow docstring.
10168 (highlight-changes-rotate-faces): Remove superfluous backslash.
10169
10170 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
10171
10172 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10173 `tramp-send-command-and-check'.
10174
10175 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10176
10177 * hexl.el (hexl-address-region, hexl-ascii-region)
10178 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10179 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10180 (hexl-forward-word, hexl-previous-line, hexl-next-line):
10181 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10182 (hexl-mode): Doc fix.
10183 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10184 (hexl-mode-ruler): Fix typos in docstrings.
10185
10186 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10187 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10188 Remove superfluous backslashes.
10189 (strokes-last-stroke, strokes-global-map, strokes-mode):
10190 Reflow docstrings.
10191 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10192 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10193 (strokes-distance-squared, strokes-global-set-stroke)
10194 (strokes-global-set-stroke-string): Doc fixes.
10195 (strokes-help): Fix typos; reflow docstring.
10196
10197 2014-03-04 Martin Rudalics <rudalics@gmx.at>
10198
10199 * window.el (window-in-direction): Fix doc-string.
10200
10201 2014-03-04 Glenn Morris <rgm@gnu.org>
10202
10203 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10204 Explicit error if no grammar.
10205 (smie-config-save): Doc fix. Fix quote typo.
10206
10207 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10210 electric-indent-mode-hook if we obey electric-indent-mode.
10211 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10212 decide whether we obey electric-indent-mode.
10213 (c-change-set-fl-decl-start, c-extend-after-change-region):
10214 Silence warnings.
10215 (c-electric-indent-mode-hook): Assume we do want to obey
10216 electric-indent-mode.
10217
10218 * electric.el (electric-indent-mode-has-been-called): Remove.
10219 (electric-indent-mode): Fix accordingly.
10220
10221 * files.el (hack-local-variables): Mention file name in warning.
10222
10223 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10224
10225 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
10226
10227 * bindings.el: Add comment describing why C-d binds to `delete-char'.
10228 * simple.el (delete-forward-char): Mark as interactive-only.
10229
10230 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * icomplete.el (icomplete-completions):
10233 Follow-up to 2014-03-01 change.
10234
10235 * icomplete.el: Miscellaneous doc fixes.
10236 Use Icomplete everywhere instead of icomplete for consistency.
10237 (icomplete-max-delay-chars): Fix typo.
10238 (icomplete-mode): Use \[].
10239 (icomplete-tidy, icomplete-exhibit): Reflow.
10240 (icomplete-minibuffer-setup-hook, icomplete-completions):
10241 Remove superfluous backlashes.
10242
10243 * ido.el: Miscellaneous doc fixes.
10244 Use Ido everywhere instead of ido or `ido' for consistency.
10245 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10246 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10247 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10248 (ido-separator): Extract obsolescence info from docstring and declare
10249 with make-obsolete-variable.
10250 (ido-minibuffer-setup-hook): Simplify example.
10251 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10252 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10253 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10254 (ido-everywhere): Reflow docstring.
10255 (ido-toggle-vc): Doc fix.
10256 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10257 of long list of keybindings.
10258
10259 2014-03-03 Glenn Morris <rgm@gnu.org>
10260
10261 * frame.el (display-pixel-height, display-pixel-width)
10262 (display-mm-dimensions-alist, display-mm-height)
10263 (display-mm-width): Doc tweaks.
10264
10265 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
10266
10267 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10268 case of undo in region.
10269
10270 2014-03-02 Martin Rudalics <rudalics@gmx.at>
10271
10272 * window.el (fit-window-to-buffer): Fix argument in window-size
10273 call when window is horizontally combined.
10274
10275 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
10276
10277 * icomplete.el (icomplete-completions): Use string-width.
10278 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10279
10280 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
10281
10282 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10283 Highlight regexp options. (Bug#16914)
10284
10285 2014-03-01 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (window--max-delta-1): Round down when calculating
10288 how many lines/columns we can get from a window.
10289
10290 2014-03-01 Glenn Morris <rgm@gnu.org>
10291
10292 * isearch.el (search-invisible): Doc fix.
10293
10294 * minibuffer.el (completion-hilit-commonality):
10295 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
10296 * comint.el (comint-dynamic-list-completions): Doc fix.
10297 * comint.el (comint-dynamic-list-completions):
10298 * filecache.el (file-cache-minibuffer-complete):
10299 * tempo.el (tempo-display-completions):
10300 * eshell/em-hist.el (eshell-list-history):
10301 Replace use of obsolete argument of display-completion-list.
10302
10303 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
10304
10305 * icomplete.el (icomplete-completions):
10306 Revert back to using "..." when ?… cannot be displayed.
10307
10308 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10309
10310 * finder.el (finder-unload-function): New function.
10311
10312 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10313
10314 * dframe.el (dframe-detach):
10315 * find-dired.el (find-dired, find-name-dired):
10316 * finder.el (finder-mode-map, finder-mode-syntax-table)
10317 (finder-headmark, finder-select, finder-mouse-select):
10318 Fix docstring typos.
10319
10320 2014-02-28 Martin Rudalics <rudalics@gmx.at>
10321
10322 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
10323 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
10324 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10325 Fix doc-string based on a suggestion by Nicolas Richard
10326 <theonewiththeevillook@yahoo.fr>.
10327 * help.el (with-help-window): Fix doc-string.
10328
10329 2014-02-28 Ivan Kanis <ivan@kanis.fr>
10330
10331 * net/shr.el (shr-image-animate): New option.
10332 (shr-put-image): Respect shr-image-animate.
10333
10334 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
10335
10336 * net/tramp-adb.el (tramp-adb-parse-device-names):
10337 Use `accept-process-output'.
10338 (tramp-adb-handle-file-truename): Cache the localname only.
10339 (tramp-adb-handle-make-directory)
10340 (tramp-adb-handle-delete-directory): Flush file properties correctly.
10341 (tramp-adb-handle-set-file-modes): Do not raise an error when file
10342 modes cannot be changed.
10343
10344 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
10345 file properties of symlinks.
10346
10347 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
10348
10349 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
10350 required/optional fields to match development biblatex. (Bug#16781)
10351
10352 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
10353
10354 * saveplace.el (toggle-save-place):
10355 Fix argument handling. (Bug#16673)
10356
10357 2014-02-28 Glenn Morris <rgm@gnu.org>
10358
10359 * minibuffer.el (completions-first-difference)
10360 (completions-common-part, completion-hilit-commonality): Doc fixes.
10361
10362 2014-02-28 Karl Berry <karl@gnu.org>
10363
10364 * info.el (Info-mode-map): Add H for describe-mode,
10365 to synchronize with standalone Info.
10366
10367 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
10368
10369 * progmodes/sql.el (sql-interactive-mode):
10370 Avoid setting global comint-input-ring-separator. (Bug#16814)
10371
10372 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10373
10374 * net/dbus.el (dbus--init-bus): Declare function.
10375 (dbus-path-local, dbus-interface-local): New defconst.
10376 (dbus-init-bus): Use them.
10377 (dbus-return-values-table): Extend doc.
10378 (dbus-handle-bus-disconnect): Extend error message.
10379
10380 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
10381
10382 * subr.el (y-or-n-p): Fix double space issue in message.
10383
10384 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10385
10386 * net/tramp.el (tramp-call-process): Improve trace message.
10387 (tramp-handle-insert-file-contents): Trace error case.
10388
10389 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10390 <insert-directory>: Use `tramp-handle-insert-directory'.
10391 (tramp-adb-handle-insert-directory): Remove function.
10392 (tramp-adb-send-command-and-check): New defun, replacing
10393 `tramp-adb-command-exit-status'. Change all callees.
10394 (tramp-adb-handle-file-attributes)
10395 (tramp-adb-handle-directory-files-and-attributes): Use it.
10396 (tramp-adb-ls-output-name-less-p):
10397 Use `directory-listing-before-filename-regexp'.
10398 (tramp-adb-handle-delete-directory): Flush also file properties of
10399 the truename of directory.
10400 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
10401 (tramp-adb-handle-file-local-copy): Make the local copy readable.
10402 (tramp-adb-handle-write-region): Implement APPEND.
10403 (tramp-adb-handle-rename-file): Make it more robust. Flush file
10404 properties correctly.
10405 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
10406 variables. Check for connected devices only when needed.
10407
10408 2014-02-27 Glenn Morris <rgm@gnu.org>
10409
10410 * minibuffer.el (completion-table-dynamic)
10411 (completion-table-with-cache): Doc fixes.
10412
10413 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
10414 (completing-read-multiple): Doc fixes.
10415
10416 2014-02-27 Daniel Colascione <dancol@dancol.org>
10417
10418 * minibuffer.el (completion--nth-completion): Fix indentation.
10419
10420 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
10421 explicit tramp path is empty.
10422
10423 2014-02-27 Glenn Morris <rgm@gnu.org>
10424
10425 * emacs-lisp/crm.el (completing-read-multiple):
10426 Empower help-enable-auto-load.
10427
10428 2014-02-26 Glenn Morris <rgm@gnu.org>
10429
10430 * startup.el (command-line): Don't init the tty in daemon mode.
10431
10432 Avoid calling tty-setup-hook twice, eg if a term file
10433 explicitly calls tty-run-terminal-initialization. (Bug#16859)
10434 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
10435 (tty-create-frame-with-faces): Use it.
10436 * startup.el (command-line): Pass run-hook argument
10437 to tty-run-terminal-initialization.
10438
10439 * dired.el (dired-restore-desktop-buffer): Demote errors;
10440 eg in case a glob match fails. (Bug#16884)
10441
10442 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
10443
10444 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
10445 error from `read-from-string'. (Bug#16850)
10446
10447 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
10448 result of `completing-read' in the interactive form. (Bug#16854)
10449
10450 2014-02-25 Glenn Morris <rgm@gnu.org>
10451
10452 * image.el (image-animate, image-animate-timeout):
10453 Stop animating images in dead buffers. (Bug#16878)
10454
10455 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
10456
10457 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
10458 Doc fixes.
10459 * startup.el (term-setup-hook): Doc fix. Make obsolete.
10460 * term/sun.el (sun-raw-prefix-hooks):
10461 Use tty-setup-hook instead of term-setup-hook.
10462 (terminal-init-sun): Construct message from bytecomp plist.
10463 * term/wyse50.el (enable-arrow-keys): Doc fix.
10464
10465 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10466
10467 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
10468 Fix docstring typos.
10469
10470 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
10471
10472 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
10473
10474 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10475
10476 * minibuffer.el (completion--try-word-completion):
10477 Fix error when completing M-x commands (bug#16808).
10478
10479 2014-02-24 Leo Liu <sdl.web@gmail.com>
10480
10481 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10482
10483 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10484
10485 * apropos.el (apropos-print): Avoid formatting error when
10486 apropos-do-all and apropos-compact-layout are both t.
10487
10488 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10489
10490 * apropos.el (apropos-property, apropos-all-words-regexp)
10491 (apropos-true-hit, apropos-variable, apropos-print):
10492 Fix docstring typos, and remove obsolete comment.
10493
10494 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * net/tramp-sh.el (tramp-sh-handle-file-truename):
10497 Preserve trailing "/". (Bug#16851)
10498
10499 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
10500
10501 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
10502 after `=>' (bug#16811).
10503 (ruby-smie-rules): Handle the inconsistent second element of the
10504 list returned by `smie-indent--parent'.
10505 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
10506 method call.
10507
10508 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10509
10510 * elec-pair.el (electric-pair-text-syntax-table)
10511 (electric-pair-syntax-info, electric-pair--syntax-ppss)
10512 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
10513 (electric-pair--looking-at-unterminated-string-p): Doc fix.
10514 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
10515
10516 2014-02-22 Glenn Morris <rgm@gnu.org>
10517
10518 * imenu.el (imenu--generic-function): Doc fix.
10519
10520 * register.el (frame-configuration-to-register): Make obsolete.
10521
10522 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
10523
10524 * desktop.el (desktop-save-buffer-p): Do not fail when
10525 desktop-files-not-to-save is nil. Return t for true result
10526 as the doc says.
10527
10528 2014-02-22 Daniel Colascione <dancol@dancol.org>
10529
10530 * net/secrets.el (secrets-create-item, secrets-search-items):
10531 Check that attribute values are strings, avoiding the construction
10532 of invalid dbus messages.
10533
10534 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
10537 defun-declarations-alist.
10538
10539 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
10542 (bug#16829).
10543
10544 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10545
10546 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
10547 (whitespace-newline, whitespace-trailing, whitespace-line)
10548 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
10549 (whitespace-space-after-tab): Fix typo in docstrings.
10550
10551 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
10552
10553 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
10554
10555 * electric.el (electric-indent-functions-without-reindent):
10556 Add `yaml-indent-line'.
10557
10558 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10559
10560 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
10561 It has done nothing for years; should be removed after the release.
10562
10563 * simple.el (choose-completion): Fix docstring typo.
10564 (read-quoted-char-radix): Remove unneeded * in docstring.
10565 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
10566 Don't escape parentheses unnecessarily in docstrings.
10567
10568 2014-02-21 Martin Rudalics <rudalics@gmx.at>
10569
10570 Fix handling of window-min-height/-width (Bug#16738).
10571 * window.el (window--dump-window, window--dump-frame):
10572 New functions.
10573 (window--min-size-1): Account for window dividers.
10574 When window-resize-pixelwise is nil, delay rounding till after the
10575 sum of the window components has been calculated.
10576 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
10577 nil make sure at least one text line and two text columns remain
10578 fully visible.
10579 (window-resize): Signal an error when window-resize-apply fails.
10580 (window--resize-child-windows): Fix calculation of by how many
10581 pixels a window can still be shrunk via window-new-normal.
10582 (adjust-window-trailing-edge): Call window--resizable with
10583 correct TRAIL argument.
10584
10585 (with-temp-buffer-window): Don't evaluate BODY within
10586 with-current-buffer (Bug#16816).
10587
10588 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
10589
10590 * net/tramp.el (tramp-check-cached-permissions):
10591 Call `file-attributes' with `suffix' being a symbol but a string.
10592
10593 2014-02-21 Daniel Colascione <dancol@dancol.org>
10594
10595 * net/dbus.el (dbus-init-bus-1): Declare new subr.
10596 (dbus-init-bus): New function: call into dbus-init-bus-1
10597 and installs a handler for the disconnect signal.
10598 (dbus-call-method): Rewrite to look for result in cons.
10599 (dbus-call-method-handler): Store result in cons.
10600 (dbus-check-event): Recognize events with nil sender as valid.
10601 (dbus-handle-bus-disconnect): New function. React to bus
10602 disconnection signal by synthesizing dbus error for each
10603 pending synchronous or asynchronous call.
10604 (dbus-notice-synchronous-call-errors): New function.
10605 (dbus-handle-event): Raise errors directly only when `dbus-debug'
10606 is true, not all the time.
10607
10608 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
10611 Remove obsolescence declarations, these variables do not exist anymore.
10612
10613 * savehist.el (savehist-save-minibuffer-history)
10614 (savehist-additional-variables, savehist-file, savehist-mode-hook)
10615 (savehist-save-hook, savehist-coding-system, savehist-loaded)
10616 (savehist-load, savehist-install, savehist-autosave): Fix typos;
10617 mostly, refer to "Savehist mode" when talking about the mode,
10618 and not the function.
10619
10620 * saveplace.el (save-place): Remove redundant info in docstring.
10621 (save-place-forget-unreadable-files, toggle-save-place)
10622 (save-place-forget-unreadable-files, save-place-dired-hook):
10623 Fix typos and remove unneeded backslashes.
10624
10625 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
10628 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
10629
10630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10631 <insert-directory>: Use `tramp-handle-insert-directory'.
10632 (tramp-gvfs-handle-insert-directory): Remove function.
10633
10634 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10635 Call `tramp-handle-insert-directory'.
10636
10637 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
10638
10639 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
10640 before the start of buffer/region (bug#16799).
10641
10642 2014-02-20 Glenn Morris <rgm@gnu.org>
10643
10644 * isearch.el (search-invisible): Doc fix.
10645
10646 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
10647
10648 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10649 (bug#16657).
10650
10651 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * frameset.el (frameset-restore): Delay removing an old frame's
10654 duplicate id until the new frame has been correctly created.
10655
10656 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
10657
10658 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
10659 (tramp-check-cached-permissions): Call `file-attributes' if the
10660 cache is empty.
10661
10662 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10663 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10664
10665 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10666 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10667 (tramp-gvfs-maybe-open-connection): Set always connection
10668 properties, even if target is mounted already.
10669
10670 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
10671 Set tramp-autoload cookie.
10672 (tramp-get-remote-touch): New defun.
10673 (tramp-sh-handle-set-file-times): Use it.
10674 (tramp-sh-handle-directory-files-and-attributes):
10675 Use `tramp-handle-directory-files-and-attributes' if neither stat
10676 nor perl are available on the remote host.
10677
10678 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
10679 "/". Write long listing only when "l" belongs to the switches.
10680
10681 * net/trampver.el: Update release number.
10682
10683 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10684
10685 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
10686
10687 2014-02-19 Martin Rudalics <rudalics@gmx.at>
10688
10689 * window.el (window-state-put): Allow WINDOW to refer to an
10690 internal window (Bug#16793).
10691
10692 2014-02-19 Glenn Morris <rgm@gnu.org>
10693
10694 * textmodes/remember.el: Move provide statement to end.
10695 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
10696 (remember-notes): Doc fixes.
10697
10698 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10699
10700 * delsel.el (delete-char): Restore incorrectly erased property
10701 (bug#16795).
10702
10703 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
10704
10705 * frameset.el (frameset--restore-frame): When a frame is being reused
10706 and its root window is not alive, delete all the frame's windows before
10707 restoring the window state. This works around the issue in bug#16793.
10708
10709 2014-02-18 Glenn Morris <rgm@gnu.org>
10710
10711 * textmodes/remember.el (remember-data-directory)
10712 (remember-directory-file-name-format, remember-store-in-files)
10713 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
10714 (remember-notes-save-and-bury-buffer)
10715 (remember-notes--kill-buffer-query): Doc fixes.
10716
10717 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
10718
10719 2014-02-17 Alan Mackenzie <acm@muc.de>
10720
10721 Connect electric-indent-mode up with CC Mode. Bug #15478.
10722 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
10723 to electric-indent-{,local-}-mode.
10724 (c-basic-common-init): Set electric-indent-inhibit.
10725 Initialise c-electric-flag from electric-indent-mode.
10726 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
10727 New hook functions which propagate electric-indent-mode to CC mode.
10728
10729 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
10730 hit, toggle electric-indent-local-mode.
10731
10732 * electric.el (electric-indent-mode-has-been-called):
10733 New variable.
10734
10735 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
10736
10737 * frameset.el (frameset-cfg-id): New function.
10738 (frameset--reuse-frame, frameset-restore): Use it.
10739 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
10740
10741 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * ido.el (ido-file-internal): Remove unused var `d'.
10744 Use \` for to match BoS. Fit within 80n columns.
10745
10746 2014-02-17 Daniel Colascione <dancol@dancol.org>
10747
10748 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
10749 dbus-call-method check for completion using a busy-wait loop with
10750 gradual backoff.
10751
10752 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
10753
10754 Sync with Tramp 2.2.9.
10755
10756 * net/trampver.el: Update release number.
10757
10758 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
10759
10760 * ido.el (ido-file-internal): Don't add the name of an existing
10761 directory twice. (Bug#16747)
10762
10763 2014-02-16 Glenn Morris <rgm@gnu.org>
10764
10765 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
10766 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
10767
10768 2014-02-15 Michael R. Mauger <michael@mauger.com>
10769
10770 * progmodes/sql.el: Version 3.4
10771 (sql-oracle-options): New default value ("-L").
10772 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
10773 (sql-placeholders-filter): Correct placeholder pattern.
10774 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
10775 (sql-login-delay): New variable.
10776 (sql-product-interactive): Use it.
10777
10778 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
10779
10780 * frameset.el (frameset--jump-to-register): Check that buffer is live
10781 (bug#16749).
10782
10783 2014-02-15 Glenn Morris <rgm@gnu.org>
10784
10785 * info.el (info-initialize): Revert 2014-01-10 change.
10786
10787 2014-02-14 Glenn Morris <rgm@gnu.org>
10788
10789 * replace.el (map-query-replace-regexp)
10790 (read-regexp-defaults-function, read-regexp): Doc fixes.
10791
10792 * dired.el (dired-read-regexp):
10793 * faces.el (list-faces-display):
10794 * misearch.el (multi-isearch-read-matching-buffers)
10795 (multi-isearch-read-matching-files):
10796 * play/cookie1.el (cookie-apropos):
10797 * progmodes/grep.el (grep-read-regexp): Doc fixes.
10798
10799 * textmodes/remember.el (remember): Use frameset-to-register
10800 rather than frame-configuration-to-register.
10801
10802 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
10803
10804 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
10805 incorrect keybinding.
10806
10807 2014-02-13 Daniel Colascione <dancol@dancol.org>
10808
10809 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
10810 when adding overlays so that line numbers from compiler match line
10811 numbers we use.
10812
10813 2014-02-13 Glenn Morris <rgm@gnu.org>
10814
10815 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
10816
10817 * jit-lock.el (jit-lock-mode): Doc fix.
10818
10819 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
10820
10821 * apropos.el (apropos-read-pattern): When the user passes an empty
10822 string, give a more helpful error message than "Wrong type
10823 argument: stringp, nil".
10824
10825 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
10828
10829 2014-02-13 Glenn Morris <rgm@gnu.org>
10830
10831 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
10832
10833 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
10836 shift-select commands.
10837
10838 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
10839
10840 * progmodes/js.el (js-indent-line): Don't widen.
10841 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
10842
10843 2014-02-12 Glenn Morris <rgm@gnu.org>
10844
10845 * icomplete.el (icomplete): Add info-link to defgroup.
10846 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
10847 (icomplete-minibuffer-map, icomplete-mode)
10848 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
10849
10850 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
10851 (package-menu-filter): Rename from package-menu-filter-interactive.
10852 Doc fix.
10853
10854 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
10855
10856 * frameset.el (frameset--jump-to-register): Select the required
10857 window and buffer before restoring position (bug#16696).
10858
10859 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
10860
10861 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
10862
10863 2014-02-10 Glenn Morris <rgm@gnu.org>
10864
10865 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
10866
10867 2014-02-10 Eli Zaretskii <eliz@gnu.org>
10868
10869 * w32-common-fns.el (x-get-selection): Doc fix.
10870 * select.el (x-get-selection): Doc fix. (Bug#15109)
10871
10872 * face-remap.el (face-remap-add-relative)
10873 (face-remap-remove-relative, face-remap-reset-base)
10874 (face-remap-set-base): Call force-mode-line-update to redisplay
10875 the current buffer due to potential change in faces. (Bug#16709)
10876
10877 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
10878
10879 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
10880 script more robustly.
10881
10882 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10883
10884 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
10885
10886 * simple.el (choose-completion): Doc fix (bug#14160).
10887
10888 * subr.el (event-start): Say what a nil EVENT value means.
10889
10890 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
10891 (bug#14197).
10892
10893 * progmodes/grep.el (find-program): Doc fix (bug#14289).
10894
10895 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
10896
10897 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
10898
10899 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
10900 predicate function (bug#15455).
10901
10902 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
10903
10904 * ielm.el (inferior-emacs-lisp-mode): Instead of
10905 `comment-use-global-state', set `comment-use-syntax'.
10906
10907 2014-02-10 Glenn Morris <rgm@gnu.org>
10908
10909 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
10910
10911 2014-02-09 Alan Mackenzie <acm@muc.de>
10912
10913 Fix c-invalidate-state-cache on narrowed buffers.
10914 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
10915 Widen when setting and clearing the CPP delimiter properties.
10916
10917 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
10918
10919 * help.el (describe-bindings): Doc fix (bug#9888).
10920
10921 * files.el (save-buffer): Use ARG as the parameter name for
10922 consistency (bug#10346).
10923 (save-buffer): Clarify the 0 argument (bug#10346).
10924
10925 * cus-edit.el (customize-apropos): Fix error string.
10926 (custom-buffer-create): Doc fix (bug#11122).
10927 (custom-sort-items): Doc fix (bug#11121).
10928
10929 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
10930
10931 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
10932 (icomplete-simple-completing-p): Mention the previous variable.
10933
10934 * font-lock.el (font-lock-value-in-major-mode): Clarify the
10935 meaning of the parameter (bug#12282).
10936
10937 * files.el (find-file-noselect): Clarify prompt when changing
10938 readedness (bug#13261).
10939 (locate-file): Suffixes aren't returned, so don't say that they
10940 are (bug#12674).
10941 (backup-inhibited): Doc clarification (bug#12525).
10942
10943 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
10944 before we actually start to delete things (bug#16331).
10945
10946 * subr.el (event-start): Doc fix (bug#14228).
10947 (event-end): Ditto.
10948
10949 2014-02-09 Glenn Morris <rgm@gnu.org>
10950
10951 * emacs-lisp/warnings.el (lwarn):
10952 Empower help-enable-auto-load. (Bug#15940)
10953
10954 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10955
10956 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
10957 (Bug#16690)
10958
10959 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
10960
10961 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10962 Insert output at end of buffer. (Bug#16120)
10963
10964 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
10965
10966 * simple.el (choose-completion-string-functions): Document new
10967 calling convention (bug#14153).
10968 (execute-extended-command): Clarify doc string (bug#13373).
10969
10970 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
10971
10972 * find-dired.el (find-name-dired): Doc fix (bug#14290).
10973 (find-grep-dired): Doc fix (bug#14288).
10974
10975 2014-02-08 Juri Linkov <juri@jurta.org>
10976
10977 * isearch.el (isearch-quote-char): Check character validity
10978 like in `quoted-insert' (bug#16677).
10979
10980 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
10981
10982 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
10983
10984 * isearch.el (isearch-hide-immediately): Doc clarification
10985 (bug#14723).
10986
10987 * simple.el (line-move): Document utility function used many
10988 places in the Emacs sources (bug#14843).
10989
10990 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
10991 (dired-prev-marked-file): Doc fix (bug#14855).
10992 (dired-up-directory): Doc fix (bug#14848).
10993
10994 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
10995
10996 * files.el (file-relative-name): Doc fix (bug#15159).
10997
10998 * fringe.el (fringe-styles): Doc fix (bug#15239).
10999
11000 * isearch.el (isearch-filter-predicate): Documentation typo fix
11001 (bug#15474).
11002
11003 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11004
11005 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11006
11007 * replace.el (replace-match-maybe-edit): Doc clarification
11008 (bug#15632).
11009
11010 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11011
11012 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11013
11014 2014-02-08 Glenn Morris <rgm@gnu.org>
11015
11016 * help-fns.el (describe-variable):
11017 Check {file,dir}-local-variables-alist, and buffer-file-name,
11018 in the correct buffer.
11019
11020 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
11021
11022 * help-fns.el (describe-variable): Fix the case where
11023 a value is directory-local with no dir-locals file. (Bug#16635)
11024
11025 2014-02-08 Glenn Morris <rgm@gnu.org>
11026
11027 * abbrev.el (edit-abbrevs-mode):
11028 Derive from fundamental-mode. (Bug#16682)
11029
11030 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
11031
11032 * simple.el (quoted-insert): Check character validity (bug#16677).
11033
11034 2014-02-07 Juri Linkov <juri@jurta.org>
11035
11036 * desktop.el (desktop-read): Claim the lock when the owner is not
11037 the current process. (Bug#16157)
11038
11039 2014-02-07 Juri Linkov <juri@jurta.org>
11040
11041 * desktop.el (desktop-buffers-not-to-save): Change default from nil
11042 to "\\` ". (Bug#16651)
11043
11044 2014-02-07 Juri Linkov <juri@jurta.org>
11045
11046 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11047 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11048 (desktop-auto-save-cancel-timer): New function with some code from
11049 `desktop-auto-save-set-timer'.
11050 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11051 Instead of setting `desktop-save-mode' to nil, call
11052 `desktop-save-mode' with arg 0. (Bug#16630)
11053
11054 2014-02-07 Glenn Morris <rgm@gnu.org>
11055
11056 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11057 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11058 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11059
11060 * obsolete/iswitchb.el: Move to obsolete/.
11061 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11062 since obsolete/ is not scanned for autoloads.
11063 * emacs-lisp/authors.el (authors-valid-file-names):
11064 Add iswitchb.el.
11065
11066 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11067 Disable now non-functional find-file-hook.
11068
11069 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
11070
11071 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11072 instead of ";" in order to avoid additional prompts. Let heredoc
11073 scripts read from tty. (Bug#16582)
11074 (tramp-send-command): No special handling of heredocs, it isn't
11075 necessary anymore.
11076
11077 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11080 with a space (bug#16664). Limit the symbols considered to the ones
11081 that are bound or fbound (bug#16646).
11082
11083 2014-02-06 Glenn Morris <rgm@gnu.org>
11084
11085 * epa.el (epa-mail-aliases): Doc fix.
11086
11087 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
11088
11089 * emacs-lisp/lisp.el (lisp-completion-at-point):
11090 Use `completion-table-merge' instead of `completion-table-in-turn'
11091 (bug#16604).
11092
11093 * minibuffer.el (completion-table-merge): New function.
11094
11095 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
11096
11097 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11098 (tramp-sh-handle-set-file-acl)
11099 (tramp-sh-handle-start-file-process)
11100 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11101 (tramp-find-executable, tramp-send-command): Use it.
11102
11103 2014-02-05 Glenn Morris <rgm@gnu.org>
11104
11105 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
11106
11107 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
11108
11109 * progmodes/python.el (python-shell-send-string)
11110 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11111
11112 2014-02-04 Anders Lindgren <andlind@gmail.com>
11113
11114 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11115 the names (bug#16620).
11116
11117 2014-02-03 Martin Rudalics <rudalics@gmx.at>
11118
11119 * faces.el (window-divider): New default value. Rewrite doc-string.
11120 (window-divider-first-pixel, window-divider-last-pixel): New faces.
11121
11122 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
11123
11124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11125 `protected' and `public' can also be called without arguments.
11126
11127 2014-02-03 Glenn Morris <rgm@gnu.org>
11128
11129 * register.el (window-configuration-to-register)
11130 (frame-configuration-to-register): Unadvertise unused argument.
11131 * frameset.el (frameset-to-register): Remove unused argument.
11132
11133 * frameset.el (frameset-to-register):
11134 * kmacro.el (kmacro-to-register):
11135 * register.el (increment-register):
11136 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11137 (calc-append-to-register, calc-prepend-to-register):
11138 * play/gametree.el (gametree-layout-to-register)
11139 (gametree-apply-register-layout):
11140 * textmodes/picture.el (picture-clear-rectangle-to-register)
11141 (picture-yank-rectangle-from-register):
11142 * vc/emerge.el (emerge-combine-versions-register):
11143 Use register-read-with-preview to read registers.
11144
11145 2014-02-03 João Távora <joaotavora@gmail.com>
11146
11147 * elec-pair.el (electric-pair-backward-delete-char): Don't error
11148 when at beginning of (possibly narrowed) buffer.
11149
11150 2014-02-02 Daniel Colascione <dancol@dancol.org>
11151
11152 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11153 Also try to display local help from just before point.
11154
11155 2014-02-02 Alan Mackenzie <acm@muc.de>
11156
11157 c-parse-state. Don't "append-lower-brace-pair" in certain
11158 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
11159 recognised as a comment.
11160
11161 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11162 as well as normal comment starter.
11163 (c-parse-state-get-strategy): Extra return possibility
11164 'back-and-forward.
11165 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11166 return value list to indicate replacement of a brace-pair cons
11167 with its car.
11168 (c-parse-state-1): With 'back-and-forward, only call
11169 c-append-lower-brace-pair-to state-cache when cons-separated.
11170
11171 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
11172
11173 * term/ns-win.el (ns-suspend-error): New function.
11174 (ns-initialize-window-system): Add ns-suspend-error to
11175 suspend-hook (Bug#16612).
11176
11177 2014-02-02 Daniel Colascione <dancol@dancol.org>
11178
11179 * progmodes/cc-defs.el (c-find-assignment-for-mode):
11180 Make loading cc-mode silent.
11181
11182 2014-02-02 Daniel Colascione <dancol@dancol.org>
11183
11184 * comint.el (comint-prompt-read-only): Change doc to suggest
11185 remap keybinding.
11186
11187 2014-02-02 Glenn Morris <rgm@gnu.org>
11188
11189 * register.el (register-read-with-preview, point-to-register)
11190 (window-configuration-to-register, frame-configuration-to-register)
11191 (jump-to-register, number-to-register, view-register, insert-register)
11192 (copy-to-register, append-to-register, prepend-to-register)
11193 (copy-rectangle-to-register): Doc fixes.
11194
11195 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11198 * emacs-lisp/find-func.el (find-function-C-source): Idem.
11199 * emacs-lisp/nadvice.el (advice--cd*r): New function.
11200 * help-fns.el (describe-function-1): Use it.
11201
11202 2014-02-02 Glenn Morris <rgm@gnu.org>
11203
11204 * register.el (register-preview-default): New function,
11205 split from register-preview.
11206 (register-preview-function): Rename from register-preview-functions,
11207 make it not a hook.
11208 (register-preview): Use register-preview-function.
11209 (register-read-with-preview): Error on non-character event. (Bug#16595)
11210
11211 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11212
11213 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11214 `:' before binary operators (bug#16609). Don't check for `:'
11215 before `[' and `(', or their syntax status. A percent literal
11216 can't end with either.
11217 (ruby-font-lock-keywords): For built-ins that require arguments,
11218 check that they're followed by something that looks like argument
11219 (bug#16610).
11220
11221 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
11222
11223 * subr.el (butlast): Document what an omitted N means (bug#13437).
11224 (nbutlast): Ditto.
11225
11226 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
11227
11228 * net/shr.el (shr-generic): Make into a defsubst to make the stack
11229 depth shallower (bug#16587).
11230 (shr-tag-svg): Respect `shr-inhibit-images'.
11231 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11232
11233 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
11234
11235 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11236 (ruby-smie-grammar): Make "." right-associative. Make its priority
11237 lower than the ternary and all binary operators.
11238 (ruby-smie-rules): Indent "(" relative to the first non-"."
11239 parent, or the first "." parent at indentation.
11240 Use `ruby-align-chained-calls' for indentation of "." tokens.
11241 (Bug#16593)
11242
11243 2014-01-31 Juri Linkov <juri@jurta.org>
11244
11245 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11246 from `make-hash-table'.
11247
11248 * textmodes/ispell.el (ispell-init-process): Change message format
11249 to be consistent with other messages.
11250
11251 2014-01-31 Glenn Morris <rgm@gnu.org>
11252
11253 * delsel.el (delete-selection-mode): Doc fix.
11254
11255 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11256 (trace-function-background): Doc fixes.
11257
11258 * ido.el (ido-use-virtual-buffers): Doc fix.
11259 Reset :version, since the default value has not changed.
11260
11261 * register.el (register-preview-delay, register-read-with-preview):
11262 Doc fixes.
11263
11264 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11265 do not mess with mail-buffer position (fixes 2009-11-03 change).
11266 * progmodes/cc-mode.el (c-submit-bug-report):
11267 Check auto-fill-mode is bound. (Bug#16592)
11268
11269 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
11270
11271 * startup.el (fancy-splash-image-file): New function,
11272 split from fancy-splash-head.
11273 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11274 so that we are both using the same image. (Bug#16574)
11275
11276 2014-01-30 Glenn Morris <rgm@gnu.org>
11277
11278 * simple.el (eval-expression): Doc fix.
11279
11280 * hexl.el (hexl-mode-hook):
11281 * ielm.el (ielm-mode-hook):
11282 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11283 (lisp-interaction-mode-hook):
11284 * progmodes/cfengine.el (cfengine3-documentation-function):
11285 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11286
11287 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11288
11289 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11290 is a symbol (bug#16584).
11291
11292 2014-01-30 Glenn Morris <rgm@gnu.org>
11293
11294 * help.el (help-for-help-internal): Add "P" to text.
11295
11296 2014-01-29 Glenn Morris <rgm@gnu.org>
11297
11298 * simple.el (just-one-space, cycle-spacing): Doc fixes.
11299
11300 2014-01-28 Martin Rudalics <rudalics@gmx.at>
11301
11302 * window.el (fit-frame-to-buffer): Fix calculations for margins and
11303 height constraints.
11304
11305 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
11306
11307 * progmodes/hideif.el: Extend to full CPP expression syntax.
11308 (hif-token-alist): Add missing tokens.
11309 (hif-token-regexp): Add support for float/octal/hex immediates.
11310 (hif-string-literal-regexp): New const.
11311 (hif-tokenize): Recognize strings and float/octal/hex immediates.
11312 (hif-exprlist): New function.
11313 (hif-parse-if-exp): Use it.
11314 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
11315 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
11316 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
11317 (hif-logxor, hif-comma): New functions.
11318
11319 2014-01-28 Glenn Morris <rgm@gnu.org>
11320
11321 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
11322
11323 * indent.el (tab-stop-list): Doc fix. Add :version.
11324
11325 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
11326 (cvs-append-to-ignore): Add compatibility alias.
11327
11328 2014-01-27 Glenn Morris <rgm@gnu.org>
11329
11330 * dired.el (dired-hide-details-mode): Don't autoload it,
11331 since it cannot be used outside Dired buffers anyway.
11332
11333 * emulation/cua-base.el (cua-mode): Doc fix.
11334
11335 * dired.el (dired-hide-details-hide-symlink-targets)
11336 (dired-hide-details-hide-information-lines)
11337 (dired-hide-details-mode): Doc fixes.
11338
11339 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
11340 * strokes.el (strokes-file): Doc fix. Bump :version.
11341 (strokes-help): Doc fix.
11342 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
11343 * emulation/viper.el (viper): Doc fix for custom group.
11344 (top-level): Remove oh-so-no-longer-relevant text about vip.
11345 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
11346
11347 * ido.el (ido-save-directory-list-file):
11348 * saveplace.el (save-place-file):
11349 * calendar/timeclock.el (timeclock-file):
11350 * net/quickurl.el (quickurl-url-file):
11351 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11352 * progmodes/idlwave.el (idlwave-config-directory):
11353 * textmodes/remember.el (remember-data-file):
11354 Bump :version.
11355
11356 2014-01-26 Glenn Morris <rgm@gnu.org>
11357
11358 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
11359 Doc fix. Make obsolete.
11360 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
11361
11362 * sort.el (delete-duplicate-lines): Doc fix.
11363
11364 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11365
11366 * progmodes/ada-mode.el (ada):
11367 * woman.el (woman): Link to info manual and Commentary section.
11368
11369 * progmodes/flymake.el (flymake):
11370 * nxml/nxml-mode.el (nxml):
11371 * net/eww.el (eww):
11372 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
11373 * htmlfontify.el (htmlfontify):
11374 * ses.el (ses):
11375 * epa.el (epa):
11376 * ido.el (ido): Link to info manual.
11377
11378 2014-01-25 Leo Liu <sdl.web@gmail.com>
11379
11380 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
11381
11382 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
11383
11384 * net/shr.el (shr-tag-img): Prefer the title over the alt text
11385 (bug#16537).
11386
11387 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
11388
11389 * net/eww.el (eww-download-callback):
11390 Fix reference to eww-download-directory.
11391
11392 * emacs-lisp/bytecomp.el (byte-compile-file):
11393 Remove unused local variable `file-name'.
11394
11395 2014-01-24 Glenn Morris <rgm@gnu.org>
11396
11397 * woman.el (woman-default-faces, woman-monochrome-faces):
11398 Fix obsolescence specification.
11399
11400 * subr.el (with-demoted-errors): Doc fix.
11401
11402 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
11403
11404 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
11405 (cl--macroexp-fboundp): New function.
11406 (cl--make-type-test): Use it.
11407
11408 2014-01-23 Glenn Morris <rgm@gnu.org>
11409
11410 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
11411 * simple.el (eval-expression): Doc fixes.
11412
11413 2014-01-22 Glenn Morris <rgm@gnu.org>
11414
11415 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
11416
11417 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11418
11419 * emacs-lisp/package.el: Write files silently.
11420 (package-autoload-ensure-default-file, package--write-file-no-coding)
11421 (package-generate-description-file, package--download-one-archive)
11422 (package-install-from-archive): Tell `write-region' to stay quiet.
11423 (package-menu-mode, package-menu--print-info): Omit the Archive column
11424 if there's only one archive.
11425 (package-all-keywords, package--has-keyword-p): Remove dead code.
11426
11427 2014-01-22 Glenn Morris <rgm@gnu.org>
11428
11429 * version.el (emacs-bzr-version-bzr): Fix typo.
11430
11431 * version.el (emacs-repository-get-version):
11432 Check either .bzr or .git, but not both.
11433 Make the git case actually use the DIR argument, and return nil
11434 rather than the empty string.
11435 Avoid error if .git exists but the git executable is not found.
11436
11437 2014-01-22 Martin Rudalics <rudalics@gmx.at>
11438
11439 Fixes in window size functions around Bug#16430 and Bug#16470.
11440 * window.el (window-total-size, window-size): New argument ROUND.
11441 (window--min-delta-1, window-min-delta, window--max-delta-1):
11442 Be more conservative when calculating the numbers of lines or
11443 columns a window can shrink (Bug#16430).
11444 (fit-window-to-buffer): Simplify code.
11445 * term.el (term-window-width): Call window-body-width again.
11446
11447 2014-01-22 Glenn Morris <rgm@gnu.org>
11448
11449 * image.el (image-format-suffixes): Doc fix.
11450
11451 * international/quail.el (quail-define-package): Doc fix.
11452
11453 * emacs-lisp/authors.el (authors-valid-file-names)
11454 (authors-renamed-files-alist): Additions.
11455
11456 * vc/vc-git.el (vc-git-print-log): Remove --follow;
11457 reverts 2014-01-09 change. (Bug#16422)
11458
11459 * calc/calc-embed.el (thing-at-point-looking-at):
11460 * emacs-lisp/map-ynp.el (x-popup-dialog):
11461 * obsolete/lmenu.el (x-popup-dialog):
11462 * emacs-lisp/package.el (url-recreate-url):
11463 * mail/mailclient.el (clipboard-kill-ring-save):
11464 * subr.el (x-popup-dialog): Update declaration.
11465 * mail/rmail.el (rmail-mime-message-p):
11466 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11467
11468 2014-01-21 Daniel Colascione <dancol@dancol.org>
11469
11470 * progmodes/sh-script.el (sh--inside-noncommand-expression):
11471 Correctly detect when we're inside an arithmetic expansion form
11472 containing nested parenthesis.
11473 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
11474 to detect cases where we shouldn't expand "<<" to a heredoc
11475 skeleton.
11476
11477 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
11480 (eldoc--message-command-p): New function.
11481 (eldoc-display-message-p): Use it.
11482 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
11483 message is not automatically erased for us.
11484 (eldoc-print-current-symbol-info): Erase previous message, if any.
11485
11486 2014-01-21 Tassilo Horn <tsdh@gnu.org>
11487
11488 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
11489 specify it's an interactive function.
11490
11491 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
11492 Fix regex used for scanning for citation keys which failed for
11493 citations with optional arguments.
11494
11495 2014-01-21 Leo Liu <sdl.web@gmail.com>
11496
11497 * simple.el (read--expression): Don't enable eldoc-mode.
11498
11499 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * simple.el (move-beginning-of-line): Make sure we don't move forward
11502 (bug#16497).
11503
11504 2014-01-20 Juri Linkov <juri@jurta.org>
11505
11506 * saveplace.el (toggle-save-place, save-place-to-alist)
11507 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
11508 'dired-mode) before checking for dired-directory. (Bug#16477)
11509
11510 2014-01-20 Juri Linkov <juri@jurta.org>
11511
11512 * indent.el (indent-line-to): Use backward-to-indentation
11513 instead of back-to-indentation. (Bug#16461)
11514
11515 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
11516
11517 Revert some of the CANNOT_DUMP fix (Bug#16494).
11518 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
11519 but fixing this can wait until after the next release.
11520 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
11521
11522 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
11523
11524 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11525 Use `password-word-equivalents'.
11526 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
11527 to t. (Bug#5664, Bug#13124)
11528
11529 2014-01-19 Alan Mackenzie <acm@muc.de>
11530
11531 Bind open-paren-in-column-0-is-defun-start to nil at some entry
11532 points.
11533 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
11534 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
11535 * progmodes/cc-mode.el (c-before-change, c-after-change)
11536 (c-font-lock-fontify-region): Bind it here.
11537
11538 2014-01-19 Martin Rudalics <rudalics@gmx.at>
11539
11540 * term.el (term-window-width): Call window-text-width instead of
11541 window-width (Bug#16470).
11542
11543 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
11544
11545 * simple.el (password-word-equivalents): Remove duplicates.
11546 Sort, to make this easier next time.
11547 Downcase. Omit ": " after "jelszó".
11548
11549 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
11550
11551 * term/common-win.el (saved-region-selection): Defvar it.
11552 (x-select-text): Set saved-region-selection (Bug#16382).
11553
11554 2014-01-18 Glenn Morris <rgm@gnu.org>
11555
11556 * emacs-lisp/authors.el (authors-aliases)
11557 (authors-renamed-files-alist): Add some entries.
11558
11559 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * net/tramp.el (tramp-password-prompt-regexp):
11562 Use `password-word-equivalents' if available.
11563 (tramp-action-password, tramp-process-one-action)
11564 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
11565
11566 2014-01-17 Chong Yidong <cyd@gnu.org>
11567
11568 * simple.el (password-word-equivalents): New defcustom.
11569 * comint.el (comint-password-prompt-regexp): Use it. Bump version
11570 to 24.4.
11571 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
11572 to t. (Bug#13124)
11573
11574 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
11575
11576 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
11577 (ruby-align-to-stmt-keywords): Change the default value.
11578 Use `ruby-alignable-keywords' to generate the possible customization
11579 choices.
11580 (ruby-smie-rules): Instead of using a hardcoded list of alignable
11581 keywords, check against the value of `ruby-alignable-keywords'
11582 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
11583
11584 2014-01-17 Glenn Morris <rgm@gnu.org>
11585
11586 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
11587
11588 Make M-x authors return zero *Authors Errors* from current logs.
11589 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
11590 (authors-ignored-files): Add some entries, remove others.
11591 (authors-ambiguous-files, authors-valid-file-names):
11592 Add some entries.
11593 (authors-renamed-files-alist): Add, remove, and adjust entries.
11594 (authors-renamed-files-regexps): Add some entries.
11595 Remove some very broad ones. Make some entries `lax'.
11596 (authors-lax-changelogs): New constant.
11597 (authors-disambiguate-file-name): Treat top-level specially.
11598 (authors-lax-changelog-p): New function.
11599 (authors-canonical-file-name): Check file as written against
11600 authors-valid-file-names. Do not special-case etc/.
11601 Handle `lax' logs and authors-renamed-files-regexps elements.
11602
11603 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
11604
11605 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
11606 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
11607 callers.
11608
11609 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
11612 Assume we're already in the proper buffer.
11613 Inspired by Anders Lindgren <andlind@gmail.com>.
11614 (follow-post-command-hook): Call it from the right buffer.
11615 (follow-comint-scroll-to-bottom): Adjust call.
11616 (follow-all-followers): Use get-buffer-window-list.
11617
11618 2014-01-15 Daniel Colascione <dancol@dancol.org>
11619
11620 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
11621 `buffer-file-name' in interactive-form so that we don't leave
11622 pathless file names in `file-name-history'.
11623
11624 2014-01-15 Juri Linkov <juri@jurta.org>
11625
11626 * indent.el (indent-rigidly): Set deactivate-mark to nil
11627 in transient indentation mode. (Bug#16438)
11628
11629 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
11630
11631 * emacs-lisp/package.el (package-desc-keywords): New function
11632 (Bug#16222).
11633 (describe-package-1, package-all-keywords)
11634 (package--has-keyword-p): Use it.
11635
11636 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11637
11638 * simple.el (define-alternatives): When creating the
11639 COMMAND-alternatives variable, assign COMMAND as its definition
11640 name so that `describe-variable' can relocate it.
11641
11642 2014-01-14 Matthew Leach <matthew@mattleach.net>
11643
11644 * font-lock.el (font-lock-keywords): Fix typo in docstring
11645 (bug#16307).
11646
11647 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11648
11649 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
11650 line instead of wrongly reset `add-coment' (bug#13577).
11651
11652 2014-01-14 Daiki Ueno <ueno@gnu.org>
11653
11654 * epa-file.el (epa-file-write-region): Encode the region according
11655 to `buffer-file-format'. Problem reported at:
11656 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
11657
11658 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
11661 so it applies in the right buffer (bug#16410).
11662
11663 2014-01-13 Daniel Colascione <dancol@dancol.org>
11664
11665 * textmodes/rst.el (rst-define-key): Provide deprecated
11666 keybindings through named functions instead of anonymous ones so
11667 that "??" doesn't appear in describe-mode output.
11668
11669 2014-01-13 Bastien Guerry <bzg@gnu.org>
11670
11671 * simple.el (define-alternatives): Call the selected command
11672 interactively. When setting `COMMAND--implementation' for the
11673 first time, tell the user how to chose another implementation.
11674 Enhance the docstring.
11675
11676 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11677
11678 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
11679 (log-edit--match-first-line): New function.
11680 (log-edit-font-lock-keywords): Use it.
11681 (log-edit-mode): Make jit-lock-defer-multiline work.
11682
11683 2014-01-13 Bastien Guerry <bzg@gnu.org>
11684
11685 * rect.el (rectangle-mark-mode): When the region is not active,
11686 display a message saying that the mark as been set and that
11687 rectangle mode is in use.
11688 (rectangle--highlight-for-redisplay): Only put an overlay with a
11689 visible vertical bar when (display-graphic-p) is non-nil.
11690 This partially fixes Bug#16403.
11691
11692 2014-01-13 Juri Linkov <juri@jurta.org>
11693
11694 * info.el (Info-find-file): Go to DIR before displaying the error
11695 about a nonexistent file if no previous Info file is visited.
11696 Use `user-error' instead of `error' for "Info file %s does not exist".
11697 (Info-find-node-2): In case of a nonexistent node in unwind forms
11698 go to the Top node if there is no previous node to revert to.
11699 (Bug#16405)
11700
11701 2014-01-13 Martin Rudalics <rudalics@gmx.at>
11702
11703 fit-frame/window-to-buffer code fixes including one for Bug#14096.
11704 * window.el (fit-frame-to-buffer): Fix doc-string.
11705 Respect window-min-height/-width. Fit pixelwise when
11706 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
11707 when avoiding that frame goes partially off-screen.
11708 (fit-window-to-buffer): Respect window-min-height/-width
11709 (Bug#14096).
11710
11711 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
11714 after an empty line.
11715
11716 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * net/shr.el (shr-render-region): Autoload.
11719
11720 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
11721
11722 * net/eww.el (eww-download-directory): Rename from
11723 `eww-download-path' (Bug#16419).
11724
11725 2014-01-12 Leo Liu <sdl.web@gmail.com>
11726
11727 * dired-x.el (dired-mode-map): Fix last change.
11728
11729 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
11730
11731 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
11732
11733 Spelling fixes.
11734 * emacs-lisp/generic.el (generic--normalize-comments):
11735 Rename from generic--normalise-comments. All uses changed.
11736 * play/bubbles.el (bubbles--neighborhood-score)
11737 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
11738 (bubbles--neighborhood-available)
11739 (bubbles--update-neighborhood-score):
11740 Rename from names with 'neighbourhood'. All uses changed.
11741
11742 2014-01-12 Leo Liu <sdl.web@gmail.com>
11743
11744 Re-implement the feature of showing eldoc info after editing.
11745 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
11746 (eldoc-edit-message-commands): New function.
11747 (eldoc-print-after-edit): New variable.
11748 (eldoc-pre-command-refresh-echo-area): Emit message only by
11749 eldoc-message-commands.
11750 (eldoc-mode): Restrict eldoc-message-commands to editing commands
11751 if eldoc-print-after-edit is set. (Bug#16346)
11752 * simple.el (read--expression): Enable eldoc-mode.
11753 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
11754
11755 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
11756 Eric S. Raymond <esr@thyrsus.com>
11757
11758 * version.el (emacs-repository-get-version): Enhance so the
11759 function works correctly in either a Bazaar or Git repo.
11760
11761 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
11762
11763 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
11764 Goes with removal of the joke manpages from /etc.
11765
11766 2014-01-10 Kenichi Handa <handa@gnu.org>
11767
11768 * mail/rmail.el (rmail-get-coding-system):
11769 Check rmail-get-coding-function before "funcall"ing it.
11770
11771 2014-01-10 Glenn Morris <rgm@gnu.org>
11772
11773 * emacs-lisp/authors.el (authors-fixed-entries):
11774 Update for files that no longer exist.
11775
11776 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
11777
11778 * version.el (emacs-bzr-get-version): Restore compatibilty with
11779 24.3 (Tested).
11780
11781 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
11782
11783 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
11784 and Podfile.
11785
11786 2014-01-10 Eli Zaretskii <eliz@gnu.org>
11787
11788 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
11789
11790 2014-01-10 Chong Yidong <cyd@gnu.org>
11791
11792 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
11793
11794 2014-01-10 Anders Lindgren <andlind@gmail.com>
11795
11796 * follow.el (follow-cache-command-list): Include right-char and
11797 left-char.
11798
11799 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
11800
11801 Spelling fixes.
11802 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
11803 * woman.el (woman-mark-horizontal-position):
11804 Rename from woman-mark-horizonal-position. Use changed.
11805
11806 2014-01-10 Glenn Morris <rgm@gnu.org>
11807
11808 * info.el (info-initialize): If running uninstalled, ensure our
11809 own info files are always found first, even if INFOPATH is set.
11810
11811 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
11812
11813 2014-01-09 David Engster <deng@randomsample.de>
11814
11815 * emacs-lisp/eieio-custom.el:
11816 * emacs-lisp/eieio-opt.el: Set generated autoload file to
11817 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
11818 * emacs-lisp/eieio.el: Regenerate autoloads.
11819
11820 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
11821
11822 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
11823 following renames. (Bug#8756)
11824
11825 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
11828 (bug#16382).
11829 (activate-mark): Add `no-tmm' argument.
11830 (set-mark, push-mark-command): Use it instead of running
11831 activate-mark-hook by hand.
11832
11833 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
11834
11835 In preparation for the move to git, sanitize out some
11836 Bazaar-specific names.
11837
11838 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
11839
11840 * version.el (emacs-bzr-version): Name changed to
11841 emacs-repository-version. Obsolete-variable alias made.
11842 * loadup.el: Follow through on this name change.
11843 * mail/emacsbug.el (report-emacs-bug): Factor out any
11844 assumption about the version control system in use.
11845
11846 2014-01-08 David Engster <deng@randomsample.de>
11847
11848 * help-fns.el (help-fns-describe-function-functions):
11849 New variable to call functions for augmenting help buffers.
11850 (describe-function-1): Remove explicit calls to
11851 `help-fns--compiler-macro', `help-fns--parent-mode' and
11852 `help-fns--obsolete'. Put them in above new variable instead, and
11853 call them through `run-hook-with-args'.
11854 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
11855 `eieio-describe-class'. Not meant for interactive use anymore,
11856 but to augment existing help buffers. Remove optional second
11857 argument. Create proper button for file location.
11858 Rewrite function to use `insert' instead of `princ' and `prin1' where
11859 possible.
11860 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
11861 (eieio-method-def, eieio-class-def): Move further up.
11862 (describe-method, describe-generic, eieio-describe-method):
11863 Remove aliases.
11864 (eieio-help-constructor, eieio-help-generic): Rename from
11865 `eieio-describe-constructor' and `eieio-describe-generic', resp.
11866 Rewrite to use `insert' in the current buffer and use proper help
11867 buttons.
11868 (eieio-help-find-method-definition)
11869 (eieio-help-find-class-definition): Also accept symbols as
11870 arguments.
11871 (eieio-help-mode-augmentation-maybee): Remove.
11872 (eieio-describe-class-sb): Use `describe-function'.
11873 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
11874 Add `eieio-help-generic' and `eieio-help-constructor'.
11875
11876 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
11877
11878 Spelling fixes.
11879 * language/china-util.el (hz-ascii-designation):
11880 Rename from hz-ascii-designnation.
11881 (hz-ascii-designation): Rename from hz-ascii-designnation.
11882 All uses changed.
11883
11884 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
11887 package-alist.
11888
11889 2014-01-08 Bastien Guerry <bzg@gnu.org>
11890
11891 * emacs-lisp/package.el (package-delete):
11892 Correctly delete the package from package-alist.
11893
11894 2014-01-08 Daiki Ueno <ueno@gnu.org>
11895
11896 * emacs-lisp/package.el (url-recreate-url): Declare.
11897 (url-http-target-url): Declare.
11898 (package-handle-response): Include requested URL in the error message.
11899 (package--check-signature): Don't re-signal errors from
11900 package--with-work-buffer. Suggested by Stefan Monnier.
11901
11902 2014-01-07 Bastien Guerry <bzg@gnu.org>
11903
11904 * minibuffer.el (completion--try-word-completion): When both a
11905 hyphen and a space are possible candidates for the character
11906 following a word, display both candidates. (Bug#15980)
11907
11908 2014-01-07 Martin Rudalics <rudalics@gmx.at>
11909
11910 * window.el (balance-windows-2): While rounding don't give a
11911 window more than the remainder. Bug#16351, bug#16383.
11912
11913 2014-01-07 Glenn Morris <rgm@gnu.org>
11914
11915 * menu-bar.el (menu-bar-help-extra-packages): Remove.
11916 (menu-bar-help-menu): Use view-external-packages instead.
11917
11918 2014-01-07 Bastien Guerry <bzg@gnu.org>
11919
11920 * emacs-lisp/package.el (package-delete): Also delete the package
11921 name from `package-alist', not its description only.
11922
11923 2014-01-07 Glenn Morris <rgm@gnu.org>
11924
11925 * help.el (view-external-packages):
11926 * menu-bar.el (menu-bar-help-extra-packages):
11927 Visit efaq.info rather than etc/MORE.STUFF.
11928
11929 2014-01-07 Juri Linkov <juri@jurta.org>
11930
11931 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
11932 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
11933
11934 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
11935 that shadows RET. (Bug#16342)
11936
11937 2014-01-07 Chong Yidong <cyd@gnu.org>
11938
11939 * isearch.el (isearch-yank-char, isearch-yank-word)
11940 (isearch-yank-line): Doc fix.
11941
11942 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
11945 * emacs-lisp/elint.el (elint-find-builtins):
11946 * emacs-lisp/eldoc.el (eldoc-symbol-function):
11947 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
11948 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
11949 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11950 * apropos.el (apropos-safe-documentation):
11951 * subr.el (symbol-file): Remove redundant fboundp.
11952 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
11953
11954 2014-01-06 Bastien Guerry <bzg@gnu.org>
11955
11956 * hl-line.el (global-hl-line-overlay): Make a local variable.
11957 (global-hl-line-overlays): New variable to store all overlays.
11958 (global-hl-line-mode): Don't delete overlays from the current
11959 buffer when `global-hl-line-sticky-flag' is non-nil.
11960 (global-hl-line-highlight): Add new overlays to
11961 `global-hl-line-overlays'.
11962 (global-hl-line-unhighlight-all): New function to delete all
11963 overlays when turning off `global-hl-line-mode'.
11964 This fixes Bug#16183.
11965
11966 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * subr.el (set-transient-map): Fix nested case and docstring.
11969
11970 2014-01-06 Tassilo Horn <tsdh@gnu.org>
11971
11972 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
11973 `Texinfo' entry.
11974
11975 2014-01-06 Daniel Colascione <dancol@dancol.org>
11976
11977 Fix defun navigation in vc log view.
11978
11979 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
11980 like `beginning-of-defun'.
11981 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
11982 log-view-end-of-defun to log-view-end-of-defun-1. Replace
11983 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
11984 (log-view-extract-comment): Call `log-view-current-entry' directly
11985 instead of relying on broken `log-view-beginning-of-defun' behavior.
11986
11987 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
11988
11989 Spelling fixes.
11990 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
11991 * emacs-lisp/debug.el (cancel-debug-on-entry):
11992 * epg.el (epg-error-to-string):
11993 * files.el (recover-file):
11994 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
11995 * mail/emacsbug.el (report-emacs-bug-hook):
11996 * mail/sendmail.el (mail-recover):
11997 * ses.el (ses-yank-resize):
11998 * term/ns-win.el (ns-print-buffer):
11999 Spelling fixes in diagnostics, mostly for "canceled" with one L.
12000 * epg.el (epg-key-capability-alist): Rename from misspelled version.
12001 All uses changed.
12002 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12003
12004 2014-01-06 Leo Liu <sdl.web@gmail.com>
12005
12006 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12007 to avoid shadowing global key. (Bug#16354)
12008
12009 2014-01-06 Daniel Colascione <dancol@dancol.org>
12010
12011 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12012 rst-mode.
12013
12014 2014-01-05 Martin Rudalics <rudalics@gmx.at>
12015
12016 * window.el (balance-windows): Add mising t to fix Bug#16351.
12017
12018 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12019
12020 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12021 (bug#16285).
12022 (shr-insert): If we have a word that's longer than `shr-width',
12023 break after it anyway. Otherwise we'll do no breaking once we get
12024 such a long word.
12025
12026 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12027
12028 * net/eww.el (eww): Support single/double quote for search.
12029 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12030 (eww-history-quit): Delete and use quit-window.
12031 (eww-history-kill): Delete, because it doesn't work well and
12032 not necessary.
12033 (eww-history-mode-map): Delete some keys and add easy-menu.
12034
12035 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
12036
12037 Fix misspelling of 'chinese' in rx (Bug#16237).
12038 * emacs-lisp/rx.el (rx-categories): Correct spelling of
12039 chinese-two-byte.
12040
12041 Change subword regexps back to vars (Bug#16296).
12042 * progmodes/subword.el (subword-forward-regexp)
12043 (subword-backward-regexp): Change these back to variables.
12044
12045 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12048 syntax-begin-function (bug#16247).
12049
12050 2014-01-03 Chong Yidong <cyd@gnu.org>
12051
12052 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12053 (advice--docstring): Delete variable.
12054 (advice--make-1): Leave the docstring empty.
12055 (advice-add): Use function-documentation for advised docstring.
12056
12057 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12058 Ignore function-documentation property when getting documentation.
12059 (ad-activate-advised-definition): Use function-documentation
12060 generate the docstring.
12061 (ad-make-advised-definition): Don't call
12062 ad-make-advised-definition-docstring.
12063 (ad-make-advised-definition-docstring, ad-advised-definition-p):
12064 Delete functions.
12065
12066 * progmodes/sql.el (sql-help): Use function-documentation instead
12067 of dynamic-docstring-function property. No need to autoload now.
12068 (sql--help-docstring): New variable.
12069 (sql--make-help-docstring): Use it.
12070
12071 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * ielm.el (ielm-tab): Retarget.
12074 (ielm-map): Use ielm-tab for tab.
12075 (ielm-complete-filename): Use comint-filename-completion.
12076 (ielm-complete-symbol): Remove.
12077 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12078 remove ielm-tab from completion-at-point-functions (bug#16224).
12079
12080 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12081 Beware signals raised by predicates (bug#16201).
12082
12083 2014-01-02 Richard Stallman <rms@gnu.org>
12084
12085 * dired-aux.el (dired-do-print): Handle printer-name.
12086
12087 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12088 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12089 (rmail-epa-decrypt): Turn off mime processing.
12090
12091 * mail/rmail.el (rmail-make-in-reply-to-field):
12092 Add parens in message-id.
12093
12094 * mail/rmail.el (rmail-get-coding-function): Variable.
12095 (rmail-get-coding-system): Use it.
12096
12097 2013-12-31 Eli Zaretskii <eliz@gnu.org>
12098
12099 * international/mule-conf.el: Unify the charset indian-is13194.
12100 (indian-is13194): Specify unify-map.
12101
12102 2013-12-31 Leo Liu <sdl.web@gmail.com>
12103
12104 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
12105
12106 2013-12-30 Daniel Colascione <dancol@dancol.org>
12107
12108 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12109 of printing a useless when we resume from sleep.
12110
12111 * progmodes/sh-script.el
12112 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12113 in indentation code. (Bug#16233)
12114
12115 2013-12-28 João Távora <joaotavora@gmail.com>
12116
12117 * elec-pair.el (electric-pair-post-self-insert-function):
12118 Don't open extra newlines at beginning of buffer. (Bug#16272)
12119
12120 2013-12-28 Eli Zaretskii <eliz@gnu.org>
12121
12122 * frame.el (window-system-for-display): Don't allow to create a
12123 GUI frame from a -nw session on MS-Windows. (Bug#14739)
12124
12125 2013-12-28 Glenn Morris <rgm@gnu.org>
12126
12127 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12128 Update callers.
12129
12130 * apropos.el (apropos-match-face):
12131 * calculator.el (calculator-displayer):
12132 * dabbrev.el (dabbrev-search-these-buffers-only):
12133 * face-remap.el (buffer-face-mode-face):
12134 * simple.el (yank-handled-properties):
12135 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12136 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12137 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12138 (hashcash-double-spend-database):
12139 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12140 (ruby-deep-indent-paren-style):
12141 * textmodes/flyspell.el (flyspell-auto-correct-binding):
12142 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12143 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12144 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12145 Specify custom types.
12146
12147 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12148 * bookmark.el (bookmark-bmenu-use-header-line):
12149 * doc-view.el (doc-view-scale-internally):
12150 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12151 * register.el (register-preview-delay):
12152 * net/shr.el (shr-bullet):
12153 * progmodes/cfengine.el (cfengine-cf-promises)
12154 (cfengine-parameters-indent):
12155 * progmodes/octave.el (inferior-octave-error-regexp-alist):
12156 * textmodes/reftex-vars.el (reftex-label-regexps):
12157 * vc/log-edit.el (log-edit-setup-add-author): Add version.
12158
12159 * net/tls.el (tls-certtool-program): Fix default value.
12160
12161 * desktop.el (desktop-restore-in-current-display):
12162 * newcomment.el (comment-empty-lines):
12163 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12164 (idlwave-pad-keyword):
12165 * progmodes/tcl.el (tcl-tab-always-indent):
12166 * textmodes/reftex-vars.el (reftex-index-default-tag):
12167 * elec-pair.el (electric-pair-skip-whitespace):
12168 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12169
12170 * emacs-lisp/authors.el (authors-ignored-files)
12171 (authors-valid-file-names, authors-renamed-files-alist): Additions.
12172
12173 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
12174
12175 * shell.el (shell-dynamic-complete-command): Doc fix.
12176 (shell--command-completion-data): Shell completion now matches
12177 executable filenames from the current buffer's directory, on
12178 systems in which this behavior is the default (windows-nt, ms-dos).
12179
12180 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12181
12182 * net/shr.el (shr-insert): Don't infloop if the width is zero.
12183
12184 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12187 (bug#16251).
12188
12189 * electric.el: Move all electric-pair-* to elec-pair.el.
12190 * elec-pair.el: New file, split from electric.el.
12191
12192 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12193
12194 * net/shr.el (shr-find-fill-point): Don't try to fill if the
12195 indentation level is larger than the width, because that will
12196 infloop.
12197 (shr-insert): Fill repeatedly long texts, so that Japanese is
12198 formatted correctly (bug#16263).
12199 (shr-find-fill-point): Off by one error in comparison with the
12200 indentation.
12201
12202 2013-12-26 João Távora <joaotavora@gmail.com>
12203
12204 * electric.el (electric-pair-mode): More flexible engine for skip-
12205 and inhibit predicates, new options for pairing-related functionality.
12206 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12207 if that keeps or improves their balance in buffers.
12208 (electric-pair-delete-adjacent-pairs): Delete the pair when
12209 backspacing over adjacent matched delimiters.
12210 (electric-pair-open-extra-newline): Open extra newline when
12211 inserting newlines between adjacent matched delimiters.
12212 (electric--sort-post-self-insertion-hook):
12213 Sort post-self-insert-hook according to priority values when
12214 minor-modes are activated.
12215 * simple.el (newline-and-indent): Call newline with interactive
12216 set to t.
12217 (blink-paren-post-self-insert-function): Set priority to 100.
12218 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12219 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12220 comments. Locally set electric-pair-skip-whitespace to 'chomp and
12221 electric-pair-open-newline-between-pairs to nil.
12222
12223 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
12224
12225 * progmodes/python.el: Use lexical-binding.
12226 (python-nav-beginning-of-defun): Stop searching ASAP.
12227
12228 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
12229
12230 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12231 Fix interactive spec. Doc fix. (Bug#15754)
12232
12233 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
12234
12235 * emacs-lisp/byte-run.el (eval-when-compile):
12236 * progmodes/cc-defs.el (cc-eval-when-compile):
12237 Fix edebug spec (bug#16184).
12238
12239 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12240
12241 * net/shr.el (shr-visit-file): Remove debugging function.
12242 (shr-insert): Don't infloop if we can't find a good place to break
12243 the line (bug#16256).
12244
12245 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12246
12247 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12248 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
12249 python-nav-lisp-forward-sexp-safe.
12250 (python-nav--forward-sexp): New argument SAFE allows switching
12251 forward sexp movement behavior for parens.
12252 (python-nav-forward-sexp): Throw errors on unterminated parens
12253 (Bug#16191).
12254 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12255 (python-nav-backward-sexp-safe): New functions.
12256 (python-shell-buffer-substring):
12257 Use `python-nav-forward-sexp-safe'.
12258
12259 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12260
12261 * net/shr.el (shr-find-fill-point): Don't break lines before a
12262 quotation mark.
12263 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12264 (shr-find-fill-point): Remove the special checks for the quotation
12265 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12266
12267 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12268
12269 * net/eww.el (eww-form-textarea): Use a different face for
12270 textareas than text input since they have different keymaps
12271 (bug#16142).
12272
12273 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
12274
12275 * progmodes/python.el (python-nav-beginning-of-statement):
12276 Speed up (Bug#15295).
12277
12278 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12279
12280 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12281 the window configuration.
12282
12283 2013-12-24 Eli Zaretskii <eliz@gnu.org>
12284
12285 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12286 we run on MS-Windows or MS-DOS.
12287
12288 2013-12-24 Martin Rudalics <rudalics@gmx.at>
12289
12290 * window.el (balance-windows-area): Call window-size instead of
12291 window-height and window-width. Bug#16241.
12292
12293 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12294
12295 * net/eww.el (eww-bookmark-quit): Remove.
12296 (eww-bookmark-browse): Restore the window configuration when you
12297 choose a bookmark (bug#16144).
12298
12299 2013-12-24 Daniel Colascione <dancol@dancol.org>
12300
12301 * icomplete.el: Remove redundant :group arguments to `defcustom'
12302 throughout.
12303 (icomplete-show-matches-on-no-input): New customizable variable.
12304 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
12305 we have something to show.
12306 (icomplete-exhibit): Compute completions even if we have no user input.
12307
12308 2013-12-23 Daniel Colascione <dancol@dancol.org>
12309
12310 * icomplete.el: Move `provide' to end of file.
12311
12312 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
12313
12314 * net/gnutls.el (gnutls-verify-error): Add version tag.
12315
12316 2013-12-23 Chong Yidong <cyd@gnu.org>
12317
12318 * subr.el (set-transient-map): Rename from
12319 set-temporary-overlay-map. Doc fix.
12320
12321 * face-remap.el (text-scale-adjust):
12322 * indent.el (indent-rigidly):
12323 * kmacro.el (kmacro-call-macro):
12324 * minibuffer.el (minibuffer-force-complete):
12325 * repeat.el (repeat):
12326 * simple.el (universal-argument--mode):
12327 * calendar/todo-mode.el (todo-insert-item--next-param):
12328 * progmodes/f90.el (f90-abbrev-start): Callers changed.
12329
12330 * indent.el (indent-rigidly): Use substitute-command-keys.
12331
12332 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12333
12334 * net/eww.el (eww-tag-select): Add text-property to jump to next
12335 select field.
12336 (eww): Add non-supported ftp error.
12337
12338 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12339
12340 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
12341 comments. Handle electric indent after typing `?' and `!'.
12342
12343 2013-12-22 Chong Yidong <cyd@gnu.org>
12344
12345 * faces.el (face-spec-recalc): If the theme specs are not
12346 applicable to a frame, fall back on the defface spec.
12347 This prevents themes from obliterating faces on low-color terminals.
12348
12349 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12350
12351 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12352 after `{'. We need it after block openers, and it doesn't seem
12353 to hurt after hash openers.
12354
12355 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12356
12357 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
12358 extracted from `ruby-smie-rules'.
12359 (ruby--electric-indent-chars): New variable.
12360 (ruby--electric-indent-p): New function.
12361 (ruby-mode): Use `electric-indent-functions' instead of
12362 `electric-indent-chars'.
12363
12364 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12365
12366 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
12367 docstring.
12368 (ruby-smie-rules): Indent plus one level after `=>'.
12369
12370 2013-12-21 Richard Stallman <rms@gnu.org>
12371
12372 * simple.el (newline): Doc fix.
12373
12374 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12375
12376 * net/eww.el (eww-list-histories, eww-list-histories)
12377 (eww-history-browse, eww-history-quit, eww-history-kill)
12378 (eww-history-mode-map, eww-history-mode): New command and
12379 functions to list browser histories.
12380 (eww-form-text): Support text form with disabled
12381 and readonly attributes.
12382 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
12383
12384 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12385
12386 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
12387 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
12388 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
12389 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
12390 Use `user-error'.
12391 (eww-bookmark-mode-map): Add menu.
12392 (eww-render, eww-mode): Use `setq-local'.
12393 (eww-tool-bar-map): New variable.
12394 (eww-mode): Set `tool-bar-map'.
12395 (eww-view-source): Check for `html-mode' with `fboundp'.
12396
12397 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12398
12399 * net/shr.el (shr--extract-best-source): Don't bug out on audio
12400 elements with text inside. Also remove debugging.
12401
12402 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
12403
12404 * cus-start.el (all): Add ns-use-srgb-colorspace.
12405
12406 2013-12-21 Chong Yidong <cyd@gnu.org>
12407
12408 * custom.el (custom-theme-recalc-face): Do nothing if the face is
12409 undefined. Thus, theme settings for undefined faces do not take
12410 effect until the faces are defined with defface, the same as with
12411 theme variables.
12412
12413 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
12414 (face-spec-reset-face): Don't assign extra properties in temacs.
12415 (face-spec-recalc): Apply X resources too.
12416
12417 2013-12-21 Chong Yidong <cyd@gnu.org>
12418
12419 * faces.el (face-spec-set):
12420 * cus-face.el (custom-theme-set-faces, custom-set-faces):
12421 * custom.el (defface): Doc fixes (Bug#16203).
12422
12423 * indent.el (indent-rigidly-map): Add docstring, and move commands
12424 into named functions.
12425 (indent-rigidly-left, indent-rigidly-right)
12426 (indent-rigidly-left-to-tab-stop)
12427 (indent-rigidly-right-to-tab-stop): New functions. Decide on
12428 indentation direction based on bidi direction, and accumulate
12429 sequential commands in a single undo boundary.
12430 (indent-rigidly--pop-undo): New utility function.
12431
12432 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
12433
12434 * faces.el (read-face-name): Require crm.el when using crm-separator.
12435
12436 2013-12-20 Daniel Colascione <dancol@dancol.org>
12437
12438 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
12439 so that we don't reflow comments into the shebang line.
12440
12441 2013-12-20 Juri Linkov <juri@jurta.org>
12442
12443 * saveplace.el (save-place-to-alist): Add `dired-filename' as
12444 a position when `dired-directory' is non-nil. Check integer
12445 positions with `integerp'.
12446 (toggle-save-place, save-places-to-alist): Add check for
12447 `dired-directory'.
12448 (save-place-find-file-hook): Check integer positions with
12449 `integerp'.
12450 (save-place-dired-hook): Use `dired-goto-file' when
12451 `dired-filename' is found in the assoc list. Check integer
12452 positions with `integerp'.
12453 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
12454
12455 * dired.el (dired-initial-position-hook): Rename back from
12456 `dired-initial-point-hook'.
12457 (dired-initial-position): Rename `dired-initial-point-hook' to
12458 `dired-initial-position-hook'.
12459 (dired-file-name-at-point): Doc fix. (Bug#15329)
12460
12461 2013-12-20 Juri Linkov <juri@jurta.org>
12462
12463 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
12464 (read-regexp-suggestions): New function.
12465 (read-regexp): Use `read-regexp-defaults-function' to get default values.
12466 Use `read-regexp-suggestions'. Add non-empty default to history
12467 for empty input.
12468 (occur-read-regexp-defaults-function): Remove function.
12469 (occur-read-primary-args): Use `regexp-history-last' instead of
12470 `occur-read-regexp-defaults-function'.
12471
12472 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
12473 (hi-lock-line-face-buffer, hi-lock-face-buffer)
12474 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
12475 `hi-lock-read-regexp-defaults-function'. Doc fix.
12476 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
12477 with `find-tag-default-as-symbol-regexp'. Doc fix.
12478 (hi-lock-read-regexp-defaults): Remove function.
12479 (hi-lock-regexp-okay): Add check for null.
12480
12481 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
12482 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
12483
12484 * subr.el (find-tag-default-as-symbol-regexp): New function.
12485 (find-tag-default-as-regexp): Move symbol regexp formatting to
12486 `find-tag-default-as-symbol-regexp'.
12487
12488 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
12489
12490 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
12491 (Bug#14179)
12492
12493 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12494
12495 * calendar/todo-mode.el: New implementation of item insertion
12496 commands and key bindings.
12497 (todo-key-prompt): New face.
12498 (todo-insert-item): New command.
12499 (todo-insert-item--parameters): New defconst, replacing defvar
12500 todo-insertion-commands-args-genlist.
12501 (todo-insert-item--param-key-alist): New defconst, replacing
12502 defvar todo-insertion-commands-arg-key-list.
12503 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12504 (todo-insert-item--argsleft, todo-insert-item--apply-args)
12505 (todo-insert-item--next-param): New functions.
12506 (todo-insert-item--args, todo-insert-item--argleft)
12507 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
12508 New variables.
12509 (todo-key-bindings-t): Change binding of "i" from
12510 todo-insertion-map to todo-insert-item.
12511 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
12512 (todo-insertion-command-name, todo-insertion-commands-names)
12513 (todo-define-insertion-command, todo-insertion-commands)
12514 (todo-insertion-key-bindings, todo-insertion-map): Remove.
12515
12516 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12517
12518 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
12519 (todo-toggle-item-highlighting): Use eval-and-compile instead of
12520 eval-when-compile.
12521 (todo-move-category): Allow choosing a non-existing todo file to
12522 move the category to, and create that file.
12523 (todo-default-priority): New user option.
12524 (todo-set-item-priority): Use it.
12525 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
12526 (desktop-restore-file-buffer): Declare.
12527 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
12528 (todo-modes-set-2): Locally set desktop-save-buffer to
12529 todo-desktop-save-buffer.
12530 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
12531 (auto-mode-alist): Add autoload cookie.
12532
12533 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
12534
12535 * emacs-lisp/subr-x.el: Renamed from helpers.el.
12536 helpers.el was a poor choice of name.
12537 (string-remove-prefix): New function.
12538 (string-remove-suffix): New function.
12539
12540 2013-12-20 Martin Rudalics <rudalics@gmx.at>
12541
12542 Fix assignment for new window total sizes.
12543 * window.el (window--pixel-to-size): Remove function.
12544 (window--pixel-to-total-1, window--pixel-to-total):
12545 Fix calculation of new total sizes.
12546
12547 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
12548
12549 * comint.el (comint-output-filter): Fix rear-nonsticky property
12550 placement (Bug#16010).
12551
12552 2013-12-20 Chong Yidong <cyd@gnu.org>
12553
12554 * faces.el (read-color): Minor fix for completion function.
12555
12556 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
12557
12558 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
12559 New option. (Bug#16182)
12560 (ruby-smie--indent-to-stmt-p): Use it.
12561 (ruby-smie-rules): Revert the logic in the handling of `when'.
12562 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12563 (ruby-deep-arglist, ruby-deep-indent-paren)
12564 (ruby-deep-indent-paren-style): Update docstrings to note that the
12565 vars don't have any effect with SMIE.
12566
12567 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
12568
12569 * calc/calc.el (calc-enter, calc-pop): Use the variable
12570 `calc-context-sensitive-enter'.
12571
12572 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12573
12574 * net/shr.el (shr-insert): Protect against infloops in degenerate
12575 tables.
12576
12577 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12578
12579 * progmodes/octave.el (octave): Add link to manual and octave
12580 homepage.
12581 (octave-mode-menu): Link to octave-mode manual.
12582
12583 2013-12-20 Leo Liu <sdl.web@gmail.com>
12584
12585 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
12586 insertion using skeleton-end-newline. (Bug#16138)
12587
12588 2013-12-20 Juri Linkov <juri@jurta.org>
12589
12590 * replace.el (occur-engine): Use `add-face-text-property'
12591 to add the face property to matches and titles. (Bug#14645)
12592
12593 * hi-lock.el (hi-green): Use lighter color "light green" closer to
12594 the palette of other hi-lock colors.
12595 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
12596
12597 2013-12-19 Juri Linkov <juri@jurta.org>
12598
12599 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
12600 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
12601 (minibuffer-history-symbol): Move variable declaration closer to
12602 its usage.
12603
12604 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
12605 (Bug#14785)
12606
12607 2013-12-19 Juri Linkov <juri@jurta.org>
12608
12609 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
12610 New function.
12611 (log-edit-hook): Add it to :options. (Bug#16170)
12612
12613 2013-12-19 Juri Linkov <juri@jurta.org>
12614
12615 * simple.el (eval-expression-print-format): Don't check for
12616 command names and the last command. Always display additional
12617 formats of the integer result in the echo area, and insert them
12618 to the current buffer only with a zero prefix arg.
12619 Display character when char-displayable-p is non-nil.
12620 (eval-expression): With a zero prefix arg, set `print-length' and
12621 `print-level' to nil, and insert the integer values from
12622 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
12623
12624 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
12625 `eval-last-sexp-arg-internal'. Doc fix.
12626 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
12627 `eval-last-sexp-print-value'. Doc fix.
12628 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
12629 Set `print-length' and `print-level' to nil when arg is zero.
12630 (eval-last-sexp): Doc fix.
12631 (eval-defun-2): Print the integer values from
12632 `eval-expression-print-format' at the end.
12633
12634 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
12635 values from `eval-expression-print-format' at the end.
12636
12637 * ielm.el (ielm-eval-input): Print the integer
12638 values from `eval-expression-print-format' at the end.
12639
12640 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
12641
12642 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
12643 2013-12-11T19:01:44Z!tzz@lifelogs.com.
12644
12645 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
12648 (hl-line-highlight, global-hl-line-highlight): Use it.
12649 (hl-line-overlay): Use defvar-local.
12650
12651 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
12652
12653 * term/ns-win.el: Require dnd.
12654 (global-map): Remove drag items.
12655 (ns-insert-text, ns-set-foreground-at-mouse)
12656 (ns-set-background-at-mouse):
12657 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
12658 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
12659 New functions.
12660
12661 2013-12-19 Glenn Morris <rgm@gnu.org>
12662
12663 * emacs-lisp/ert.el (ert-select-tests):
12664 Fix string/symbol mixup. (Bug#16121)
12665
12666 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12667
12668 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
12669 keywords to their parent.
12670
12671 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12672
12673 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
12674 first arg to be a string (fixed dead code), or an operator symbol.
12675 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
12676 operator symbols.
12677 (ruby-smie-rules): Remove parent token check in the `.' clause, it
12678 did nothing. Don't respond to `(:after ".")', it will be called
12679 with :before anyway. Remove the ` @ ' rule, it didn't seem to
12680 change anything. Only return indentation for binary operators
12681 when they are hanging. De-dent opening paren when its parent is
12682 `.', otherwise it looks bad when the dot is not at bol or eol
12683 (bug#16182).
12684
12685 2013-12-19 Juri Linkov <juri@jurta.org>
12686
12687 * replace.el (query-replace-read-args): Split a non-negative arg
12688 and a negative arg into separate elements.
12689 (query-replace, query-replace-regexp, replace-string)
12690 (replace-regexp): Add arg `backward'. Doc fix.
12691 (replace-match-maybe-edit): When new arg `backward' is non-nil,
12692 move point to the beginning of the match.
12693 (replace-search, replace-highlight): Use new arg `backward'
12694 to set the value of `isearch-forward'.
12695 (perform-replace): Add arg `backward' and use it to perform
12696 replacement backward. (Bug#14979)
12697
12698 * isearch.el (isearch-query-replace): Use a negative prefix arg
12699 to call `perform-replace' with a non-nil arg `backward'.
12700
12701 2013-12-18 Juri Linkov <juri@jurta.org>
12702
12703 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
12704 to the default list. Move `log-edit-show-files' to the end.
12705 Add more available functions to options.
12706 (log-edit): Move default specific settings to
12707 `log-edit-insert-message-template'. Don't move point.
12708 (log-edit-insert-message-template): New function.
12709 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
12710 (Bug#16170)
12711
12712 2013-12-18 Juri Linkov <juri@jurta.org>
12713
12714 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
12715 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
12716
12717 2013-12-18 Leo Liu <sdl.web@gmail.com>
12718
12719 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
12720 (Bug#16186)
12721
12722 2013-12-18 Eli Zaretskii <eliz@gnu.org>
12723
12724 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
12725 formats for displaying file sizes when the -s switch is given.
12726 Instead, compute a separate format for displaying the size in
12727 blocks, which is displayed in addition to the "regular" size.
12728 When -h is given in addition to -s, produce size in blocks in
12729 human-readable form as well. (Bug#16179)
12730
12731 2013-12-18 Tassilo Horn <tsdh@gnu.org>
12732
12733 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12734 Reference tables with ~\ref{...} instead of only \ref{...}.
12735
12736 2013-12-18 Chong Yidong <cyd@gnu.org>
12737
12738 * cus-edit.el (custom-magic-alist): Fix "themed" description
12739 (Bug#14348).
12740
12741 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
12742 is non-nil, do not create a new entry in the symbol's theme-value
12743 or theme-face property; update theme-settings only (Bug#14664).
12744 (custom-available-themes): Doc fix.
12745
12746 * cus-theme.el (custom-new-theme-mode-map): Add bindings
12747 (Bug#15674).
12748
12749 * replace.el (occur-engine): Avoid infloop (Bug#7593).
12750
12751 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
12752
12753 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
12754 (Bug#13914).
12755
12756 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12757
12758 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
12759
12760 2013-12-18 Glenn Morris <rgm@gnu.org>
12761
12762 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
12763 * cus-start.el (load-prefer-newer): New option.
12764
12765 2013-12-18 Le Wang <l26wang@gmail.com>
12766
12767 * comint.el (comint-previous-matching-input-from-input):
12768 Retain point (Bug#13404).
12769
12770 2013-12-18 Chong Yidong <cyd@gnu.org>
12771
12772 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
12773
12774 2013-12-18 Glenn Morris <rgm@gnu.org>
12775
12776 * mail/emacsbug.el (report-emacs-bug):
12777 Only mention enable-multibyte-characters if non-standard.
12778
12779 2013-12-17 Juri Linkov <juri@jurta.org>
12780
12781 * arc-mode.el (archive-extract-by-file): Check if directory exists
12782 before deletion to not show irrelevant errors if it doesn't exist.
12783
12784 2013-12-17 Juri Linkov <juri@jurta.org>
12785
12786 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
12787 (Bug#14751)
12788
12789 * net/eww.el (browse-web): Add alias to `eww'.
12790 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
12791 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
12792
12793 * net/browse-url.el (browse-url-browser-function): Move `eww'
12794 closer to similar functions.
12795
12796 * startup.el (fancy-startup-screen, fancy-about-screen):
12797 Set browse-url-browser-function to eww-browse-url locally.
12798 (Bug#14751)
12799
12800 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * window.el (window--pixel-to-total): Remove unused `mini' var.
12803 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
12804 (split-window): Remove unused `new' var.
12805 (window--display-buffer): Remove unused `frame' and `delta' vars.
12806 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
12807 and display-width'.
12808
12809 2013-12-17 Martin Rudalics <rudalics@gmx.at>
12810
12811 * dired.el (dired-mark-pop-up):
12812 * register.el (register-preview): Don't bind
12813 split-height-threshold here since it's now done in
12814 display-buffer-below-selected.
12815
12816 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
12817
12818 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
12819 xterm-rgb-convert-to-16bit.
12820 (rxvt-register-default-colors): Standardize with
12821 xterm-register-default-colors (Bug#14078).
12822
12823 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
12824
12825 * simple.el (kill-region): Pass mark first, then point, so that
12826 kill-append works right (Bug#12819).
12827 (copy-region-as-kill, kill-ring-save): Likewise.
12828
12829 2013-12-17 Leo Liu <sdl.web@gmail.com>
12830
12831 * net/rcirc.el (rcirc-add-face):
12832 * eshell/em-prompt.el (eshell-emit-prompt):
12833 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
12834 (Bug#16167)
12835
12836 2013-12-17 Chong Yidong <cyd@gnu.org>
12837
12838 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
12839 Suggested by Xue Fuqiao.
12840
12841 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12842
12843 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
12844
12845 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * net/shr.el (shr-insert-document): Remove unused var
12848 `shr-preliminary-table-render'.
12849 (shr-rescale-image): Remove unused arg `force'.
12850 (shr-put-image): Update calls accordingly.
12851 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
12852
12853 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
12854
12855 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
12856 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
12857 :close-all, to see which indentation method to use (Bug#16116).
12858 (smie-rules-function): Document the method :close-all.
12859
12860 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12861
12862 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
12863
12864 * net/eww.el (eww-display-html): If we can't find the anchor we're
12865 looking for, then go to point-min.
12866
12867 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
12868
12869 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
12870 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
12871 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
12872 Expand dir too, in case it's relative.
12873
12874 2013-12-16 Juri Linkov <juri@jurta.org>
12875
12876 * desktop.el (desktop-auto-save-timeout): Change default to
12877 `auto-save-timeout'. Doc fix.
12878 (desktop-save): Skip the timestamp in desktop-saved-frameset
12879 when checking for auto-save changes.
12880 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
12881 `desktop-auto-save' is called repeatedly by the idle timer.
12882 (desktop-auto-save-set-timer): Replace `run-with-timer' with
12883 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
12884 (Bug#15331)
12885
12886 2013-12-16 Juri Linkov <juri@jurta.org>
12887
12888 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
12889 (Bug#16035)
12890 (isearch-pre-command-hook): Check `this-command' for symbolp.
12891
12892 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
12893
12894 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
12895
12896 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
12897
12898 * progmodes/cfengine.el (cfengine3--current-word): Remove.
12899 (cfengine3--current-function): Bring in the current-function
12900 functionality from `cfengine3--current-word'.
12901 (cfengine3-completion-function): Bring in the
12902 bounds-of-current-word functionality from
12903 `cfengine3--current-word'.
12904
12905 2013-12-16 Martin Rudalics <rudalics@gmx.at>
12906
12907 * window.el (display-buffer-below-selected):
12908 Bind split-height-threshold to 0 as suggested by Juri Linkov.
12909
12910 2013-12-16 Leo Liu <sdl.web@gmail.com>
12911
12912 * progmodes/compile.el (compile-goto-error): Do not push-mark.
12913 Remove NOMSG arg and all uses changed.
12914
12915 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
12918 (cua--deactivate-rectangle): Don't deactivate the mark.
12919 (cua-set-rectangle-mark): Don't set mark-active since
12920 cua--activate-rectangle already does it for us.
12921 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
12922 non-rectangular region.
12923
12924 * emulation/cua-base.el (cua-repeat-replace-region):
12925 Use with-current-buffer.
12926
12927 * net/gnutls.el: Use cl-lib.
12928 (gnutls-negotiate): `mapcan' -> cl-mapcan.
12929
12930 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
12931
12932 * emacs-lisp/package.el (package-built-in-p): Support both
12933 built-in and the package.el converted package descriptions.
12934 (package-show-package-list): Allow keywords.
12935 (package-keyword-button-action): Use it instead of
12936 `finder-list-matches'.
12937 (package-menu-filter-interactive): Interactive filtering (by
12938 keyword) function.
12939 (package-menu--generate): Support keywords and change keymappings
12940 and headers when they are given.
12941 (package--has-keyword-p): Helper function.
12942 (package-menu--refresh): Use it.
12943 (package--mapc): Helper function.
12944 (package-all-keywords): Use it.
12945 (package-menu-mode-map): Set up menu items and keybindings to
12946 provide a filtering UI.
12947
12948 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
12949
12950 * net/gnutls.el (gnutls-verify-error): New defcustom to control
12951 the behavior when a certificate fails validation. Defaults to
12952 old behavior: never abort, just warn.
12953 (gnutls-negotiate): Use it.
12954
12955 2013-12-14 Martin Rudalics <rudalics@gmx.at>
12956
12957 * window.el (display-buffer-below-selected): Never split window
12958 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
12959
12960 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
12961
12962 * emacs-lisp/package.el (package--prepare-dependencies): New function.
12963 (package-buffer-info): Use it (bug#15108).
12964
12965 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * icomplete.el (icomplete-completions): Make sure the prefix is already
12968 displayed elsewhere before hiding it (bug#16219).
12969
12970 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
12971
12972 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
12973 open-paren tokens when preceded by a open-paren, too.
12974 (ruby-smie-rules): Handle virtual indentation after open-paren
12975 tokens specially. If there is code between it and eol, return the
12976 column where is starts (Bug#16118).
12977
12978 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
12979
12980 * progmodes/cfengine.el: Fix `add-hook' doc.
12981 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
12982 (cfengine3--current-word): Fix parameters.
12983 (cfengine3-make-syntax-cache): Simplify further.
12984 (cfengine3-completion-function, cfengine3--current-function):
12985 Use `assq' for symbols.
12986 (cfengine3--current-function): Fix `cfengine3--current-word' call.
12987
12988 2013-12-13 Glenn Morris <rgm@gnu.org>
12989
12990 * loadup.el (load-path): Warn if site-load or site-init changes it.
12991 No more need to reset it when bootstrapping.
12992
12993 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
12994
12995 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
12996 locations for cf-promises.
12997 (cfengine-mode-syntax-functions-regex): New caching variable.
12998 (cfengine3-fallback-syntax): Fallback syntax for cases where
12999 cf-promises doesn't run.
13000 (cfengine3--current-word): Reimplement using
13001 `cfengine-mode-syntax-functions-regex'.
13002 (cfengine3-completion-function, cfengine3--current-function):
13003 Use `cfengine3-make-syntax-cache' directly.
13004 (cfengine3-clear-syntax-cache): New function.
13005 (cfengine3-make-syntax-cache): Simplify and create
13006 `cfengine-mode-syntax-functions-regex' on demand.
13007 (cfengine3-format-function-docstring): Don't call
13008 `cfengine3-make-syntax-cache' explicitly.
13009
13010 2013-12-13 Martin Rudalics <rudalics@gmx.at>
13011
13012 Fix windmove-find-other-window broken after pixelwise resizing
13013 (Bug#16017).
13014 * windmove.el (windmove-other-window-loc): Revert change from
13015 2013-12-04.
13016 (windmove-find-other-window): Call window-in-direction.
13017 * window.el (window-in-direction): New arguments SIGN, WRAP and
13018 MINI to emulate original windmove-find-other-window behavior.
13019
13020 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
13021
13022 * simple.el (blink-matching--overlay): New variable.
13023 (blink-matching-open): Instead of moving point, highlight the
13024 matching paren with an overlay
13025 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13026
13027 * faces.el (paren-showing-faces, show-paren-match)
13028 (show-paren-mismatch): Move from paren.el.
13029
13030 2013-12-13 Leo Liu <sdl.web@gmail.com>
13031
13032 * indent.el (indent-region): Disable progress reporter in
13033 minibuffer. (Bug#16108)
13034
13035 * bindings.el (visual-order-cursor-movement): Fix version.
13036
13037 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13038
13039 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13040 Also match after beginning of line.
13041 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13042 files. Thanks to Russell Sim. (Bug#15378)
13043
13044 2013-12-13 Juri Linkov <juri@jurta.org>
13045
13046 * simple.el <Keypad support>: Remove key bindings duplicated
13047 with bindings.el. (Bug#14397)
13048
13049 2013-12-13 Juri Linkov <juri@jurta.org>
13050
13051 * comint.el (comint-mode-map): Replace `delete-char' with
13052 `delete-forward-char'. (Bug#16109)
13053
13054 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13055
13056 * progmodes/python.el (python-indent-calculate-indentation):
13057 Fix de-denters cornercase. (Bug#15731)
13058
13059 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13062 (advice--make): Pay attention to `depth'.
13063 (advice--make-1): Don't autoload commands eagerly.
13064 * emacs-lisp/elp.el (elp-instrument-function):
13065 * emacs-lisp/trace.el (trace-function-internal):
13066 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13067
13068 * iswitchb.el (iswitchb-mode): Don't belittle ido.
13069
13070 2013-12-12 Eli Zaretskii <eliz@gnu.org>
13071
13072 * term/w32-win.el (w32-handle-dropped-file):
13073 * startup.el (normal-top-level):
13074 * net/browse-url.el (browse-url-file-url):
13075 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13076 decode file names using 'utf-8' rather than
13077 file-name-coding-system.
13078
13079 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13080
13081 * progmodes/python.el (python-indent-context)
13082 (python-indent-calculate-indentation): Fix auto-identation
13083 behavior for comment blocks. (Bug#15916)
13084
13085 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13086
13087 * progmodes/python.el (python-indent-calculate-indentation):
13088 When determining indentation, don't treat "return", "pass", etc., as
13089 operators when they are just string constituents. (Bug#15812)
13090
13091 2013-12-12 Juri Linkov <juri@jurta.org>
13092
13093 * uniquify.el (uniquify-buffer-name-style): Change default to
13094 `post-forward-angle-brackets'.
13095
13096 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13097 `uniquify'. Change default to `post-forward-angle-brackets'.
13098
13099 2013-12-11 Glenn Morris <rgm@gnu.org>
13100
13101 * emacs-lisp/package.el (finder-list-matches):
13102 Autoload rather than falsely declaring.
13103
13104 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
13105
13106 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13107 (eww-mode-map): Use them.
13108
13109 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13110
13111 * window.el (display-buffer-in-side-window): Fix doc-string
13112 (Bug#16115).
13113
13114 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13115
13116 * vc/vc-git.el: Silence byte-compiler warnings.
13117 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13118 (log-edit-set-header): Declare.
13119
13120 2013-12-11 Eli Zaretskii <eliz@gnu.org>
13121
13122 * Makefile.in (custom-deps, finder-data): Run output file names
13123 through unmsys--file-name. (Bug#16099)
13124
13125 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13128 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13129
13130 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13131 instead of deleting the selection "by hand" (bug#16098).
13132 Rely on insert-for-yank to yank rectangles.
13133 (cua-highlight-region-shift-only): Mark obsolete.
13134 (cua-mode): Don't enable/disable transient-mark-mode,
13135 shift-select-mode (cua-mode works both with and without them), and
13136 pc-selection-mode (obsolete).
13137 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13138 (cua--deactivate-rectangle): Deactivate it.
13139
13140 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13141 (delete-selection-helper): Make sure yank starts at the top of the
13142 deleted region.
13143 (minibuffer-keyboard-quit): Use region-active-p.
13144
13145 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13146
13147 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13148 to `delete' (bug#16109).
13149
13150 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13151
13152 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13153 info manual and show keybindings and set `:group' keyword.
13154
13155 2013-12-11 Juri Linkov <juri@jurta.org>
13156
13157 * delsel.el (delete-active-region): Let-bind `this-command'
13158 to prevent `kill-region' from changing its original value.
13159 (delete-selection-helper): Handle `overwrite-mode' for the type
13160 `kill' exactly the same way as for the type `t'.
13161 (insert-char, quoted-insert, reindent-then-newline-and-indent):
13162 Support more commands. (Bug#13312)
13163
13164 2013-12-11 Juri Linkov <juri@jurta.org>
13165
13166 * bindings.el: Map kp keys to non-kp keys systematically
13167 with basic modifiers control, meta and shift. (Bug#14397)
13168
13169 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13170
13171 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13172 "Close browser" menu items. Fix wrong function of "List
13173 bookmarks".
13174
13175 2013-12-11 Juri Linkov <juri@jurta.org>
13176
13177 * misearch.el (multi-isearch-buffers): Set the value of
13178 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13179 arg of isearch-forward to t.
13180 (multi-isearch-buffers-regexp): Set the value of
13181 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13182 arg of isearch-forward-regexp to t.
13183 (multi-isearch-files): Set the value of
13184 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13185 arg of isearch-forward to t.
13186 (multi-isearch-files-regexp): Set the value of
13187 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13188 arg of isearch-forward-regexp to t. (Bug#16035)
13189
13190 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13191 arg of isearch-forward to t.
13192 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13193 arg of isearch-forward-regexp to t.
13194 (dired-isearch-filter-filenames): Remove unnecessary check for
13195 `dired-isearch-filenames'.
13196
13197 * comint.el (comint-history-isearch-backward):
13198 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13199 (comint-history-isearch-backward-regexp):
13200 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13201
13202 2013-12-10 Eli Zaretskii <eliz@gnu.org>
13203
13204 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13205 unmsys--file-name. (Bug#16099)
13206
13207 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
13208
13209 * emacs-lisp/package.el (package-keyword-button-action):
13210 Remove finder.el require dependency.
13211
13212 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
13213
13214 * emacs-lisp/package.el: Require finder.el.
13215 (describe-package-1): Add keyword buttons.
13216 (package-make-button): New convenience function.
13217 (package-keyword-button-action): Keyword button action using
13218 `finder-list-matches'.
13219
13220 2013-12-09 Eli Zaretskii <eliz@gnu.org>
13221
13222 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13223 last commit.
13224
13225 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
13226
13227 * autorevert.el (auto-revert-notify-add-watch): Do not handle
13228 symlinked files.
13229
13230 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13231
13232 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13233 after the end of a percent literal.
13234
13235 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
13236
13237 * progmodes/ruby-mode.el (ruby-forward-string): Document.
13238 Handle caret-delimited strings (Bug#16079).
13239
13240 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13241
13242 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13243 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13244 `ruby-parse-partial' (Bug#16078).
13245
13246 2013-12-09 Leo Liu <sdl.web@gmail.com>
13247
13248 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
13249
13250 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
13251
13252 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13253 (js-switch-indent-offset): New option.
13254 (js--proper-indentation): Use it. And handle the case when
13255 "default" is actually a key in an object literal.
13256 (js--same-line): New function.
13257 (js--multi-line-declaration-indentation): Use it.
13258 (js--indent-in-array-comp, js--array-comp-indentation):
13259 New functions.
13260 (js--proper-indentation): Use them, to handle array comprehension
13261 continuations.
13262
13263 2013-12-08 Leo Liu <sdl.web@gmail.com>
13264
13265 * progmodes/flymake.el (flymake-highlight-line): Re-write.
13266 (flymake-make-overlay): Remove arg MOUSE-FACE.
13267 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13268
13269 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13272 New function.
13273 (redisplay-highlight-region-function): Use it.
13274
13275 * emulation/cua-base.el (cua--explicit-region-start)
13276 (cua--last-region-shifted): Remove.
13277 (cua--deactivate): Use deactivate-mark.
13278 (cua--pre-command-handler-1): Don't handle shift-selection.
13279 (cua--post-command-handler-1): Don't change transient-mark-mode.
13280 (cua--select-keymaps): Use region-active-p rather than
13281 cua--explicit-region-start or cua--last-region-shifted.
13282 (cua-mode): Enable shift-select-mode.
13283
13284 2013-12-08 Leo Liu <sdl.web@gmail.com>
13285
13286 * progmodes/flymake.el (flymake-popup-current-error-menu):
13287 Rename from flymake-display-err-menu-for-current-line. Reimplement.
13288 (flymake-posn-at-point-as-event, flymake-popup-menu)
13289 (flymake-make-emacs-menu): Remove. (Bug#16077)
13290
13291 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13292
13293 * rect.el (rectangle-mark-mode): Activate mark even if
13294 transient-mark-mode is off (bug#16066).
13295 (rectangle--highlight-for-redisplay): Fix boundary condition when point
13296 is > mark and at bolp.
13297
13298 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
13299 (region-extract-function): Use it.
13300 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13301 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
13302 Delete functions.
13303 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
13304 kill-ring-save, kill-region, delete-char, delete-forward-char.
13305 Ignore self-insert-iso.
13306
13307 * emulation/cua-gmrk.el (cua--init-global-mark):
13308 Ignore `self-insert-iso'.
13309
13310 * emulation/cua-base.el (cua--prefix-copy-handler)
13311 (cua--prefix-cut-handler): Rely on region-extract-function rather than
13312 checking cua--rectangle.
13313 (cua-delete-region): Use region-extract-function.
13314 (cua-replace-region): Delete function.
13315 (cua-copy-region, cua-cut-region): Obey region-extract-function.
13316 (cua--pre-command-handler-1): Don't do the delete-selection thing.
13317 (cua--self-insert-char-p): Ignore `self-insert-iso'.
13318 (cua--init-keymaps): Don't remap delete-selection commands.
13319 (cua-mode): Use delete-selection-mode instead of rolling our own
13320 (bug#16085).
13321
13322 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
13323 Obey region-extract-function.
13324
13325 Make registers and delete-selection-mode work on rectangles.
13326 * register.el (describe-register-1): Don't modify the register's value.
13327 (copy-to-register): Obey region-extract-function.
13328 * delsel.el (delete-active-region): Obey region-extract-function.
13329
13330 2013-12-08 Leo Liu <sdl.web@gmail.com>
13331
13332 * progmodes/flymake.el (flymake, flymake-error-bitmap)
13333 (flymake-warning-bitmap, flymake-fringe-indicator-position)
13334 (flymake-compilation-prevents-syntax-check)
13335 (flymake-start-syntax-check-on-newline)
13336 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
13337 (flymake-start-syntax-check-on-find-file, flymake-log-level)
13338 (flymake-xml-program, flymake-master-file-dirs)
13339 (flymake-master-file-count-limit)
13340 (flymake-allowed-file-name-masks): Relocate.
13341 (flymake-makehash, flymake-float-time)
13342 (flymake-replace-regexp-in-string, flymake-split-string)
13343 (flymake-get-temp-dir): Remove.
13344 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
13345 (flymake-current-row, flymake-selected-frame)
13346 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
13347 related functions. (Bug#16077)
13348
13349 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
13350
13351 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
13352
13353 2013-12-07 Tassilo Horn <tsdh@gnu.org>
13354
13355 * help-fns.el (describe-function-1): Use new advice-* functions
13356 rather than old ad-* functions. Fix function type description and
13357 source links for advised functions and subrs.
13358
13359 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13360
13361 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
13362
13363 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
13364
13365 * progmodes/compile.el (compilation-start):
13366 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
13367
13368 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13369 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
13370
13371 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13372
13373 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13374 Touch up the last change.
13375
13376 2013-12-06 Leo Liu <sdl.web@gmail.com>
13377
13378 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
13379 (inferior-octave-startup): Always use "octave> " for prompt.
13380 (octave-goto-function-definition)
13381 (octave-sync-function-file-names)
13382 (octave-find-definition-default-filename): Remove redundant backquotes.
13383
13384 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13385
13386 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
13387 syntax for `?'.
13388 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
13389 where appropriate already.
13390 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
13391 end of method names (Bug#15874).
13392
13393 2013-12-06 Juri Linkov <juri@jurta.org>
13394
13395 * isearch.el (isearch--saved-overriding-local-map):
13396 New internal variable.
13397 (isearch-mode): Set it to the initial value of
13398 `overriding-terminal-local-map'.
13399 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
13400 with `isearch--saved-overriding-local-map'. (Bug#16035)
13401
13402 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13403
13404 * progmodes/octave.el (inferior-octave-completion-table):
13405 Turn back into function, use `completion-table-with-cache'
13406 (Bug#11906). Update all references.
13407
13408 * minibuffer.el (completion-table-with-cache): New function.
13409
13410 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
13411
13412 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
13413
13414 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
13415
13416 * net/eww.el (eww-current-source): New variable to store page
13417 source.
13418 (eww-display-html, eww-mode, eww-save-history)
13419 (eww-restore-history): Use it.
13420 (eww-view-source): New command to view page source.
13421 Opportunistically uses `html-mode' to highlight the buffer.
13422 (eww-mode-map): Install it.
13423
13424 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
13425
13426 * net/dbus.el (dbus-unregister-service)
13427 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
13428 Fix docstring.
13429 (dbus-unregister-service): Skip :serial entries in
13430 `dbus-registered-objects-table'.
13431 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
13432
13433 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
13434
13435 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13436 around keywords with extra `split-string' argument.
13437
13438 2013-12-04 Martin Rudalics <rudalics@gmx.at>
13439
13440 * windmove.el (windmove-other-window-loc): Handle navigation
13441 between windows (excluding the minibuffer window - Bug#16017).
13442
13443 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
13446 in D-Bus type syntax.
13447 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
13448 preserve unibyte strings. (Bug#16048)
13449
13450 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13451
13452 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
13453 Call force-mode-line-update is the proper buffer (bug#16042).
13454
13455 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
13456
13457 * vc/log-edit.el (log-edit-add-new-comment): Rename to
13458 `log-edit-remember-comment', make argument optional. Adjust all
13459 callers.
13460 (log-edit-mode): Add `log-edit-remember-comment' to
13461 `kill-buffer-hook' locally.
13462 (log-edit-kill-buffer): Don't remember comment explicitly since
13463 the buffer is killed anyway.
13464
13465 2013-12-04 Juri Linkov <juri@jurta.org>
13466
13467 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
13468 add-hook and remove-hook for multi-buffer search. (Bug#16035)
13469
13470 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
13471
13472 * notifications.el (notifications-close-notification): Call the
13473 D-Bus method with ID being a `:uint32'. (Bug#16030)
13474
13475 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
13476
13477 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
13478
13479 2013-12-03 Juri Linkov <juri@jurta.org>
13480
13481 * progmodes/compile.el (compilation-start): Rename window alist
13482 entry `no-display-ok' to `allow-no-window'.
13483
13484 * simple.el (shell-command): Add window alist entry
13485 `allow-no-window' to `display-buffer'.
13486 (async-shell-command): Doc fix.
13487
13488 * window.el (display-buffer-no-window): New action function.
13489 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
13490
13491 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13492
13493 * vc/log-edit.el (log-edit-set-header): Extract from
13494 `log-edit-toggle-header'.
13495 (log-edit-extract-headers): Separate the summary, when extracted
13496 from header, from the rest of the message with an empty line.
13497
13498 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
13499 line, if present, to the Summary header.
13500
13501 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
13504 in current-buffer (bug#16029).
13505
13506 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
13507
13508 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
13509 (debugger-mode-map): Bind it.
13510 (debugger--backtrace-base): New function.
13511 (debugger-eval-expression): Use it.
13512 (debugger-frame-number): Skip local vars when present.
13513 (debugger--locals-visible-p, debugger--insert-locals)
13514 (debugger--show-locals, debugger--hide-locals): New functions.
13515
13516 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
13517
13518 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
13519 "LC_ALL".
13520 (tramp-get-remote-locale): New defun.
13521 (tramp-open-connection-setup-interactive-shell): Use it.
13522
13523 2013-12-02 Leo Liu <sdl.web@gmail.com>
13524
13525 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
13526
13527 * progmodes/sh-script.el (sh-shell-process):
13528 * progmodes/octave.el (inferior-octave-process-live-p):
13529 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
13530 (gdb-inferior-io-sentinel):
13531 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
13532
13533 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13534
13535 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
13536 `save-selected-window' to `log-edit-hide-buf'. This makes
13537 `log-edit-show-files' idempotent.
13538 (log-edit-show-files): Mark the new window as dedicated.
13539
13540 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13541
13542 * vc/log-edit.el (log-edit-mode-map): Add binding for
13543 `log-edit-kill-biffer'.
13544 (log-edit-hide-buf): Add a FIXME comment.
13545 (log-edit-add-new-comment): New function, extracted from
13546 `log-edit-done'.
13547 (log-edit-done, log-edit-add-to-changelog): Use it.
13548 (log-edit-kill-buffer): New command.
13549
13550 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13551
13552 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
13553 instead of killing the buffer.
13554
13555 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13556
13557 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
13558
13559 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13560
13561 * net/eww.el (eww-form-checkbox-selected-symbol)
13562 (eww-form-checkbox-symbol): New customizable variable.
13563 (eww-form-checkbox, eww-toggle-checkbox):
13564 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
13565
13566 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
13567 (shr--get-media-pref, shr--extract-best-source): New function.
13568 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
13569 no :src tag was specified.
13570
13571 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
13572 (eww-render): Handle `eww-use-external-browser-for-content-type'.
13573 Use \\` to match beginning of string instead of ^.
13574 (eww-browse-with-external-browser): Provide optional URL parameter.
13575 (eww-render): Set `eww-current-title' back to "".
13576
13577 * net/shr.el (shr-tag-video): Display content for video if no
13578 poster is available.
13579 (shr-tag-audio): Add support for <audio> tag.
13580
13581 * net/eww.el (eww-text-input-types): New const.
13582 (eww-process-text-input): Treat input types in
13583 `eww-text-input-types' as text.
13584
13585 * net/shr.el (shr-tag-table): Fix comment typo.
13586
13587 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13588
13589 * net/eww.el (eww-follow-link): New command to avoid reloading
13590 pages when we follow #target links (bug#15243).
13591 (eww-quit): Special mode buffers shouldn't query before exiting.
13592
13593 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13594
13595 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
13596 forms.
13597
13598 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13599
13600 * net/eww.el (eww-restore-history): Update the window title after
13601 moving in the history.
13602 (eww-current-dom): New variable used to save the current DOM.
13603
13604 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
13605
13606 * vc/log-edit.el (log-edit-mode-map): Add binding for
13607 `log-edit-beginning-of-line'.
13608 (log-edit-setup-add-author): New user option.
13609 (log-edit-beginning-of-line): New command.
13610 (log-edit): Move major mode call above the contents setup so that
13611 the local variable values are already applied.
13612 (log-edit): Only insert "Author: " when
13613 `log-edit-setup-add-author' is non-nil.
13614 (log-edit): When SETUP is non-nil, position point after ": "
13615 instead of point-min.
13616
13617 2013-12-01 Glenn Morris <rgm@gnu.org>
13618
13619 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
13620
13621 2013-11-30 Eli Zaretskii <eliz@gnu.org>
13622
13623 * startup.el (fancy-splash-frame): On MS-Windows, trigger
13624 redisplay to make sure the initial frame gets a chance to become
13625 visible. (Bug#16014)
13626
13627 2013-11-30 Martin Rudalics <rudalics@gmx.at>
13628
13629 Support resizing frames and windows pixelwise.
13630 * cus-start.el (frame-resize-pixelwise)
13631 (window-resize-pixelwise): New entries.
13632 * emacs-lisp/debug.el (debug): Use window-total-height instead
13633 of window-total-size.
13634 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
13635 * help.el (describe-bindings-internal): Use help-buffer as
13636 argument for with-help-window.
13637 (temp-buffer-max-width): New option.
13638 (resize-temp-buffer-window, help-window-setup)
13639 (with-help-window): Rewrite.
13640 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
13641 dragging dividers.
13642 * window.el (frame-char-size, window-min-pixel-height)
13643 (window-safe-min-pixel-height, window-safe-min-pixel-width)
13644 (window-min-pixel-width, window-safe-min-pixel-size)
13645 (window-combination-p, window-safe-min-size)
13646 (window-resizable-p, window--size-to-pixel)
13647 (window--pixel-to-size, window--resize-apply-p): New functions.
13648 (window-safe-min-height): Fix doc-string.
13649 (window-size, window-min-size, window--min-size-1)
13650 (window-sizable, window-sizable-p, window--min-delta-1)
13651 (window-min-delta, window--max-delta-1, window-max-delta)
13652 (window--resizable, window--resizable-p, window-resizable)
13653 (window-full-height-p, window-full-width-p, window-at-side-p)
13654 (window--in-direction-2, window-in-direction)
13655 (window--resize-reset-1, window--resize-mini-window)
13656 (window-resize, window-resize-no-error)
13657 (window--resize-child-windows-normal)
13658 (window--resize-child-windows, window--resize-siblings)
13659 (window--resize-this-window, window--resize-root-window)
13660 (window--resize-root-window-vertically)
13661 (adjust-window-trailing-edge, enlarge-window, shrink-window)
13662 (maximize-window, minimize-window, delete-window)
13663 (quit-restore-window, window-split-min-size, split-window)
13664 (balance-windows-2, balance-windows)
13665 (balance-windows-area-adjust, balance-windows-area)
13666 (window--state-get-1, window-state-get, window--state-put-1)
13667 (window--state-put-2, window-state-put)
13668 (display-buffer-record-window, window--display-buffer):
13669 Make functions handle pixelwise sizing of windows.
13670 (display-buffer--action-function-custom-type)
13671 (display-buffer-fallback-action):
13672 Add display-buffer-in-previous-window.
13673 (display-buffer-use-some-window): Resize window to height it had
13674 before.
13675 (fit-window-to-buffer-horizontally): New option.
13676 (fit-frame-to-buffer): Describe new values.
13677 (fit-frame-to-buffer-bottom-margin): Replace with
13678 fit-frame-to-buffer-margins.
13679 (window--sanitize-margin): New function.
13680 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
13681 using window-text-pixel-size.
13682
13683 2013-11-30 Glenn Morris <rgm@gnu.org>
13684
13685 * emacs-lisp/bytecomp.el (byte-compile-form):
13686 Make the `interactive-only' warning like the `obsolete' one.
13687 * comint.el (comint-run):
13688 * files.el (insert-file-literally, insert-file):
13689 * replace.el (replace-string, replace-regexp):
13690 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
13691 (goto-line, insert-buffer, next-line, previous-line):
13692 Tweak `interactive-only' spec.
13693
13694 Stop keeping (most) generated cedet grammar files in the repository.
13695 * Makefile.in (semantic): New.
13696 (compile-main): Depend on semantic.
13697
13698 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
13701 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
13702
13703 * uniquify.el (uniquify-buffer-name-style): Change default.
13704
13705 * loadup.el: Preload "uniquify".
13706
13707 * time.el (display-time-update): Update all mode lines (bug#15999).
13708
13709 * electric.el (electric-indent-mode): Enable by default.
13710 * loadup.el: Preload "electric".
13711
13712 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
13713
13714 * emacs-lisp/helpers.el (string-empty-p): New function.
13715 (string-blank-p): New function.
13716
13717 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
13718
13719 * imenu.el (imenu--index-alist): Add missing dot to the docstring
13720 (Bug#14029).
13721
13722 2013-11-29 Andreas Politz <politza@fh-trier.de>
13723 * imenu.el (imenu--subalist-p): Don't error on non-conses and
13724 allow non-lambda lists as functions.
13725 (imenu--in-alist): Don't recurse into non-subalists.
13726 (imenu): Don't pass function itself as an argument (Bug#14029).
13727
13728 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * progmodes/python.el (python-mode-map): Remove binding for ":".
13731 (python-indent-electric-colon): Remove command.
13732 (python-indent-post-self-insert-function): Integrate the previous code
13733 of python-indent-electric-colon. Make it conditional on
13734 electric-indent-mode.
13735 (python-mode): Add ?: to electric-indent-chars.
13736 Move python-indent-post-self-insert-function to the end of
13737 post-self-insert-hook.
13738
13739 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * doc-view.el (doc-view-goto-page): Update mode-line.
13742
13743 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
13744
13745 2013-11-27 Glenn Morris <rgm@gnu.org>
13746
13747 * international/charprop.el, international/uni-bidi.el:
13748 * international/uni-category.el, international/uni-combining.el:
13749 * international/uni-comment.el, international/uni-decimal.el:
13750 * international/uni-decomposition.el, international/uni-digit.el:
13751 * international/uni-lowercase.el, international/uni-mirrored.el:
13752 * international/uni-name.el, international/uni-numeric.el:
13753 * international/uni-old-name.el, international/uni-titlecase.el:
13754 * international/uni-uppercase.el:
13755 Remove generated files from VCS repository.
13756
13757 2013-11-27 Eli Zaretskii <eliz@gnu.org>
13758
13759 * filenotify.el (file-notify-add-watch): Don't special-case
13760 w32notify when computing the directory to watch.
13761
13762 2013-11-27 Glenn Morris <rgm@gnu.org>
13763
13764 Make bootstrap without generated uni-*.el files possible again.
13765 * loadup.el: Update command-line-args checking for unidata-gen.
13766 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
13767 * composite.el, international/characters.el:
13768 Handle unicode tables being undefined.
13769
13770 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
13771 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
13772 (compile-main): Depend on leim rule.
13773 (leim): New rule.
13774 * loadup.el: Move leim-list.el to leim/ subdirectory.
13775 * startup.el (normal-top-level): No more leim directory.
13776 * international/ja-dic-cnv.el (skkdic-convert):
13777 Disable version-control and autoloads in output files.
13778 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
13779 Disable version-control and autoloads in output files.
13780 * leim/quail: Move here from ../leim.
13781 * leim/quail/hangul.el (hangul-input-method-activate):
13782 Add autoload cookie.
13783 (generated-autoload-load-name): Set file-local value.
13784 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
13785 (generated-autoload-load-name): Set file-local value.
13786
13787 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
13788
13789 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
13790 (eww-add-bookmark): Ask confirmation when add to bookmarks.
13791 (eww-quit): Ask confirmation before quitting eww.
13792
13793 2013-11-26 Eli Zaretskii <eliz@gnu.org>
13794
13795 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
13796 reading output from Diff on MS-Windows and MS-DOS.
13797
13798 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
13799
13800 * emacs-lisp/helpers.el (string-reverse): New function.
13801
13802 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
13803
13804 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
13805 names on MS Windows, like "/[::1]:".
13806
13807 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
13808 SWITCHES.
13809
13810 2013-11-26 Glenn Morris <rgm@gnu.org>
13811
13812 * progmodes/python.el (python-indent-guess-indent-offset):
13813 Avoid corner-case error. (Bug#15975)
13814
13815 Preload leim-list.el. (Bug#4789)
13816 * loadup.el: Load leim-list.el when found.
13817 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
13818
13819 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
13820
13821 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
13822
13823 * emacs-lisp/helpers.el (string-join): New function.
13824
13825 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
13826
13827 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13828 Mark as obsolete and replace it with a symbol property.
13829 (byte-compile-form): Use new 'interactive-only property.
13830 * comint.el, files.el, replace.el, simple.el:
13831 Apply new 'interactive-only properly.
13832
13833 2013-11-25 Martin Rudalics <rudalics@gmx.at>
13834
13835 * window.el (display-buffer-at-bottom): Make sure that
13836 split-window-sensibly creates the new window on bottom
13837 (Bug#15961).
13838
13839 2013-11-23 David Kastrup <dak@gnu.org>
13840
13841 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
13842 on the conflict markers when available.
13843 (smerge--get-marker): New function.
13844 (smerge-end-re, smerge-base-re): Add subgroup.
13845
13846 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13847
13848 * frame.el (handle-focus-in, handle-focus-out): Add missing
13849 interactive spec.
13850
13851 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
13852
13853 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
13854 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
13855
13856 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
13859 (gomoku--last-pos): New var.
13860 (gomoku--intangible-chars): New const.
13861 (gomoku--intangible): New function.
13862 (gomoku-mode): Use it. Derive from special-mode.
13863 (gomoku-move-up): Adjust line count.
13864 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
13865 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
13866 Simplify accordingly.
13867
13868 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
13869 Remove blink-cursor code.
13870 (blink-cursor-timer-function, blink-cursor-suspend):
13871 Don't special-case GUIs.
13872 (blink-cursor-mode): Use focus-in/out-hook.
13873
13874 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
13875
13876 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
13877 work when annotation is invisible (Bug#13886).
13878
13879 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
13880
13881 * json.el (json-alist-p): Only return non-nil if the alist has
13882 simple keys (Bug#13518).
13883
13884 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
13885
13886 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
13887 when control-statement is the first statement in a buffer (Bug#15956).
13888
13889 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
13890
13891 * imenu.el (imenu-generic-skip-comments-and-strings):
13892 New option (Bug#15560).
13893 (imenu--generic-function): Use it.
13894
13895 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
13896
13897 * minibuffer.el (completion--in-region-1): Scroll the correct window.
13898 (Bug#13898)
13899
13900 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
13901
13902 * emacs-lisp/helpers.el: Add some string helpers.
13903 (string-trim-left): Removes leading whitespace.
13904 (string-trim-right): Removes trailing whitespace.
13905 (string-trim): Removes leading and trailing whitespace.
13906
13907 * subr.el (string-suffix-p): New function.
13908
13909 2013-11-23 Glenn Morris <rgm@gnu.org>
13910
13911 * progmodes/python.el (python-shell-send-file):
13912 Add option to delete file when done. (Bug#15647)
13913 (python-shell-send-string, python-shell-send-region): Use it.
13914
13915 2013-11-23 Ivan Shmakov <ivan@siamics.net>
13916
13917 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
13918 to set buffer-read-only to t, never to nil. (Bug#15938)
13919
13920 * textmodes/tex-mode.el (latex-noindent-environments):
13921 Add safe-local-variable property. (Bug#15936)
13922
13923 2013-11-23 Glenn Morris <rgm@gnu.org>
13924
13925 * textmodes/enriched.el (enriched-mode): Doc fix.
13926 * emacs-lisp/authors.el (authors-renamed-files-alist):
13927 Add enriched.doc -> enriched.txt.
13928
13929 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
13930
13931 2013-11-22 Leo Liu <sdl.web@gmail.com>
13932
13933 * progmodes/octave.el (inferior-octave-startup): Spit out error
13934 message.
13935
13936 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
13937
13938 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
13939 Improve docstring.
13940 Add :version.
13941 (ruby-encoding-magic-comment-style): Add :version.
13942
13943 2013-11-22 Leo Liu <sdl.web@gmail.com>
13944
13945 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
13946 (Bug#15076)
13947 (octave-help-mode): Adapt to change to help-mode-finish to use
13948 derived-mode-p on 2013-09-17.
13949 (inferior-octave-prompt): Also match octave-gui.
13950 (octave-kill-process): Don't ask twice. (Bug#10564)
13951
13952 2013-11-22 Leo Liu <sdl.web@gmail.com>
13953
13954 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
13955 (inferior-octave-startup, inferior-octave-check-process)
13956 (inferior-octave-track-window-width-change)
13957 (octave-completion-at-point, octave-eldoc-function): Use it.
13958 (octave-kill-process): Provide confirmation. (Bug#10564)
13959
13960 2013-11-21 Leo Liu <sdl.web@gmail.com>
13961
13962 * progmodes/octave.el (octave-mode, inferior-octave-mode):
13963 Fix obsolete variable comment-use-global-state.
13964
13965 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13966
13967 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
13968 Add `octave-source-file'.
13969 (octave-source-file): New function. (Bug#15935)
13970
13971 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
13972
13973 * net/eww.el (eww-local-regex): New variable.
13974 (eww): Use it to detect localhost and similar.
13975
13976 2013-11-21 Leo Liu <sdl.web@gmail.com>
13977
13978 Add completion for command `ag'.
13979 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
13980 (pcomplete/ag): New function.
13981 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
13982
13983 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13984
13985 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
13986 (bug#14646).
13987 (make-obsolete): Remove interactive spec.
13988
13989 2013-11-21 Glenn Morris <rgm@gnu.org>
13990
13991 * startup.el (command-line-1): Use path-separator with -L.
13992
13993 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
13994
13995 * emacs-lisp/package.el (describe-package-1): Add package archive
13996 to shown fields.
13997
13998 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
13999
14000 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14001 Change default to "# encoding: %s" to differentiate it from the
14002 default Ruby encoding comment template.
14003
14004 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
14005
14006 * ses.el (ses-mode): Doc fix. (Bug#14748)
14007
14008 2013-11-20 Leo Liu <sdl.web@gmail.com>
14009
14010 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
14011
14012 2013-11-19 Dan Nicolaescu <dann@gnu.org>
14013
14014 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14015 when rebase or bisect are in progress.
14016
14017 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
14018
14019 * filenotify.el (file-notify-add-watch): Doc fix.
14020
14021 2013-11-19 Leo Liu <sdl.web@gmail.com>
14022
14023 * obsolete/rcompile.el: Mark obsolete.
14024
14025 * progmodes/compile.el (compilation-start)
14026 (compilation-goto-locus, compilation-find-file):
14027 Pass no-display-ok and handle nil value from display-buffer.
14028 (Bug#13594)
14029
14030 * window.el (display-buffer-alist, display-buffer): Document the
14031 new parameter no-display-ok. Return either a window or nil
14032 but never a non-window value.
14033
14034 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * electric.el (electric-indent-mode-map): Remove.
14037 (electric-indent-mode): Change the global-map instead (bug#15915).
14038
14039 * textmodes/text-mode.el (paragraph-indent-minor-mode):
14040 Use add-function.
14041
14042 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * emacs-lisp/nadvice.el (remove-function): Align with
14045 add-function's behavior.
14046
14047 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14048 (gdb--string-regexp): New constant.
14049 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14050 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14051 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14052 submatch 1.
14053 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14054 Adjust use accordingly.
14055 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14056
14057 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
14058
14059 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14060 interpolation curlies (Bug#15914).
14061
14062 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
14063
14064 * calc/calc.el (calc-context-sensitive-enter): New variable.
14065 (calc-enter): Use `calc-context-sensitive-enter'.
14066
14067 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
14068
14069 * progmodes/cfengine.el: Version bump.
14070 (cfengine-cf-promises): New defcustom to locate cf-promises.
14071 (cfengine3-vartypes): Add new "data" type.
14072 (cfengine3--current-word): New function to get current name-like
14073 word or its bounds.
14074 (cfengine3--current-function): New function to look up a CFEngine
14075 function's definition.
14076 (cfengine3-format-function-docstring): New function.
14077 (cfengine3-make-syntax-cache): New function.
14078 (cfengine3-documentation-function): New function: ElDoc glue.
14079 (cfengine3-completion-function): New function: completion glue.
14080 (cfengine3-mode): Set `compile-command',
14081 `eldoc-documentation-function', and add to
14082 `completion-at-point-functions'.
14083
14084 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
14085
14086 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14087 `tramp-current-connection'.
14088
14089 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
14090
14091 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14092 nil/self/true/false with "end of symbol".
14093
14094 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
14095
14096 * subr.el (version-regexp-alist): Fix a typo.
14097
14098 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
14099
14100 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14101 "en_US.utf8" and "LC_CTYPE" to "".
14102 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14103 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14104
14105 2013-11-15 Leo Liu <sdl.web@gmail.com>
14106
14107 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
14108
14109 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14110
14111 * progmodes/gud.el (ctl-x-map):
14112 Remove C-x SPC binding. (Bug#12342)
14113 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14114
14115 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
14116
14117 * subr.el (version-regexp-alist):
14118 Recognize hg, svn and darcs versions as snapshot versions.
14119
14120 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14121 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14122 (ruby--encoding-comment-required-p): Extract from
14123 `ruby-mode-set-encoding'.
14124 (ruby-mode-set-encoding): Add the ability to always insert an
14125 utf-8 encoding comment. Fix and simplify coding comment update
14126 logic.
14127
14128 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
14129
14130 * net/tramp-gvfs.el (top): Run init code only when
14131 `tramp-gvfs-enabled' is not nil.
14132 (tramp-gvfs-enabled): Check also :system bus.
14133
14134 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14135
14136 Sync with upstream verilog-mode revision 78e66ba.
14137 * progmodes/verilog-mode.el (verilog-end-of-defun)
14138 (verilog-type-completion, verilog-get-list): Remove unused funcs.
14139 (verilog-get-end-of-defun): Remove unused argument.
14140 (verilog-comment-depth): Remove unused local `e'.
14141 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14142 Don't pass arg to verilog-get-end-of-defun.
14143
14144 2013-11-14 Glenn Morris <rgm@gnu.org>
14145
14146 * obsolete/assoc.el (aget): Prefix dynamic variable.
14147
14148 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14149
14150 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14151
14152 * widget.el, hfy-cmap.el: Remove bogus package version number.
14153
14154 2013-11-13 Glenn Morris <rgm@gnu.org>
14155
14156 * replace.el (replace-eval-replacement):
14157 Try to give more helpful error message. (Bug#15836)
14158
14159 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14160 (archive-7z-update): Avoid custom type mismatches.
14161
14162 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14163
14164 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
14165
14166 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14167 address can be empty.
14168
14169 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14170 Accept nil SWITCHES.
14171 (tramp-gvfs-handle-write-region): Implement APPEND.
14172
14173 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
14174
14175 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14176 binary "|" operator and closing block args delimiter.
14177 Remove FIXME comment referring to Ruby 1.8-only syntax.
14178 (ruby-smie--implicit-semi-p): Not after "|" operator.
14179 (ruby-smie--closing-pipe-p): New function.
14180 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14181 (ruby-smie-rules): Indent after "|".
14182
14183 2013-11-12 Glenn Morris <rgm@gnu.org>
14184
14185 * ps-print.el (ps-face-attribute-list):
14186 Handle anonymous faces. (Bug#15827)
14187
14188 2013-11-12 Martin Rudalics <rudalics@gmx.at>
14189
14190 * window.el (display-buffer-other-frame): Fix doc-string.
14191 (Bug#15868)
14192
14193 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * subr.el (force-mode-line-update): Delete, move to buffer.c.
14196
14197 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
14198
14199 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14200 (tramp-sh-handle-file-local-copy): Don't write a message when
14201 saving temporary files.
14202
14203 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14204 both directories are remote.
14205 (tramp-smb-handle-directory-files): Do not return double entries.
14206 Do not expand full file names.
14207 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14208 (tramp-smb-handle-write-region): Implement APPEND.
14209 (tramp-smb-get-stat-capability): Fix a stupid bug.
14210
14211 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14212
14213 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14214
14215 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14216
14217 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14218 throwing error over malformed let/let* (bug#15814).
14219
14220 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * iswitchb.el (iswitchb-mode): Mark obsolete.
14223
14224 2013-11-11 Glenn Morris <rgm@gnu.org>
14225
14226 * international/uni-bidi.el, international/uni-category.el:
14227 * international/uni-name.el, international/uni-numeric.el:
14228 Regenerate for Unicode 6.3.0.
14229
14230 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
14231
14232 * net/tramp.el (tramp-methods):
14233 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14234 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14235
14236 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
14237
14238 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14239 Force highlighting text after Summary keyword in doc face for rpm.
14240
14241 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
14242
14243 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14244 available and the word has no wildcards, append one to the grep pattern.
14245 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14246 (ispell-complete-word): Call `ispell-lookup-words' with the value
14247 independent of `ispell-look-p'.
14248
14249 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14250
14251 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14252 Not after "||".
14253 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14254 their parent.
14255
14256 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
14259 (ruby-font-lock-keywords): Use backquote.
14260
14261 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14262
14263 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14264 (ruby-smie--backward-token): Only consider full-string matches.
14265
14266 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
14267
14268 * faces.el (describe-face): Add distant-foreground.
14269
14270 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
14271
14272 * progmodes/ruby-mode.el: Improve encoding comment handling.
14273 (ruby-encoding-magic-comment-style): New option.
14274 (ruby-custom-encoding-magic-comment-template): New option.
14275 (ruby--insert-coding-comment, ruby--detect-encoding):
14276 New functions extracted from `ruby-mode-set-encoding'.
14277 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14278 to control the style of the auto-inserted encoding comment.
14279
14280 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14281
14282 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14283 Use `smie-backward-sexp' with token argument.
14284
14285 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
14286
14287 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14288 Remove instrumentation code.
14289
14290 2013-11-08 Glenn Morris <rgm@gnu.org>
14291
14292 * progmodes/autoconf.el (autoconf-mode):
14293 Tweak comment-start-skip. (Bug#15822)
14294
14295 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14296
14297 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
14298 at bobp (bug#15826).
14299 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
14300
14301 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
14302
14303 * man.el (Man-start-calling): New macro, extracted from
14304 Man-getpage-in-background.
14305 (Man-getpage-in-background): Use it.
14306 (Man-update-manpage): New command.
14307 (Man-mode-map): Bind it.
14308
14309 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14310
14311 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
14312 of "and", "or", "&&" and "||".
14313 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14314 argument. Prohibit opening curly brace because it could only be a
14315 block opener in that position.
14316 (ruby-smie--forward-token, ruby-smie--backward-token):
14317 Separate "|" from "&" or "*" going after it. That can happen in block
14318 arguments.
14319 (ruby-smie--indent-to-stmt): New function, seeks the end of
14320 previous statement or beginning of buffer.
14321 (ruby-smie-rules): Use it.
14322 (ruby-smie-rules): Check if there's a ":" before a curly block
14323 opener candidate; if there is, it's a hash.
14324
14325 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14326
14327 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
14328 (cl--block-wrapper): Fix last accidental change.
14329
14330 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
14331
14332 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14333 Instrument, in order to hunt failure on hydra.
14334
14335 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14336
14337 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
14338 malformed bindings form (bug#15814).
14339
14340 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
14341
14342 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
14343 "." compared to " @ ". This incidentally fixes some indentation
14344 examples with "do".
14345 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
14346 (ruby-smie-grammar): New tokens: "and" and "or".
14347 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
14348 Exclude "and" and "or". Remove "do" in order to work around token
14349 priorities.
14350 (ruby-smie-rules): Add all infix tokens. Handle the case of
14351 beginning-of-buffer.
14352
14353 2013-11-06 Glenn Morris <rgm@gnu.org>
14354
14355 * Makefile.in (setwins_almost, setwins_for_subdirs):
14356 Avoid accidental matches.
14357
14358 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14359
14360 * menu-bar.el (popup-menu): Use key-binding.
14361
14362 2013-11-06 Eli Zaretskii <eliz@gnu.org>
14363
14364 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
14365 menus, support also the menus produced by minor modes.
14366 (Bug#15817)
14367
14368 2013-11-06 Leo Liu <sdl.web@gmail.com>
14369
14370 * thingatpt.el (thing-at-point-looking-at): Add optional arg
14371 DISTANCE to bound the search. All uses changed. (Bug#15808)
14372
14373 2013-11-06 Glenn Morris <rgm@gnu.org>
14374
14375 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
14376 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
14377 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
14378
14379 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14380
14381 * electric.el (electric-indent-just-newline): New command.
14382 (electric-indent-mode-map): New keymap.
14383 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
14384 Re-add :group which weren't redundant.
14385
14386 * electric.el (electric-indent-local-mode): New minor mode.
14387 (electric-indent-functions-without-reindent): New var.
14388 (electric-indent-post-self-insert-function): Use it.
14389 * emacs-lisp/gv.el (buffer-local-value): Add setter.
14390
14391 2013-11-05 Eli Zaretskii <eliz@gnu.org>
14392
14393 * international/quail.el (quail-help): Be more explicit about the
14394 meaning of the labels shown on the keys. (Bug#15800)
14395
14396 * startup.el (normal-top-level): Load the subdirs.el files before
14397 setting the locale environment. (Bug#15805)
14398
14399 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
14402 via arguments so as to get the right ones (bug#15418).
14403
14404 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
14405
14406 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
14407
14408 Fix problems found while writing a test suite.
14409
14410 * net/tramp-compat.el (tramp-compat-load): New defun.
14411 * net/tramp.el (tramp-handle-load): Use it.
14412
14413 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
14414 "(numberp ok-if-already-exists)" correctly.
14415
14416 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
14417
14418 * international/characters.el (glyphless-char-display-control):
14419 Add usage note.
14420
14421 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
14422
14423 * progmodes/python.el (python-mode):
14424 * progmodes/scheme.el (scheme-mode):
14425 * progmodes/prolog.el (prolog-mode):
14426 * progmodes/ruby-mode.el (ruby-mode):
14427 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
14428 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
14429
14430 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * rect.el (rectangle--highlight-for-redisplay):
14433 * emacs-lisp/smie.el (smie--next-indent-change):
14434 Use buffer-chars-modified-tick.
14435
14436 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
14437
14438 * electric.el (electric-indent-post-self-insert-function):
14439 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
14440
14441 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
14442
14443 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
14444
14445 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14446
14447 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
14448 (bug#15786).
14449
14450 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14451
14452 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
14453
14454 * progmodes/python.el: Fix up last change.
14455 (python-shell--save-temp-file): New function.
14456 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
14457 `string' comes from the current buffer.
14458 (python-shell-send-string-no-output): Remove `msg' arg.
14459 (python--use-fake-loc): New var.
14460 (python-shell-buffer-substring): Obey it. Try to compensate for the
14461 extra coding line added by python-shell--save-temp-file.
14462 (python-shell-send-region): Use python-shell--save-temp-file and
14463 python-shell-send-file directly. Add `nomain' argument.
14464 (python-shell-send-buffer): Use python-shell-send-region.
14465 (python-electric-pair-string-delimiter): New function.
14466 (python-mode): Use it.
14467
14468 2013-11-04 Eli Zaretskii <eliz@gnu.org>
14469
14470 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
14471 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
14472 environment and decoding all of the default-directory's to here
14473 from command-line.
14474 (command-line): Decode also argv[0].
14475
14476 * loadup.el: Error out if default-directory is a multibyte string
14477 when we are dumping.
14478
14479 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
14480
14481 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
14482
14483 * emacs-lisp/package.el (package-menu-mode)
14484 (package-menu--print-info, package-menu--archive-predicate):
14485 Add Archive column to package list.
14486
14487 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
14488
14489 Fix problems found while writing a test suite.
14490
14491 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
14492 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
14493 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14494 to nil when running original file name handler. Otherwise,
14495 there are problems with constructs like "$$FOO".
14496
14497 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
14498 for `localname'.
14499
14500 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
14501
14502 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
14503
14504 * subr.el (version<, version<=, version=):
14505 Update docstrings with information for snapshot versions.
14506
14507 * helpers.el: New library for misc helper functions.
14508 (hash-table-keys): New function returning a list of hash keys.
14509 (hash-table-values): New function returning a list of hash values.
14510
14511 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
14512
14513 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14514 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
14515
14516 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
14517
14518 * textmodes/fill.el (fill-single-char-nobreak-p): New function
14519 checking whether point is after a 1-letter word.
14520
14521 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14522
14523 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
14524 Don't infloop when expanding region over `multiline' syntax-type that
14525 begins a line (bug#15778).
14526
14527 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14528
14529 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
14530 Make it into a proper minor mode.
14531 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
14532 (rectangle-mark-mode-map): New keymap.
14533 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
14534
14535 2013-11-04 Glenn Morris <rgm@gnu.org>
14536
14537 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
14538
14539 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
14542 (ruby-smie-rules): Use smie-rule-parent instead.
14543
14544 * emacs-lisp/smie.el (smie-rule-parent): Always call
14545 smie-indent-virtual rather than only for hanging tokens.
14546 (smie--next-indent-change): New helper command.
14547
14548 2013-11-03 Glenn Morris <rgm@gnu.org>
14549
14550 * Makefile.in (abs_srcdir): Remove.
14551 (emacs): Unset EMACSLOADPATH.
14552
14553 2013-11-02 Glenn Morris <rgm@gnu.org>
14554
14555 * Makefile.in (EMACS): Use a relative filename.
14556 (abs_top_builddir): Remove.
14557 (custom-deps, finder-data, autoloads): Use --chdir.
14558
14559 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
14560
14561 Use relative filenames in TAGS files.
14562 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14563 (lisptagsfiles4, TAGS): Use relative file names.
14564 (TAGS-LISP): Remove.
14565 (maintainer-clean): No more TAGS-LISP file.
14566
14567 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14568 (lisptagsfiles4): Use absolute filenames again.
14569 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14570 Remove all *loaddefs files, not just the first. Remove esh-groups.
14571 (maintainer-clean): Delete TAGS, TAGS-LISP.
14572
14573 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14574
14575 * emacs-lisp/package.el (package-version-join):
14576 Recognize snapshot versions.
14577
14578 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14579
14580 * subr.el (version-regexp-alist): Add support for snapshot versions.
14581
14582 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14583
14584 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
14585 New function, replacement for `smie-rule-parent' for when we want to
14586 skip over our direct parent if it's an assignment token..
14587 (ruby-smie-rules): Use it.
14588
14589 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14590
14591 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
14592 unconditionally. Remove now unnecessary forward declarations.
14593 Remove XEmacs-specific setup.
14594 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
14595 (ruby-font-lock-syntactic-keywords)
14596 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
14597 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
14598 (ruby-here-doc-end-syntax): Remove.
14599 (ruby-mode): Don't check whether `syntax-propertize-rules' is
14600 defined as function.
14601
14602 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14603
14604 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
14605
14606 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14607
14608 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
14609 table and abbrev table, `define-derived-mode' does that for us
14610 anyway.
14611
14612 2013-11-01 Glenn Morris <rgm@gnu.org>
14613
14614 * Makefile.in: Remove manual mh-e dependencies (writing .elc
14615 files is atomic for some time, so no parallel compilation issues).
14616
14617 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
14618
14619 * faces.el (face-x-resources): Add :distant-foreground.
14620 (region): Use :distant-foreground for gtk and ns.
14621
14622 2013-11-01 Tassilo Horn <tsdh@gnu.org>
14623
14624 Allow multiple bibliographies when BibLaTeX is used rather than
14625 BibTeX.
14626 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
14627 (reftex-locate-bibliography-files): Us it.
14628
14629 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
14630
14631 * image.el (image-type-header-regexps): Fix the 'pbm' part to
14632 allow comments in pbm files.
14633
14634 * term/w32-win.el (dynamic-library-alist): Support newer versions
14635 of libjpeg starting with v7: look only for the DLL from the
14636 version against which Emacs was built.
14637 Support versions of libpng beyond 1.4.x.
14638 Support libtiff v4.x.
14639
14640 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14641
14642 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
14643 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
14644 Add property :safe.
14645 (ruby-deep-arglist): Add property :type.
14646
14647 2013-10-31 Glenn Morris <rgm@gnu.org>
14648
14649 * Makefile.in (custom-deps, finder-data): No need to setq the target
14650 variables, we are in the right directory and the defaults work fine.
14651
14652 2013-10-30 Glenn Morris <rgm@gnu.org>
14653
14654 * Makefile.in (autoloads): Do not use abs_lisp.
14655
14656 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14657 `newline' does not respect `standard-output', so use `princ'.
14658
14659 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
14660
14661 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
14662 * buff-menu.el (Buffer-menu--unmark): New function.
14663 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14664
14665 2013-10-30 Glenn Morris <rgm@gnu.org>
14666
14667 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
14668
14669 * emacs-lisp/package.el (lm-homepage): Declare.
14670
14671 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
14672 Fix doc typos.
14673
14674 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
14675
14676 * Makefile.in (finder-data, autoloads, update-subdirs)
14677 (compile-main, compile-clean, compile-always, bootstrap-clean):
14678 Check return value of cd.
14679 (compile-calc): Remove.
14680
14681 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14682
14683 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
14684
14685 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
14686 (byte-compile-and-folded): New function.
14687 (=, <, >, <=, >=): Use it.
14688
14689 * dos-w32.el (minibuffer-history-case-insensitive-variables)
14690 (path-separator, null-device, buffer-file-coding-system)
14691 (lpr-headers-switches): Check system-type before modifying them.
14692 (find-buffer-file-type-coding-system): Mark obsolete.
14693 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
14694 find-file-not-found-set-buffer-file-coding-system.
14695 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
14696 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
14697 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
14698 (w32-direct-print-region-helper, w32-direct-print-region-function)
14699 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
14700 * startup.el (normal-top-level-add-subdirs-to-load-path):
14701 * ps-print.el (ps-print-region-function):
14702 * lpr.el (print-region-function): Use new name.
14703
14704 * subr.el (custom-declare-variable-early): Remove function.
14705 (custom-declare-variable-list): Remove var.
14706 (error, user-error): Remove `while' loop.
14707 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
14708 (user-emacs-directory-warning, locate-user-emacs-file):
14709 Move to files.el.
14710 * simple.el (read-quoted-char-radix, read-quoted-char):
14711 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
14712 Move from subr.el.
14713 * custom.el (custom-declare-variable-list): Don't process
14714 custom-declare-variable-list.
14715
14716 * progmodes/python.el (python-shell-get-buffer): New function.
14717 (python-shell-get-process): Use it.
14718 (python-shell-send-string): Always use utf-8 and add a cookie to tell
14719 Python which encoding was used. Don't split-string since we only care
14720 about the first line. Return the temp-file, if applicable.
14721 (python-shell-send-region): Tell compile.el how to turn locations in
14722 the temp-file into locations in the source buffer.
14723
14724 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * subr.el (undefined): Add missing behavior from the C code for
14727 unbound keys.
14728
14729 * rect.el: Use lexical-binding. Add new rectangular region support.
14730 (rectangle-mark): New command.
14731 (rectangle--region): New var.
14732 (deactivate-mark-hook): Reset rectangle--region.
14733 (rectangle--extract-region, rectangle--insert-for-yank)
14734 (rectangle--highlight-for-redisplay)
14735 (rectangle--unhighlight-for-redisplay): New functions.
14736 (region-extract-function, redisplay-unhighlight-region-function)
14737 (redisplay-highlight-region-function): Use them to handle
14738 rectangular region.
14739 * simple.el (region-extract-function): New var.
14740 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
14741 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
14742 (kill-region): Replace obsolete `yank-handler' arg with `region'.
14743 (copy-region-as-kill, kill-ring-save): Add `region' argument.
14744 (redisplay-unhighlight-region-function)
14745 (redisplay-highlight-region-function): New vars.
14746 (redisplay--update-region-highlight): New function.
14747 (pre-redisplay-function): Use it.
14748 (exchange-point-and-mark): Don't deactivate the mark before
14749 reactivate-it anyway.
14750 * comint.el (comint-kill-region): Remove yank-handler argument.
14751 * delsel.el (delete-backward-char, backward-delete-char-untabify)
14752 (delete-char): Remove property, since it's now part of their
14753 default behavior.
14754 (self-insert-iso): Remove property since this command doesn't exist.
14755
14756 * emacs-lisp/package.el (package--download-one-archive)
14757 (describe-package-1): Don't query the user about final newline.
14758
14759 2013-10-29 Daniel Colascione <dancol@dancol.org>
14760
14761 * net/tramp.el (tramp-methods): Document new functionality.
14762 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
14763 tramp-hostname-checker if method provides one instead of scanning
14764 argument list for "%h" to decide hostname acceptability.
14765
14766 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
14767
14768 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14769 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14770 Handle COPY-CONTENTS. (Bug#15737)
14771
14772 2013-10-28 Daiki Ueno <ueno@gnu.org>
14773
14774 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14775 Document that this option has no effect with GnuPG 2.0 (bug#15552).
14776
14777 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
14778
14779 * image.el (defimage, image-load-path): Doc fixes.
14780
14781 2013-10-27 Alan Mackenzie <acm@muc.de>
14782
14783 Indent statements in macros following "##" correctly.
14784 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14785 Modify the "#" arm of a cond form to handle "#" and "##" operators.
14786
14787 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14788
14789 * linum.el (linum-update-window): Fix boundary test (bug#13446).
14790
14791 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
14792
14793 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
14794 after `=' is probably a new expression.
14795
14796 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14797
14798 * man.el (man-imenu-title): New option.
14799 (Man-mode-map): Add menu. (Bug#15722)
14800 (Man-mode): Add imenu to menu.
14801
14802 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
14803
14804 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
14805 specific in what the first arg can be: a non-keyword word,
14806 string/regexp/percent literal opener, opening paren, or unary
14807 operator followed directly by word.
14808
14809 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14810
14811 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
14812 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
14813 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
14814 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
14815 Remove vars, they do not apply any more.
14816 (prolog-mode-abbrev-table): Remove redundant declaration.
14817 (prolog-upper-case-string, prolog-lower-case-string): Remove.
14818 (prolog-use-smie): Remove.
14819 (prolog-smie-rules): Add indentation rule for the if-then-else layout
14820 supported by prolog-electric-if-then-else-flag.
14821 (prolog-mode-variables, prolog-menu): Use setq-local.
14822 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
14823 Remove binding to `Backspace' since this key doesn't exist anyway.
14824 Remove bindings for electric self-inserting keys.
14825 (prog-mode): Assume it's defined.
14826 (prolog-post-self-insert): New function.
14827 (prolog-mode): Use it.
14828 (prolog-indent-line, prolog-indent-level)
14829 (prolog-find-indent-of-matching-paren)
14830 (prolog-indentation-level-of-line, prolog-goto-comment-column)
14831 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
14832 (prolog-goto-next-paren, prolog-in-string-or-comment)
14833 (prolog-tokenize, prolog-inside-mline-comment)
14834 (prolog-find-start-of-mline-comment): Remove functions.
14835 (prolog-find-unmatched-paren, prolog-clause-end)
14836 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
14837 (prolog-electric--if-then-else): Rename from
14838 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
14839 (prolog-tokenize-searchkey): Remove const.
14840 (prolog-clause-info): Use forward-sexp.
14841 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
14842 (prolog-electric-if-then-else): Remove commands.
14843 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
14844 for use in post-self-insert-hook.
14845 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
14846 for use in post-self-insert-hook.
14847 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
14848 for use in post-self-insert-hook.
14849 (prolog-electric--underscore): Rename from prolog-electric--underscore;
14850 adapt it for use in post-self-insert-hook.
14851
14852 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
14853
14854 * emacs-lisp/ert.el (ert-run-tests-interactively):
14855 Use `completing-read'. (Bug#9756)
14856
14857 2013-10-25 Eli Zaretskii <eliz@gnu.org>
14858
14859 * simple.el (line-move): Call line-move-1 instead of
14860 line-move-visual when the current window hscroll is zero, but
14861 temporary-goal-column indicates we will need to hscroll as result
14862 of the movement. (Bug#15712)
14863
14864 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
14865
14866 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
14867 capitalization. Use :visible instead of :active.
14868 Fix `ruby-indent-exp' reference. Add menu items for the generic
14869 commands that are used with SMIE.
14870 (ruby-do-end-to-brace): Insert space after `{'.
14871
14872 2013-10-25 John Anthony <john@jo.hnanthony.com>
14873
14874 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
14875
14876 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
14877
14878 2013-10-25 Glenn Morris <rgm@gnu.org>
14879
14880 * vc/vc.el (vc-print-log): Don't use a working revision unless
14881 one was explicitly specified. (Bug#15322)
14882
14883 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14884
14885 * subr.el (add-to-list): Preserve return value in compiler-macro
14886 (bug#15692).
14887
14888 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14889
14890 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
14891 result. Ask user to retry using '-all' flag. (Bug#15701)
14892
14893 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * emacs-lisp/smie.el: New smie-config system.
14896 (smie-config): New defcustom.
14897 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
14898 (smie-config-guess, smie-config-save): New commands.
14899 (smie-config--mode-local, smie-config--buffer-local)
14900 (smie-config--trace, smie-config--modefuns): New vars.
14901 (smie-config--advice, smie-config--mode-hook)
14902 (smie-config--setter, smie-config-local, smie-config--get-trace)
14903 (smie-config--guess-value, smie-config--guess): New functions.
14904 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
14905 text properties. Treat "string fence" syntax like string syntax.
14906
14907 * progmodes/sh-script.el (sh-use-smie): Change default.
14908 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
14909 (sh-var-value): Simplify by CSE.
14910 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
14911 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
14912 is used.
14913 (sh-guess-basic-offset): Use cl-incf.
14914 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
14915
14916 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
14917
14918 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
14919 (bug#15699).
14920
14921 2013-10-24 Glenn Morris <rgm@gnu.org>
14922
14923 * Makefile.in (abs_top_srcdir): Remove.
14924 (update-subdirs): Use relative path to update-subdirs.
14925
14926 2013-10-24 Eli Zaretskii <eliz@gnu.org>
14927
14928 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
14929 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
14930 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
14931 Call unmsys--file-name before expand-file-name, not after it.
14932
14933 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
14934
14935 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
14936 (ert-test-skipped): New error.
14937 (ert-skip, ert-stats-skipped): New defuns.
14938 (ert--skip-unless): New macro.
14939 (ert-test-skipped): New struct.
14940 (ert--run-test-debugger, ert-test-result-type-p)
14941 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
14942 (ert--stats-set-test-and-result, ert-char-for-test-result)
14943 (ert-string-for-test-result, ert-run-tests-batch)
14944 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
14945 Handle skipped tests. (Bug#9803)
14946
14947 2013-10-24 Glenn Morris <rgm@gnu.org>
14948
14949 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
14950
14951 * Makefile.in (abs_top_srcdir): New, set by configure.
14952 (update-subdirs): Correct build-aux location.
14953
14954 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
14955
14956 * vc/vc.el (vc-print-root-log): Always set `default-directory'
14957 value, whether we could auto-deduce `backend', or not.
14958
14959 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
14960 with parameters" example. Simplify the "is it block or is it
14961 hash" check, but also make it more thorough.
14962
14963 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
14964
14965 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
14966
14967 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14968
14969 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
14970 { if it is hanging.
14971
14972 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
14973 :before ";".
14974
14975 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
14976
14977 * progmodes/compile.el (compilation-directory-matcher)
14978 (compilation-page-delimiter):
14979 Support GNU Make-4.0 directory quoting. (Bug#15678)
14980
14981 2013-10-23 Leo Liu <sdl.web@gmail.com>
14982
14983 * ido.el (ido-tidy): Handle read-only text.
14984
14985 2013-10-23 Glenn Morris <rgm@gnu.org>
14986
14987 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
14988 (emacs, compile, compile-always):
14989 Quote entities that might contain whitespace.
14990 (custom-deps, finder-data, autoloads): Use abs_lisp.
14991 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14992 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14993 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
14994
14995 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
14996
14997 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
14998 Use `following-char'.
14999
15000 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15003 * progmodes/ruby-mode.el (ruby-smie-rules):
15004 Remove corresponding workaround. Fix indentation rule of ";" so it
15005 also applies when ";" is the parent.
15006
15007 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
15008
15009 * frame.el (display-screens, display-pixel-height)
15010 (display-pixel-width, display-mm-width, display-backing-store)
15011 (display-save-under, display-planes, display-color-cells)
15012 (display-visual-class, display-monitor-attributes-list):
15013 Mention the optional ‘display’ argument in doc strings.
15014
15015 2013-10-22 Michael Gauland <mikelygee@amuri.net>
15016
15017 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15018 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
15019
15020 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15021
15022 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15023 TODO. Add "." after " @ ".
15024 (ruby-smie--at-dot-call): New function. Checks if point at method
15025 call with explicit target.
15026 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15027 to the method name tokens when it precedes them.
15028 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15029 (ruby-smie-rules): Add rule for indentation before and after "."
15030 token.
15031
15032 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15033
15034 * textmodes/remember.el (remember-diary-extract-entries):
15035 Avoid add-to-list.
15036
15037 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15038 an instruction.
15039
15040 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15041
15042 * progmodes/ruby-mode.el (ruby-smie-grammar):
15043 Add (almost) all infix operators.
15044 (ruby-smie--implicit-semi-p): Add new operator chars.
15045
15046 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15047 `smie-down-list'.
15048 (ruby-smie--args-separator-p): Check that there's no newline
15049 between method call and its arguments.
15050
15051 2013-10-20 Alan Mackenzie <acm@muc.de>
15052
15053 Allow comma separated lists after Java "implements".
15054
15055 * progmodes/cc-engine.el (c-backward-over-enum-header):
15056 Parse commas.
15057 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15058 from a "disallowed" list in enum fontification.
15059
15060 2013-10-20 Johan Bockgård <bojohan@gnu.org>
15061
15062 * startup.el (default-frame-background-mode): Remove unused defvar.
15063
15064 * progmodes/verilog-mode.el (verilog-mode): Don't set
15065 comment-indent-function globally.
15066
15067 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
15068
15069 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15070 Move Info menu item creation to ns-win.el.
15071
15072 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15073 in menu bar.
15074
15075 * menu-bar.el: Move GNUstep specific menus...
15076
15077 * term/ns-win.el (ns-initialize-window-system): ... to here.
15078
15079 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15080
15081 * simple.el (newline): Only run post-self-insert-hook when
15082 called interactively.
15083
15084 2013-10-19 Johan Bockgård <bojohan@gnu.org>
15085
15086 * icomplete.el (icomplete-with-completion-tables): Add :version.
15087
15088 2013-10-19 Alan Mackenzie <acm@muc.de>
15089
15090 Fix fontification bugs with constructors and const.
15091
15092 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15093 CASE 2) Remove the check for the absence of a suffix construct
15094 after a function declaration with only types (no identifiers) in
15095 the parentheses. Also, accept a function declaration with just a
15096 type inside the parentheses, if this type can be positively
15097 recognised as such, or if a prefix keyword like "explicit" nails
15098 down the construct as a declaration.
15099
15100 2013-10-19 Eli Zaretskii <eliz@gnu.org>
15101
15102 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15103 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
15104 the problem whereby selecting a menu item that leads to a
15105 minibuffer prompt moves the cursor out of the minibuffer window,
15106 making it hard to type at the prompt. Suggested by Stefan Monnier
15107 <monnier@iro.umontreal.ca>.
15108
15109 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
15110
15111 * menu-bar.el: Don't make Services menu.
15112
15113 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15114
15115 * ffap.el: Handle "/usr/include/c++/<version>" directories.
15116 (ffap-alist): Use ffap-c++-mode for c++-mode.
15117 (ffap-c++-path): New variable.
15118 (ffap-c++-mode): New function.
15119
15120 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
15121
15122 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
15123
15124 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
15125
15126 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15127 introduced on 2013-09-08, which results in an infinite loop
15128 requesting a password.
15129
15130 2013-10-18 Glenn Morris <rgm@gnu.org>
15131
15132 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15133
15134 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
15135
15136 Sync with upstream verilog-mode revision 1a6ecec7.
15137 * progmodes/verilog-mode.el (verilog-mode-version): Update.
15138 (verilog-mode-release-date): Remove.
15139 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15140 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15141 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15142 (verilog-auto-tieoff-ignore-regexp)
15143 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15144 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15145 (verilog-signals-with, verilog-dir-cache-preserving)
15146 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15147 Doc fixes.
15148 (verilog-case-fold): New option, to control case folding in
15149 regexp searches, bug597.
15150 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15151 (verilog-string-match-fold, verilog-in-paren-count)
15152 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15153 (verilog-at-close-struct-p): New functions.
15154 (verilog-beg-block-re-ordered, verilog-extended-case-re)
15155 (verilog-forward-sexp, verilog-set-auto-endcomments)
15156 (verilog-leap-to-case-head): Handle "unique0" case.
15157 (verilog-in-constraint-re): New constant.
15158 (verilog-keywords, verilog-type-font-keywords):
15159 Add some SystemVerilog 1800-2012 keywords.
15160 (verilog-label-be): Remove unimplemented argument, bug669.
15161 (verilog-batch-execute-func): When batch expanding clear
15162 create-lockfiles to prevent spurious user locks when a file ends
15163 up not changing.
15164 (verilog-calculate-indent, verilog-calc-1)
15165 (verilog-at-close-constraint-p, verilog-at-constraint-p)
15166 (verilog-do-indent): Fix indentation of nested constraints
15167 and structures.
15168 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15169 (verilog-auto-inst-param): Use verilog-string-match-fold.
15170 (verilog-read-inst-module-matcher):
15171 Fix AUTOINST on gate primitives with #1.
15172 (verilog-read-decls): Fix double-declaring user-defined typed signals.
15173 Reads all user-defined typed variables.
15174 (verilog-read-defines): Fix reading definitions inside comments, bug647.
15175 (verilog-signals-matching-regexp)
15176 (verilog-signals-not-matching-regexp, verilog-auto):
15177 Respect verilog-case-fold.
15178 (verilog-diff-report): Fix line count.
15179 (verilog-auto-assign-modport): Remove unused local `modi'.
15180 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15181 better handle multidimensional arrays.
15182 Fix packed array ports misadding bit index in AUTOINST, bug637.
15183 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15184 to not double-declare existing outputs and inputs, respectively.
15185 (verilog-template-map): Bind U to verilog-sk-uvm-component.
15186 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15187 (verilog-sk-uvm-component): New skeleton.
15188 (verilog-submit-bug-report): Add verilog-case-fold,
15189 remove verilog-mode-release-date.
15190
15191 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
15192
15193 * subr.el (sit-for): Call (input-pending-p t) so as to behave
15194 as before.
15195
15196 2013-10-18 Reuben Thomas <rrt@sc3d.org>
15197
15198 * textmodes/remember.el (remember): Set buffer-offer-save in
15199 remember buffers (bug#13566).
15200
15201 2013-10-18 Daniel Colascione <dancol@dancol.org>
15202
15203 When evaluating forms in ielm, direct standard output to ielm
15204 buffer. Add new ielm-return-for-effect command. Remove trailing
15205 whitespace throughout.
15206
15207 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15208 (ielm-return-for-effect): New command.
15209 (ielm-send-input): Accept optional `for-effect' parameter.
15210 (ielm-eval-input): Accept optional `for-effect' parameter.
15211 Bind `standard-output' to stream we create using
15212 `ielm-standard-output-impl'. Suppress printing result when
15213 `for-effect'.
15214 (ielm-standard-output-impl): New function.
15215 (inferior-emacs-lisp-mode): Explain new features in documentation.
15216
15217 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
15218
15219 Code cleanup.
15220
15221 * net/tramp.el (tramp-debug-message): Do not check for connection
15222 buffer.
15223 (tramp-message): Use "vector" connection property.
15224
15225 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15226 (tramp-equal-remote, tramp-eshell-directory-change)
15227 * net/tramp-adb.el (tramp-adb-handle-copy-file)
15228 (tramp-adb-handle-rename-file)
15229 * net/tramp-cmds.el (tramp-list-remote-buffers)
15230 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15231 * net/tramp-compat.el (tramp-compat-process-running-p)
15232 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15233 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15234 (tramp-gvfs-handle-rename-file)
15235 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15236 (tramp-set-file-uid-gid)
15237 * net/tramp-smb.el (tramp-smb-handle-copy-file)
15238 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15239 of `file-remote-p'.
15240
15241 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15242 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15243 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15244 (tramp-gw-open-network-stream): Suppress unrelated traces.
15245
15246 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15247 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15249 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15250 connection property.
15251
15252 * net/tramp-cache.el (top): Suppress traces when reading
15253 persistency file.
15254
15255 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15256 Refactor common code. Improve debug message.
15257 (tramp-maybe-open-connection)
15258 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15259 connection buffer too early.
15260
15261 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15262 from `tramp-smb-actions-with-acl'.
15263 (tramp-smb-actions-set-acl): New defconst.
15264 (tramp-smb-handle-copy-directory)
15265 (tramp-smb-action-get-acl): New defun, renamed from
15266 `tramp-smb-action-with-acl'.
15267 (tramp-smb-action-set-acl): New defun.
15268 (tramp-smb-handle-set-file-acl): Rewrite.
15269
15270 2013-10-17 Glenn Morris <rgm@gnu.org>
15271
15272 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
15273
15274 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15275
15276 * skeleton.el (skeleton-newline): Remove.
15277 (skeleton-internal-1): Use (insert "\n") instead.
15278
15279 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15280 let-bindings.
15281
15282 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15283 forward-sexp-function while we redo its job (bug#15613).
15284
15285 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
15286
15287 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15288 represented by lists.
15289
15290 2013-10-16 Glenn Morris <rgm@gnu.org>
15291
15292 * tmm.el (tmm--history): New dynamic variable.
15293 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
15294
15295 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
15296
15297 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
15298 (tramp-smb-errors): Add error messages.
15299 (tramp-smb-actions-with-acl): New defconst.
15300 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
15301 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
15302 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
15303 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
15304 (tramp-smb-get-stat-capability): Fix tests.
15305
15306 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
15307
15308 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
15309 (bug#15580).
15310
15311 2013-10-16 Glenn Morris <rgm@gnu.org>
15312
15313 * ansi-color.el (ansi-color-drop-regexp):
15314 Add 1J, 1K, 2K. (Bug#15617)
15315
15316 * files.el (hack-local-variables--warned-lexical): New.
15317 (hack-local-variables):
15318 Warn about misplaced lexical-binding. (Bug#15616)
15319
15320 * net/eww.el (eww-render): Always set eww-current-url,
15321 and update header line. (Bug#15622)
15322 (eww-display-html): ... Rather than just doing it here.
15323
15324 2013-10-15 Eli Zaretskii <eliz@gnu.org>
15325
15326 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
15327 menu navigations commands.
15328
15329 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
15330
15331 * progmodes/subword.el (subword-capitalize): Be careful when
15332 the search for [[:alpha:]] fails (bug#15580).
15333
15334 2013-10-14 Eli Zaretskii <eliz@gnu.org>
15335
15336 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
15337 to commands that scroll the menu.
15338
15339 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
15340
15341 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
15342 Handle methods ending with `?' and `!'.
15343
15344 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
15345
15346 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
15347 `japanese-cp932' to `cp932' to fix the problem where saving a
15348 source file written in Shift_JIS twice would end up having
15349 `coding: japanese-cp932' which Ruby could not recognize.
15350 (ruby-mode-set-encoding): Add support for encodings mapped to nil
15351 in `ruby-encoding-map'.
15352 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
15353 doesn't need to be explicitly declared in magic comment.
15354 (ruby-encoding-map): Add type declaration for better customize UI.
15355
15356 2013-10-13 Glenn Morris <rgm@gnu.org>
15357
15358 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
15359 Occur buffers are read-only. http://bugs.debian.org/720775
15360
15361 * emacs-lisp/authors.el (authors-fixed-entries):
15362 Comment out old alpha stuff.
15363
15364 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
15365
15366 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
15367 to `after-save-hook' instead of `before-save-hook'.
15368 (ruby-mode-set-encoding): Use the value of coding system used to
15369 write the file. Call `basic-save-buffer-1' after modifying the
15370 buffer.
15371
15372 2013-10-13 Alan Mackenzie <acm@muc.de>
15373
15374 Fix indentation/fontification of Java enum with
15375 "implements"/generic.
15376
15377 * progmodes/cc-engine.el (c-backward-over-enum-header):
15378 Extracted from the three other places and enhanced to handle generics.
15379 (c-inside-bracelist-p): Uses new function above.
15380 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
15381 function above.
15382 (c-font-lock-enum-tail): Uses new function above.
15383
15384 2013-10-13 Kenichi Handa <handa@gnu.org>
15385
15386 * international/mule-cmds.el (select-safe-coding-system): Remove a
15387 superfluous condition in chekcing whether a coding system is safe
15388 or not.
15389
15390 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
15391
15392 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
15393
15394 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
15395
15396 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
15397
15398 2013-10-13 Glenn Morris <rgm@gnu.org>
15399
15400 * menu-bar.el (menu-bar-update-buffers):
15401 Unify Buffers menu prompt string. (Bug#15576)
15402
15403 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
15404
15405 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
15406 Add some entries.
15407 (authors-fixed-entries): Use accented form of name.
15408
15409 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15410
15411 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
15412 method calls (bug#15594).
15413 (ruby-smie--args-separator-p): New function.
15414 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
15415 recognize paren-free method calls.
15416
15417 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
15418 internals of universal-argument.
15419
15420 2013-10-11 Eli Zaretskii <eliz@gnu.org>
15421
15422 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
15423 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
15424 dropped menu on second mouse click on the menu bar.
15425
15426 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
15429 (explicit-shell-file-name): Declare.
15430 (sh--vars-before-point, sh--cmd-completion-table): New functions.
15431 (sh-completion-at-point-function): New function.
15432 (sh-mode): Use it.
15433 (sh-smie--keyword-p): Remove unused argument.
15434 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
15435 vars.
15436 (sh-set-shell): Always setup SMIE, even if we use the
15437 old indentation code.
15438
15439 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
15440
15441 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
15442 cases of ? and =.
15443 (ruby-smie-rules): Simplify the "do" rule. The cases when the
15444 predicate would return nil are almost non-existent.
15445 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
15446
15447 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
15448 cache also after commands that modify the buffer but don't move
15449 point.
15450
15451 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15452
15453 * env.el (substitute-env-in-file-name): New function.
15454 (substitute-env-vars): Extend the meaning of the optional arg.
15455
15456 2013-10-10 Eli Zaretskii <eliz@gnu.org>
15457
15458 * term/w32-win.el (dynamic-library-alist): Define separate lists
15459 of GIF DLLs for versions before and after 5.0.0 of giflib.
15460 (Bug#15531)
15461
15462 2013-10-10 João Távora <joaotavora@gmail.com>
15463
15464 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
15465 not locked, use last revision and current source as
15466 defaults. (Bug#15569)
15467
15468 2013-10-10 Masatake YAMATO <yamato@redhat.com>
15469
15470 * menu-bar.el (menu-bar-open): Don't use popup-menu if
15471 menu-bar is hidden.
15472
15473 2013-10-10 Martin Rudalics <rudalics@gmx.at>
15474
15475 * window.el (pop-to-buffer-same-window): Fix doc-string.
15476 (Bug#15492)
15477
15478 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
15481
15482 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
15483
15484 * calendar/icalendar.el (icalendar-import-file):
15485 Fix interactive spec. (Bug#15482)
15486
15487 2013-10-10 Glenn Morris <rgm@gnu.org>
15488
15489 * desktop.el (desktop-save): Default to saving in .emacs.d,
15490 since PWD is no longer in desktop-path by default. (Bug#15319)
15491
15492 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
15493 now that text mode has a menu with the same entry.
15494 (menu-bar-text-mode-auto-fill): Remove now unused func.
15495 * textmodes/text-mode.el (text-mode-map):
15496 Use auto-fill help text from menu-bar.el.
15497
15498 2013-10-10 John Anthony <john@jo.hnanthony.com>
15499
15500 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
15501
15502 2013-10-09 Juri Linkov <juri@jurta.org>
15503
15504 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
15505 instead of this-command-keys. Add universal-argument-more and
15506 universal-argument-minus to the list of prefix commands. (Bug#15568)
15507
15508 2013-10-09 Glenn Morris <rgm@gnu.org>
15509
15510 * vc/vc-svn.el (vc-svn-create-repo):
15511 Expand paths in file://... url. (Bug#15446)
15512
15513 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
15514 Add some entries.
15515 (authors): Remove unused local variables.
15516
15517 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
15518
15519 * profiler.el: Create a more coherent calltree from partial backtraces.
15520 (profiler-format): Hide the tail with `invisible' so that C-s can still
15521 find the hidden elements.
15522 (profiler-calltree-depth): Don't recurse so enthusiastically.
15523 (profiler-function-equal): New hash-table-test.
15524 (profiler-calltree-build-unified): New function.
15525 (profiler-calltree-build): Use it.
15526 (profiler-report-make-name-part): Indent the calltree less.
15527 (profiler-report-mode): Add visibility specs for profiler-format.
15528 (profiler-report-expand-entry, profiler-report-toggle-entry):
15529 Expand the whole subtree when provided with a prefix arg.
15530
15531 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
15532
15533 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
15534 iuwu-mod token.
15535 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
15536 hanging iuwu-mod token.
15537 (ruby-smie--forward-token): Do not include a dot after a token in
15538 that token.
15539 (ruby-smie--backward-token): Likewise.
15540
15541 2013-10-08 Juri Linkov <juri@jurta.org>
15542
15543 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
15544 to isearch-other-control-char.
15545 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
15546 and isearch-post-command-hook to post-command-hook.
15547 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
15548 and isearch-post-command-hook from post-command-hook.
15549 (isearch-unread-key-sequence)
15550 (isearch-reread-key-sequence-naturally)
15551 (isearch-lookup-scroll-key, isearch-other-control-char)
15552 (isearch-other-meta-char): Remove functions.
15553 (isearch-pre-command-hook, isearch-post-command-hook):
15554 New functions based on isearch-other-meta-char rewritten
15555 relying on the new behavior of overriding-terminal-local-map
15556 that does not replace the local keymaps any more. (Bug#15200)
15557
15558 2013-10-08 Eli Zaretskii <eliz@gnu.org>
15559
15560 Support menus on text-mode terminals.
15561 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
15562 functionality.
15563
15564 * tooltip.el (tooltip-mode): Don't error out on TTYs.
15565
15566 * menu-bar.el (popup-menu, popup-menu-normalize-position):
15567 Move here from mouse.el.
15568 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
15569 and arrow keys.
15570 (tty-menu-navigation-map): New map for TTY menu navigation.
15571
15572 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
15573
15574 * frame.el (display-mouse-p): Report text-mode mouse as available
15575 on w32.
15576 (display-popup-menus-p): Report availability if mouse is
15577 available; don't condition on window-system.
15578
15579 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
15580 (tty-menu-selected-face): New faces.
15581
15582 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15583
15584 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
15585 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
15586 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
15587 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
15588 New constants.
15589 (lisp-mode-variables): New `elisp' argument.
15590 (emacs-lisp-mode): Use it.
15591 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
15592 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
15593
15594 * indent.el: Use lexical-binding.
15595 (indent-region): Add progress reporter.
15596 (tab-stop-list): Make it implicitly extend to infinity by repeating the
15597 last step.
15598 (indent--next-tab-stop): New function to implement this behavior.
15599 (tab-to-tab-stop, move-to-tab-stop): Use it.
15600
15601 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
15602
15603 * indent.el (indent-rigidly--current-indentation): New function.
15604 (indent-rigidly-map): New var.
15605 (indent-rigidly): Use it to provide interactive mode (bug#8196).
15606
15607 2013-10-08 Bastien Guerry <bzg@gnu.org>
15608
15609 * register.el (insert-register): Fix 2013-10-07 change.
15610
15611 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15612
15613 * progmodes/perl-mode.el: Use lexical-binding.
15614 Remove redundant :group args.
15615 (perl-nochange): Change default to be closer to other major modes's
15616 standard behavior.
15617 (perl-indent-line): Don't consider text on current line as a
15618 valid beginning of function from which to indent.
15619
15620 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
15621 with more than one argument (bug#15538).
15622
15623 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
15624
15625 * vc/pcvs.el: Use lexical-binding.
15626 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
15627 environment of `eval'.
15628 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
15629 than a list of expressions. Adjust callers.
15630 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
15631
15632 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
15633
15634 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
15635 case of the dot in a chained method call being on the following line.
15636
15637 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15638
15639 * electric.el (electric-indent-inhibit): New var.
15640 (electric-indent-post-self-insert-function): Use it.
15641 * progmodes/python.el (python-mode): Set it.
15642
15643 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
15644 open braces.
15645
15646 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
15647
15648 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
15649 (css-mode): Use electric-indent-chars.
15650
15651 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
15652 (font-lock-beg, font-lock-end): Move before first use.
15653 (nxml-mode): Use syntax-propertize-function.
15654 (nxml-after-change, nxml-after-change1): Adjust accordingly.
15655 (nxml-extend-after-change-region): Remove.
15656 * nxml/xmltok.el: Use lexical-binding.
15657 (xmltok-save): Use `declare'.
15658 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
15659 * nxml/nxml-util.el: Use lexical-binding.
15660 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
15661 Use `declare'.
15662 * nxml/nxml-ns.el: Use lexical-binding.
15663 (nxml-ns-save): Use `declare'.
15664 (nxml-ns-prefixes-for): Avoid add-to-list.
15665 * nxml/rng-match.el: Use lexical-binding.
15666 (rng--ipattern): Use cl-defstruct.
15667 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
15668 (rng-cons-group-after, rng-subst-group-after)
15669 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
15670 Use closures instead of `(lambda...).
15671
15672 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
15673
15674 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
15675 of BEG and END.
15676
15677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15678 Use `tramp-handle-insert-file-contents'.
15679 (tramp-gvfs-handle-insert-file-contents): Remove function.
15680
15681 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15682 Use `save-restriction' in order to keep markers.
15683
15684 * net/trampver.el: Update release number.
15685
15686 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15687
15688 * progmodes/compile.el (compilation-parse-errors):
15689 Use compilation--put-prop.
15690 (compilation--ensure-parse): Check compilation-multiline.
15691
15692 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
15693
15694 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
15695 lexical-binding.
15696
15697 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
15698
15699 * progmodes/ruby-mode.el: Fix recently added tests.
15700 (ruby-smie-grammar): Add - and +.
15701 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
15702 (ruby-smie--backward-id): New functions.
15703 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
15704 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
15705 any more.
15706
15707 2013-10-07 Leo Liu <sdl.web@gmail.com>
15708
15709 * register.el (register-preview-delay)
15710 (register-preview-functions): New variables.
15711 (register-read-with-preview, register-preview)
15712 (register-describe-oneline): New functions.
15713 (point-to-register, window-configuration-to-register)
15714 (frame-configuration-to-register, jump-to-register)
15715 (number-to-register, view-register, insert-register)
15716 (copy-to-register, append-to-register, prepend-to-register)
15717 (copy-rectangle-to-register): Use register-read-with-preview to
15718 read register. (Bug#15525)
15719
15720 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
15721
15722 * net/network-stream.el (network-stream-open-starttls): Don't add
15723 --insecure if it's already present, because that gnutls-cli
15724 rejects getting that parameter twice.
15725
15726 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
15727
15728 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
15729 keyword, too.
15730
15731 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
15732
15733 * newcomment.el (comment-use-global-state): Change default value
15734 to t, mark obsolete (Bug#15251).
15735 (comment-beginning): In addition to `comment-to-syntax', check the
15736 value of `comment-use-global-state'.
15737
15738 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15739
15740 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
15741 (ruby-comment-column): Follow the global default, by default.
15742 (ruby-smie-grammar): Add assignment syntax.
15743 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
15744 open-paren, a comma, or a \.
15745 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
15746 and line continuations.
15747 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
15748 followed by implicit semi-colons. Add rule for string concatenation
15749 and for indentation at BOB.
15750 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
15751
15752 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
15753 calling next-sexp, since next-token may have skipped chars which
15754 next-sexp doesn't know should be skipped!
15755
15756 2013-10-05 Leo Liu <sdl.web@gmail.com>
15757
15758 * progmodes/octave.el (octave-send-region):
15759 Call compilation-forget-errors.
15760
15761 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15762
15763 * vc/vc-svn.el (vc-svn-find-admin-dir):
15764 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
15765 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
15766 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
15767 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
15768
15769 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
15772
15773 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * subr.el (read-passwd): Hide chars even when called within a context
15776 where after-change-functions is disabled (bug#15501).
15777 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
15778 until we removed ourself from overriding-terminal-local-map.
15779
15780 2013-10-04 Leo Liu <sdl.web@gmail.com>
15781
15782 * progmodes/octave.el (inferior-octave-mode):
15783 Call compilation-forget-errors.
15784
15785 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15786
15787 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
15788
15789 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
15790
15791 * net/secrets.el (secrets-create-collection): Add optional
15792 argument ALIAS. Use proper Label keyword. Append ALIAS as
15793 dbus-call-method argument. (Bug#15516)
15794
15795 2013-10-04 Leo Liu <sdl.web@gmail.com>
15796
15797 * progmodes/octave.el (inferior-octave-error-regexp-alist)
15798 (inferior-octave-compilation-font-lock-keywords): New variables.
15799 (compilation-error-regexp-alist)
15800 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
15801 (inferior-octave-mode): Use compilation-shell-minor-mode.
15802
15803 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
15804
15805 * minibuffer.el (completion--replace): Be careful that `end' might be
15806 a marker.
15807
15808 2013-10-03 Daiki Ueno <ueno@gnu.org>
15809
15810 Add support for package signature checking.
15811 * emacs-lisp/package.el (url-http-file-exists-p)
15812 (epg-make-context, epg-context-set-home-directory)
15813 (epg-verify-string, epg-context-result-for)
15814 (epg-signature-status, epg-signature-to-string)
15815 (epg-check-configuration, epg-configuration)
15816 (epg-import-keys-from-file): Declare.
15817 (package-check-signature): New user option.
15818 (package-unsigned-archives): New user option.
15819 (package-desc): Add `signed' field.
15820 (package-load-descriptor): Set `signed' field if .signed file exists.
15821 (package--archive-file-exists-p): New function.
15822 (package--check-signature): New function.
15823 (package-install-from-archive): Check package signature.
15824 (package--download-one-archive): Check archive signature.
15825 (package-delete): Remove .signed file.
15826 (package-import-keyring): New command.
15827 (package-refresh-contents): Import default keyring.
15828 (package-desc-status): Add "unsigned" status.
15829 (describe-package-1, package-menu--print-info)
15830 (package-menu-mark-delete, package-menu--find-upgrades)
15831 (package-menu--status-predicate): Support "unsigned" status.
15832
15833 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15834
15835 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
15836 the new compilation scheme using the new byte-codes.
15837
15838 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
15839 (byte-pophandler): New byte codes.
15840 (byte-goto-ops): Adjust accordingly.
15841 (byte-compile--use-old-handlers): New var.
15842 (byte-compile-catch): Use new byte codes depending on
15843 byte-compile--use-old-handlers.
15844 (byte-compile-condition-case--old): Rename from
15845 byte-compile-condition-case.
15846 (byte-compile-condition-case--new): New function.
15847 (byte-compile-condition-case): New function that dispatches depending
15848 on byte-compile--use-old-handlers.
15849 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
15850 when we can.
15851
15852 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
15853 Optimize under `condition-case' and `catch' if
15854 byte-compile--use-old-handlers is nil.
15855 (disassemble-offset): Handle new bytecodes.
15856
15857 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15858
15859 * subr.el (error): Use `declare'.
15860 (decode-char, encode-char): Use advertised-calling-convention instead
15861 of the docstring to discourage use of the `restriction' arg.
15862
15863 2013-10-03 Daiki Ueno <ueno@gnu.org>
15864
15865 * epg.el (epg-verify-file): Add a comment saying that it does not
15866 notify verification error as a return value nor a signal.
15867 (epg-verify-string): Ditto.
15868
15869 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15870
15871 * progmodes/compile.el (compilation-start): Try globbing the arg to
15872 `cd' (bug#15417).
15873
15874 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
15875
15876 Sync with Tramp 2.2.8.
15877
15878 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
15879 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
15880 * net/trampver.el: Update release number.
15881
15882 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
15883
15884 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
15885 and default-process-coding-system for darwin only.
15886
15887 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
15890
15891 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
15892
15893 * vc/vc-git.el (vc-git-grep): Disable pager.
15894
15895 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
15896
15897 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
15898 Use :url instead of :homepage, as per
15899 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
15900
15901 * newcomment.el (comment-beginning): When `comment-use-syntax' is
15902 non-nil, use `syntax-ppss' (Bug#15251).
15903
15904 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15905
15906 * progmodes/octave.el (inferior-octave-startup-file):
15907 Prefer ~/.emacs.d/init_octave.m.
15908
15909 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
15910
15911 * emacs-lisp/package.el (package-desc-from-define):
15912 Accept additional arguments as plist, convert them to an alist and store
15913 them in the `extras' slot.
15914 (package-generate-description-file): Convert extras alist back to
15915 plist and append to the `define-package' form arguments.
15916 (package--alist-to-plist): New function.
15917 (package--ac-desc): Add `extras' slot.
15918 (package--add-to-archive-contents): Check if the archive-contents
15919 vector is long enough, and if it is, pass its `extras' slot value
15920 to `package-desc-create'.
15921 (package-buffer-info): Call `lm-homepage', pass the returned value
15922 to `package-desc-from-define'.
15923 (describe-package-1): Render the homepage button (Bug#13291).
15924
15925 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15926 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
15927
15928 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
15929
15930 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
15931 and default-process-coding-system to utf-8-unix (Bug#15402).
15932
15933 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
15934
15935 * subr.el (looking-back): Do not recommend using looking-back.
15936
15937 2013-09-28 Alan Mackenzie <acm@muc.de>
15938
15939 Fix indentation/fontification of Java enum with "implements".
15940
15941 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
15942 regexp which matches "implements", etc., in Java.
15943 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
15944 specifier clauses coming after "enum".
15945 * progmodes/cc-fonts.el (c-font-lock-declarations)
15946 (c-font-lock-enum-tail): Check for extra specifier clauses coming
15947 after "enum".
15948
15949 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
15950
15951 * faces.el (region): Change ns_selection_color to
15952 ns_selection_fg_color, add ns_selection_bg_color.
15953
15954 2013-09-28 Leo Liu <sdl.web@gmail.com>
15955
15956 * progmodes/octave.el (inferior-octave-completion-table)
15957 (inferior-octave-completion-at-point): Minor tweaks.
15958
15959 * textmodes/ispell.el (ispell-lookup-words): Rename from
15960 lookup-words. (Bug#15460)
15961 (lookup-words): Obsolete.
15962 (ispell-complete-word, ispell-command-loop): All uses changed.
15963
15964 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15965
15966 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
15967 (octave-mode-menu): Add octave-send-buffer.
15968 (octave-send-buffer): New function.
15969
15970 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15971
15972 * progmodes/octave.el (octave-mode-map): Add key binding for
15973 octave-lookfor.
15974 (octave-mode-menu): Add octave-lookfor.
15975 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
15976 octave-lookfor.
15977 (octave-lookfor): New function.
15978
15979 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
15982 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
15983 its convention.
15984 (cl--loop-set-iterator-function): New function.
15985 (cl-loop): Adjust accordingly, so as not to use cl-subst.
15986 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
15987 Bind `it' with `let' instead of substituting it with `cl-subst'.
15988 (cl--unused-var-p): New function.
15989 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
15990 Eliminate some unused variable warnings (bug#15326).
15991
15992 2013-09-27 Tassilo Horn <tsdh@gnu.org>
15993
15994 * doc-view.el (doc-view-scale-reset): Rename from
15995 `doc-view-reset-zoom-level'.
15996 (doc-view-scale-adjust): New command.
15997 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
15998 `doc-view-scale-adjust'.
15999
16000 2013-09-26 Tassilo Horn <tsdh@gnu.org>
16001
16002 * doc-view.el (doc-view-reset-zoom-level): New command.
16003 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16004 zoom commands (bug#15466).
16005
16006 2013-09-26 Kenichi Handa <handa@gnu.org>
16007
16008 * international/quail.el (quail-help): Make it not a command.
16009
16010 2013-09-26 Leo Liu <sdl.web@gmail.com>
16011
16012 * minibuffer.el (completion-all-sorted-completions): Make args
16013 optional as they are.
16014
16015 2013-09-25 Daniel Colascione <dancol@dancol.org>
16016
16017 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16018 specs are and that they're not evaluated.
16019
16020 2013-09-24 Sam Steingold <sds@gnu.org>
16021
16022 * midnight.el (clean-buffer-list-kill-regexps)
16023 (clean-buffer-list-kill-buffer-names): Update for the new Man
16024 buffer naming which includes the object name.
16025
16026 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16027
16028 * eshell/esh-cmd.el (eshell--sep-terms): New var.
16029 (eshell-parse-command, eshell-parse-pipeline): Use it since
16030 eshell-separate-commands requires a dynamic scoped var.
16031 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16032
16033 2013-09-23 Leo Liu <sdl.web@gmail.com>
16034
16035 * autoinsert.el (auto-insert-alist): Make the value of
16036 lexical-binding match its file setting.
16037
16038 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
16039
16040 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16041
16042 * autoarg.el (autoarg-kp-digit-argument):
16043 * electric.el (Electric-command-loop):
16044 * kmacro.el (kmacro-step-edit-insert):
16045 Do not set universal-argument-num-events.
16046
16047 2013-09-22 Leo Liu <sdl.web@gmail.com>
16048
16049 * files.el (interpreter-mode-alist): Add octave.
16050
16051 2013-09-21 Alan Mackenzie <acm@muc.de>
16052
16053 C++: fontify identifier in declaration following "public:" correctly.
16054 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16055 to match "public", etc.
16056 (c-decl-prefix-re): Add ":" into the C++ value.
16057 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16058 bit. Add a check for a ":" preceded by "public", etc.
16059
16060 2013-09-21 Eli Zaretskii <eliz@gnu.org>
16061
16062 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16063 recognized by GDB 7.5 and later.
16064
16065 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
16066
16067 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16068
16069 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * subr.el (internal--call-interactively): New const.
16072 (called-interactively-p): Use it (bug#3984).
16073
16074 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
16075
16076 * vc/pcvs.el (cvs-mode-ignore):
16077 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16078 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16079
16080 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16081
16082 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
16083 (eshell-ls-orig-insert-directory): Remove.
16084 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
16085 (eshell-ls-use-in-dired): Use advice-add/remove.
16086 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16087 Add `orig-fun' arg for use in :around advice.
16088 Make it check (redundantly) eshell-ls-use-in-dired.
16089
16090 2013-09-19 Glenn Morris <rgm@gnu.org>
16091
16092 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16093
16094 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16095
16096 * emacs-lisp/eieio.el (class-parent): Undo previous change.
16097
16098 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
16099
16100 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16101 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16102 (tramp-get-remote-python): New defuns.
16103 (tramp-get-remote-uid-with-perl)
16104 (tramp-get-remote-gid-with-perl): New defuns. Perl code
16105 contributed by yary <not.com@gmail.com> (tiny change).
16106 (tramp-get-remote-uid-with-python)
16107 (tramp-get-remote-gid-with-python): New defuns. Python code
16108 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16109 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16110
16111 2013-09-19 Glenn Morris <rgm@gnu.org>
16112
16113 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16114
16115 * eshell/em-unix.el (eshell-remove-entries):
16116 Rename argument to avoid name-clash with global `top-level'.
16117
16118 * eshell/esh-proc.el (eshell-kill-process-function):
16119 Remove eshell-reset-after-proc from eshell-kill-hook if present.
16120 (eshell-reset-after-proc): Remove unused arg `proc'.
16121
16122 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16123 (directory-files-and-attributes): Mark unused arg.
16124
16125 * eshell/em-unix.el (eshell-remove-entries):
16126 Remove unused arg `path'. Update callers.
16127
16128 * eshell/em-hist.el (eshell-hist-parse-arguments):
16129 Remove unused arg `silent'. Update callers.
16130
16131 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16132 Fix (f)boundp mix-up.
16133
16134 * eshell/em-smart.el (eshell-smart-scroll-window)
16135 (eshell-disable-after-change):
16136 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16137
16138 2013-09-18 Alan Mackenzie <acm@muc.de>
16139
16140 Fix fontification of type when followed by "const".
16141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16142 "known" types from fontification.
16143
16144 2013-09-18 Glenn Morris <rgm@gnu.org>
16145
16146 * emacs-lisp/chart.el (x-display-color-cells): Declare.
16147 (chart-face-list): Drop Emacsen without display-color-p.
16148
16149 * net/eww.el (libxml-parse-html-region): Declare.
16150 (eww-display-html): Explicit error if no libxml2 support.
16151
16152 * doc-view.el (doc-view-mode): Silence --without-x compilation.
16153
16154 * image.el (image-type-from-buffer, image-multi-frame-p):
16155 Remove --without-x warning/error.
16156
16157 * mouse.el (mouse-yank-primary):
16158 * term.el (term-mouse-paste):
16159 Reorder to silence --without-x compilation.
16160
16161 * mpc.el (doc-view-mode): Silence --without-x compilation.
16162
16163 * mail/rmailmm.el (rmail-mime-set-bulk-data):
16164 Silence --without-x compilation.
16165
16166 * progmodes/gud.el (gud-find-file, gud-mode):
16167 Silence --without-x compilation.
16168 (tooltip-mode): Declare.
16169
16170 * wdired.el (dired-backup-overwrite): Remove declaration.
16171 (wdired-mode-map): Add doc string.
16172
16173 * custom.el (x-get-resource): Declare.
16174
16175 * eshell/em-glob.el (ange-cache):
16176 * eshell/em-unix.el (ange-cache): Declare.
16177
16178 * faces.el (x-display-list, x-open-connection, x-get-resource):
16179 Declare.
16180
16181 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16182 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16183 Declare.
16184
16185 * frame.el (x-display-grayscale-p, x-display-name): Declare.
16186
16187 * net/gnutls.el (gnutls-log-level): Declare.
16188
16189 * net/shr.el (image-size, image-animate): Declare.
16190
16191 * simple.el (font-info): Declare.
16192
16193 * subr.el (x-popup-dialog): Declare.
16194
16195 * term/common-win.el (x-select-enable-primary)
16196 (x-last-selected-text-primary, x-last-selected-text-clipboard):
16197 Declare.
16198
16199 * term/ns-win.el (x-handle-args): Declare.
16200
16201 * term/x-win.el (x-select-enable-clipboard): Declare.
16202
16203 * term/w32-win.el (create-default-fontset): Declare.
16204
16205 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16206 Declare.
16207
16208 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16209 (fit-frame-to-buffer): Explicit error if --without-x.
16210 (mouse-autoselect-window-select): Silence compiler.
16211
16212 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16213
16214 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16215 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16216 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16217 * eshell/esh-util.el (eshell-sublist):
16218 Remove unused local variables.
16219
16220 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16221
16222 * textmodes/two-column.el: Make 2C-split work for --without-x.
16223 (scroll-bar-columns): Autoload.
16224 (top-level): Require fringe when compiling.
16225
16226 2013-09-18 Leo Liu <sdl.web@gmail.com>
16227
16228 * subr.el (add-hook): Robustify to handle closure as well.
16229
16230 2013-09-17 Glenn Morris <rgm@gnu.org>
16231
16232 * simple.el (messages-buffer-mode-map): Unbind "g".
16233
16234 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * help-mode.el (help-mode-finish): Use derived-mode-p.
16237 Remove obsolete highlighting.
16238
16239 * play/life.el (life-mode): Use define-derived-mode. Derive from
16240 special-mode.
16241 (life): Let-bind inhibit-read-only.
16242 (life-setup): Avoid `setq'. Use `life-mode'.
16243
16244 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16245 which should not be needed any more.
16246 (package-menu-refresh, package-menu-describe-package): Use user-error.
16247
16248 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16249 (eshell-post-rewrite-command-hook): Make obsolete.
16250 (eshell-parse-command): Simplify.
16251 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16252 (eshell--cmd): Declare.
16253 (eshell-parse-pipeline): Remove unused var `final-p'.
16254 Pass a dynvar to eshell-post-rewrite-command-hook.
16255 Implement the new eshell-post-rewrite-command-function.
16256 (eshell-invoke-directly): Remove unused arg `input'.
16257 * eshell/esh-io.el (eshell-io-initialize):
16258 Use eshell-post-rewrite-command-function (bug#15399).
16259 (eshell--apply-redirections): Rename from eshell-apply-redirections;
16260 adjust to new calling convention.
16261 (eshell-create-handles): Rename args to avoid clashing with dynvar
16262 `standard-output'.
16263
16264 2013-09-17 Glenn Morris <rgm@gnu.org>
16265
16266 * simple.el (messages-buffer-mode): New major mode.
16267 (messages-buffer): New function.
16268 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16269 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16270 (ert-run-test): Use `messages-buffer' function.
16271 (ert--force-message-log-buffer-truncation): Ignore read-only.
16272 * help.el (view-echo-area-messages): Use `messages-buffer' function.
16273 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16274
16275 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16276
16277 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16278
16279 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16280
16281 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * icomplete.el (icomplete-in-buffer): New var.
16284 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16285 vars and replace them with functions.
16286 (icomplete-minibuffer-setup): Adjust accordingly.
16287 (icomplete--completion-table, icomplete--completion-predicate)
16288 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16289 New functions.
16290 (icomplete-forward-completions, icomplete-backward-completions)
16291 (icomplete-simple-completing-p, icomplete-exhibit)
16292 (icomplete-completions): Use them.
16293 (icomplete--in-region-buffer): New var.
16294 (icomplete--in-region-setup): New function.
16295 (icomplete-mode): Use it.
16296
16297 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
16298 (bug#15379).
16299 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
16300 return args and options.
16301 (eshell-eval-using-options): Use the new return value of
16302 eshell--do-opts to set the options's vars in their scope.
16303 (eshell--set-option): Rename from eshell-set-option.
16304 Add arg `opt-vals'.
16305 (eshell--process-option): Rename from eshell-process-option.
16306 Add arg `opt-vals'.
16307 (eshell--process-args): Use an `opt-vals' alist to store the options's
16308 values during their processing and return them additionally to the
16309 remaining args.
16310
16311 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
16312
16313 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
16314 continuation character an operator, as far as indentation is
16315 concerned (Bug#15369).
16316
16317 2013-09-15 Martin Rudalics <rudalics@gmx.at>
16318
16319 * window.el (window--state-put-2): Don't process buffer state
16320 when buffer doesn't exist any more (Bug#15382).
16321
16322 2013-09-15 Glenn Morris <rgm@gnu.org>
16323
16324 * eshell/em-unix.el (eshell/rm):
16325 Make -f ignore missing files. (Bug#15373)
16326
16327 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
16328 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
16329 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
16330
16331 2013-09-14 Glenn Morris <rgm@gnu.org>
16332
16333 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
16334
16335 2013-09-13 Glenn Morris <rgm@gnu.org>
16336
16337 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
16338 (dired-guess-default): Make `file' available in the env. (Bug#15363)
16339
16340 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
16341
16342 * frame.el (x-focus-frame): Mark as declared in frame.c.
16343
16344 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16345
16346 * ls-lisp.el: Use advice-add.
16347 (original-insert-directory): Remove.
16348 (ls-lisp--insert-directory): Rename from insert-directory; add
16349 `orig-fun' argument.
16350 (insert-directory): Advise.
16351
16352 2013-09-13 Eli Zaretskii <eliz@gnu.org>
16353
16354 * term.el (term-emulate-terminal): Decode the command string
16355 before passing it to term-command-hook. (Bug#15337)
16356
16357 2013-09-13 Glenn Morris <rgm@gnu.org>
16358
16359 * eshell/esh-util.el (ange-cache): Move declaration earlier.
16360
16361 * eshell/esh-ext.el (eshell-search-path): Declare.
16362
16363 * eshell/em-prompt.el (eshell/pwd): Autoload it.
16364 Otherwise an error occurs if eshell-dirs module not loaded.
16365
16366 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
16367
16368 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
16369
16370 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
16371 `tramp-check-proper-host'. Check for a valid method name.
16372
16373 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16374 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16375 * net/tramp-sh.el (tramp-maybe-open-connection):
16376 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
16377
16378 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
16379 also for hash values.
16380
16381 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16382
16383 * term/ns-win.el (parameters): Don't declare as dynamic.
16384 (before-make-frame-hook): Don't add ineffective function.
16385
16386 * eshell/*.el: Use lexical-binding (bug#15231).
16387
16388 2013-09-12 Kenichi Handa <handa@gnu.org>
16389
16390 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
16391
16392 2013-09-12 Glenn Morris <rgm@gnu.org>
16393
16394 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
16395 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
16396
16397 * subr.el (do-after-load-evaluation): Also give compiler warnings
16398 when obsolete files are used (except by obsolete files).
16399
16400 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
16401 in the status output, assume `filename' is the first. (Bug#15322)
16402
16403 * vc/vc.el (vc-deduce-fileset): Doc fix.
16404
16405 * calc/calc-help.el (Info-goto-node):
16406 * progmodes/cperl-mode.el (Info-find-node):
16407 * vc/ediff.el (Info-goto-node): Update declarations.
16408
16409 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
16410
16411 * vc/vc-bzr.el (vc-compilation-mode): Declare.
16412 (vc-bzr-pull): Require vc-dispatcher.
16413 * vc/vc-git.el (vc-compilation-mode): Declare.
16414 (vc-git-pull): Require vc-dispatcher.
16415
16416 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
16417
16418 * progmodes/octave.el (help-button-action): Declare.
16419
16420 * shell.el (shell-directory-tracker): Output error as a message
16421 rather than just returning it as a string.
16422 (shell-process-pushd): Remove useless use of message.
16423
16424 * dframe.el (dframe-timer-fn):
16425 * files.el (dir-locals-read-from-file):
16426 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
16427 (mpc-format):
16428 * reveal.el (reveal-post-command):
16429 * saveplace.el (load-save-place-alist-from-file):
16430 * shell.el (shell-resync-dirs):
16431 * w32-common-fns.el (x-get-selection-value):
16432 * emacs-lisp/copyright.el (copyright-find-copyright):
16433 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
16434 * emulation/tpu-edt.el (tpu-copy-keyfile):
16435 * play/bubbles.el (bubbles--mark-neighbourhood):
16436 * progmodes/executable.el
16437 (executable-make-buffer-file-executable-if-script-p):
16438 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
16439
16440 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16441
16442 Cleanup Eshell to rely less on dynamic scoping.
16443 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
16444 last-value, and ext-command here. Bind `args' closer to `body'.
16445 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
16446 (eshell--args): Declare new dynamic var.
16447 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
16448 last-value, and ext-command. Pass `args' to `body'.
16449 (eshell-process-args): Bind eshell--args.
16450 (eshell-set-option): Use eshell--args.
16451 * eshell/eshell.el (eshell): Use derived-mode-p.
16452 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
16453 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
16454 (eshell-glob-function): Declare.
16455 * eshell/esh-util.el: Require cl-lib.
16456 (eshell-read-hosts-file): Avoid add-to-list.
16457 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
16458 `err'.
16459 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
16460 Declare.
16461 (eshell/diff): Remove unused var `err'.
16462 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
16463 `killflag'.
16464 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
16465 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
16466 first use.
16467 * eshell/em-glob.el (eshell-glob-matches, message-shown):
16468 Move declaration before first use.
16469 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
16470 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
16471 rely on cl-return.
16472
16473 2013-09-12 Glenn Morris <rgm@gnu.org>
16474
16475 * term/ns-win.el (global-map): Remove binding for ispell-next,
16476 deleted 1999-05-29. (Bug#15357)
16477
16478 2013-09-11 Glenn Morris <rgm@gnu.org>
16479
16480 * echistory.el (electric-command-history): Remove call to deleted func.
16481
16482 * play/landmark.el (landmark-mode): Fix typos.
16483
16484 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
16485 Check cvs-sort-ignore-file is bound.
16486
16487 * savehist.el: No need for cl when compiling on Emacs.
16488
16489 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
16492 (bug#15338).
16493 (eshell-self-insert-command, eshell-send-invisible):
16494 Remove unused argument.
16495 (eshell-handle-control-codes): Remove unused var `orig'.
16496 Avoid delete-backward-char.
16497
16498 * files.el (set-auto-mode): Simplify a bit further.
16499
16500 2013-09-11 Glenn Morris <rgm@gnu.org>
16501
16502 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
16503 (set-auto-mode): Don't regexp-quote elements.
16504 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
16505 * progmodes/cc-mode.el (interpreter-mode-alist):
16506 * progmodes/ruby-mode.el (interpreter-mode-alist):
16507 Revert previous change.
16508
16509 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16510
16511 * play/snake.el (snake-mode):
16512 * play/mpuz.el (mpuz-mode):
16513 * play/landmark.el (lm-mode):
16514 * play/blackbox.el (blackbox-mode):
16515 * play/5x5.el (5x5-mode):
16516 * obsolete/options.el (Edit-options-mode):
16517 * net/quickurl.el (quickurl-list-mode):
16518 * net/newst-treeview.el (newsticker-treeview-mode):
16519 * mail/rmailsum.el (rmail-summary-mode):
16520 * mail/mspools.el (mspools-mode):
16521 * locate.el (locate-mode):
16522 * ibuffer.el (ibuffer-mode):
16523 * emulation/ws-mode.el (wordstar-mode):
16524 * emacs-lisp/debug.el (debugger-mode):
16525 * array.el (array-mode):
16526 * net/eudc.el (eudc-mode): Use define-derived-mode.
16527 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
16528 Move initialization into declaration.
16529 (mairix-searches-mode): Use define-derived-mode.
16530 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
16531 (eudc-edit-hotlist): Use dolist.
16532 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
16533 (Man-mode): Use define-derived-mode.
16534 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
16535 (Info-edit-mode): Use define-derived-mode.
16536 (Info-cease-edit): Use Info-mode.
16537 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
16538 into declaration.
16539 (eshell-mode): Use define-derived-mode.
16540 * chistory.el (command-history-mode-map): Rename from
16541 command-history-map.
16542 (command-history-mode): Use define-derived-mode.
16543 (Command-history-setup): Remove function.
16544 * calc/calc.el (calc-trail-mode-map): New var.
16545 (calc-trail-mode): Use define-derived-mode.
16546 (calc-trail-buffer): Set calc-main-buffer manually.
16547 * bookmark.el (bookmark-insert-annotation): New function.
16548 (bookmark-edit-annotation): Use it.
16549 (bookmark-edit-annotation-mode): Make it a proper major mode.
16550 (bookmark-send-edited-annotation): Use derived-mode-p.
16551 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
16552 closer to its ideal place. Use \' to match EOS.
16553
16554 * profiler.el (profiler-calltree-find): Use function-equal.
16555
16556 2013-09-10 Glenn Morris <rgm@gnu.org>
16557
16558 * files.el (interpreter-mode-alist): Convert to regexps.
16559 (set-auto-mode): Adapt for this. (Bug#15306)
16560 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
16561 Comment out unused variable.
16562 * progmodes/cc-mode.el (interpreter-mode-alist):
16563 * progmodes/python.el (interpreter-mode-alist):
16564 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
16565 * progmodes/sh-script.el (sh-set-shell):
16566 No longer use interpreter-mode-alist to get list of shells.
16567
16568 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
16569
16570 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16571
16572 * simple.el: Use set-temporary-overlay-map for universal-argument.
16573 (universal-argument-map): Don't use default-bindings (bug#15317).
16574 Bind switch-frame explicitly. Replace universal-argument-minus with
16575 a conditional binding.
16576 (universal-argument-num-events, saved-overriding-map): Remove.
16577 (restore-overriding-map): Remove.
16578 (universal-argument--mode): Rename from save&set-overriding-map,
16579 and rewrite.
16580 (universal-argument, universal-argument-more, negative-argument)
16581 (digit-argument): Adjust accordingly.
16582 (universal-argument-minus): Remove.
16583 (universal-argument-other-key): Remove.
16584
16585 * subr.el (with-demoted-errors): Add `format' argument.
16586
16587 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
16588
16589 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
16590 `tramp-cleanup-connection'.
16591
16592 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
16593 parameters KEEP-DEBUG and KEEP-PASSWORD.
16594
16595 * net/tramp.el (tramp-file-name-handler):
16596 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16597 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16598 (tramp-maybe-open-connection):
16599 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16600 Use `tramp-cleanup-connection'.
16601
16602 * net/tramp-sh.el (tramp-maybe-open-connection):
16603 Catch 'uname-changed inside the progress reporter.
16604
16605 2013-09-10 Glenn Morris <rgm@gnu.org>
16606
16607 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
16608
16609 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
16610 returns "alternate access method" in mode (eg "-rw-r--r--.").
16611
16612 2013-09-08 Glenn Morris <rgm@gnu.org>
16613
16614 * saveplace.el (load-save-place-alist-from-file):
16615 Demote errors. (Bug#15305)
16616
16617 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
16618
16619 Improve compatibility with older Emacsen, and XEmacs.
16620
16621 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
16622 only if it is bound. It isn't for XEmacs.
16623 (with-tramp-progress-reporter): Do not let-bind `result'.
16624 This yields to scoping errors in XEmacs.
16625 (tramp-handle-make-auto-save-file-name): New function, moved from
16626 tramp-sh.el.
16627
16628 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
16629 for `make-auto-save-file-name'.
16630 (tramp-adb--gnu-switches-to-ash):
16631 Use `tramp-compat-replace-regexp-in-string'.
16632
16633 * net/tramp-cache.el (tramp-cache-print): Call
16634 `substring-no-properties' only if it is bound. It isn't for XEmacs.
16635
16636 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
16637 bound. It isn't for XEmacs.
16638
16639 * net/tramp-compat.el (tramp-compat-copy-file):
16640 Catch `wrong-number-of-arguments' error.
16641 (tramp-compat-replace-regexp-in-string): New defun.
16642
16643 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
16644 for `make-auto-save-file-name'.
16645 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
16646 `copy-file'.
16647 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
16648 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
16649 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
16650
16651 * net/tramp-gw.el (tramp-gw-open-network-stream):
16652 Use `tramp-compat-replace-regexp-in-string'.
16653
16654 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16655 Call `tramp-handle-make-auto-save-file-name'.
16656 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
16657 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16658 (tramp-sh-file-inotifywait-process-filter):
16659 Use `tramp-compat-replace-regexp-in-string'.
16660 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
16661
16662 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
16663 for `make-auto-save-file-name'.
16664 (tramp-smb-handle-copy-directory):
16665 Call `tramp-compat-replace-regexp-in-string'.
16666 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
16667 (tramp-smb-handle-copy-file): Improve error message.
16668 (tramp-smb-handle-rename-file): Rename directly only in case
16669 `newname' does not exist yet. This is a restriction of smbclient.
16670 (tramp-smb-maybe-open-connection): Rerun the function only when
16671 `auth-sources' is non-nil.
16672
16673 2013-09-08 Kenichi Handa <handa@gnu.org>
16674
16675 * international/characters.el: Set category "^" (Combining) for
16676 more characters.
16677
16678 2013-09-07 Alan Mackenzie <acm@muc.de>
16679
16680 Correctly fontify Java class constructors.
16681 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
16682 in Java Mode.
16683 (c-recognize-typeless-decls): Set the Java value to t.
16684 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16685 While handling a "(", add a check for, effectively, Java, and handle a
16686 "typeless" declaration there.
16687
16688 2013-09-07 Roland Winkler <winkler@gnu.org>
16689
16690 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
16691 field subtitle for entry type book.
16692
16693 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16694
16695 * minibuffer.el: Make minibuffer-complete call completion-in-region
16696 rather than other way around.
16697 (completion--some, completion-pcm--find-all-completions):
16698 Don't delay signals when debugging.
16699 (minibuffer-completion-contents): Beware fields within the
16700 minibuffer contents.
16701 (completion-all-sorted-completions): Use defvar-local.
16702 (completion--do-completion, completion--cache-all-sorted-completions)
16703 (completion-all-sorted-completions, minibuffer-force-complete):
16704 Add args `beg' and `end'.
16705 (completion--in-region-1): New fun, extracted from minibuffer-complete.
16706 (minibuffer-complete): Use completion-in-region.
16707 (completion-complete-and-exit): New fun, extracted from
16708 minibuffer-complete-and-exit.
16709 (minibuffer-complete-and-exit): Use it.
16710 (completion--complete-and-exit): Rename from
16711 minibuffer--complete-and-exit.
16712 (completion-in-region--single-word): New function, extracted from
16713 minibuffer-complete-word.
16714 (minibuffer-complete-word): Use it.
16715 (display-completion-list): Make `common-substring' argument obsolete.
16716 (completion--in-region): Call completion--in-region-1 instead of
16717 minibuffer-complete.
16718 (completion-help-at-point): Pass boundaries to
16719 minibuffer-completion-help as args rather than via an overlay.
16720 (completion-pcm--string->pattern): Use `any-delim'.
16721 (completion-pcm--optimize-pattern): New function.
16722 (completion-pcm--pattern->regex): Handle `any-delim'.
16723 * icomplete.el (icomplete-forward-completions)
16724 (icomplete-backward-completions, icomplete-completions):
16725 Adjust calls to completion-all-sorted-completions and
16726 completion--cache-all-sorted-completions.
16727 (icomplete-with-completion-tables): Default to t.
16728 * emacs-lisp/crm.el (crm--current-element): Rename from
16729 crm--select-current-element. Don't put an overlay but return the
16730 boundaries instead.
16731 (crm--completion-command): Take two new args to bind to the boundaries.
16732 (crm-completion-help): Adjust accordingly.
16733 (crm-complete): Use completion-in-region.
16734 (crm-complete-word): Use completion-in-region--single-word.
16735 (crm-complete-and-exit): Use completion-complete-and-exit.
16736
16737 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16738
16739 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
16740 than dynamically.
16741
16742 2013-09-06 Juri Linkov <juri@jurta.org>
16743
16744 * info.el (Info-display-images-node): When image file doesn't exist
16745 display text version of the image if it's provided in the Info file.
16746 Otherwise, display the location of missing image from SRC attribute.
16747 Add help-echo text property from ALT attribute. (Bug#15279)
16748
16749 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16750
16751 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
16752 (edit-abbrevs-mode): Use define-derived-mode.
16753
16754 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
16755 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
16756 that it's defined.
16757 (epa-key-list-mode, epa-key-mode, epa-info-mode):
16758 Use define-derived-mode.
16759
16760 * epg.el (epg-start-encrypt): Minor CSE simplification.
16761
16762 2013-09-06 William Xu <william.xwl@gmail.com>
16763
16764 * arc-mode.el: Add support for 7za (bug#15264).
16765 (archive-7z-program): New var.
16766 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16767 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
16768 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
16769
16770 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
16771
16772 Remove URL syntax.
16773
16774 * net/tramp.el (tramp-syntax, tramp-prefix-format)
16775 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
16776 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
16777 (tramp-postfix-host-format, tramp-file-name-regexp)
16778 (tramp-completion-file-name-regexp)
16779 (tramp-completion-dissect-file-name)
16780 (tramp-handle-substitute-in-file-name): Remove 'url case.
16781 (tramp-file-name-regexp-url)
16782 (tramp-completion-file-name-regexp-url): Remove constants.
16783
16784 2013-09-06 Glenn Morris <rgm@gnu.org>
16785
16786 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
16787
16788 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
16789
16790 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
16791 keywords" below "here-doc beginnings" (Bug#15270).
16792
16793 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16794
16795 * subr.el (pop): Use `car-safe'.
16796 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
16797 to detect unused `pop' return value.
16798
16799 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
16800 var `block-regexp'.
16801 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
16802 (python-fill-string): Remove unused var `marker'.
16803 (python-skeleton-add-menu-items): Remove unused var `items'.
16804
16805 * international/mule-cmds.el: Require CL.
16806 (find-coding-systems-for-charsets): Avoid add-to-list.
16807 (sanitize-coding-system-list): New function, extracted from
16808 select-safe-coding-system-interactively.
16809 (select-safe-coding-system-interactively): Use it.
16810 (read-input-method-name): Accept symbols for `default'.
16811
16812 * emacs-lisp/advice.el (defadvice): Add indent rule.
16813
16814 2013-09-05 Daniel Hackney <dan@haxney.org>
16815
16816 * dired-x.el:
16817 * net/ange-ftp.el:
16818 * net/browse-url.el:
16819 * net/dbus.el:
16820 * net/eudc.el:
16821 * net/eudcb-ldap.el:
16822 * net/eww.el:
16823 * net/imap.el:
16824 * printing.el:
16825 * vc/ediff-diff.el:
16826 * vc/ediff-init.el:
16827 * vc/ediff-merg.el:
16828 * vc/ediff-mult.el:
16829 * vc/ediff-util.el:
16830 * vc/ediff-wind.el:
16831 * vc/ediff.el:
16832 * vc/emerge.el:
16833 * vc/pcvs.el:
16834 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
16835 byte compiler. Remove some unused let-bound variables.
16836
16837 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
16838
16839 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
16840 a "ref-cell", since it gets better optimized (bug#14883).
16841
16842 2013-09-05 Glenn Morris <rgm@gnu.org>
16843
16844 * progmodes/cc-awk.el (c-forward-sws): Declare.
16845
16846 2013-09-04 Glenn Morris <rgm@gnu.org>
16847
16848 * generic-x.el [rul-generic-mode]: Require cc-mode.
16849 (c++-mode-syntax-table): Declare.
16850 (rul-generic-mode-syntax-table): Init in the defvar.
16851
16852 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
16855 (vc-do-command, vc-set-async-update):
16856 * vc/vc-mtn.el (vc-mtn-dir-status):
16857 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
16858 (vc-hg-pull, vc-hg-merge-branch):
16859 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
16860 (vc-git-merge-branch):
16861 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
16862 (vc-cvs-dir-status-files):
16863 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
16864 (vc-bzr-dir-status-files):
16865 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
16866 * vc/vc-annotate.el: Use lexical-binding.
16867 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
16868 (vc-sentinel-movepoint): Declare.
16869 (vc-annotate): Don't use `goto-line'.
16870 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
16871 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
16872 (vc-sentinel-movepoint): Declare.
16873 * vc/vc-svn.el: Use lexical-binding.
16874 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
16875 * vc/vc-sccs.el:
16876 * vc/vc-rcs.el: Use lexical-binding.
16877
16878 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
16879 `deleted'. Don't drop errors silently.
16880
16881 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
16882
16883 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
16884
16885 * vc/vc.el (vc-ignore): Rewrite.
16886 (vc-default-ignore): New function.
16887 (vc-default-ignore-completion-table): Use find-ignore-file.
16888
16889 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
16890 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
16891 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
16892 Remove. Most code moved to vc.el.
16893
16894 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
16895
16896 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
16897 * net/tramp-smb.el (tramp-smb-get-file-entries):
16898 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
16899 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
16900
16901 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
16902 Update call to it.
16903 (eww-change-select): Remove unused var `properties'.
16904 (eww-make-unique-file-name): Remove unused var `base'.
16905
16906 * finder.el (finder-compile-keywords): Don't mess with windows.
16907
16908 * calculator.el (calculator-funcall): Fix typo in last change.
16909
16910 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
16911
16912 * emacs-lisp/package.el (package-activate-1): Don't let a missing
16913 <pkg>-autoloads.el file stop us.
16914
16915 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
16916 warnings, and factor out common code.
16917
16918 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
16919
16920 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
16921 two-character operators and whether the character preceding them
16922 changes their meaning (Bug#15208).
16923
16924 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
16925
16926 Format code sent to Python shell for robustness.
16927 * progmodes/python.el (python-shell-buffer-substring):
16928 New function.
16929 (python-shell-send-region, python-shell-send-buffer): Use it.
16930
16931 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
16932
16933 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
16934 * net/tramp.el (tramp-user-error): ... here.
16935 (tramp-find-method, tramp-check-proper-host)
16936 (tramp-dissect-file-name, tramp-debug-message)
16937 (tramp-handle-shell-command):
16938 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16939 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
16940
16941 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
16942
16943 2013-09-02 Martin Rudalics <rudalics@gmx.at>
16944
16945 * avoid.el (mouse-avoidance-point-position)
16946 (mouse-avoidance-too-close-p): Handle case where posn-at-point
16947 returns nil.
16948
16949 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
16950
16951 * progmodes/python.el (python-shell-completion-get-completions):
16952 Drop use of deleted `comint-last-prompt-overlay'.
16953 (python-nav-if-name-main): New command.
16954
16955 2013-09-01 Glenn Morris <rgm@gnu.org>
16956
16957 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
16958 Avoid leading space in $wins. Otherwise the sed command used by
16959 eg compile-main ends up containing "/*.el". (Bug#15170)
16960
16961 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
16962
16963 2013-08-30 Glenn Morris <rgm@gnu.org>
16964
16965 * emacs-lisp/bytecomp.el (byte-recompile-directory):
16966 Fix is-this-a-directory logic. (Bug#15220)
16967
16968 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * textmodes/css-mode.el: Use SMIE.
16971 (css-smie-grammar): New var.
16972 (css-smie--forward-token, css-smie--backward-token)
16973 (css-smie-rules): New functions.
16974 (css-mode): Use them.
16975 (css-navigation-syntax-table): Remove var.
16976 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
16977 (css-indent-calculate, css-indent-line): Remove functions.
16978
16979 Misc changes to reduce use of `(lambda...); and other cleanups.
16980 * cus-edit.el: Use lexical-binding.
16981 (customize-push-and-save, customize-apropos)
16982 (custom-buffer-create-internal): Use closures.
16983 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
16984 * progmodes/ada-xref.el: Use setq.
16985 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
16986 * dframe.el: Use lexical-binding.
16987 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
16988 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
16989 * descr-text.el: Use lexical-binding.
16990 (describe-text-widget, describe-text-sexp, describe-property-list):
16991 Use closures.
16992 * comint.el (comint-history-isearch-push-state): Use a closure.
16993 * calculator.el: Use lexical-binding.
16994 (calculator-number-to-string): Make it work with lexical-binding.
16995 (calculator-funcall): Same and use cl-letf.
16996
16997 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
16998 (lisp--company-doc-string, lisp--company-location): New functions.
16999 (lisp-completion-at-point): Use them to improve Company support.
17000
17001 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17002 params of lambda expressions.
17003 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17004 (ruby-smie--opening-pipe-p): New function.
17005 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17006 symbols and matched |...| for formal params.
17007 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17008 from being treated as hanging. Handle "rescue".
17009
17010 2013-08-29 Glenn Morris <rgm@gnu.org>
17011
17012 * progmodes/cc-engine.el (c-pull-open-brace):
17013 Move definition before use.
17014
17015 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17016
17017 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17018 are immutable. Don't use `unsafe' any more.
17019 (cl--defsubst-expand): Don't substitute at the same time as keeping
17020 a residual unused let-binding. Don't use `unsafe' any more.
17021
17022 2013-08-29 Glenn Morris <rgm@gnu.org>
17023
17024 * calendar/cal-china.el (calendar-chinese-year-cache):
17025 Recenter on 2015.
17026
17027 * nxml/nxml-util.el (nxml-debug-clear-inside):
17028 Use cl-loop rather than loop.
17029
17030 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17031
17032 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17033
17034 2013-08-28 Glenn Morris <rgm@gnu.org>
17035
17036 * progmodes/antlr-mode.el: No need to require cc-mode twice.
17037
17038 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17039
17040 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17041
17042 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17043
17044 * simple.el (repeat-complex-command--called-interactively-skip):
17045 New function.
17046 (repeat-complex-command): Use it (bug#14136).
17047
17048 * progmodes/cc-mode.el: Minor cleanup of var declarations.
17049 (c-define-abbrev-table): Add `doc' argument.
17050 (c-mode-abbrev-table, c++-mode-abbrev-table)
17051 (objc-mode-abbrev-table, java-mode-abbrev-table)
17052 (idl-mode-abbrev-table, pike-mode-abbrev-table)
17053 (awk-mode-abbrev-table): Use it.
17054 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17055 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17056 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17057 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17058 Move initialization into the declaration; and remove any
17059 autoload cookie.
17060
17061 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17062 and dynamic let binding.
17063
17064 * vc/smerge-mode.el: Remove redundant :group args.
17065
17066 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17067 to load-path.
17068
17069 2013-08-28 Juri Linkov <juri@jurta.org>
17070
17071 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17072 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17073 (isearch-other-meta-char): Handle an undefined shifted printing
17074 character by downshifting it. (Bug#15200)
17075
17076 2013-08-28 Juri Linkov <juri@jurta.org>
17077
17078 * isearch.el (isearch-search): Change regexp error message for
17079 non-regexp searches. (Bug#15166)
17080
17081 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
17082
17083 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17084 for portability to hosts where /bin/sh has problems.
17085
17086 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17087
17088 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17089
17090 2013-08-27 Juri Linkov <juri@jurta.org>
17091
17092 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17093 in the keyboard macro. (Bug#15126)
17094
17095 2013-08-27 Juri Linkov <juri@jurta.org>
17096
17097 * isearch.el (isearch-quote-char): Comment out converting unibyte
17098 to multibyte, thus syncing with its `quoted-insert' counterpart.
17099 (Bug#15166)
17100
17101 2013-08-27 Martin Rudalics <rudalics@gmx.at>
17102
17103 * window.el (display-buffer-use-some-window): Add missing
17104 argument in call of get-largest-window (Bug#15185).
17105 Reported by Stephen Leake.
17106
17107 2013-08-27 Glenn Morris <rgm@gnu.org>
17108
17109 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17110
17111 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17112
17113 * progmodes/python.el (python-font-lock-keywords): Don't return nil
17114 from a matcher-function unless there's no more matches (bug#15161).
17115
17116 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17117
17118 * minibuffer.el: Revert change from 2013-08-20.
17119
17120 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17121 with text property `tramp-default', if appropriate.
17122 (tramp-check-proper-host): New defun.
17123 (tramp-dissect-file-name): Do not check hostname. Revert change
17124 of 2013-03-18.
17125 (tramp-backtrace): Make VEC-OR-PROC optional.
17126
17127 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17128 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17129 * net/tramp-sh.el (tramp-maybe-open-connection):
17130 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17131 Apply `tramp-check-proper-host'.
17132
17133 2013-08-26 Tassilo Horn <tsdh@gnu.org>
17134
17135 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17136 lambda expression in order to have `describe-variable' display it.
17137
17138 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17139
17140 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17141 BUF can be optional. (Bug#15186)
17142
17143 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
17144
17145 * progmodes/flymake.el (flymake-get-real-file-name-function):
17146 Fix broken customization. (Bug#15184)
17147
17148 2013-08-25 Alan Mackenzie <acm@muc.de>
17149
17150 Improve indentation of bracelists defined by macros (without "=").
17151
17152 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17153 expansion begins with "{", regard it as bracelist when it doesn't
17154 contain a ";".
17155
17156 Parse C++ inher-intro when there's a template split over 2 lines.
17157
17158 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17159 rigorously the search for "class" etc. followed by ":".
17160
17161 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17162 random languages a regexp which never matches rather than nil.
17163
17164 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17165
17166 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17167 (c-awk-regexp-one-line-possibly-open-char-list-re)
17168 (c-awk-one-line-possibly-open-regexp-re)
17169 (c-awk-one-line-non-syn-ws*-re): Remove.
17170 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17171 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17172 (c-awk-space*-unclosed-regexp-/-re): New constants.
17173 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17174 aren't regexp delimiters.
17175
17176 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17177 handling for a rare situation in AWK Mode involving unterminated
17178 strings/regexps.
17179
17180 2013-08-23 Glenn Morris <rgm@gnu.org>
17181
17182 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17183
17184 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17185
17186 * files.el (create-file-buffer): If the result would begin with
17187 spaces, prepend a "|" instead of removing them. (Bug#15162)
17188
17189 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17190
17191 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17192 text-properties (bug#15155).
17193
17194 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17195 exist any more.
17196 (calc-keypad-redraw): Remove unused var `pad'.
17197 (calc-keypad-press): Remove unused var `menu'.
17198
17199 2013-08-23 Martin Rudalics <rudalics@gmx.at>
17200
17201 * window.el (display-buffer-pop-up-frame):
17202 Call pop-up-frame-function with BUFFER current so `make-frame' will
17203 use it as the new frame's buffer (Bug#15133).
17204
17205 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17206
17207 * calendar/timeclock.el: Minor cleanups.
17208 (timeclock-ask-before-exiting, timeclock-use-display-time):
17209 Use `symbol'.
17210 (timeclock-modeline-display): Define as alias before the
17211 actual definition.
17212 (timeclock-mode-line-display): Use define-minor-mode.
17213 (timeclock-day-list-template): Make it a function, add an argument.
17214 (timeclock-day-list-required, timeclock-day-list-length)
17215 (timeclock-day-list-debt, timeclock-day-list-span)
17216 (timeclock-day-list-break): Adjust calls accordingly.
17217
17218 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17219
17220 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17221 Use read--expression so that completion works again.
17222
17223 2013-08-21 Sam Steingold <sds@gnu.org>
17224
17225 Add rudimentary inferior shell interaction
17226 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17227 (sh-set-shell): Reset it.
17228 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17229 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17230
17231 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * align.el: Use lexical-binding.
17234 (align-region): Simplify accordingly.
17235
17236 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
17237
17238 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17239
17240 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17241 `non-essential' up.
17242
17243 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
17244
17245 * net/tramp.el:
17246 * net/tramp-adb.el:
17247 * net/tramp-cmds.el:
17248 * net/tramp-ftp.el:
17249 * net/tramp-gvfs.el:
17250 * net/tramp-gw.el:
17251 * net/tramp-sh.el: Don't wrap external variable declarations by
17252 `eval-when-compile'.
17253
17254 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17255
17256 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17257 now that Emacs supports ImageMagick animations.
17258
17259 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
17260
17261 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17262 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17263
17264 2013-08-16 Martin Rudalics <rudalics@gmx.at>
17265
17266 * window.el (mouse-autoselect-window-select): Do autoselect when
17267 mouse pointer is on margin.
17268
17269 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
17270
17271 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
17272
17273 2013-08-16 Glenn Morris <rgm@gnu.org>
17274
17275 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17276 Handle "Remote Directory" response of some clients. (Bug#15058)
17277
17278 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17279 Tweak warning. (Bug#14926)
17280
17281 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17282 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
17283
17284 * image-mode.el (image-mode-map): Add menu items to reverse,
17285 increase, decrease, reset animation speed.
17286 (image--set-speed, image-increase-speed, image-decrease-speed)
17287 (image-reverse-speed, image-reset-speed): New functions.
17288 (image-mode-map): Add bindings for speed commands.
17289
17290 * image.el (image-animate-get-speed, image-animate-set-speed):
17291 New functions.
17292 (image-animate-timeout): Respect image :speed property.
17293
17294 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17295
17296 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
17297 previous line (bug#15101).
17298 (debugger-eval-expression, debugger-record-expression):
17299 Use read--expression (bug#15102).
17300
17301 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
17302
17303 Remove byte compiler warnings, visible when compiling with
17304 `byte-compile-force-lexical-warnings' set to t.
17305
17306 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
17307 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
17308 (tramp-handle-unhandled-file-name-directory)
17309 (tramp-handle-file-notify-add-watch, tramp-action-login)
17310 (tramp-action-succeed, tramp-action-permission-denied)
17311 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
17312 arguments with "_".
17313
17314 * net/tramp-adb.el (tramp-adb-parse-device-names)
17315 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
17316 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
17317 (tramp-adb-handle-file-truename): Remove unused arguments.
17318
17319 * net/tramp-cache.el (tramp-flush-directory-property)
17320 (tramp-flush-connection-property, tramp-list-connections)
17321 (tramp-parse-connection-properties): Prefix unused arguments with "_".
17322
17323 * net/tramp-compat.el (tramp-compat-make-temp-file):
17324 Rename FILENAME to F.
17325
17326 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17327 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
17328 (tramp-zeroconf-parse-workstation-device-names)
17329 (tramp-zeroconf-parse-webdav-device-names)
17330 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
17331
17332 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17333 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
17334
17335 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
17336 arguments.
17337 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
17338 (tramp-sh-handle-insert-file-contents-literally)
17339 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
17340 with "_".
17341 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
17342 Remove unused variables.
17343
17344 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17345 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
17346 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
17347
17348 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
17349 Make them a defconst.
17350 (tramp-uuencode-region): Remove unused variable.
17351
17352 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
17353
17354 * frameset.el (frameset--prop-setter): New function.
17355 (frameset-prop): Add gv-setter declaration.
17356 (frameset-filter-minibuffer): Deal with the case that the minibuffer
17357 parameter was already set in FILTERED. Doc fix.
17358 (frameset--record-minibuffer-relationships): Allow saving a
17359 minibufferless frame without its corresponding minibuffer frame.
17360 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
17361 frame, if the frame id matches.
17362 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
17363 frames before orphaned ones.
17364 (frameset-restore): Warn about orphaned windows, instead of error out.
17365
17366 2013-08-14 Martin Rudalics <rudalics@gmx.at>
17367
17368 * window.el (window-make-atom): Don't overwrite parameter
17369 already present.
17370 (display-buffer-in-atom-window): Handle special case where we
17371 split an already atomic window.
17372 (window--major-non-side-window, display-buffer-in-side-window)
17373 (window--side-check): Ignore minibuffer window when walking
17374 window tree.
17375 (window-deletable-p): Return 'frame only if no other frame uses
17376 our minibuffer window.
17377 (record-window-buffer): Run buffer-list-update-hook.
17378 (split-window): Make sure window--check-frame won't destroy an
17379 existing atomic window in case the new window gets nested
17380 inside.
17381 (display-buffer-at-bottom): Ignore minibuffer window when
17382 walking window tree. Don't split a side window.
17383 (pop-to-buffer): Don't set-buffer here, the select-window call
17384 should do that.
17385 (mouse-autoselect-window-select): Autoselect only if we are in the
17386 text portion of the window.
17387
17388 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17389
17390 * net/shr.el (shr-parse-image-data): New function to grab both the
17391 data itself and the Content-Type.
17392 (shr-put-image): Use it.
17393
17394 * net/eww.el (eww-display-image): Ditto.
17395
17396 * image.el (image-content-type-suffixes): New variable.
17397
17398 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17399
17400 * progmodes/python.el (python-imenu--build-tree)
17401 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
17402
17403 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
17404
17405 * simple.el (backward-word): Mention the optional argument.
17406
17407 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17408
17409 * frameset.el (frameset--make): Rename constructor from make-frameset.
17410 (frameset-p, frameset-valid-p): Don't autoload.
17411 (frameset-valid-p): Use normal accessors.
17412
17413 2013-08-13 Glenn Morris <rgm@gnu.org>
17414
17415 * progmodes/compile.el (compile-command): Tweak example in doc.
17416 * obsolete/scribe.el (scribe-mode):
17417 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
17418
17419 * mail/feedmail.el (feedmail-confirm-outgoing)
17420 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
17421
17422 * cus-start.el (truncate-partial-width-windows): Fix type.
17423
17424 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
17425
17426 * net/shr.el (shr-table-horizontal-line): Fix custom type.
17427
17428 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17429
17430 * emacs-lisp/timer.el (timer--time-setter): New function.
17431 (timer--time): Use it as gv-setter.
17432
17433 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
17434 setter is not a symbol.
17435
17436 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
17437
17438 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
17439 if sending fails. This makes debugging easier.
17440
17441 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
17442
17443 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
17444 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
17445 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
17446
17447 2013-08-12 Eli Zaretskii <eliz@gnu.org>
17448
17449 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
17450
17451 2013-08-12 Glenn Morris <rgm@gnu.org>
17452
17453 * format.el (format-annotate-function):
17454 Handle read-only text properties in the source. (Bug#14887)
17455
17456 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17457
17458 * net/eww.el (eww-display-html): Ignore coding system errors.
17459 One web site uses "utf-8lias" as the coding system.
17460
17461 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
17462
17463 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
17464
17465 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
17466
17467 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
17468 (tutorial--detailed-help): Remove unused local variables.
17469 (tutorial--save-tutorial-to): Use ignore-errors.
17470 (help-with-tutorial): Use looking-at-p.
17471
17472 * view.el (view-buffer-other-window, view-buffer-other-frame):
17473 Mark unused arguments.
17474
17475 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
17476 (woman-select-symbol-fonts, woman, woman-find-file)
17477 (woman-insert-file-contents, woman-non-underline-faces):
17478 Use string-match-p.
17479 (woman1-unquote): Move declaration.
17480
17481 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
17482 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
17483 argument. Remove unused local variable.
17484 (xml-parse-elem-type): Use string-match-p.
17485 (xml-substitute-numeric-entities): Use ignore-errors.
17486
17487 * calculator.el (calculator): Mark unused argument.
17488 (calculator-paste, calculator-quit, calculator-integer-p):
17489 Use ignore-errors.
17490 (calculator-string-to-number, calculator-decimal, calculator-exp)
17491 (calculator-op-or-exp): Use string-match-p.
17492
17493 * dired.el (dired-buffer-more-recently-used-p): Declare.
17494 (dired-insert-set-properties, dired-insert-old-subdirs):
17495 Use ignore-errors.
17496
17497 * dired-aux.el (dired-compress): Use ignore-errors.
17498 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
17499 (dired-do-async-shell-command, dired-do-shell-command)
17500 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
17501 (dired-insert-subdir-validate): Use string-match-p.
17502 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
17503 (dired-add-entry): Use string-match-p, looking-at-p.
17504 (dired-insert-subdir-newpos): Remove unused local variable.
17505
17506 * filenotify.el (file-notify-callback): Remove unused local variable.
17507
17508 * filesets.el (filesets-error): Mark unused argument.
17509 (filesets-which-command-p, filesets-filter-dir-names)
17510 (filesets-directory-files, filesets-get-external-viewer)
17511 (filesets-ingroup-get-data): Use string-match-p.
17512
17513 * find-file.el (ff-other-file-name, ff-other-file-name)
17514 (ff-find-the-other-file, ff-cc-hh-converter):
17515 Remove unused local variables.
17516 (ff-get-file-name): Use string-match-p.
17517 (ff-all-dirs-under): Use ignore-errors.
17518
17519 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
17520 (follow-select-if-visible): Remove unused local variable.
17521
17522 * forms.el (read-file-filter): Move declaration.
17523 (forms--make-format, forms--make-parser, forms-insert-record):
17524 Quote function with #'.
17525 (forms--update): Use string-match-p. Quote function with #'.
17526
17527 * help-mode.el (help-dir-local-var-def): Mark unused argument.
17528 (help-make-xrefs): Use looking-at-p.
17529 (help-xref-on-pp): Use looking-at-p, ignore-errors.
17530
17531 * ibuffer.el (ibuffer-ext-visible-p): Declare.
17532 (ibuffer-confirm-operation-on): Use string-match-p.
17533
17534 * msb.el (msb-item-handler, msb-dired-item-handler):
17535 Mark unused arguments.
17536
17537 * ses.el (ses-decode-cell-symbol)
17538 (ses-kill-override): Remove unused local variable.
17539 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
17540 (ses-load): Use ignore-errors, looking-at-p.
17541 (ses-jump-safe): Use ignore-errors.
17542 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
17543
17544 * tabify.el (untabify, tabify): Mark unused arguments.
17545
17546 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
17547 Mark unused argument.
17548 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
17549 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
17550
17551 * emacs-lisp/timer.el (timer--time): Define setter with
17552 gv-define-setter to avoid deprecation warning.
17553
17554 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
17555 (*record-cmpl-statistics-p*): Remove (was commented out).
17556 (cmpl-statistics-block): Remove (body was commented out).
17557 All callers changed.
17558 (add-completions-from-buffer, load-completions-from-file):
17559 Remove unused variables.
17560
17561 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17562
17563 * filecache.el (file-cache-delete-file-list):
17564 Print message only when told so.
17565 (file-cache-files-matching): Use #' in mapconcat argument.
17566
17567 * ffap.el (ffap-url-at-point): Fix reference to variable
17568 thing-at-point-default-mail-uri-scheme.
17569
17570 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
17571
17572 * subr.el (define-error): New function.
17573 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
17574 error-file-not-found and define with define-error.
17575 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
17576 and define with define-error.
17577 * userlock.el (file-locked, file-supersession):
17578 * simple.el (mark-inactive):
17579 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
17580 * progmodes/ada-mode.el (ada-mode-errors):
17581 * play/life.el (life-extinct):
17582 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
17583 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
17584 * nxml/rng-util.el (rng-error):
17585 * nxml/rng-uri.el (rng-uri-error):
17586 * nxml/rng-match.el (rng-compile-error):
17587 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
17588 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
17589 * nxml/nxml-rap.el (nxml-scan-error):
17590 * nxml/nxml-outln.el (nxml-outline-error):
17591 * net/soap-client.el (soap-error):
17592 * net/gnutls.el (gnutls-error):
17593 * net/ange-ftp.el (ftp-error):
17594 * mpc.el (mpc-proc-error):
17595 * json.el (json-error, json-readtable-error, json-unknown-keyword)
17596 (json-number-format, json-string-escape, json-string-format)
17597 (json-key-format, json-object-format):
17598 * jka-compr.el (compression-error):
17599 * international/quail.el (quail-error):
17600 * international/kkc.el (kkc-error):
17601 * emacs-lisp/ert.el (ert-test-failed):
17602 * calc/calc.el (calc-error, inexact-result, math-overflow)
17603 (math-underflow):
17604 * bookmark.el (bookmark-error-no-filename):
17605 * epg.el (epg-error): Define with define-error.
17606
17607 * time.el (display-time-event-handler)
17608 (display-time-next-load-average): Don't call sit-for since it seems
17609 unnecessary (bug#15045).
17610
17611 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
17612 Use #' instead of ' to quote functions.
17613 (checkdoc-output-mode): Use setq-local.
17614 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
17615 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
17616 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
17617 (checkdoc-ispell, checkdoc-ispell-current-buffer)
17618 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
17619 (checkdoc-ispell-message-text, checkdoc-ispell-start)
17620 (checkdoc-ispell-continue, checkdoc-ispell-comments)
17621 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
17622
17623 * ido.el (ido-completion-help): Fix up compiler warning.
17624
17625 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17626
17627 * frameset.el (frameset-p): Add autoload cookie.
17628 (frameset--jump-to-register): New function, based on code moved from
17629 register.el.
17630 (frameset-to-register): Move from register.el. Adapt to `registerv'.
17631
17632 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
17633 (frameset-restore, frameset-save, frameset-session-filter-alist):
17634 Remove declarations.
17635 (register-alist): Doc fix.
17636 (frameset-to-register): Move to frameset.el.
17637 (jump-to-register, describe-register-1): Remove frameset-specific code.
17638
17639 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17640
17641 * allout-widgets.el (allout-widgets-pre-command-business)
17642 (allout-widgets-post-command-business)
17643 (allout-widgets-after-change-handler)
17644 (allout-decorate-item-and-context, allout-set-boundary-marker)
17645 (allout-body-modification-handler)
17646 (allout-graphics-modification-handler): Mark ignored arguments.
17647 (allout-widgets-post-command-business)
17648 (allout-widgets-exposure-change-processor)
17649 (allout-widgets-exposure-undo-processor)
17650 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
17651 (allout-parse-item-at-point, allout-decorate-item-guides)
17652 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
17653 * allout.el (epa-passphrase-callback-function): Declare.
17654 (allout-overlay-insert-in-front-handler)
17655 (allout-overlay-interior-modification-handler)
17656 (allout-isearch-end-handler, allout-chart-siblings)
17657 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
17658 (allout-yank-processing, allout-process-exposed)
17659 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
17660 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
17661 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
17662 (lisp-indent-defform): Mark ignored arguments.
17663 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
17664 (calculate-lisp-indent): Remove unused variables.
17665 * international/characters.el (indian-2-column, arabic-2-column)
17666 (tibetan): Mark ignored arguments.
17667 (use-cjk-char-width-table): Mark ignored arguments.
17668 Remove unused variables.
17669 * international/fontset.el (build-default-fontset-data)
17670 (x-compose-font-name, create-fontset-from-fontset-spec):
17671 Mark ignored arguments.
17672 (fontset-plain-name): Remove unused variables.
17673 * international/mule.el (charset-id, charset-bytes, generic-char-p)
17674 (keyboard-coding-system): Mark ignored arguments.
17675 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
17676 * help.el (resize-temp-buffer-window):
17677 * window.el (display-buffer-in-major-side-window)
17678 (display-buffer-in-side-window, display-buffer-in-previous-window):
17679 Remove unused variables.
17680 * isearch.el (isearch-forward-symbol):
17681 * version.el (emacs-bzr-version-bzr):
17682 * international/mule-cmds.el (current-language-environment):
17683 * term/common-win.el (x-handle-iconic, x-handle-geometry)
17684 (x-handle-display):
17685 * term/pc-win.el (x-list-fonts, x-display-planes)
17686 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
17687 (x-server-version, x-display-screens, x-display-mm-height)
17688 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
17689 (x-selection-owner-p, x-own-selection-internal)
17690 (x-disown-selection-internal, x-get-selection-internal)
17691 (msdos-initialize-window-system):
17692 * term/tty-colors.el (tty-color-alist, tty-color-clear):
17693 * term/x-win.el (x-handle-no-bitmap-icon):
17694 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
17695 (vc-default-find-file-hook, vc-default-extra-menu):
17696 Mark ignored arguments.
17697
17698 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17699
17700 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
17701 break-condition in the context of the debugged code (bug#12685).
17702
17703 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
17704
17705 * comint.el:
17706 Do not use an overlay to highlight the last prompt. (Bug#14744)
17707 (comint-mode): Make comint-last-prompt buffer local.
17708 (comint-last-prompt): New variable.
17709 (comint-last-prompt-overlay): Remove. Superseded by
17710 comint-last-prompt.
17711 (comint-snapshot-last-prompt, comint-output-filter):
17712 Use comint-last-prompt.
17713
17714 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17715
17716 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
17717 (frameset-save): Check validity of the resulting frameset.
17718
17719 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
17720
17721 * ido.el (ido-record-command): Add doc string.
17722
17723 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17724
17725 * frameset.el (frameset): Do not disable creation of the default
17726 frameset-p predicate. Doc fix.
17727 (frameset-valid-p): New function, copied from the old predicate-p.
17728 Add additional checks.
17729 (frameset-restore): Check with frameset-valid-p.
17730 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
17731 (frameset-name, frameset-description, frameset-properties)
17732 (frameset-states): Add docstring.
17733 (frameset-session-filter-alist, frameset-persistent-filter-alist)
17734 (frameset-filter-alist): Doc fixes.
17735
17736 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17737
17738 * frameset.el (frameset-p, frameset-prop): Doc fixes.
17739
17740 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17741
17742 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
17743 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
17744 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
17745 (byte-compile-normal-call): Remove obsolescence check.
17746
17747 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17748
17749 * frameset.el (frameset-restore): Doc fix.
17750
17751 * register.el (frameset-frame-id, frameset-frame-with-id)
17752 (frameset-p, frameset-restore, frameset-save): Declare.
17753 (register-alist): Document framesets.
17754 (frameset-session-filter-alist): Declare.
17755 (frameset-to-register): New function.
17756 (jump-to-register): Implement jumping to framesets. Doc fix.
17757 (describe-register-1): Describe framesets.
17758
17759 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
17760
17761 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
17762
17763 * desktop.el (desktop-save-frameset): Use new frameset-save args.
17764 Use lexical-binding.
17765
17766 * frameset.el (frameset): Use type vector, not list (incompatible
17767 change). Do not declare a new constructor, use the default one.
17768 Upgrade suggested properties `app', `name' and `desc' to slots `app',
17769 `name' and `description', respectively, and add read-only slot
17770 `timestamp'. Doc fixes.
17771 (frameset-copy, frameset-persistent-filter-alist)
17772 (frameset-filter-alist, frameset-switch-to-gui-p)
17773 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
17774 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
17775 (frameset-filter-iconified, frameset-keep-original-display-p):
17776 Doc fixes.
17777 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
17778 Rename from frameset-filter-(save|restore)-param. All callers changed.
17779 Doc fix.
17780 (frameset-p): Adapt to change to vector and be more thorough.
17781 Change arg name to OBJECT. Doc fix.
17782 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
17783 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
17784 All callers changed.
17785 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
17786 All callers changed.
17787 (frameset--record-minibuffer-relationships): Rename from
17788 frameset--process-minibuffer-frames. All callers changed.
17789 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
17790 Use new default constructor (again). Doc fix.
17791 (frameset--find-frame-if): Rename from `frameset--find-frame'.
17792 All callers changed.
17793 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
17794 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
17795 Doc fix.
17796 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
17797 PARAMETERS and WINDOW-STATE, respectively.
17798 (frameset-restore): Add new keyword argument PREDICATE.
17799 Reset frameset--target-display to nil. Doc fix.
17800
17801 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17802
17803 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
17804 (bat-mode): Use it.
17805 (bat-mode-syntax-table): Mark \n as end-of-comment.
17806 (bat-font-lock-keywords): Remove comment rule.
17807
17808 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
17809 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
17810
17811 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
17812 (byte-compile-callargs-warn): Use `push'.
17813 (byte-compile-arglist-warn): Ignore higher-order "calls".
17814 (byte-compile-file-form-autoload): Use `pcase'.
17815 (byte-compile-function-form): If quoting a symbol, check that it exists.
17816
17817 2013-08-07 Eli Zaretskii <eliz@gnu.org>
17818
17819 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
17820 and add a few popular commands found in batch files.
17821 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
17822 (dos-mode): Doc fixes.
17823
17824 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17825
17826 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
17827 (dos-mode): Use setq-local. Add space after "rem".
17828 (dos-mode-syntax-table): Don't use "w" for symbol chars.
17829 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
17830
17831 2013-08-07 Arni Magnusson <arnima@hafro.is>
17832
17833 * progmodes/dos.el: New file.
17834 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
17835 dos-mode.
17836
17837 2013-08-06 Glenn Morris <rgm@gnu.org>
17838
17839 * calendar/calendar.el: Add new faces, and day-header-array.
17840 (calendar-weekday-header, calendar-weekend-header)
17841 (calendar-month-header): New faces.
17842 (calendar-day-header-construct): New function.
17843 (calendar-day-header-width): Also :set calendar-day-header-array.
17844 (calendar-american-month-header, calendar-european-month-header)
17845 (calendar-iso-month-header): Use calendar- faces.
17846 (calendar-generate-month):
17847 Use calendar-day-header-array for day headers; apply faces to them.
17848 (calendar-mode): Check calendar-font-lock-keywords non-nil.
17849 (calendar-abbrev-construct): Add optional maxlen argument.
17850 (calendar-day-name-array): Doc fix.
17851 (calendar-day-name-array, calendar-abbrev-length)
17852 (calendar-day-abbrev-array):
17853 Also :set calendar-day-header-array, and maybe redraw.
17854 (calendar-day-header-array): New option. (Bug#15007)
17855 (calendar-font-lock-keywords): Set to nil and make obsolete.
17856 (calendar-day-name): Add option to use header array.
17857
17858 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17859
17860 * net/shr.el (shr-render-td): Remove debugging.
17861 (shr-render-td): Make width computation consistent by defaulting
17862 all zero-width columns to 10 characters. This may not be optimal,
17863 but it's at least consistent.
17864 (shr-make-table-1): Redo last change to fix the real problem in
17865 colspan handling.
17866
17867 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17868
17869 * files.el (cache-long-line-scans):
17870 Make obsolete alias to `cache-long-scans'.
17871
17872 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17873
17874 * frameset.el (frameset, frameset-filter-alist)
17875 (frameset-filter-params, frameset-save, frameset--reuse-frame)
17876 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
17877 (frameset-compute-pos): Rename from frameset--compute-pos,
17878 and add docstring.
17879 (frameset-move-onscreen): Use frameset-compute-pos.
17880 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
17881
17882 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
17883 Fix typos in docstrings.
17884
17885 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
17886
17887 * frame.el (get-other-frame): Tiny cleanup.
17888
17889 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
17890
17891 * vc/vc.el (vc-default-ignore-completion-table):
17892 Silence byte-compiler warning.
17893
17894 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
17895 slot, which can indeed be nil.
17896 (frameset-live-filter-alist, frameset-persistent-filter-alist):
17897 Move entry for `left' from persistent to live filter alist.
17898 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
17899 Doc fixes.
17900 (frameset-filter-params): When restoring a frame, copy items added to
17901 `filtered', to avoid unwittingly modifying the original parameters.
17902 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
17903 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
17904
17905 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
17906 to use looking-at-p instead of looking-at. (Bug#15028)
17907
17908 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17909
17910 Revert introduction of isearch-filter-predicates (bug#14714).
17911 Rely on add-function instead.
17912 * isearch.el (isearch-filter-predicates): Rename it back to
17913 isearch-filter-predicate.
17914 (isearch-message-prefix): Use advice-function-mapc and advice
17915 properties to get the isearch-message-prefix.
17916 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
17917 instead of run-hook-with-args-until-failure.
17918 (isearch-filter-visible): Not obsolete any more.
17919 * loadup.el: Preload nadvice.
17920 * replace.el (perform-replace): Revert to funcall
17921 instead of run-hook-with-args-until-failure.
17922 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
17923 * dired-aux.el (dired-isearch-filenames-mode): Rename from
17924 dired-isearch-filenames-toggle; make it into a proper minor mode.
17925 Use add/remove-function.
17926 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
17927 Call the minor-mode rather than add/remove-hook.
17928 (dired-isearch-filter-filenames):
17929 Remove isearch-message-prefix property.
17930 * info.el (Info--search-loop): New function, extracted from Info-search.
17931 Funcall isearch-filter-predicate instead of
17932 run-hook-with-args-until-failure isearch-filter-predicates.
17933 (Info-search): Use it.
17934 (Info-mode): Use isearch-filter-predicate instead of
17935 isearch-filter-predicates.
17936
17937 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
17938
17939 Do not call to `selected-window' where it is assumed by default.
17940 Affected functions are `window-minibuffer-p', `window-dedicated-p',
17941 `window-hscroll', `window-width', `window-height', `window-buffer',
17942 `window-frame', `window-start', `window-point', `next-window'
17943 and `window-display-table'.
17944 * abbrev.el (abbrev--default-expand):
17945 * bs.el (bs--show-with-configuration):
17946 * buff-menu.el (Buffer-menu-mouse-select):
17947 * calc/calc.el (calc):
17948 * calendar/calendar.el (calendar-generate-window):
17949 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
17950 (diary-make-entry):
17951 * comint.el (send-invisible, comint-dynamic-complete-filename)
17952 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
17953 * completion.el (complete):
17954 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
17955 * disp-table.el (describe-current-display-table):
17956 * doc-view.el (doc-view-insert-image):
17957 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
17958 * ehelp.el (with-electric-help):
17959 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17960 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
17961 * emacs-lisp/helper.el (Helper-help-scroller):
17962 * emulation/cua-base.el (cua--post-command-handler-1):
17963 * eshell/esh-mode.el (eshell-output-filter):
17964 * ffap.el (ffap-gnus-wrapper):
17965 * help-macro.el (make-help-screen):
17966 * hilit-chg.el (highlight-compare-buffers):
17967 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
17968 * hl-line.el (global-hl-line-highlight):
17969 * icomplete.el (icomplete-simple-completing-p):
17970 * isearch.el (isearch-done):
17971 * jit-lock.el (jit-lock-stealth-fontify):
17972 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
17973 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
17974 * mpc.el (mpc-tagbrowser, mpc):
17975 * net/rcirc.el (rcirc-any-buffer):
17976 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
17977 * play/landmark.el (landmark-max-width, landmark-max-height):
17978 * play/zone.el (zone):
17979 * progmodes/compile.el (compilation-goto-locus):
17980 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
17981 * progmodes/etags.el (find-tag-other-window):
17982 * progmodes/fortran.el (fortran-column-ruler):
17983 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17984 * progmodes/verilog-mode.el (verilog-point-text):
17985 * reposition.el (reposition-window):
17986 * rot13.el (toggle-rot13-mode):
17987 * server.el (server-switch-buffer):
17988 * shell.el (shell-dynamic-complete-command)
17989 (shell-dynamic-complete-environment-variable):
17990 * simple.el (insert-buffer, set-selective-display)
17991 (delete-completion-window):
17992 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
17993 (speedbar-recenter):
17994 * startup.el (fancy-splash-head):
17995 * textmodes/ispell.el (ispell-command-loop):
17996 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
17997 * tutorial.el (help-with-tutorial):
17998 * vc/add-log.el (add-change-log-entry):
17999 * vc/compare-w.el (compare-windows):
18000 * vc/ediff-help.el (ediff-indent-help-message):
18001 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18002 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18003 (ediff-setup-control-frame):
18004 * vc/emerge.el (emerge-position-region):
18005 * vc/pcvs-util.el (cvs-bury-buffer):
18006 * window.el (walk-windows, mouse-autoselect-window-select):
18007 * winner.el (winner-set-conf, winner-undo): Related users changed.
18008
18009 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18010
18011 * frameset.el (frameset--set-id): Doc fix.
18012 (frameset-frame-id, frameset-frame-id-equal-p)
18013 (frameset-locate-frame-id): New functions.
18014 (frameset--process-minibuffer-frames, frameset--reuse-frame)
18015 (frameset-restore): Use them.
18016
18017 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18018
18019 Do not call to `selected-frame' where it is assumed by default.
18020 Affected functions are `raise-frame', `redraw-frame',
18021 `frame-first-window', `frame-terminal' and `delete-frame'.
18022 * calendar/appt.el (appt-disp-window):
18023 * epg.el (epg-wait-for-completion):
18024 * follow.el (follow-delete-other-windows-and-split)
18025 (follow-avoid-tail-recenter):
18026 * international/mule.el (set-terminal-coding-system):
18027 * mail/rmail.el (rmail-mail-return):
18028 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18029 * progmodes/f90.el (f90-add-imenu-menu):
18030 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18031 * server.el (server-switch-buffer):
18032 * simple.el (delete-completion-window):
18033 * talk.el (talk):
18034 * term/xterm.el (terminal-init-xterm-modify-other-keys)
18035 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18036 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18037 * vc/ediff.el (ediff-documentation): Related users changed.
18038 * frame.el (selected-terminal): Remove the leftover.
18039
18040 2013-08-05 Glenn Morris <rgm@gnu.org>
18041
18042 * calendar/calendar.el (calendar-generate-month):
18043 Fix for calendar-column-width != 1 + calendar-day-digit-width.
18044 (calendar-generate-month, calendar-font-lock-keywords):
18045 Fix for calendar-day-header-width > length of any day name.
18046
18047 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18048
18049 * desktop.el (desktop-clear): Use new name of sort predicate.
18050
18051 * frameset.el (frameset): Add docstring. Move :version property to its
18052 own `version' slot.
18053 (frameset-copy): Rename from copy-frameset.
18054 (frameset-p): Check more thoroughly.
18055 (frameset-prop): Do not check for :version, which is no longer a prop.
18056 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18057 Use new :never value instead of t.
18058 (frameset-filter-alist): Expand and clarify docstring.
18059 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18060 (frameset-filter-minibuffer, frameset-filter-save-param)
18061 (frameset-filter-restore-param, frameset-filter-iconified):
18062 Add pointer to docstring of frameset-filter-alist.
18063 (frameset-filter-params): Rename filter values to be more meaningful:
18064 :never instead of t, and reverse the meanings of :save and :restore.
18065 (frameset--process-minibuffer-frames): Clarify error message.
18066 (frameset-save): Avoid unnecessary and confusing call to framep.
18067 Use new BOA constructor for framesets.
18068 (frameset--reuse-list): Doc fix.
18069 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
18070 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18071 (frameset-minibufferless-first-p): Doc fix.
18072 Rename from frameset-sort-frames-for-deletion.
18073 (frameset-restore): Doc fixes. Use new function names.
18074 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18075
18076 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18077
18078 * desktop.el (desktop-restore-forces-onscreen)
18079 (desktop-restore-reuses-frames): Document :keyword constant values.
18080 (desktop-filter-parameters-alist): Remove, now identical to
18081 frameset-filter-alist.
18082 (desktop--filter-tty*): Remove, moved to frameset.el.
18083 (desktop-save-frameset, desktop-restore-frameset):
18084 Do not pass :filters argument.
18085
18086 * frameset.el (frameset-live-filter-alist)
18087 (frameset-persistent-filter-alist): New variables.
18088 (frameset-filter-alist): Use them. Add autoload cookie.
18089 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18090 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18091 `frameset--id' (it's supposed to be internal to frameset.el).
18092 (frameset--process-minibuffer-frames): Ditto. Doc fix.
18093 (frameset--initial-params): New function.
18094 (frameset--get-frame): Use it. Doc fix.
18095 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18096 Accept :all, not 'all.
18097 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18098 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
18099 with fbound symbols. Fix frame id matching, and remove matching ids if
18100 the frame being restored is deleted. Obey :delete.
18101
18102 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18103
18104 * subr.el (macrop): New function.
18105 (text-clone--maintaining): New var.
18106 (text-clone--maintain): Rename from text-clone-maintain. Use it
18107 instead of inhibit-modification-hooks.
18108
18109 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18110 a proxy, so as handle autoloads and redefinitions of the target.
18111 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18112
18113 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18114 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
18115 (pcase--mutually-exclusive-p): New function.
18116 (pcase--split-consp): Use it.
18117 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
18118 mutually exclusive with the current predicate.
18119
18120 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18121 (edebug-macrop): Remove. Use `macrop' instead.
18122 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
18123 (ad-macro-p):
18124 * eshell/esh-cmd.el (eshell-macrop):
18125 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
18126
18127 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18128
18129 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18130 (advice-mapc): New function, using it.
18131 (advice-function-member-p): New function.
18132 (advice--normalize): Store the cdr in advice--saved-rewrite since
18133 that's the part that will be changed.
18134 (advice--symbol-function): New function.
18135 (advice-remove): Handle removal before the function is defined.
18136 Adjust to new advice--saved-rewrite.
18137 (advice-member-p): Use advice-function-member-p and
18138 advice--symbol-function.
18139
18140 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18141
18142 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18143 (frameset-filter-minibuffer): Doc fix.
18144 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
18145 (frameset--set-id, frameset--process-minibuffer-frames)
18146 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18147 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18148
18149 * desktop.el (desktop-clear): Only delete frames when called
18150 interactively and desktop-restore-frames is non-nil. Doc fix.
18151 (desktop-read): Set desktop-saved-frameset to nil.
18152
18153 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
18154
18155 * vc/vc.el (vc-ignore): Rewrite.
18156 (vc-default-ignore-completion-table, vc--read-lines)
18157 (vc--add-line, vc--remove-regexp): New functions.
18158
18159 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18160 (vc-svn-ignore-completion-table): New function.
18161
18162 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18163 (vc-hg-ignore-completion-table)
18164 (vc-hg-find-ignore-file): New functions.
18165
18166 * vc/vc-git.el (vc-git-ignore): Rewrite.
18167 (vc-git-ignore-completion-table)
18168 (vc-git-find-ignore-file): New functions.
18169
18170 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18171
18172 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18173 (vc-bzr-ignore-completion-table)
18174 (vc-bzr-find-ignore-file): New functions.
18175
18176 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
18177
18178 * frameset.el (frameset-prop): New function and setter.
18179 (frameset-save): Do not modify frame list passed by the caller.
18180
18181 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18182
18183 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18184
18185 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
18186
18187 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18188 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18189
18190 * custom.el (custom-initialize-default, custom-initialize-set)
18191 (custom-initialize-reset, custom-initialize-changed): Affect the
18192 toplevel-default-value (bug#6275, bug#14586).
18193 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18194 for bug#6275.
18195
18196 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18197
18198 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18199 Add cl-def* expressions.
18200
18201 * frameset.el (frameset-filter-params): Fix order of arguments.
18202
18203 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18204
18205 Move code related to saving frames to frameset.el.
18206 * desktop.el: Require frameset.
18207 (desktop-restore-frames): Doc fix.
18208 (desktop-restore-reuses-frames): Rename from
18209 desktop-restoring-reuses-frames.
18210 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18211 (desktop-clear): Clear frames too.
18212 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18213 (desktop--filter-tty*, desktop-save, desktop-read):
18214 Use frameset functions.
18215 (desktop-before-saving-frames-functions, desktop--filter-*-color)
18216 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18217 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18218 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18219 (desktop--process-minibuffer-frames, desktop-save-frames)
18220 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18221 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18222 (desktop--sort-states, desktop-restoring-frames-p)
18223 (desktop-restore-frames): Remove. Most code moved to frameset.el.
18224 (desktop-restoring-frameset-p, desktop-restore-frameset)
18225 (desktop--check-dont-save, desktop-save-frameset): New functions.
18226 (desktop--app-id): New constant.
18227 (desktop-first-buffer, desktop-buffer-ok-count)
18228 (desktop-buffer-fail-count): Move before first use.
18229 * frameset.el: New file.
18230
18231 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18232
18233 * files.el: Use lexical-binding.
18234 (dir-locals-read-from-file): Remove unused `err' variable.
18235 (hack-dir-local-variables--warned-coding): New var.
18236 (hack-dir-local-variables): Use it to avoid repeated warnings.
18237 (make-backup-file-name--default-function): New function.
18238 (make-backup-file-name-function): Use it as default.
18239 (buffer-stale--default-function): New function.
18240 (buffer-stale-function): Use it as default.
18241 (revert-buffer-insert-file-contents--default-function): New function.
18242 (revert-buffer-insert-file-contents-function): Use it as default.
18243 (insert-directory): Avoid add-to-list.
18244
18245 * autorevert.el (auto-revert-handler): Simplify.
18246 Use buffer-stale--default-function.
18247
18248 2013-08-01 Tassilo Horn <tsdh@gnu.org>
18249
18250 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18251
18252 * whitespace.el (whitespace-ensure-local-variables): New function.
18253 (whitespace-cleanup-region): Call it.
18254 (whitespace-turn-on): Call it.
18255
18256 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
18257
18258 Complete file name handlers.
18259
18260 * net/tramp.el (tramp-handle-set-visited-file-modtime)
18261 (tramp-handle-verify-visited-file-modtime)
18262 (tramp-handle-file-notify-rm-watch): New functions.
18263 (tramp-call-process): Do not bind `default-directory'.
18264
18265 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18266 Order alphabetically.
18267 <access-file, add-name-to-file, dired-call-process>:
18268 <dired-compress-file, file-acl, file-notify-rm-watch>:
18269 <file-ownership-preserved-p, file-selinux-context>:
18270 <make-directory-internal, make-symbolic-link, set-file-acl>:
18271 <set-file-selinux-context, set-visited-file-modtime>:
18272 <verify-visited-file-modtime>: Add handler.
18273 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18274
18275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18276 <file-notify-add-watch, file-notify-rm-watch>:
18277 <set-file-times, set-visited-file-modtime>:
18278 <verify-visited-file-modtime>: Add handler.
18279 (with-tramp-gvfs-error-message)
18280 (tramp-gvfs-handle-set-visited-file-modtime)
18281 (tramp-gvfs-fuse-file-name): Remove.
18282 (tramp-gvfs-handle-file-notify-add-watch)
18283 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18284 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18285
18286 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18287 Order alphabetically.
18288 <file-notify-rm-watch>: Use default Tramp handler.
18289 <executable-find>: Remove private handler.
18290 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
18291 `default-directory'.
18292 (tramp-sh-handle-executable-find)
18293 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
18294 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18295 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
18296 Do not use `format' in `tramp-message'.
18297
18298 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18299 <file-notify-rm-watch, set-visited-file-modtime>:
18300 <verify-visited-file-modtime>: Add handler.
18301 (tramp-smb-call-winexe): Do not bind `default-directory'.
18302
18303 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
18304
18305 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
18306
18307 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
18308
18309 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
18310 use it.
18311 (log-view-diff-changeset): Same.
18312 (log-view-diff-common): Call backend command `previous-revision'
18313 to find out the previous revision, in both cases. Swap the
18314 variables `to' and `fr', so that `fr' usually refers to the
18315 earlier revision (Bug#14989).
18316
18317 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
18318
18319 * ibuf-ext.el (ibuffer-filter-by-filename):
18320 Make it work with dired buffers too.
18321
18322 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
18323
18324 * emacs-lisp/re-builder.el (reb-color-display-p):
18325 * files.el (save-buffers-kill-terminal):
18326 * net/browse-url.el (browse-url):
18327 * server.el (server-save-buffers-kill-terminal):
18328 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
18329 Prefer nil to selected-frame for the first arg of frame-parameter.
18330
18331 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
18332
18333 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
18334
18335 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
18336
18337 * minibuffer.el (completion--twq-all): Try and preserve each
18338 completion's case choice (bug#14907).
18339
18340 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18341
18342 * net/network-stream.el (open-network-stream): Mention the new
18343 :nogreeting parameter.
18344 (network-stream-open-starttls): Use the :nogreeting parameter
18345 (bug#14938).
18346
18347 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
18348
18349 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
18350 more natural than popping.
18351
18352 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
18353 (shr-urlify): Highlight under mouse.
18354
18355 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18356
18357 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
18358
18359 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
18360
18361 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
18362 buffer for output.
18363
18364 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
18365 point-min==1. Fix search string. Fix parentheses missing.
18366
18367 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
18368 assume point-min==1. Fix search string. Fix parentheses missing.
18369
18370 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
18371
18372 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
18373 buffer for output.
18374
18375 2013-07-29 Eli Zaretskii <eliz@gnu.org>
18376
18377 * frame.el (frame-notice-user-settings): Avoid inflooping when the
18378 initial frame is minibuffer-less. (Bug#14841)
18379
18380 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
18381
18382 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
18383 option.
18384
18385 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18386 (tramp-maybe-open-connection): Use it.
18387
18388 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18389
18390 * desktop.el (desktop--make-frame): Include `minibuffer' in the
18391 minimal set of parameters passed when creating a frame, because
18392 the minibuffer status of a frame cannot be changed later.
18393
18394 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
18395
18396 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
18397 replace-regexp-in-string and inadvertent omissions in previous change.
18398 (todo-filter-items): Ensure only file names are comma-separated in
18399 name of filtered items buffer.
18400
18401 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18402
18403 * desktop.el: Optionally force offscreen frames back onscreen.
18404 (desktop-restoring-reuses-frames): New option.
18405 (desktop--compute-pos, desktop--move-onscreen): New functions.
18406 (desktop--make-frame): Use desktop--move-onscreen.
18407
18408 2013-07-27 Alan Mackenzie <acm@muc.de>
18409
18410 Fontify a Java generic method as a function.
18411 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
18412 value to t.
18413
18414 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
18415
18416 * calendar/todo-mode.el: Add command to rename todo files.
18417 (todo-rename-file): New command.
18418 (todo-key-bindings-t): Add key binding for it. Change the
18419 bindings of todo-filter-regexp-items(-multifile) to use `x'
18420 instead of `r', since the latter is better suited to the new
18421 renaming command.
18422
18423 2013-07-27 Alan Mackenzie <acm@muc.de>
18424
18425 Make Java try-with-resources statement parse properly.
18426 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
18427 (c-block-stmt-1-2-key): New language constants/variables.
18428 * progmodes/cc-engine.el (c-beginning-of-statement-1)
18429 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
18430 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
18431 with c-block-stmt-1-2-key.
18432
18433 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
18434
18435 * desktop.el (desktop--make-frame): Apply most frame parameters after
18436 creating the frame to force (partially or totally) offscreen frames to
18437 be restored as such.
18438
18439 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
18440
18441 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
18442 (Bug#14948)
18443
18444 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18445
18446 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
18447 `base' arg of backtrace-frame.
18448
18449 2013-07-26 Eli Zaretskii <eliz@gnu.org>
18450
18451 * simple.el (list-processes): Doc fix.
18452
18453 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18454
18455 * desktop.el (desktop--select-frame):
18456 Try harder to reuse existing frames.
18457
18458 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18459
18460 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
18461 (edebug-eval): Use backtrace-eval.
18462 (edebug--display, edebug--recursive-edit): Don't let-bind the
18463 edebug-outer-* vars that keep track of variables we locally let-bind.
18464 (edebug-outside-excursion): Don't restore outside values of locally
18465 let-bound vars.
18466 (edebug--display): Use user-error.
18467 (cl-lexical-debug, cl-debug-env): Remove.
18468
18469 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18470
18471 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
18472 are restored to be sure that they are visible before deleting any
18473 remaining ones.
18474
18475 2013-07-26 Matthias Meulien <orontee@gmail.com>
18476
18477 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
18478 vc-print-root-log. (Bug#14948)
18479
18480 2013-07-26 Richard Stallman <rms@gnu.org>
18481
18482 Add aliases for encrypting mail.
18483 * epa.el (epa-mail-aliases): New option.
18484 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
18485 Bind inhibit-read-only so read-only text doesn't ruin everything.
18486 (epa-mail-default-recipients): New subroutine broken out.
18487 Handle epa-mail-aliases.
18488
18489 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18490
18491 Add support for lexical variables to the debugger's `e' command.
18492 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
18493 vars, except for debugger-outer-match-data.
18494 (debugger-frame-number): Move check for "on a function call" from
18495 callers into it. Add `skip-base' argument.
18496 (debugger-frame, debugger-frame-clear): Simplify accordingly.
18497 (debugger-env-macro): Only reset the state stored in non-variables,
18498 i.e. current-buffer and match-data.
18499 (debugger-eval-expression): Rewrite using backtrace-eval.
18500 * subr.el (internal--called-interactively-p--get-frame): Remove.
18501 (called-interactively-p):
18502 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
18503 `base' arg of backtrace-frame instead.
18504
18505 2013-07-26 Glenn Morris <rgm@gnu.org>
18506
18507 * align.el (align-regexp): Doc fix. (Bug#14857)
18508 (align-region): Explicit error if subexpression missing/does not match.
18509
18510 * simple.el (global-visual-line-mode):
18511 Do not duplicate the mode lighter. (Bug#14858)
18512
18513 2013-07-25 Martin Rudalics <rudalics@gmx.at>
18514
18515 * window.el (display-buffer): In display-buffer bind
18516 split-window-keep-point to t, bug#14829.
18517
18518 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18519
18520 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
18521 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
18522 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
18523 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18524 Change accordingly.
18525 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18526 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
18527
18528 2013-07-25 Glenn Morris <rgm@gnu.org>
18529
18530 * dired-x.el (dired-mark-extension): Convert comment to doc string.
18531
18532 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18533
18534 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
18535 parameter to modify-frame-parameters if the value has not changed;
18536 this is a workaround for bug#14949.
18537 (desktop--make-frame): On cl-delete-if call, check parameter name,
18538 not full parameter.
18539
18540 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18541
18542 * vc/vc.el (vc-ignore): New function.
18543
18544 * vc/vc-svn.el (vc-svn-ignore): New function.
18545
18546 * vc/vc-hg.el (vc-hg-ignore): New function.
18547
18548 * vc/vc-git.el (vc-git-ignore): New function.
18549
18550 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
18551 (vc-dir-ignore): New function.
18552
18553 * vc/vc-cvs.el (vc-cvs-ignore): New function.
18554 (cvs-append-to-ignore): Move here from pcvs.el.
18555
18556 * vc/vc-bzr.el (vc-bzr-ignore): New function.
18557
18558 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
18559
18560 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
18561
18562 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
18563 (desktop-restore-frames): Warn when deleting an existing frame failed.
18564
18565 2013-07-24 Glenn Morris <rgm@gnu.org>
18566
18567 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
18568
18569 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
18570
18571 * filenotify.el (file-notify-supported-p):
18572 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18573 Remove functions.
18574
18575 * autorevert.el (auto-revert-use-notify)
18576 (auto-revert-notify-add-watch):
18577 * net/tramp.el (tramp-file-name-for-operation):
18578 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18580 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18581 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18582 Remove `file-notify-supported-p' entry.
18583
18584 2013-07-24 Glenn Morris <rgm@gnu.org>
18585
18586 * printing.el: Replace all uses of deleted ps-windows-system,
18587 ps-lp-system, ps-flatten-list with lpr- versions.
18588
18589 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18590
18591 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
18592 checked with memq (bug#14935).
18593
18594 * files.el (revert-buffer-function): Use a non-nil default.
18595 (revert-buffer-preserve-modes): Declare var to
18596 provide access to the `preserve-modes' argument.
18597 (revert-buffer): Let-bind it.
18598 (revert-buffer--default): New function, extracted from revert-buffer.
18599
18600 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18601
18602 * lpr.el: Signal print errors more prominently.
18603 (print-region-function): Don't default to nil.
18604 (lpr-print-region): New function, extracted from print-region-1.
18605 Check lpr's return value and signal an error in case of problem.
18606 (print-region-1): Use it.
18607 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
18608 versions instead.
18609 (ps-printer-name): Default to nil.
18610 (ps-printer-name-option): Default to lpr-printer-switch.
18611 (ps-print-region-function): Don't default to nil.
18612 (ps-postscript-code-directory): Simplify default.
18613 (ps-do-despool): Use lpr-print-region to properly check the outcome.
18614 (ps-string-list, ps-eval-switch, ps-flatten-list)
18615 (ps-flatten-list-1): Remove.
18616 (ps-multibyte-buffer): Avoid setq.
18617 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
18618 (print-region-function, ps-print-region-function): Don't set them here.
18619
18620 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
18621
18622 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
18623 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
18624 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
18625 (ido-decorations): Doc fix.
18626
18627 * ansi-color.el: Fix old URL.
18628
18629 2013-07-23 Michael R. Mauger <michael@mauger.com>
18630
18631 * progmodes/sql.el: Version 3.3
18632 (sql-product-alist): Improve oracle :prompt-cont-regexp.
18633 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
18634 (sql-interactive-remove-continuation-prompt): Rewrite, use
18635 functions above. Fix continuation prompt and complete output line
18636 handling.
18637 (sql-redirect-one, sql-execute): Use `read-only-mode' on
18638 redirected output buffer.
18639 (sql-mode): Restore deleted code (Bug#13591).
18640
18641 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18642
18643 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
18644
18645 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
18646
18647 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
18648
18649 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18650 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18651 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
18652
18653 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18654
18655 * desktop.el (desktop-clear): Simplify; remove useless checks
18656 against invalid buffer names.
18657 (desktop-list*): Use cl-list*.
18658 (desktop-buffer-info, desktop-create-buffer): Simplify.
18659
18660 2013-07-23 Leo Liu <sdl.web@gmail.com>
18661
18662 * bookmark.el (bookmark-make-record): Restore NAME as a default
18663 value. (Bug#14933)
18664
18665 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
18666
18667 * emacs-lisp/autoload.el (autoload--setup-output): New function,
18668 extracted from autoload--insert-text.
18669 (autoload--insert-text): Remove.
18670 (autoload--print-cookie-text): New function, extracted from
18671 autoload--insert-cookie-text.
18672 (autoload--insert-cookie-text): Remove.
18673 (autoload-generate-file-autoloads): Adjust calls accordingly.
18674
18675 * winner.el (winner-hook-installed-p): Remove.
18676 (winner-mode): Simplify accordingly.
18677
18678 * subr.el (add-to-list): Fix compiler-macro when `append' is
18679 not constant. Don't use `cl-member' for the base case.
18680
18681 * progmodes/subword.el: Fix boundary case (bug#13758).
18682 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
18683 own group.
18684 (subword-backward-regexp): Make it a constant.
18685 (subword-forward-internal): Don't treat a trailing capital as the
18686 beginning of a word.
18687
18688 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
18689
18690 * emacs-lisp/package.el (package-menu-mode): Don't modify the
18691 global value of tabulated-list-revert-hook (bug#14930).
18692
18693 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
18694
18695 * desktop.el: Require 'cl-lib.
18696 (desktop-before-saving-frames-functions): New hook.
18697 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
18698 for frames being saved. Rename from desktop--save-minibuffer-frames.
18699 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
18700 Do not save frames with non-nil `desktop-dont-save' parameter.
18701 Filter out deleted frames.
18702 (desktop--find-frame): Use cl-find-if.
18703 (desktop--select-frame): Use cl-(first|second|third) to access values
18704 of desktop-mini.
18705 (desktop--make-frame): Use cl-delete-if.
18706 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
18707 (desktop-restore-frames): Use cl-(first|second|third) to access values
18708 of desktop-mini. Look for visible frame at the end, not while
18709 restoring frames.
18710
18711 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
18712 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
18713 Use string-match-p, looking-at-p (bug#14927).
18714
18715 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
18716
18717 * desktop.el (desktop-saved-frame-states):
18718 Rename from desktop--saved-states; all users changed.
18719 (desktop-save-frames): Rename from desktop--save-frames.
18720 Do not save state to desktop file.
18721 (desktop-save): Save desktop-saved-frame-states to desktop file
18722 and reset to nil.
18723 (desktop-restoring-frames-p): New function.
18724 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
18725 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
18726 buffer-lists when restoring frames. Suggested by Martin Rudalics.
18727
18728 * desktop.el: Correctly restore iconified frames.
18729 (desktop--filter-iconified-position): New function.
18730 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
18731
18732 2013-07-20 Glenn Morris <rgm@gnu.org>
18733
18734 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
18735 Let `message' do the formatting.
18736 (def-gdb-preempt-display-buffer): Add explicit format.
18737
18738 * image-dired.el (image-dired-track-original-file):
18739 Use with-current-buffer.
18740 (image-dired-track-thumbnail): Use with-current-buffer.
18741 Avoid changing point of wrong window.
18742
18743 * image-dired.el (image-dired-track-original-file):
18744 Avoid changing point of wrong window. (Bug#14909)
18745
18746 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
18747
18748 * progmodes/gdb-mi.el (gdb-done-or-error):
18749 Guard against "%" in gdb output. (Bug#14127)
18750
18751 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
18752
18753 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
18754 (Bug#14826)
18755
18756 * international/mule.el (coding-system-iso-2022-flags): Fix last
18757 change.
18758
18759 2013-07-20 Kenichi Handa <handa@gnu.org>
18760
18761 * international/mule.el (coding-system-iso-2022-flags):
18762 Add `8-bit-level-4'. (Bug#8522)
18763
18764 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18765
18766 * net/shr.el (shr-mouse-browse-url): New command and keystroke
18767 (bug#14815).
18768
18769 * net/eww.el (eww-process-text-input): Allow inputting when the
18770 point is at the start of the line, as the properties aren't
18771 front-sticky.
18772
18773 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
18774 degenerate widths.
18775
18776 2013-07-19 Richard Stallman <rms@gnu.org>
18777
18778 * epa.el (epa-popup-info-window): Doc fix.
18779
18780 * subr.el (split-string): New arg TRIM.
18781
18782 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
18783
18784 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
18785 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
18786
18787 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
18788
18789 * filenotify.el (file-notify--library): Rename from
18790 `file-notify-support'. Do not autoload. Adapt all uses.
18791 (file-notify-supported-p): New defun.
18792
18793 * autorevert.el (auto-revert-use-notify):
18794 Use `file-notify-supported-p' instead of `file-notify-support'.
18795 Adapt docstring.
18796 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
18797
18798 * net/tramp.el (tramp-file-name-for-operation):
18799 Add `file-notify-supported-p'.
18800
18801 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18802 New defun.
18803 (tramp-sh-file-name-handler-alist): Add it as handler for
18804 `file-notify-supported-p '.
18805
18806 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18807 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18809 Add `ignore' as handler for `file-notify-*' functions.
18810
18811 2013-07-17 Eli Zaretskii <eliz@gnu.org>
18812
18813 * simple.el (line-move-partial, line-move): Don't start vscroll or
18814 scroll-up if the current line is not taller than the window.
18815 (Bug#14881)
18816
18817 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
18818
18819 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
18820 highlight question marks in the method names as strings.
18821 (ruby-block-beg-keywords): Inline.
18822 (ruby-font-lock-keyword-beg-re): Extract from
18823 `ruby-font-lock-keywords'.
18824
18825 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
18826
18827 * frame.el (blink-cursor-blinks): New defcustom.
18828 (blink-cursor-blinks-done): New defvar.
18829 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
18830 (blink-cursor-timer-function): Check if number of blinks has been
18831 done on X and NS.
18832 (blink-cursor-suspend, blink-cursor-check): New defuns.
18833
18834 2013-07-15 Glenn Morris <rgm@gnu.org>
18835
18836 * edmacro.el (edmacro-format-keys): Fix previous change.
18837
18838 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
18839
18840 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
18841 The hack didn't work outside English locales anyway.
18842
18843 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
18844
18845 * simple.el (define-alternatives): Rename from alternatives-define,
18846 per RMS' suggestion.
18847
18848 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
18849
18850 * desktop.el (desktop-restore-frames): Change default to t.
18851 (desktop-restore-in-current-display): Now offer more options.
18852 (desktop-restoring-reuses-frames): New customization option.
18853 (desktop--saved-states): Doc fix.
18854 (desktop-filter-parameters-alist): New variable, renamed and expanded
18855 from desktop--excluded-frame-parameters.
18856 (desktop--target-display): New variable.
18857 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
18858 (desktop--filter-tty*, desktop--filter-*-color)
18859 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18860 (desktop--filter-save-desktop-parm)
18861 (desktop-restore-in-original-display-p): New functions.
18862 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
18863 (desktop--save-minibuffer-frames): New function, inspired by a similar
18864 function from Martin Rudalics.
18865 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
18866 (desktop--restore-in-this-display-p): Remove.
18867 (desktop--find-frame): Rename from desktop--find-frame-in-display
18868 and add predicate argument.
18869 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
18870 (desktop--reuse-list): New variable.
18871 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
18872 New functions.
18873 (desktop--restore-frames): Add support for "minibuffer-special" frames.
18874
18875 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
18876
18877 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
18878
18879 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
18880
18881 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18882 Highlight conversion methods on Kernel.
18883
18884 2013-07-13 Alan Mackenzie <acm@muc.de>
18885
18886 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
18887 and comment it out. This out-commenting enables certain C++
18888 declarations to be parsed correctly.
18889
18890 2013-07-13 Eli Zaretskii <eliz@gnu.org>
18891
18892 * international/mule.el (define-coding-system): Doc fix.
18893
18894 * simple.el (default-font-height): Don't call font-info if the
18895 frame's default font didn't change since the frame was created.
18896 (Bug#14838)
18897
18898 2013-07-13 Leo Liu <sdl.web@gmail.com>
18899
18900 * ido.el (ido-read-file-name): Guard against non-symbol value.
18901
18902 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18903
18904 * progmodes/python.el (python-imenu--build-tree): Fix corner case
18905 in nested defuns.
18906
18907 2013-07-13 Leo Liu <sdl.web@gmail.com>
18908
18909 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
18910 ido-set-matches call. (Bug#6852)
18911
18912 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
18913
18914 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
18915 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
18916 Ruby 2.0.
18917 (ruby-font-lock-keywords): Distinguish calls to functions with
18918 module-like names from module references. Highlight character
18919 literals.
18920
18921 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
18922
18923 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
18924 (gdb-send): Handle continued commands. (Bug#14847)
18925
18926 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
18927
18928 * desktop.el (desktop--v2s): Remove unused local variable.
18929 (desktop-save-buffer): Make defvar-local; adjust docstring.
18930 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
18931 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
18932
18933 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
18934
18935 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
18936
18937 2013-07-12 Eli Zaretskii <eliz@gnu.org>
18938
18939 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
18940 (Bug#14842)
18941
18942 2013-07-12 Glenn Morris <rgm@gnu.org>
18943
18944 * doc-view.el: Require cl-lib at runtime too.
18945 (doc-view-remove-if): Remove.
18946 (doc-view-search-next-match, doc-view-search-previous-match):
18947 Use cl-remove-if.
18948
18949 * edmacro.el: Require cl-lib at runtime too.
18950 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
18951 (edmacro-mismatch, edmacro-subseq): Remove.
18952
18953 * shadowfile.el: Require cl-lib.
18954 (shadow-remove-if): Remove.
18955 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
18956 Use cl-remove-if.
18957
18958 * wid-edit.el: Require cl-lib.
18959 (widget-choose): Use cl-remove-if.
18960 (widget-remove-if): Remove.
18961
18962 * progmodes/ebrowse.el: Require cl-lib at runtime too.
18963 (ebrowse-delete-if-not): Remove.
18964 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
18965 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
18966 Use cl-delete-if-not.
18967
18968 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
18969
18970 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
18971 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
18972
18973 2013-07-12 Leo Liu <sdl.web@gmail.com>
18974
18975 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
18976
18977 2013-07-11 Glenn Morris <rgm@gnu.org>
18978
18979 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
18980 (edebug-gensym-index, edebug-gensym):
18981 Remove reimplementation of cl-gensym.
18982 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
18983
18984 * thumbs.el: Require cl-lib at run-time too.
18985 (thumbs-gensym-counter, thumbs-gensym):
18986 Remove reimplementation of cl-gensym.
18987 (thumbs-temp-file): Use cl-gensym.
18988
18989 * emacs-lisp/ert.el: Require cl-lib at runtime too.
18990 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
18991 (ert--intersection, ert--set-difference, ert--set-difference-eq)
18992 (ert--union, ert--gensym-counter, ert--gensym-counter)
18993 (ert--coerce-to-vector, ert--remove*, ert--string-position)
18994 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
18995 (ert-make-test-unbound, ert--expand-should-1)
18996 (ert--expand-should, ert--should-error-handle-error)
18997 (should-error, ert--explain-equal-rec)
18998 (ert--plist-difference-explanation, ert-select-tests)
18999 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19000 Use cl-lib functions rather than reimplementations.
19001
19002 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
19003
19004 * net/tramp.el (tramp-methods): Extend docstring.
19005 (tramp-connection-timeout): New defcustom.
19006 (tramp-error-with-buffer): Reset timestamp only when appropriate.
19007 (with-tramp-progress-reporter): Simplify.
19008 (tramp-process-actions): Improve messages.
19009
19010 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19011 * net/tramp-sh.el (tramp-maybe-open-connection):
19012 Use `tramp-connection-timeout'.
19013 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19014 (Bug#14808)
19015
19016 2013-07-11 Leo Liu <sdl.web@gmail.com>
19017
19018 * ido.el (ido-read-file-name): Conform to the requirements of
19019 read-file-name. (Bug#11861)
19020 (ido-read-directory-name): Conform to the requirements of
19021 read-directory-name.
19022
19023 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
19024
19025 * subr.el (delay-warning): New function.
19026
19027 2013-07-10 Eli Zaretskii <eliz@gnu.org>
19028
19029 * simple.el (default-line-height): New function.
19030 (line-move-partial, line-move): Use it instead of computing the
19031 line height inline.
19032 (line-move-partial): Always compute ROWH. If the last line is
19033 partially-visible, but its text is completely visible, allow
19034 cursor to enter such a partially-visible line.
19035
19036 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
19037
19038 Improve error messages. (Bug#14808)
19039
19040 * net/tramp.el (tramp-current-connection): New defvar, moved from
19041 tramp-sh.el.
19042 (tramp-message-show-progress-reporter-message): Remove, not
19043 needed anymore.
19044 (tramp-error-with-buffer): Show message in minibuffer.
19045 Discard input before waiting. Reset connection timestamp.
19046 (with-tramp-progress-reporter): Improve messages.
19047 (tramp-process-actions): Use progress reporter. Delete process in
19048 case of error. Improve messages.
19049
19050 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19051 Call `tramp-error-with-buffer' with vector and buffer.
19052 (tramp-current-connection): Remove.
19053 (tramp-maybe-open-connection): The car of
19054 `tramp-current-connection' are the first 3 slots of the vector.
19055
19056 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
19057
19058 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19059 inside continued strings.
19060
19061 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
19062
19063 Timestamp fixes for undo (Bug#14824).
19064 * files.el (clear-visited-file-modtime): Move here from fileio.c.
19065
19066 2013-07-10 Leo Liu <sdl.web@gmail.com>
19067
19068 * files.el (require-final-newline): Allow safe local value.
19069 (Bug#14834)
19070
19071 2013-07-09 Leo Liu <sdl.web@gmail.com>
19072
19073 * ido.el (ido-read-directory-name): Handle fallback.
19074 (ido-read-file-name): Update DIR to ido-current-directory.
19075 (Bug#1516)
19076 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
19077
19078 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
19079
19080 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19081 "autoload". Remove "warn lower camel case" section, previously
19082 commented out. Highlight negation char. Do not highlight the
19083 target in singleton method definitions.
19084
19085 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19086
19087 * faces.el (tty-setup-hook): Declare the hook.
19088
19089 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19090 and detect when a guard/pred depends on local vars (bug#14773).
19091 (pcase--u1): Adjust caller.
19092
19093 2013-07-08 Eli Zaretskii <eliz@gnu.org>
19094
19095 * simple.el (line-move-partial, line-move): Account for
19096 line-spacing.
19097 (line-move-partial): Avoid setting vscroll when the last
19098 partially-visible line in window is of default height.
19099
19100 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19101
19102 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19103 been used a while.
19104
19105 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
19106
19107 * subr.el (read-quoted-char): Remove unused local variable `char'.
19108
19109 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
19110
19111 * vc/ediff.el (ediff-version): Version update.
19112 (ediff-files-command, ediff3-files-command, ediff-merge-command)
19113 (ediff-merge-with-ancestor-command, ediff-directories-command)
19114 (ediff-directories3-command, ediff-merge-directories-command)
19115 (ediff-merge-directories-with-ancestor-command): New functions.
19116 All are command-line interfaces to ediff: to facilitate calling
19117 Emacs with the appropriate ediff functions invoked.
19118
19119 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19120 New function.
19121 (viper-save-kill-buffer): Check if buffer is modified.
19122
19123 * emulation/viper.el (viper-version): Version update.
19124 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19125
19126 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
19127
19128 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19129 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19130 (viper-intercept-ESC-key): Simplify.
19131 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19132 don't use kbd.
19133 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19134 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19135 (viper-setup-ESC-to-escape): New functions.
19136 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19137 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
19138
19139 2013-07-07 Eli Zaretskii <eliz@gnu.org>
19140
19141 * simple.el (default-font-height, window-screen-lines):
19142 New functions.
19143 (line-move, line-move-partial): Use them instead of
19144 frame-char-height and window-text-height. This makes scrolling
19145 text smoother when the buffer's default face uses a font that is
19146 different from the frame's default font.
19147
19148 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
19149
19150 * files.el (write-file): Do not display confirm dialog for NS,
19151 it does its own dialog, which can't be canceled (Bug#14578).
19152
19153 2013-07-06 Eli Zaretskii <eliz@gnu.org>
19154
19155 * simple.el (line-move-partial): Adjust the row returned by
19156 posn-at-point for the current window-vscroll. (Bug#14567)
19157
19158 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
19159
19160 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19161 (tramp-sh-file-inotifywait-process-filter): Handle file names with
19162 spaces.
19163
19164 2013-07-06 Martin Rudalics <rudalics@gmx.at>
19165
19166 * window.el (window-state-put-stale-windows): New variable.
19167 (window--state-put-2): Save list of windows without matching buffer.
19168 (window-state-put): Remove "bufferless" windows if possible.
19169
19170 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19171
19172 * simple.el (alternatives-define): Remove leftover :group keyword.
19173 Tweak docstring.
19174
19175 2013-07-06 Leo Liu <sdl.web@gmail.com>
19176
19177 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19178 (ido-enable-virtual-buffers): New variable.
19179 (ido-buffer-internal, ido-toggle-virtual-buffers)
19180 (ido-make-buffer-list): Use it.
19181 (ido-exhibit): Support turning on and off virtual buffers
19182 automatically.
19183
19184 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19185
19186 * simple.el (alternatives-define): New macro.
19187
19188 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
19189
19190 * subr.el (read-quoted-char): Use read-key.
19191 (sit-for): Let read-event decode tty input (bug#14782).
19192
19193 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
19194
19195 * calendar/todo-mode.el: Add handling of file deletion, both by
19196 mode command and externally. Fix various related bugs.
19197 Clarify Commentary and improve some documentation strings and code.
19198 (todo-delete-file): New command.
19199 (todo-check-file): New function.
19200 (todo-show): Handle external deletion of the file we're trying to
19201 show (bug#14688). Replace called-interactively-p by an optional
19202 prefix argument to avoid problematic interaction with catch form
19203 when byte compiled (bug#14702).
19204 (todo-quit): Handle external deletion of the archive's todo file.
19205 Make sure the buffer that was visiting the archive file is still
19206 live before trying to bury it.
19207 (todo-category-completions): Handle external deletion of any
19208 category completion files.
19209 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19210 of todo files, in case of external deletion.
19211 (todo-add-file): Replace unnecessary setq by let-binding.
19212 (todo-find-archive): Check whether there are any archives.
19213 Replace unnecessary setq by let-binding.
19214 (todo-archive-done-item): Use find-file-noselect to get the
19215 archive buffer whether or not the archive already exists.
19216 Remove superfluous code. Use file size instead of buffer-file-name to
19217 check if the archive is new; if it is, update list of archives.
19218 (todo-default-todo-file): Allow nil to be a valid value for when
19219 there are no todo files.
19220 (todo-reevaluate-default-file-defcustom): Use corrected definition
19221 of todo-default-todo-file.
19222 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19223 (todo-delete-category, todo-show-categories-table)
19224 (todo-category-number): Clarify comment.
19225 (todo-filter-items): Clarify documentation string.
19226 (todo-show-current-file, todo-display-as-todo-file)
19227 (todo-reset-and-enable-done-separator): Tweak documentation string.
19228 (todo-done-separator): Make separator length window-width, since
19229 bug#2749 is now fixed.
19230
19231 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
19232
19233 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19234 Support both "gvfs-monitor-dir" and "inotifywait".
19235 (tramp-sh-file-inotifywait-process-filter): Rename from
19236 `tramp-sh-file-notify-process-filter'.
19237 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19238 (tramp-get-remote-gvfs-monitor-dir): New defuns.
19239
19240 2013-07-05 Leo Liu <sdl.web@gmail.com>
19241
19242 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19243
19244 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19245
19246 * frame.el (display-pixel-height, display-pixel-width)
19247 (display-mm-height, display-mm-width): Mention behavior on
19248 multi-monitor setups in docstrings.
19249 (w32-display-monitor-attributes-list): Declare function.
19250 (display-monitor-attributes-list): Use it.
19251
19252 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
19253
19254 * filenotify.el: New package.
19255
19256 * autorevert.el (top): Require filenotify.el.
19257 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
19258 instead.
19259 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19260 (auto-revert-notify-handler): Use `file-notify-*' functions.
19261
19262 * subr.el (file-notify-handle-event): Move function to filenotify.el.
19263
19264 * net/tramp.el (tramp-file-name-for-operation):
19265 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19266
19267 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19268 for `file-notify-add-watch' and `file-notify-rm-watch'.
19269 (tramp-process-sentinel): Improve trace.
19270 (tramp-sh-handle-file-notify-add-watch)
19271 (tramp-sh-file-notify-process-filter)
19272 (tramp-sh-handle-file-notify-rm-watch)
19273 (tramp-get-remote-inotifywait): New defuns.
19274
19275 2013-07-03 Juri Linkov <juri@jurta.org>
19276
19277 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19278 call of `occur-read-primary-args' to interactive spec.
19279
19280 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19281 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
19282
19283 2013-07-03 Matthias Meulien <orontee@gmail.com>
19284
19285 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19286 `Buffer-menu-multi-occur'. Add it to the menu.
19287 (Buffer-menu-mode): Document it in docstring.
19288 (Buffer-menu-multi-occur): New command. (Bug#14673)
19289
19290 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19291
19292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
19293 keywords and built-ins.
19294
19295 2013-07-03 Glenn Morris <rgm@gnu.org>
19296
19297 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
19298
19299 Make info-xref checks case-sensitive by default
19300 * info.el (Info-find-node, Info-find-in-tag-table)
19301 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
19302 Add option for exact case matching of nodes.
19303 * info-xref.el (info-xref): New custom group.
19304 (info-xref-case-fold): New option.
19305 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
19306
19307 2013-07-03 Leo Liu <sdl.web@gmail.com>
19308
19309 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
19310
19311 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19312
19313 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
19314 middle of block statement initially, lower the depth. Remove
19315 FIXME comment, not longer valid. Remove middle of block statement
19316 detection, no need to do that anymore since we've been using
19317 `ruby-parse-region' here.
19318
19319 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
19320
19321 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
19322
19323 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
19324
19325 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
19326
19327 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
19328
19329 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
19330 (desktop-restore-in-current-display): New customization option.
19331 (desktop--excluded-frame-parameters): Add `font'.
19332 (desktop--save-frames): Rename from desktop--save-windows.
19333 (desktop--restore-in-this-display-p): New function.
19334 (desktop--make-full-frame): Remove unwanted width/height from
19335 full(width|height) frames.
19336 (desktop--restore-frames): Rename from desktop--restore-windows.
19337 Obey desktop-restore-current-display. Do not delete old frames or
19338 select a new frame unless we were able to restore at least one frame.
19339
19340 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
19341
19342 * files.el (find-file-noselect): Simplify conditional expression.
19343
19344 * textmodes/remember.el (remember-append-to-file):
19345 Don't mix `find-buffer-visiting' and `get-file-buffer'.
19346
19347 Add `remember-notes' function to store random notes across Emacs
19348 restarts.
19349 * textmodes/remember.el (remember-data-file): Add :set callback to
19350 affect notes buffer (if any).
19351 (remember-notes): New command.
19352 (remember-notes-buffer-name, bury-remember-notes-on-kill):
19353 New defcustoms for the `remember-notes' function.
19354 (remember-notes-save-and-bury-buffer): New command.
19355 (remember-notes-mode-map): New variable.
19356 (remember-mode): New minor mode.
19357 (remember-notes--kill-buffer-query): New function.
19358 * startup.el (initial-buffer-choice): Add notes to custom type.
19359
19360 2013-06-30 Eli Zaretskii <eliz@gnu.org>
19361
19362 * bindings.el (right-char, left-char): Don't call sit-for, this is
19363 no longer needed. Use arithmetic comparison only for numerical
19364 arguments.
19365
19366 * international/mule-cmds.el (select-safe-coding-system):
19367 Handle the case of FROM being a string correctly. (Bug#14755)
19368
19369 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19370
19371 * net/shr.el (shr-make-table-1): Add a sanity check that allows
19372 progression on degenerate tables.
19373 (shr-rescale-image): ImageMagick animated images currently don't work.
19374
19375 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
19376
19377 Some fixes and improvements for desktop frame restoration.
19378 It is still experimental and disabled by default.
19379 * desktop.el (desktop--save-windows): Put the selected frame at
19380 the head of the list.
19381 (desktop--make-full-frame): New function.
19382 (desktop--restore-windows): Try to re-select the frame that was
19383 selected upon saving. Do not abort if some frames fail to restore,
19384 just show an error message and continue. Set up maximized frames
19385 so they have default non-maximized dimensions.
19386
19387 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
19388
19389 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
19390 Don't start heredoc inside a string or comment.
19391
19392 2013-06-29 Eli Zaretskii <eliz@gnu.org>
19393
19394 * bindings.el (visual-order-cursor-movement): New defcustom.
19395 (right-char, left-char): Provide visual-order cursor motion by
19396 calling move-point-visually. Update the doc strings.
19397
19398 2013-06-28 Kenichi Handa <handa@gnu.org>
19399
19400 * international/mule.el (define-coding-system): New coding system
19401 properties :inhibit-null-byte-detection,
19402 :inhibit-iso-escape-detection, and :prefer-utf-8.
19403 (set-buffer-file-coding-system): If :charset-list property of
19404 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
19405 appropriate for setting.
19406
19407 * international/mule-cmds.el (select-safe-coding-system):
19408 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
19409 multibyte characters, return utf-8 (or one of its siblings).
19410
19411 * international/mule-conf.el (prefer-utf-8): New coding system.
19412 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
19413 files.
19414
19415 2013-06-28 Ivan Kanis <ivan@kanis.fr>
19416
19417 * net/shr.el (shr-render-region): New function.
19418
19419 * net/eww.el: Autoload `eww-browse-url'.
19420
19421 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
19422
19423 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19424 Adapt to `package-desc-version' being a list.
19425 Use `package--ac-desc-version' to retrieve version from a package
19426 archive element.
19427
19428 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
19429
19430 New experimental feature to save&restore window and frame setup.
19431 * desktop.el (desktop-save-windows): New defcustom.
19432 (desktop--saved-states): New var.
19433 (desktop--excluded-frame-parameters): New defconst.
19434 (desktop--filter-frame-parms, desktop--find-frame-in-display)
19435 (desktop--restore-windows, desktop--save-windows): New functions.
19436 (desktop-save): Call `desktop--save-windows'.
19437 (desktop-read): Call `desktop--restore-windows'.
19438
19439 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19440
19441 * net/shr.el (add-face-text-property): Remove compat definition.
19442
19443 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19444
19445 * info.el (Info-try-follow-nearest-node): Move search for footnote
19446 above search for node name to prevent missing a footnote (bug#14717).
19447
19448 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19449
19450 * obsolete/otodo-mode.el: Add obsolescence info to file header.
19451
19452 2013-06-27 Leo Liu <sdl.web@gmail.com>
19453
19454 * net/eww.el (eww-read-bookmarks): Check file size.
19455
19456 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19457
19458 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
19459 advice--pending if newdef is nil or an autoload (bug#13820).
19460 (advice-mapc): New function.
19461
19462 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19463
19464 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
19465 probably.
19466 (eww-mode-map): Add a menu bar.
19467 (eww-add-bookmark): New command.
19468 (eww-bookmark-mode): New mode and commands.
19469 (eww-add-bookmark): Remove newlines from the title.
19470 (eww-bookmark-browse): Don't bug out if it's the only window.
19471
19472 2013-06-26 Glenn Morris <rgm@gnu.org>
19473
19474 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
19475 (hfy-size): Handle ttys. (Bug#14668)
19476
19477 * info-xref.el: Update for Texinfo 5 change in *note format.
19478 (info-xref-node-re, info-xref-note-re): New constants.
19479 (info-xref-check-buffer): Use info-xref-note-re.
19480
19481 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19482
19483 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
19484
19485 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
19486 nil terminate the loop (bug#14718).
19487
19488 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19489
19490 * net/eww.el: Rework history traversal. When going forward/back,
19491 put these actions into the history, too, so that they can be
19492 replayed.
19493 (eww-render): Move the history reset to the correct buffer.
19494
19495 2013-06-25 Juri Linkov <juri@jurta.org>
19496
19497 * files-x.el (modify-dir-local-variable): Change the header comment
19498 in the file with directory local variables. (Bug#14692)
19499
19500 * files-x.el (read-file-local-variable-value): Add `default'.
19501 (Bug#14710)
19502
19503 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19504
19505 * net/eww.el (eww-make-unique-file-name): Create a unique file
19506 name before saving to entering `y' accidentally asynchronously.
19507
19508 2013-06-25 Ivan Kanis <ivan@kanis.fr>
19509
19510 * net/eww.el (eww-download): New command and keystroke.
19511
19512 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19513
19514 * net/eww.el (eww-copy-page-url): Change name of command.
19515
19516 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
19517 be more consistent with Info and dired.
19518
19519 * net/eww.el (eww-mode-map): Ditto.
19520
19521 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19522
19523 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
19524 packages from archives.
19525 (package-archive-contents): Change format; include obsolete packages.
19526 (package-desc): Use `dir' to mark builtin packages.
19527 (package--from-builtin): Set the `dir' field to `builtin'.
19528 (generated-autoload-file, version-control): Declare.
19529 (package-compute-transaction): Change first arg and return value to be
19530 lists of package-descs. Adjust to new package-archive-contents format.
19531 (package--add-to-archive-contents): Adjust to new
19532 package-archive-contents format.
19533 (package-download-transaction): Arg is now a list of package-descs.
19534 (package-install): If `pkg' is a package name, pass it as
19535 a requirement, so it is subject to the usual (e.g. disabled) checks.
19536 (describe-package): Accept package-desc as well.
19537 (describe-package-1): Describe a specific package-desc. Add links to
19538 other package-descs for the same package name.
19539 (package-menu-describe-package): Pass the actual package-desc.
19540 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
19541 works correctly.
19542 (package-desc-status): New function.
19543 (package-menu--refresh): New function, extracted
19544 from package-menu--generate.
19545 (package-menu--generate): Use it.
19546 (package-delete): Update package-alist.
19547 (package-menu-execute): Don't call package-initialize.
19548
19549 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
19550 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
19551 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
19552 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
19553 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
19554 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
19555
19556 2013-06-25 Martin Rudalics <rudalics@gmx.at>
19557
19558 * window.el (window--state-get-1): Workaround for bug#14527.
19559 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
19560
19561 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19562
19563 * net/eww.el (eww-back-url): Implement the history by stashing all
19564 the data into a list.
19565 (eww-forward-url): Allow going forward in the history, too.
19566
19567 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19568
19569 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
19570 for values and use read--expression for expressions (bug#14710).
19571 (read-file-local-variable): Avoid setq.
19572 (read-file-local-variable-mode): Use minor-mode-list.
19573
19574 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19575
19576 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
19577 for DOI URLs.
19578
19579 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19580
19581 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
19582 Update imenu-support when dialect changes.
19583
19584 2013-06-25 Leo Liu <sdl.web@gmail.com>
19585
19586 * ido.el (ido-read-internal): Allow forward slash on windows.
19587
19588 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19589
19590 * net/eww.el (eww): Start of strings is \\`, not ^.
19591
19592 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19593
19594 * net/shr.el (shr-browse-url): Fix interactive spec.
19595
19596 * net/eww.el (eww): Add a trailing slash to domain names.
19597
19598 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
19599
19600 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
19601
19602 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19603
19604 * net/shr.el (shr-browse-url): Use an external browser if given a
19605 prefix.
19606
19607 * net/eww.el (eww-external-browser): Move to shr.
19608
19609 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19610
19611 * net/eww.el (eww): Work more correctly for file: URLs.
19612 (eww-detect-charset): Allow quoted charsets.
19613 (eww-yank-page-url): New command and keystroke.
19614
19615 2013-06-24 Daiki Ueno <ueno@gnu.org>
19616
19617 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
19618 file name of gpg executable.
19619 (epg-context-program): New function.
19620 (epg-context-home-directory): New function.
19621 (epg-context-set-program): New function.
19622 (epg-context-set-home-directory): New function.
19623 (epg--start): Use `epg-context-program' instead of
19624 'epg-gpg-program'.
19625 (epg--list-keys-1): Likewise.
19626
19627 2013-06-24 Leo Liu <sdl.web@gmail.com>
19628
19629 * ido.el (ido-read-internal): Fix bug#14620.
19630
19631 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * faces.el (face-documentation): Simplify.
19634 (read-face-attribute, tty-find-type, x-resolve-font-name):
19635 Use `string-match-p'.
19636 (list-faces-display): Use `string-match-p'. Simplify.
19637 (face-spec-recalc): Check face to avoid face alias loops.
19638 (read-color): Use `string-match-p' and non-capturing parenthesis.
19639
19640 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19641
19642 * net/shr.el (shr-rescale-image): Use the new
19643 :max-width/:max-height functionality.
19644
19645 2013-06-23 Ivan Kanis <ivan@kanis.fr>
19646
19647 * net/eww.el (eww-search-prefix): New variable.
19648 (eww): Use it.
19649 (eww-external-browser): New variable.
19650 (eww-mode-map): New keystroke.
19651 (eww-browse-with-external-browser): New command.
19652
19653 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
19654
19655 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19656
19657 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19658 Don't skip aligning the next header field when padding is 0;
19659 otherwise, field width is not respected unless the title is as
19660 wide as the field.
19661
19662 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 * emacs-lisp/package.el (package-el-version): Remove.
19665 (package-process-define-package): Fix inf-loop.
19666 (package-install): Allow symbols as arguments again.
19667
19668 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19669
19670 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
19671 add some more keyword-like methods.
19672 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
19673
19674 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
19675
19676 * bs.el (bs-buffer-show-mark): Make defvar-local.
19677 (bs-mode): Use setq-local.
19678
19679 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
19680 (emacs-lock--try-unlocking): Make defvar-local.
19681
19682 2013-06-22 Glenn Morris <rgm@gnu.org>
19683
19684 * play/cookie1.el (cookie-apropos): Minor simplification.
19685
19686 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
19687
19688 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19689
19690 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
19691 `regexp-opt', it breaks the build during dumping.
19692
19693 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
19694
19695 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19696 Highlight keyword-like methods on Kernel and Module with
19697 font-lock-builtin-face.
19698 (auto-mode-alist): Consolidate different entries into one regexp
19699 and add more *file-s.
19700
19701 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
19702
19703 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
19704
19705 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
19706 (diary-entry): Use it in the action of this button type instead of
19707 diary-goto-entry.
19708
19709 * calendar/todo-mode.el: New version.
19710 (todo-add-category): Append new category to end of file and give
19711 it the highest number, instead of putting it at the beginning and
19712 giving it 0. Incorporate noninteractive functionality.
19713 (todo-forward-category): Adapt to 1-based category numbering.
19714 Allow skipping over archived categories.
19715 (todo-backward-category): Derive from todo-forward-category.
19716 (todo-backward-item, todo-forward-item): Make noninteractive and
19717 delegate interactive part to new commands. Make sensitive to done items.
19718 (todo-categories): Make value an alist of category names and
19719 vectors of item counts.
19720 (todo-category-beg): Make a defconst.
19721 (todo-category-number): Use 1 instead of 0 as initial value.
19722 (todo-category-select): Make sensitive to overlays, optional item
19723 highlighting and done items.
19724 (todo-delete-item): Make sensitive to overlays and marked and done items.
19725 (todo-edit-item): Make sensitive to overlays and editing of
19726 date/time header optional. Add format checks.
19727 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
19728 no-op if point is not on an item. Advertise using todo-edit-quit.
19729 (todo-edit-mode): Make sensitive to new format, font-locking, and
19730 multiple todo files.
19731 (todo-insert-item, todo-insert-item-here): Derive from
19732 todo-basic-insert-item and extend functionality.
19733 (todo-item-end, todo-item-start): Make sensitive to done items.
19734 (todo-item-string): Don't return text properties. Restore point.
19735 (todo-jump-to-category): Make sensitive to multiple todo files and
19736 todo archives. Use extended category completion.
19737 (todo-lower-item, todo-raise-item): Rename to *-priority and
19738 derive from todo-set-item-priority.
19739 (todo-mode): Derive from special-mode. Make sensitive to new
19740 format, font-locking and multiple todo files. Make read-only.
19741 (todo-mode-map): Don't suppress digit keys, so they can supply
19742 prefix arguments. Add many new key bindings.
19743 (todo-prefix): Insert as an overlay instead of file text.
19744 Change semantics from diary date expression to purely visual mark.
19745 (todo-print): Rename to todo-print-buffer. Make buffer display
19746 features printable. Remove option to restrict number of items
19747 printed. Add option to print to file.
19748 (todo-print-function): Rename to todo-print-buffer-function.
19749 (todo-quit): Extend to handle exiting new todo modes.
19750 (todo-remove-item): Make sensitive to overlays.
19751 (todo-save): Extend to buffers of filtered items.
19752 (todo-show): Make sensitive to done items, multiple todo files and
19753 new todo modes. Offer to convert legacy todo file before creating
19754 first new todo file.
19755 (todo-show-priorities): Rename to todo-top-priorities.
19756 Change semantics of value 0.
19757 (todo-top-priorities): Rename to todo-filter-top-priorities,
19758 derive from todo-filter-items and extend functionality.
19759 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
19760 and extend functionality to other types of filtered items.
19761 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
19762 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
19763 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
19764 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
19765 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
19766 (todo-edit-mode-hook, todo-entry-prefix-function)
19767 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
19768 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
19769 (todo-initials, todo-insert-threshold, todo-item-string-start)
19770 (todo-line-string, todo-menu, todo-mode-hook)
19771 (todo-more-important-p, todo-previous-answer, todo-previous-line)
19772 (todo-print-priorities, todo-remove-separator)
19773 (todo-save-top-priorities-too, todo-string-count-lines)
19774 (todo-string-multiline-p, todo-time-string-format)
19775 (todo-tmp-buffer-name): Remove.
19776 (todo-add-file, todo-archive-done-item, todo-choose-archive)
19777 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
19778 (todo-edit-category-diary-inclusion)
19779 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
19780 (todo-edit-file, todo-edit-item-date-day)
19781 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
19782 (todo-edit-item-date-month, todo-edit-item-date-to-today)
19783 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
19784 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
19785 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
19786 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
19787 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
19788 (todo-filter-top-priorities-multifile, todo-find-archive)
19789 (todo-find-filtered-items-file, todo-go-to-source-item)
19790 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
19791 (todo-jump-to-archive-category, todo-lower-category)
19792 (todo-mark-category, todo-marked-item-p, todo-merge-category)
19793 (todo-move-category, todo-move-item, todo-next-button)
19794 (todo-next-item, todo-padded-string, todo-powerset)
19795 (todo-previous-button, todo-previous-item)
19796 (todo-print-buffer-to-file, todo-raise-category)
19797 (todo-rename-category, todo-repair-categories-sexp, todo-search)
19798 (todo-set-category-number, todo-set-item-priority)
19799 (todo-set-top-priorities-in-category)
19800 (todo-set-top-priorities-in-file, todo-show-categories-table)
19801 (todo-sort-categories-alphabetically-or-numerically)
19802 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
19803 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
19804 (todo-toggle-item-header, todo-toggle-item-highlighting)
19805 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
19806 (todo-toggle-view-done-items, todo-toggle-view-done-only)
19807 (todo-unarchive-items, todo-unmark-category): New commands.
19808 (todo-absolute-file-name, todo-add-to-buffer-list)
19809 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
19810 (todo-basic-insert-item, todo-category-completions)
19811 (todo-category-number, todo-category-string-matcher-1)
19812 (todo-category-string-matcher-2, todo-check-filtered-items-file)
19813 (todo-check-format, todo-clear-matches)
19814 (todo-comment-string-matcher, todo-convert-legacy-date-time)
19815 (todo-current-category, todo-date-string-matcher)
19816 (todo-define-insertion-command, todo-diary-expired-matcher)
19817 (todo-diary-goto-entry, todo-diary-item-p)
19818 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
19819 (todo-display-categories, todo-display-sorted, todo-done-item-p)
19820 (todo-done-item-section-p, todo-done-separator)
19821 (todo-done-string-matcher, todo-files, todo-filter-items)
19822 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
19823 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
19824 (todo-insert-category-line, todo-insert-item-from-calendar)
19825 (todo-insert-sort-button, todo-insert-with-overlays)
19826 (todo-insertion-command-name, todo-insertion-key-bindings)
19827 (todo-label-to-key, todo-longest-category-name-length)
19828 (todo-make-categories-list, todo-mode-external-set)
19829 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
19830 (todo-modes-set-3, todo-multiple-filter-files)
19831 (todo-nondiary-marker-matcher, todo-prefix-overlays)
19832 (todo-read-category, todo-read-date, todo-read-dayname)
19833 (todo-read-file-name, todo-read-time)
19834 (todo-reevaluate-category-completions-files-defcustom)
19835 (todo-reevaluate-default-file-defcustom)
19836 (todo-reevaluate-filelist-defcustoms)
19837 (todo-reevaluate-filter-files-defcustom)
19838 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
19839 (todo-reset-done-separator, todo-reset-done-separator-string)
19840 (todo-reset-done-string, todo-reset-global-current-todo-file)
19841 (todo-reset-highlight-item, todo-reset-nondiary-marker)
19842 (todo-reset-prefix, todo-set-categories)
19843 (todo-set-date-from-calendar, todo-set-show-current-file)
19844 (todo-set-top-priorities, todo-short-file-name)
19845 (todo-show-current-file, todo-sort, todo-time-string-matcher)
19846 (todo-total-item-counts, todo-update-buffer-list)
19847 (todo-update-categories-display, todo-update-categories-sexp)
19848 (todo-update-count, todo-validate-name, todo-y-or-n-p):
19849 New functions.
19850 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
19851 New major modes.
19852 (todo-categories, todo-display, todo-edit, todo-faces)
19853 (todo-filtered): New defgroups.
19854 (todo-archived-only, todo-button, todo-category-string, todo-date)
19855 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
19856 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
19857 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
19858 (todo-add-item-if-new-category, todo-always-add-time-string)
19859 (todo-categories-align, todo-categories-archived-label)
19860 (todo-categories-category-label, todo-categories-diary-label)
19861 (todo-categories-done-label, todo-categories-number-separator)
19862 (todo-categories-todo-label, todo-categories-totals-label)
19863 (todo-category-completions-files, todo-completion-ignore-case)
19864 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
19865 (todo-done-separator-string, todo-done-string)
19866 (todo-files-function, todo-filter-done-items, todo-filter-files)
19867 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
19868 (todo-initial-category, todo-initial-file, todo-item-mark)
19869 (todo-legacy-date-time-regexp, todo-mode-line-function)
19870 (todo-nondiary-marker, todo-number-prefix)
19871 (todo-print-buffer-function, todo-show-current-file)
19872 (todo-show-done-only, todo-show-first, todo-show-with-done)
19873 (todo-skip-archived-categories, todo-top-priorities-overrides)
19874 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
19875 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
19876 New defcustoms.
19877 (todo-category-done, todo-date-pattern, todo-date-string-start)
19878 (todo-diary-items-buffer, todo-done-string-start)
19879 (todo-filtered-items-buffer, todo-item-start)
19880 (todo-month-abbrev-array, todo-month-name-array)
19881 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
19882 (todo-top-priorities-buffer): New defconsts.
19883 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
19884 (todo-categories-with-marks, todo-category-string-face)
19885 (todo-comment-face, todo-comment-string, todo-current-todo-file)
19886 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
19887 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
19888 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
19889 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
19890 (todo-font-lock-keywords, todo-global-current-todo-file)
19891 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
19892 (todo-insertion-commands-args)
19893 (todo-insertion-commands-args-genlist)
19894 (todo-insertion-commands-names, todo-insertion-map)
19895 (todo-key-bindings-t, todo-key-bindings-t+a)
19896 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
19897 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
19898 (todo-nondiary-face, todo-print-buffer, todo-time-face)
19899 (todo-visited): New variables.
19900
19901 2013-06-21 Glenn Morris <rgm@gnu.org>
19902
19903 * play/cookie1.el (cookie-apropos): Add optional display argument.
19904 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
19905 (psychoanalyze-pinhead): Use cookie-doctor.
19906
19907 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19908
19909 * emacs-lisp/package.el (tar-get-file-descriptor)
19910 (tar--extract): Declare.
19911
19912 2013-06-21 Eduard Wiebe <usenet@pusto.de>
19913
19914 Extend flymake's warning predicate to be a function (bug#14217).
19915 * progmodes/flymake.el (flymake-warning-predicate): New.
19916 (flymake-parse-line): Use it.
19917 (flymake-warning-re): Make obsolete alias to
19918 `flymake-warning-predicate'.
19919
19920 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * emacs-lisp/package.el (package-alist): Include obsolete packages.
19923 (package-obsolete-list): Remove.
19924 (package-activate): Remove min-version argument. Add `force' argument.
19925 Adjust to new package-alist format.
19926 (package-mark-obsolete): Remove.
19927 (package-unpack): Force reload of the package's autoloads.
19928 (package-installed-p): Check builtins if the installed package is not
19929 recent enough.
19930 (package-initialize): Don't reset package-obsolete-list.
19931 Don't specify which package version to activate.
19932 (package-process-define-package, describe-package-1)
19933 (package-menu--generate): Adjust to new package-alist format.
19934
19935 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
19936
19937 * allout-widgets.el (allout-widgets-mode-off)
19938 (allout-widgets-mode-on, allout-widgets-pre-command-business)
19939 (allout-widgets-post-command-business)
19940 (allout-widgets-after-copy-or-kill-function)
19941 (allout-widgets-after-undo-function, allout-test-range-overlaps)
19942 (allout-decorate-item-and-context)
19943 (allout-graphics-modification-handler): Fix typos in docstrings.
19944 (allout-get-or-create-parent-widget): Use `looking-at-p'.
19945
19946 * cmuscheme.el (scheme-start-file): Doc fix.
19947 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
19948 (scheme-input-filter): Use `string-match-p'.
19949
19950 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
19951
19952 * dired-x.el: Use Dired consistently in docstrings.
19953
19954 * dired.el: Use Dired consistently in docstrings.
19955 (dired-readin, dired-mode): Use `setq-local'.
19956 (dired-switches-alist): Make defvar-local.
19957 (dired-buffers-for-dir): Use `zerop'.
19958 (dired-safe-switches-p, dired-switches-escape-p)
19959 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
19960 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
19961 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
19962 (dired-goto-next-nontrivial-file): Use `string-match-p'.
19963 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
19964 (dired-toggle-marks, dired-mark-files-containing-regexp)
19965 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
19966 (dired-flag-auto-save-files, dired-flag-backup-files):
19967 Use `looking-at-p'.
19968 (dired-mark-files-regexp, dired-build-subdir-alist):
19969 Use `string-match-p', `looking-at-p'.
19970
19971 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
19972 (direct-print-region-helper): Use `string-match-p'.
19973
19974 2013-06-21 Leo Liu <sdl.web@gmail.com>
19975
19976 * comint.el (comint-redirect-results-list-from-process):
19977 Fix infinite loop.
19978
19979 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19980
19981 * net/eww.el (eww-update-header-line-format): Quote % characters.
19982
19983 2013-06-21 Glenn Morris <rgm@gnu.org>
19984
19985 * play/cookie1.el (cookie): New custom group.
19986 (cookie-file): New option.
19987 (cookie-check-file): New function.
19988 (cookie): Make it interactive. Make start and end messages optional.
19989 Interactively, display the result. Default to cookie-file.
19990 (cookie-insert): Default to cookie-file.
19991 (cookie-snarf): Make start and end messages optional.
19992 Default to cookie-file. Use with-temp-buffer.
19993 (cookie-read): Rename from read-cookie.
19994 Make start and end messages optional. Default to cookie-file.
19995 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
19996 Do not autoload it.
19997 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
19998 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
19999
20000 2013-06-21 Leo Liu <sdl.web@gmail.com>
20001
20002 * progmodes/octave.el (octave-mode): Backward compatibility fix.
20003
20004 2013-06-21 Glenn Morris <rgm@gnu.org>
20005
20006 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20007
20008 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20009 Daniel Hackney <dan@haxney.org>
20010
20011 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20012 Consolidate the single-file vs tarball code.
20013 (package-desc-suffix): New function.
20014 (package-desc-full-name): Don't bother inlining it.
20015 (package-load-descriptor): Return the new package-desc.
20016 (package-mark-obsolete): Remove unused arg `package'.
20017 (package-unpack): Make it work for single files as well.
20018 Make it update package-alist.
20019 (package--make-autoloads-and-stuff): Rename from
20020 package--make-autoloads-and-compile. Don't compile any more.
20021 (package--compile): New function.
20022 (package-generate-description-file): New function, extracted from
20023 package-unpack-single.
20024 (package-unpack-single): Remove.
20025 (package--with-work-buffer): Add indentation and debugging info.
20026 (package-download-single): Remove.
20027 (package-install-from-archive): Rename from package-download-tar, make
20028 it take a pkg-desc, and make it work for single files as well.
20029 (package-download-transaction): Simplify.
20030 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
20031 external tar program.
20032 (package-install-from-buffer): Remove `pkg-desc' argument.
20033 Use package-tar-file-info for tar-mode buffers.
20034 (package-install-file): Simplify accordingly.
20035 (package-archive-base): Change to take a pkg-desc.
20036 * tar-mode.el (tar--check-descriptor): New function, extracted from
20037 tar-get-descriptor.
20038 (tar-get-descriptor): Use it.
20039 (tar-get-file-descriptor): New function.
20040 (tar--extract): New function, extracted from tar-extract.
20041 (tar--extract): Use it.
20042 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20043 case the summary uses non-ascii. Adjust to new calling convention of
20044 package-tar-file-info.
20045
20046 2013-06-21 Leo Liu <sdl.web@gmail.com>
20047
20048 * comint.el (comint-redirect-results-list-from-process):
20049 Fix random delay. (Bug#14681)
20050
20051 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20052
20053 * profiler.el (profiler-format-number): Use log, not log10.
20054
20055 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20056
20057 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20058
20059 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20060
20061 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20062 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20063 yet available.
20064 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20065 (AUTOGENEL): ... here.
20066 * emacs-lisp/cl-macs.el (cl--sublis): New function.
20067 (cl--defsubst-expand): Use it.
20068
20069 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
20070
20071 * subr.el (log10): Move here from C code, and declare as obsolete.
20072 All uses of (log10 X) replaced with (log X 10).
20073
20074 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20075
20076 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20077 Declare with `defvar-local'.
20078 (tabulated-list-use-header-line, tabulated-list-entries)
20079 (tabulated-list-padding, tabulated-list-printer)
20080 (tabulated-list-sort-key): Declare with `defvar-local'.
20081 (tabulated-list-init-header, tabulated-list-print-fake-header):
20082 Use `setq-local'.
20083
20084 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
20085
20086 * arc-mode.el (archive-mode): Add `archive-write-file' to
20087 `write-contents-functions' also for remote files. (Bug#14652)
20088
20089 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20090
20091 * cus-edit.el (custom-commands): Fix typos.
20092 (custom-display): Fix tooltip text.
20093 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20094 Fix typos in docstrings.
20095 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20096 (custom-unlispify-menu-entry, custom-magic-value-create)
20097 (custom-add-see-also, custom-group-value-create): Use ?\s.
20098 (custom-guess-type, customize-apropos, editable-field)
20099 (custom-face-value-create): Use `string-match-p'.
20100 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20101
20102 * custom.el (custom-load-symbol): Use `string-match-p'.
20103
20104 * ansi-color.el: Convert to lexical binding.
20105 (ansi-colors): Fix URL.
20106 (ansi-color-context, ansi-color-context-region): Use defvar-local.
20107 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20108 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20109
20110 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20111
20112 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20113
20114 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20115
20116 2013-06-19 Tom Tromey <tromey@redhat.com>
20117
20118 * net/eww.el (eww-top-url): Remove.
20119 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20120 (eww-render): Set new variables. Don't set eww-top-url.
20121 (eww-handle-link): Handle "prev", "home", and "contents".
20122 Downcase the rel text.
20123 (eww-top-url): Choose best top URL.
20124
20125 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20126
20127 * net/eww.el: Rewrite to implement form elements "by hand" instead of
20128 relying in widget.el. Using widget.el leads to too many
20129 user interface inconsistencies.
20130 (eww-self-insert): Implement entering commands in text fields.
20131 (eww-process-text-input): New function to make text input field editing
20132 work.
20133 (eww-submit): Rewrite to use the new-style form methods.
20134 (eww-select-display): Display the correct selected item.
20135 (eww-change-select): Implement changing the select value.
20136 (eww-toggle-checkbox): Implement radio/checkboxes.
20137 (eww-update-field): Fix compilation error.
20138 (eww-tag-textarea): Implement <textarea>.
20139
20140 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20141 we don't shadow mode-specific bindings.
20142
20143 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20144 nothing to push.
20145
20146 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20147
20148 2013-06-19 Glenn Morris <rgm@gnu.org>
20149
20150 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20151
20152 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20153
20154 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20155 not needed.
20156
20157 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20158
20159 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20160
20161 * net/browse-url.el (browse-url-browser-function):
20162 `eww-browse-url' has the right calling signature, `eww' does not.
20163
20164 2013-06-19 Glenn Morris <rgm@gnu.org>
20165
20166 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20167 Only eval autoloaded macros.
20168 (byte-compile-autoload): Only give the macro warning for macros.
20169
20170 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20171 (ps-underlined-faces): Declare.
20172
20173 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20174 (speedbar-add-supported-extension): Declare.
20175
20176 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20177 Don't include a date stamp in the header of the generated file;
20178 it leads to needless differences between output files.
20179
20180 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20181
20182 * net/secrets.el (secrets-struct-secret-content-type):
20183 Replace check of introspection data by a test call of "CreateItem".
20184 Some servers do not offer introspection.
20185
20186 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
20187
20188 * electric.el (electric-pair-mode): Improve interaction with
20189 electric-layout-mode.
20190 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20191 (electric-pair-syntax): Use text-mode-syntax-table in comments
20192 and strings.
20193 (electric-pair--insert): New function.
20194 (electric-pair-post-self-insert-function): Use it and
20195 electric--after-char-pos.
20196
20197 2013-06-19 Leo Liu <sdl.web@gmail.com>
20198
20199 * progmodes/octave.el (octave-help): Fix regexp.
20200
20201 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20202
20203 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20204 (shr-table-horizontal-line): Allow nil as a value, and change the
20205 default.
20206 (shr-insert-table-ruler): Respect the nil value.
20207
20208 2013-06-18 Tom Tromey <tromey@barimba>
20209
20210 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20211 New defvars.
20212 (eww-open-file): New defun.
20213 (eww-render): Initialize new variables.
20214 (eww-display-html): Handle "link" and "a".
20215 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20216 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
20217 (eww-back-url): Rename from eww-previous-url.
20218 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20219 New defuns.
20220
20221 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
20222
20223 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20224 Distinguish ternary operator tokens from slash symbol and slash
20225 char literal.
20226
20227 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20228
20229 Convert symbol prettification into minor mode and global minor mode.
20230
20231 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20232 `prog-prettify-symbols', and make a local defvar instead of defcustom.
20233 (prettify-symbols--keywords): Rename from
20234 `prog-prettify-symbols-alist' and make a local defvar.
20235 (prettify-symbols--compose-symbol): Rename from
20236 `prog--prettify-font-lock-compose-symbol'.
20237 (prettify-symbols--make-keywords): Rename from
20238 `prog-prettify-font-lock-symbols-keywords' and simplify.
20239 (prog-prettify-install): Remove.
20240 (prettify-symbols-mode): New minor mode, based on
20241 `prog-prettify-install'.
20242 (turn-on-prettify-symbols-mode): New function.
20243 (global-prettify-symbols-mode): New globalized minor mode.
20244
20245 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20246 * progmodes/cfengine.el (cfengine3-mode):
20247 * progmodes/perl-mode.el (perl-mode): Don't call
20248 `prog-prettify-install'; set `prettify-symbols-alist' instead.
20249
20250 2013-06-18 Juri Linkov <juri@jurta.org>
20251
20252 * files-x.el (modify-file-local-variable-message): New function.
20253 (modify-file-local-variable)
20254 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20255 and call `modify-file-local-variable-message' when it's non-nil.
20256 (add-file-local-variable, delete-file-local-variable)
20257 (add-file-local-variable-prop-line)
20258 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20259 and use it. (Bug#9820)
20260
20261 2013-06-18 Juri Linkov <juri@jurta.org>
20262
20263 * emulation/vi.el (vi-shell-op):
20264 * emulation/vip.el (vip-execute-com, ex-command):
20265 * emulation/viper-cmd.el (viper-exec-bang):
20266 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20267 the call of `shell-command-on-region'. (Bug#14637)
20268
20269 * simple.el (shell-command-on-region): Doc fix.
20270
20271 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20272
20273 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20274 (bug#14633).
20275
20276 2013-06-18 Glenn Morris <rgm@gnu.org>
20277
20278 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20279
20280 * newcomment.el (comment-search-forward, comment-search-backward):
20281 Doc fix. (Bug#14376)
20282
20283 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20284
20285 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20286 (buffer-face-mode-invoke): Doc fix.
20287
20288 2013-06-18 Matthias Meulien <orontee@gmail.com>
20289
20290 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
20291 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
20292
20293 2013-06-18 Glenn Morris <rgm@gnu.org>
20294
20295 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
20296 Replace obsolete function generic-make-keywords with its expansion.
20297
20298 * progmodes/python.el (ffap-alist): Declare.
20299
20300 * textmodes/reftex.el (bibtex-mode-map): Declare.
20301
20302 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20303
20304 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
20305 (package-unpack, package-unpack-single): Return the pkg-dir.
20306 (package-download-transaction): Use it to update package-alist.
20307
20308 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20309
20310 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
20311 possible choice.
20312
20313 2013-06-17 Juri Linkov <juri@jurta.org>
20314
20315 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
20316
20317 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20318
20319 * emacs-lisp/package.el (package-load-descriptor):
20320 Remove `with-syntax-table' call, `read' doesn't need it.
20321 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
20322
20323 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20324
20325 * startup.el (command-line): Expand package name returned by
20326 `package--description-file' (bug#14639).
20327
20328 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20329
20330 * emacs-lisp/package.el (package-load-descriptor): Do not call
20331 `emacs-lisp-mode', just use its syntax table.
20332
20333 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20334
20335 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
20336 `font-lock-extra-managed-props' if any prettifying keyword is added.
20337 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
20338 (prog-mode): Use `setq-local'.
20339
20340 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20341
20342 * international/characters.el (standard-case-table): Set syntax of ?»
20343 and ?« to punctuation.
20344
20345 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
20346
20347 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
20348 Save relevant match data before calling `syntax-ppss' (bug#14595).
20349
20350 2013-06-15 Juri Linkov <juri@jurta.org>
20351
20352 * files-x.el (modify-file-local-variable-prop-line): Add local
20353 variables to the end of the existing comment on the first line.
20354 Use `file-auto-mode-skip' to skip interpreter magic line,
20355 and also skip XML declaration.
20356
20357 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20358
20359 * startup.el (package--builtin-versions): New var.
20360 (package-subdirectory-regexp): Remove.
20361 (package--description-file): Hard code its value instead.
20362
20363 * emacs-lisp/package.el: Don't activate packages older than builtin.
20364 (package-obsolete-list): Rename from package-obsolete-alist, and make
20365 it into a simple list of package-desc.
20366 (package-strip-version): Remove.
20367 (package-built-in-p): Use package--builtin-versions.
20368 (package-mark-obsolete): Simplify.
20369 (package-process-define-package): Mark it obsolete if older than the
20370 builtin version.
20371 (package-handle-response): Use line-end-position.
20372 (package-read-archive-contents, package--download-one-archive):
20373 Simplify.
20374 (package--add-to-archive-contents): Skip if older than the builtin or
20375 installed version.
20376 (package-menu-describe-package): Fix last change.
20377 (package-list-unversioned): New var.
20378 (package-menu--generate): Use it.
20379
20380 * emacs-lisp/autoload.el: Manage package--builtin-versions.
20381 (autoload--insert-text, autoload--insert-cookie-text): New functions.
20382 (autoload-builtin-package-versions): New variable.
20383 (autoload-generate-file-autoloads): Use them.
20384 Remove the list of autoloaded functions/macros from the
20385 (autoload...) comments.
20386
20387 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
20388
20389 2013-06-15 Eli Zaretskii <eliz@gnu.org>
20390
20391 * simple.el (line-move-partial): Don't jump to the next screen
20392 line as soon as it becomes visible. Instead, continue enlarging
20393 the vscroll until the portion of a tall screen line that's left on
20394 display is about the height of the frame's default font.
20395 (Bug#14567)
20396
20397 2013-06-15 Glenn Morris <rgm@gnu.org>
20398
20399 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
20400 compilation-error-regexp-alist void, or local while let-bound.
20401
20402 * progmodes/make-mode.el (makefile-mode-syntax-table):
20403 Treat "=" as punctuation. (Bug#14614)
20404
20405 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
20406
20407 * help-fns.el (describe-variable):
20408 Add extra line for permanent-local variables.
20409
20410 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
20411
20412 * progmodes/scheme.el (scheme-font-lock-keywords-2):
20413 Add export, import, library. (Bug#9164)
20414 (library): Set indent function.
20415
20416 2013-06-14 Glenn Morris <rgm@gnu.org>
20417
20418 * term/xterm.el (xterm--query):
20419 Stop after first matching handler. (Bug#14615)
20420
20421 2013-06-14 Ivan Kanis <ivan@kanis.fr>
20422
20423 Add support for dired in saveplace.
20424 * dired.el (dired-initial-position-hook): New variable.
20425 (dired-initial-position): Call hook to place cursor position.
20426 * saveplace.el (save-place-to-alist): Add dired position.
20427 (save-place-dired-hook): New function.
20428
20429 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
20430
20431 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
20432 through a symbol rather than letrec.
20433
20434 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
20435 (package-desc): Add `dir' field.
20436 (package-desc-full-name): New function.
20437 (package-load-descriptor): Combine the two arguments. Don't use `load'.
20438 (package-maybe-load-descriptor): Remove.
20439 (package-load-all-descriptors): Just call package-load-descriptor.
20440 (package--disabled-p): New function.
20441 (package-desc-vers, package-desc-doc): Remove aliases.
20442 (package--dir): Remove function.
20443 (package-activate): Check if a package is disabled.
20444 (package-process-define-package): New function, extracted from
20445 define-package.
20446 (define-package): Turn into a place holder.
20447 (package-unpack-single, package-tar-file-info):
20448 Use package--description-file.
20449 (package-compute-transaction): Use package--disabled-p.
20450 (package-download-transaction): Don't call
20451 package-maybe-load-descriptor since they're all loaded anyway.
20452 (package-install): Change argument to be a pkg-desc.
20453 (package-delete): Use a single pkg-desc argument.
20454 (describe-package-1): Use package-desc-dir instead of package--dir.
20455 Use package-desc property instead of package-symbol.
20456 (package-install-button-action): Adjust accordingly.
20457 (package--push): Rewrite.
20458 (package-menu--print-info): Adjust accordingly. Change the ID format
20459 to be a pkg-desc.
20460 (package-menu-describe-package, package-menu-get-status)
20461 (package-menu--find-upgrades, package-menu-mark-upgrades)
20462 (package-menu-execute, package-menu--name-predicate):
20463 Adjust accordingly.
20464 * startup.el (package--description-file): New function.
20465 (command-line): Use it.
20466 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20467 Use package-desc-version.
20468
20469 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
20470 (byte-compile-preprocess): Use it.
20471 (byte-compile-file-form-defalias): Try a bit harder to use macros we
20472 can't quite recognize.
20473 (byte-compile-add-to-list): Remove.
20474 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
20475 (cconv-closure-convert): Add assertion.
20476
20477 * emacs-lisp/map-ynp.el: Use lexical-binding.
20478 (map-y-or-n-p): Remove unused vars `tail' and `object'.
20479 Factor out some repeated code.
20480
20481 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20482
20483 * subr.el (with-eval-after-load): New macro.
20484 (eval-after-load): Allow form to be a function.
20485 take advantage of lexical-binding.
20486 (do-after-load-evaluation): Use dolist and adjust to new format.
20487 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
20488
20489 2013-06-13 Juri Linkov <juri@jurta.org>
20490
20491 * replace.el (perform-replace): Display "symbol " and other search
20492 modes from `isearch-message-prefix' in the *Help* buffer.
20493
20494 * isearch.el (isearch-query-replace): Add " symbol" and other
20495 possible search modes from `isearch-message-prefix' to the prompt.
20496 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
20497 when reading a regexp to collect.
20498
20499 2013-06-13 Juri Linkov <juri@jurta.org>
20500
20501 * isearch.el (word-search-regexp): Match whitespace if the search
20502 string begins or ends in whitespace. The LAX arg is applied to
20503 both ends of the search string. Use `regexp-quote' and explicit
20504 \< and \> instead of \b. Use \` and \' instead of ^ and $.
20505 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
20506 boundaries are replaced with symbol boundaries, and characters
20507 between symbols match non-word non-symbol syntax. (Bug#14602)
20508
20509 2013-06-13 Juri Linkov <juri@jurta.org>
20510
20511 * isearch.el (isearch-del-char): Don't exceed the length of
20512 `isearch-string' by the prefix arg. (Bug#14563)
20513
20514 2013-06-13 Juri Linkov <juri@jurta.org>
20515
20516 * isearch.el (isearch-yank-word, isearch-yank-line)
20517 (isearch-char-by-name, isearch-quote-char)
20518 (isearch-printing-char, isearch-process-search-char):
20519 Add optional count prefix arg. (Bug#14563)
20520
20521 * international/isearch-x.el
20522 (isearch-process-search-multibyte-characters):
20523 Add optional count prefix arg.
20524
20525 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20526
20527 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
20528 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
20529 lexical-binding.
20530
20531 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
20532
20533 * subr.el (set-temporary-overlay-map): Add on-exit argument.
20534
20535 2013-06-13 Glenn Morris <rgm@gnu.org>
20536
20537 * startup.el (tty-handle-args):
20538 Don't just discard "--" and anything after. (Bug#14608)
20539
20540 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
20541
20542 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
20543
20544 Implement changes in Secret Service API. Make it backward compatible.
20545 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
20546 (secrets-create-item): Use it. Prefix properties with interface.
20547
20548 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
20549
20550 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
20551 (term-emulate-terminal): Respect term-suppress-hard-newline.
20552
20553 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
20554
20555 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
20556 Only remove a `thumb-file' overlay. (Bug#14548)
20557
20558 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
20559
20560 * mail/reporter.el (reporter-submit-bug-report):
20561 Handle missing package-name. (Bug#14600)
20562
20563 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20564
20565 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
20566 (reftex-citation-prompt, reftex-default-bibliography)
20567 (reftex-bib-or-thebib, reftex-get-bibfile-list)
20568 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
20569 (reftex-bib-sort-author, reftex-bib-sort-year)
20570 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
20571 (reftex-extract-bib-entries-from-thebibliography)
20572 (reftex-get-bibkey-default, reftex-get-bib-names)
20573 (reftex-parse-bibtex-entry, reftex-get-bib-field)
20574 (reftex-format-bib-entry, reftex-parse-bibitem)
20575 (reftex-format-bibitem, reftex-do-citation)
20576 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
20577 (reftex-restrict-bib-matches, reftex-extract-bib-file)
20578 (reftex-insert-bib-matches, reftex-format-citation)
20579 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
20580 (reftex-create-bibtex-file): Add docstrings, mostly by converting
20581 existing comments into docstrings.
20582
20583 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20584
20585 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
20586
20587 2013-06-12 Andreas Schwab <schwab@suse.de>
20588
20589 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
20590 for auto-save files.
20591
20592 2013-06-12 Glenn Morris <rgm@gnu.org>
20593
20594 * ido.el (ido-delete-ignored-files): Remove.
20595 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
20596 Go back to calling ido-ignore-item-p directly.
20597
20598 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
20599
20600 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
20601
20602 * ido.el (ido-delete-ignored-files): New function,
20603 split from ido-make-file-list-1.
20604 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
20605 (ido-make-file-list-1): Use ido-delete-ignored-files.
20606
20607 2013-06-12 Leo Liu <sdl.web@gmail.com>
20608
20609 * progmodes/octave.el (inferior-octave-startup)
20610 (inferior-octave-completion-table)
20611 (inferior-octave-track-window-width-change)
20612 (octave-eldoc-function-signatures, octave-help)
20613 (octave-find-definition): Use single quoted strings.
20614 (inferior-octave-startup-args): Change default value.
20615 (inferior-octave-startup): Do not hard code "-i" and
20616 "--no-line-editing".
20617 (inferior-octave-resync-dirs): Add optional arg NOERROR.
20618 (inferior-octave-directory-tracker): Use it.
20619 (octave-goto-function-definition): Robustify.
20620 (octave-help): Support highlighting operators in 'See also'.
20621 (octave-find-definition): Find subfunctions only in Octave mode.
20622
20623 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20624
20625 * help-fns.el (help-fns--compiler-macro): If the handler function is
20626 named, then put a link to it.
20627 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
20628 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
20629 (cl-typep): Use it.
20630 (cl-eval-when): Simplify debug spec.
20631 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
20632 compiler-macro function instead of setting `compiler-macro-file'.
20633
20634 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20635
20636 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
20637 * vc/vc-hooks.el (vc-stay-local): Doc fix.
20638
20639 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20640 Daniel Hackney <dan@haxney.org>
20641
20642 First part of Daniel Hackney's patch to package.el.
20643 * emacs-lisp/package.el: Use defstruct.
20644 (package-desc): New, main struct.
20645 (package--bi-desc, package--ac-desc): New structs, used to describe the
20646 format in external files.
20647 (package-desc-vers): Replace with package-desc-version accessor.
20648 (package-desc-doc): Replace with package-desc-summary accessor.
20649 (package-activate-1): Remove `package' arg since the pkg-vec now
20650 includes the name.
20651 (define-package): Use package-desc-from-define.
20652 (package-unpack-single): Change file-name arg to be a symbol.
20653 (package--add-to-archive-contents): Use package-desc-create and new
20654 accessor functions to package--ac-desc.
20655 (package-buffer-info, package-tar-file-info): Return a package-desc.
20656 (package-install-from-buffer): Remove `type' argument. Change pkg-info
20657 arg to be a package-desc.
20658 (package-install-file): Adjust accordingly. Use \' to match EOS.
20659 (package--from-builtin): New function.
20660 (describe-package-1, package-menu--generate): Use it.
20661 (package--make-autoloads-and-compile): Change name arg to be a symbol.
20662 (package-generate-autoloads): Idem and return the name of the file.
20663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20664 Change pkg-info arg to be a package-desc.
20665 Use package-make-ac-desc.
20666 (package-upload-file): Use \' to match EOS.
20667 * finder.el (finder-compile-keywords): Use package-make-builtin.
20668
20669 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20670
20671 * vc/vc.el (vc-deduce-fileset): Change error message.
20672 (vc-read-backend): New function.
20673 (vc-next-action): Use it.
20674
20675 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
20676
20677 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
20678 (prolog-font-lock-keywords): Use regexp-opt instead.
20679 Don't manually highlight strings.
20680 (prolog-mode-variables): Simplify comment-start-skip.
20681 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
20682
20683 * emacs-lisp/generic.el (generic--normalise-comments)
20684 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
20685 (generic-mode-set-comments): Use them.
20686 (generic-bracket-support): Use setq-local.
20687 (generic-make-keywords-list): Declare obsolete.
20688
20689 2013-06-11 Glenn Morris <rgm@gnu.org>
20690
20691 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20692 Prettify after setting font-lock-defaults. (Bug#14574)
20693
20694 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
20695
20696 * replace.el (query-replace, occur-read-regexp-defaults-function)
20697 (replace-search):
20698 * subr.el (declare-function, number-sequence, local-set-key)
20699 (substitute-key-definition, locate-user-emacs-file)
20700 (with-silent-modifications, split-string, eval-after-load):
20701 Fix typos, remove unneeded backslashes and reflow some docstrings.
20702
20703 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20704
20705 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
20706 default for Elisp files.
20707
20708 2013-06-11 Glenn Morris <rgm@gnu.org>
20709
20710 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
20711 although define-derived-mode was doing this anyway. (Bug#14583)
20712
20713 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
20714
20715 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20716 Fix make-variable-buffer-local call to refer to the correct variable.
20717
20718 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
20719
20720 * eshell/em-term.el (eshell-visual-commands)
20721 (eshell-visual-subcommands, eshell-visual-options):
20722 Add summary line to docstrings. Add cross-references.
20723
20724 2013-06-10 Glenn Morris <rgm@gnu.org>
20725
20726 * epa.el (epa-read-file-name): New function. (Bug#14510)
20727 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
20728
20729 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20730
20731 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
20732 output redirection to be ignored with visual commands.
20733
20734 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20735
20736 * eshell/em-term.el (eshell-visual-command-p): New function.
20737 (eshell-term-initialize): Move long lambda to separate function
20738 eshell-visual-command-p.
20739 * eshell/em-dirs.el (eshell-dirs-initialize):
20740 * eshell/em-script.el (eshell-script-initialize):
20741 Add missing #' to lambda.
20742
20743 2013-06-08 Leo Liu <sdl.web@gmail.com>
20744
20745 * progmodes/octave.el (octave-add-log-current-defun): New function.
20746 (octave-mode): Set add-log-current-defun-function.
20747 (octave-goto-function-definition): Do not move point if not found.
20748 (octave-find-definition): Enhance to try subfunctions first.
20749
20750 2013-06-08 Glenn Morris <rgm@gnu.org>
20751
20752 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20753 (byte-compile-backward-char, byte-compile-backward-word):
20754 Improve previous change, to handle non-explicit nil.
20755
20756 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
20757
20758 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
20759 (smie--opener/closer-at-point): New function.
20760 (smie--matching-block-data): Use it. Don't match from right after an
20761 opener or right before a closer. Obey smie-blink-matching-inners.
20762 Don't signal a mismatch for repeated inners like "switch..case..case".
20763
20764 2013-06-07 Leo Liu <sdl.web@gmail.com>
20765
20766 * progmodes/octave.el (octave-mode): Set comment-use-global-state
20767 to t. (Bug#14303)
20768 (octave-function-header-regexp): Fix. (Bug#14570)
20769 (octave-help-mode-finish-hook, octave-help-mode-finish):
20770 Remove. Just use temp-buffer-show-hook.
20771
20772 * newcomment.el (comment-search-backward): Revert last change.
20773 (Bug#14434)
20774
20775 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
20776
20777 2013-06-07 Eli Zaretskii <eliz@gnu.org>
20778
20779 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
20780 through xargs, to avoid failure due to MS-Windows limitations on
20781 command-line length.
20782
20783 2013-06-06 Glenn Morris <rgm@gnu.org>
20784
20785 * font-lock.el (lisp-font-lock-keywords-2):
20786 Treat user-error like error.
20787
20788 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20789 (byte-compile-backward-char, byte-compile-backward-word):
20790 Handle explicit nil arguments. (Bug#14565)
20791
20792 2013-06-05 Alan Mackenzie <acm@muc.de>
20793
20794 * isearch.el (isearch-allow-prefix): New user option.
20795 (isearch-other-meta-char): Don't exit isearch when a prefix
20796 argument is typed whilst `isearch-allow-prefix' is non-nil.
20797 (Bug#9706)
20798
20799 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20800
20801 * autorevert.el (auto-revert-notify-handler): Use memq.
20802 Hide assertion failure.
20803
20804 * skeleton.el: Use cl-lib.
20805 (skeleton-further-elements): Use defvar-local.
20806 (skeleton-insert): Use cl-progv.
20807
20808 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20809
20810 * progmodes/prog-mode.el (prog-prettify-symbols)
20811 (prog-prettify-install): Update docstrings.
20812
20813 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20814
20815 * simple.el: Move all the prog-mode code to prog-mode.el.
20816 * progmodes/prog-mode.el: New file.
20817 * loadup.el: Add prog-mode.el.
20818
20819 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20820
20821 * simple.el (prog-prettify-symbols): Add version.
20822 (prog-prettify-install): Add convenience function to prettify symbols.
20823
20824 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
20825 (perl--augmented-font-lock-keywords-1)
20826 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
20827 variables and use it.
20828
20829 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20830 (cfengine3-mode): Remove unneeded variable and use it.
20831
20832 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20833 (lisp--augmented-font-lock-keywords-1)
20834 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
20835 Remove unneeded variables and use it.
20836
20837 2013-06-05 João Távora <joaotavora@gmail.com>
20838
20839 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
20840 to point when opening the connection. (Bug#14380)
20841
20842 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20843
20844 * subr.el (load-history-regexp, load-history-filename-element)
20845 (eval-after-load, after-load-functions, do-after-load-evaluation)
20846 (eval-next-after-load, display-delayed-warnings)
20847 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
20848 definition of save-match-data.
20849 (overriding-local-map): Remove accidental obsolescence declaration.
20850
20851 * emacs-lisp/edebug.el (edebug-result): Move before first use.
20852
20853 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
20854
20855 Generalize symbol prettify support to prog-mode and implement it
20856 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
20857 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
20858 (prog--prettify-font-lock-compose-symbol)
20859 (prog-prettify-font-lock-symbols-keywords): New variables and
20860 functions to support symbol prettification.
20861 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
20862 (lisp--augmented-font-lock-keywords-1)
20863 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
20864 (lisp--prettify-symbols-alist): Implement prettify of lambda.
20865 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
20866 (cfengine3--prettify-symbols-alist, cfengine3-mode):
20867 Implement prettify of -> => :: strings.
20868 * progmodes/perl-mode.el (perl-prettify-symbols)
20869 (perl--font-lock-compose-symbol)
20870 (perl--font-lock-symbols-keywords): Move to prog-mode.
20871 (perl--prettify-symbols-alist): Prettify -> => :: strings.
20872 (perl-font-lock-keywords-1)
20873 (perl-font-lock-keywords-2): Remove explicit prettify support.
20874 (perl--augmented-font-lock-keywords)
20875 (perl--augmented-font-lock-keywords-1)
20876 (perl--augmented-font-lock-keywords-2, perl-mode):
20877 Implement prettify support.
20878
20879 2013-06-05 Leo Liu <sdl.web@gmail.com>
20880
20881 Re-implement SMIE matching block highlight using
20882 show-paren-data-function. (Bug#14395)
20883 * emacs-lisp/smie.el (smie-matching-block-highlight)
20884 (smie--highlight-matching-block-overlay)
20885 (smie--highlight-matching-block-lastpos)
20886 (smie-highlight-matching-block)
20887 (smie-highlight-matching-block-mode): Remove.
20888 (smie--matching-block-data-cache): New variable.
20889 (smie--matching-block-data): New function.
20890 (smie-setup): Use smie--matching-block-data for
20891 show-paren-data-function.
20892
20893 * progmodes/octave.el (octave-mode-menu): Fix.
20894 (octave-find-definition): Skip garbage lines.
20895
20896 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20897
20898 Fix compilation error with simultaneous dynamic+lexical scoping.
20899 Add warning when a defvar appears after the first let-binding.
20900 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
20901 (byte-compile-close-variables): Initialize it.
20902 (byte-compile--declare-var): New function.
20903 (byte-compile-file-form-defvar)
20904 (byte-compile-file-form-define-abbrev-table)
20905 (byte-compile-file-form-custom-declare-variable): Use it.
20906 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
20907 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
20908 (byte-compile-bind): Handle dynamic bindings that shadow
20909 lexical bindings.
20910 (byte-compile-unbind): Make arg non-optional.
20911 (byte-compile-let): Simplify.
20912 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
20913 (cconv--analyse-function, cconv-analyse-form): Populate it.
20914 Protect byte-compile-bound-variables to limit the scope of defvars.
20915 (cconv-analyse-form): Add missing rule for (defvar <foo>).
20916 Remove unneeded rule for `declare'.
20917
20918 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
20919 so as to avoid depending on cl-adjoin at run-time.
20920 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
20921
20922 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
20923 (macroexp--warn-and-return): Use it.
20924
20925 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
20926
20927 * subr.el: Convert to lexical binding.
20928 (overriding-local-map): Make obsolete.
20929 (add-to-list): Doc fix. Add compiler macro.
20930 (read-key): Swap values of local maps.
20931
20932 2013-06-05 Leo Liu <sdl.web@gmail.com>
20933
20934 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
20935
20936 2013-06-04 Leo Liu <sdl.web@gmail.com>
20937
20938 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
20939 (compilation-auto-jump): Suppress the "Mark set" message to give
20940 way to exit message.
20941
20942 2013-06-04 Alan Mackenzie <acm@muc.de>
20943
20944 Remove faulty optimization from indentation calculation.
20945 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
20946 search limit based on 2000 characters back from indent-point.
20947
20948 2013-06-03 Tassilo Horn <tsdh@gnu.org>
20949
20950 * eshell/em-term.el (cl-lib): Require `cl-lib'.
20951
20952 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
20953
20954 * emacs-lisp/lisp.el: Use lexical-binding.
20955 (lisp--local-variables-1, lisp--local-variables): New functions.
20956 (lisp--local-variables-completion-table): New var.
20957 (lisp-completion-at-point): Use it complete let-bound vars.
20958
20959 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
20960 eagerly (bug#14422).
20961
20962 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
20963
20964 * autorevert.el (auto-revert-notify-enabled)
20965 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20966 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
20967 (auto-revert-notify-handler): Handle also gfilenotify.
20968
20969 * subr.el (file-notify-handle-event): New defun. Replacing ...
20970 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
20971 Remove.
20972
20973 2013-06-03 Juri Linkov <juri@jurta.org>
20974
20975 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
20976 `M-s h .'. (Bug#14427)
20977
20978 * hi-lock.el (highlight-symbol-at-point): New alias for the new
20979 command `hi-lock-face-symbol-at-point'.
20980 (hi-lock-face-symbol-at-point): New command.
20981 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
20982 (hi-lock-menu): Add `highlight-symbol-at-point'.
20983 (hi-lock-mode): Doc fix.
20984
20985 * isearch.el (isearch-forward-symbol-at-point): New command.
20986 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
20987 (isearch-highlight-regexp): Add a regexp which matches
20988 words/symbols for word/symbol mode.
20989
20990 * subr.el (find-tag-default-bounds): New function with the body
20991 mostly moved from `find-tag-default'.
20992 (find-tag-default): Move most code to `find-tag-default-bounds',
20993 call it and apply `buffer-substring-no-properties' afterwards.
20994
20995 2013-06-03 Tassilo Horn <tsdh@gnu.org>
20996
20997 * eshell/em-term.el (eshell-term-initialize):
20998 Use `cl-intersection' rather than `intersection'.
20999
21000 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
21001
21002 * vc/log-view.el: Doc fix.
21003 (log-view-mode-map): Copy keymap from `special-mode-map'.
21004
21005 2013-06-02 Eric Ludlam <zappo@gnu.org>
21006
21007 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21008 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21009 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21010 (eieio-unbound, eieio-default-superclass)
21011 (eieio--define-field-accessors, method-static, method-before)
21012 (method-primary, method-after, method-num-lists)
21013 (method-generic-before, method-generic-primary)
21014 (method-generic-after, method-num-slots)
21015 (eieio-specialized-key-to-generic-key)
21016 (eieio--check-type, class-v, class-p)
21017 (eieio-class-name, define-obsolete-function-alias)
21018 (eieio-class-parents-fast, eieio-class-children-fast)
21019 (same-class-fast-p, class-constructor, generic-p)
21020 (generic-primary-only-p, generic-primary-only-one-p)
21021 (class-option-assoc, class-option, eieio-object-p)
21022 (class-abstract-p, class-method-invocation-order)
21023 (eieio-defclass-autoload-map, eieio-defclass-autoload)
21024 (eieio-class-un-autoload, eieio-defclass)
21025 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21026 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21027 (eieio--defgeneric-init-form, eieio-defgeneric-form)
21028 (eieio-defgeneric-reset-generic-form)
21029 (eieio-defgeneric-form-primary-only)
21030 (eieio-defgeneric-reset-generic-form-primary-only)
21031 (eieio-defgeneric-form-primary-only-one)
21032 (eieio-defgeneric-reset-generic-form-primary-only-one)
21033 (eieio-unbind-method-implementations)
21034 (eieio--defmethod, eieio--typep)
21035 (eieio-perform-slot-validation, eieio-validate-slot-value)
21036 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21037 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21038 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21039 (eieio-slot-name-index, eieio-class-slot-name-index)
21040 (eieio-set-defaults, eieio-initarg-to-attribute)
21041 (eieio-attribute-to-initarg, eieio-c3-candidate)
21042 (eieio-c3-merge-lists, eieio-class-precedence-c3)
21043 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21044 (eieio-class-precedence-list, eieio-generic-call-methodname)
21045 (eieio-generic-call-arglst, eieio-generic-call-key)
21046 (eieio-generic-call-next-method-list)
21047 (eieio-pre-method-execution-functions, eieio-generic-call)
21048 (eieio-generic-call-primary-only, eieiomt-method-list)
21049 (eieiomt-optimizing-obarray, eieiomt-install)
21050 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21051 (eieio-generic-form, eieio-defmethod, make-obsolete)
21052 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21053 (defclass): Remove `eval-and-compile' from macro.
21054 (call-next-method, shared-initialize): Instead of using
21055 `scoped-class' variable, use new eieio--scoped-class, and
21056 eieio--with-scoped-class.
21057 (initialize-instance): Rename local variable 'scoped-class' to
21058 'this-class' to remove ambiguitity from old global.
21059
21060 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
21061 eieio.el.
21062 (eieio--scoped-class-stack): New variable.
21063 (eieio--scoped-class): New fcn.
21064 (eieio--with-scoped-class): New scoping macro.
21065 (eieio-defclass): Use pushnew instead of add-to-list.
21066 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21067 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21068 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21069 `scoped-class' variable, use new eieio--scoped-class, and
21070 eieio--with-scoped-class.
21071
21072 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21073
21074 2013-06-02 Tassilo Horn <tsdh@gnu.org>
21075
21076 * eshell/esh-ext.el (eshell-external-command): Pass args to
21077 `eshell-find-interpreter'.
21078 (eshell-find-interpreter): Add new second parameter ARGS.
21079
21080 * eshell/em-script.el (eshell-script-initialize): Add second arg
21081 to the function added as MATCH to `eshell-interpreter-alist'.
21082
21083 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21084 the function added as MATCH to `eshell-interpreter-alist'.
21085
21086 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21087 (eshell-visual-options): New defcustom.
21088 (eshell-escape-control-x): Adapt docstring.
21089 (eshell-term-initialize): Test `eshell-visual-subcommands' and
21090 `eshell-visual-options' in addition to `eshell-visual-commands'.
21091 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21092
21093 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
21094
21095 * progmodes/python.el (python-indent-block-enders): Add break,
21096 continue and raise keywords.
21097
21098 2013-06-01 Glenn Morris <rgm@gnu.org>
21099
21100 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21101
21102 Plain (f)boundp silences compilation warnings since Emacs 22.1.
21103 * progmodes/cc-cmds.el (delete-forward-p):
21104 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21105 * progmodes/cc-engine.el (buffer-syntactic-context):
21106 * progmodes/cc-fonts.el (face-property-instance):
21107 * progmodes/cc-mode.el (set-keymap-parents):
21108 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21109 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21110 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21111 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21112 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21113
21114 * progmodes/cc-vars.el (other): Emacs has this widget since
21115 at least 21.1, so don't (re)define it.
21116
21117 * eshell/em-cmpl.el (eshell-cmpl-initialize):
21118 Replace the obsolete alias pcomplete-arg-quote-list.
21119
21120 2013-06-01 Leo Liu <sdl.web@gmail.com>
21121
21122 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21123 punctuation syntax.
21124 (inferior-octave-minimal-columns)
21125 (inferior-octave-last-column-width): New variables.
21126 (inferior-octave-track-window-width-change): New function.
21127 (inferior-octave-mode): Adjust column width so that Octave output,
21128 for example from 'ls', can fit into the window nicely.
21129
21130 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21131
21132 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21133 Highlight expansions inside regexp literals.
21134
21135 2013-05-31 Glenn Morris <rgm@gnu.org>
21136
21137 * obsolete/sym-comp.el (symbol-complete):
21138 Replace obsolete completion-annotate-function.
21139
21140 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21141
21142 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21143
21144 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21145 New function, checks if point is inside a literal that allows
21146 expression expansion.
21147 (ruby-syntax-propertize-expansion): Use it.
21148 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21149 around the body.
21150
21151 2013-05-30 Juri Linkov <juri@jurta.org>
21152
21153 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21154 to "\M-si".
21155 (isearch-invisible): New variable.
21156 (isearch-forward): Doc fix.
21157 (isearch-mode): Set `isearch-invisible'
21158 to the value of `search-invisible'.
21159 (isearch-toggle-case-fold): Doc fix.
21160 (isearch-toggle-invisible): New command.
21161 (isearch-query-replace): Let-bind `search-invisible'
21162 to the value of `isearch-invisible'.
21163 (isearch-search): Use `isearch-invisible' instead of
21164 `search-invisible'. Let-bind `search-invisible'
21165 to the value of `isearch-invisible'. (Bug#11378)
21166
21167 2013-05-30 Juri Linkov <juri@jurta.org>
21168
21169 * replace.el (perform-replace): Avoid `isearch-range-invisible'
21170 call when `query-flag' is nil and `search-invisible' is non-nil.
21171 (Bug#11746)
21172
21173 2013-05-30 Glenn Morris <rgm@gnu.org>
21174
21175 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21176
21177 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21178 (cc-require): Suppress spurious "noruntime" warnings.
21179 (cc-require-when-compile): Use fboundp, for sake of compiler.
21180
21181 * progmodes/cc-mode.el: Move load of cc-vars before that of
21182 cc-langs (which in turn loads cc-vars), to quieten compiler.
21183
21184 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21185
21186 * paren.el: Simplify the code.
21187 (show-paren-mode): Always start the timer.
21188 (show-paren--idle-timer): Rename from show-paren-idle-timer.
21189 (show-paren--overlay, show-paren--overlay-1): Rename from
21190 show-paren-overlay and show-paren-overlay-1, and initialize to an
21191 overlay rather than to nil.
21192 (show-paren-function): Misc cleanup and simplifications.
21193
21194 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21195
21196 * paren.el (show-paren-data-function): New hook.
21197 (show-paren--default): New function, extracted from show-paren-function.
21198 (show-paren-function): Use show-paren-data-function.
21199
21200 2013-05-30 Glenn Morris <rgm@gnu.org>
21201
21202 * ielm.el (ielm-map, ielm-complete-symbol):
21203 Use completion-at-point rather than obsolete functions.
21204 (inferior-emacs-lisp-mode): Doc fix.
21205 Set completion-at-point-functions, rather than
21206 comint-dynamic-complete-functions.
21207
21208 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21209 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21210 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21211
21212 * image.el (image-animated-p): Tweak definition.
21213
21214 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21215 (rlogin-process-connection-type): Tweak default. Add set-after.
21216 (rlogin-host): Doc fix.
21217 (rlogin): Tweak prompt.
21218 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21219
21220 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21221 * progmodes/tcl.el (inferior-tcl-mode-map):
21222 Use completion-at-point rather than obsolete alias.
21223
21224 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21225
21226 * minibuffer.el (read-file-name-completion-ignore-case):
21227 Move before completion--in-region, for eager macro expansion.
21228
21229 2013-05-29 Juri Linkov <juri@jurta.org>
21230
21231 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21232 for total count of matching lines. Add `global-matches' for total
21233 count of matches. Rename `matches' to `lines' for count of
21234 matching lines. Add `matches' for count of matches.
21235 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
21236 to `prev-line' for line number of prev match endpt.
21237 Increment `matches' for every match. Print the number of
21238 matching lines in the header.
21239 (occur-context-lines): Rename `lines' to `curr-line'.
21240 Rename `prev-lines' to `prev-line'. (Bug#14017)
21241
21242 2013-05-29 Juri Linkov <juri@jurta.org>
21243
21244 * replace.el (perform-replace): Add `skip-read-only-count',
21245 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21246 Increment them for corresponding conditions and report the number
21247 of skipped occurrences in the final message. (Bug#11746)
21248 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21249 (replace-string, replace-regexp): Doc fix.
21250
21251 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
21252
21253 * emacs-lisp/trace.el (trace--read-args): Provide a default.
21254
21255 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21256 prog-mode-map (bug#14504).
21257
21258 2013-05-29 Leo Liu <sdl.web@gmail.com>
21259
21260 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21261 (octave-help): Small simplification.
21262
21263 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21264 off the highlight first.
21265
21266 2013-05-29 Glenn Morris <rgm@gnu.org>
21267
21268 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21269 Handle idlwave-last-system-routine-info-cons-cell being nil.
21270
21271 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21272 (idlwave-write-paths): Simplify via with-temp-buffer.
21273
21274 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21275 * emulation/cua-rect.el: Also load cua-base at run time.
21276
21277 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21278 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21279 (cperl-imenu-on-info): Require imenu.
21280
21281 2013-05-28 Alan Mackenzie <acm@muc.de>
21282
21283 Handle "capitalised keywords" correctly.
21284 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21285
21286 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
21287
21288 * eshell/em-unix.el: Add -r option to cp.
21289
21290 2013-05-28 Glenn Morris <rgm@gnu.org>
21291
21292 * vc/vc-arch.el (vc-exec-after): Declare.
21293 (vc-switches): Autoload.
21294 * vc/vc-bzr.el: No need to require vc when compiling.
21295 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
21296 (vc-resynch-buffer, vc-dir-refresh): Declare.
21297 (vc-setup-buffer, vc-switches): Autoload.
21298 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
21299 (vc-resynch-buffer): Declare.
21300 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
21301 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
21302 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
21303 (grep-read-regexp, grep-read-files, grep-expand-template)
21304 (vc-dir-refresh): Declare.
21305 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21306 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
21307 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
21308 * vc/vc-mtn.el (vc-exec-after): Declare.
21309 (vc-switches): Autoload.
21310 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
21311 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
21312 (vc-file-tree-walk): Declare.
21313 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
21314 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
21315 (vc-tag-precondition, vc-rename-master): Autoload.
21316 * vc/vc-svn.el (vc-exec-after): Declare.
21317 (vc-switches, vc-setup-buffer): Autoload.
21318 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
21319 Autoload.
21320 (vc-resynch-buffer): Declare.
21321
21322 * obsolete/fast-lock.el (byte-compile-warnings):
21323 Don't warn about obsolete features in this obsolete file.
21324
21325 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
21326 Move definition before use.
21327
21328 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
21329 (dun-unix-verbs): Remove dun-zippy.
21330 (dun-zippy): Remove function.
21331
21332 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
21333
21334 2013-05-27 Juri Linkov <juri@jurta.org>
21335
21336 * replace.el (replace-search): New function with code moved out
21337 from `perform-replace'.
21338 (replace-highlight, replace-dehighlight): Move function definitions
21339 up closer to `replace-search'. (Bug#11746)
21340
21341 2013-05-27 Juri Linkov <juri@jurta.org>
21342
21343 * replace.el (perform-replace): Ignore invisible matches.
21344 In addition to checking `query-replace-skip-read-only', also
21345 filter out matches by calling `run-hook-with-args-until-failure'
21346 on `isearch-filter-predicates', and also check `search-invisible'
21347 for t or call `isearch-range-invisible'.
21348 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
21349
21350 2013-05-27 Juri Linkov <juri@jurta.org>
21351
21352 * isearch.el (isearch-filter-predicates): Rename from
21353 `isearch-filter-predicate'. Doc fix. (Bug#11378)
21354 (isearch-message-prefix): Display text from the property
21355 `isearch-message-prefix' of the currently active filters.
21356 (isearch-search): Don't compare `isearch-filter-predicate' with
21357 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
21358 on `isearch-filter-predicates'. Also check `search-invisible' for t
21359 or call `isearch-range-invisible'.
21360 (isearch-filter-visible): Make obsolete.
21361 (isearch-lazy-highlight-search):
21362 Call `run-hook-with-args-until-failure' on
21363 `isearch-filter-predicates' and use `isearch-range-invisible'.
21364
21365 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
21366 `isearch-filter-predicates' instead of `funcall'ing
21367 `isearch-filter-predicate'.
21368 (Info-mode): Set `Info-isearch-filter' to
21369 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
21370
21371 * dired-aux.el (dired-isearch-filter-predicate-orig):
21372 Remove variable.
21373 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
21374 (dired-isearch-filenames-end): Add and remove
21375 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
21376 instead of changing the value of `isearch-filter-predicate'.
21377 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
21378 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
21379 Put property `isearch-message-prefix' to "filename " on
21380 `dired-isearch-filter-filenames'.
21381
21382 * wdired.el (wdired-change-to-wdired-mode):
21383 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
21384 locally instead of changing `isearch-filter-predicate'.
21385 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
21386
21387 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
21388
21389 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
21390 return the commit hash (Bug#14459). Also set the
21391 `vc-git-detached' property.
21392 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
21393 (vc-git-mode-line-string): Use the same help-echo format whether
21394 in detached mode or not, because we know the actual revision now.
21395 When in detached mode, shorten the revision to 7 chars.
21396
21397 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21398
21399 * emacs-lisp/easy-mmode.el (define-minor-mode):
21400 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
21401 mode hook and provide a docstring.
21402
21403 2013-05-27 Alan Mackenzie <acm@muc.de>
21404
21405 Remove spurious syntax-table text properties inserted by C-y.
21406 * progmodes/cc-mode.el (c-after-change): Also clear hard
21407 syntax-table property with value nil.
21408
21409 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
21410
21411 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
21412 when reading the events; the buffer layout shall not be changed.
21413
21414 2013-05-27 Leo Liu <sdl.web@gmail.com>
21415
21416 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
21417 New variable.
21418 (inferior-octave-directory-tracker): Automatically re-sync
21419 default-directory.
21420 (octave-help): Improve handling of 'See also'.
21421
21422 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21423
21424 * doc-view.el: Minor naming convention tweaks.
21425 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
21426
21427 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
21428 even if there's no `display' property yet (bug#14435).
21429
21430 2013-05-25 Eli Zaretskii <eliz@gnu.org>
21431
21432 * subr.el (unmsys--file-name): Rename from reveal-filename.
21433
21434 * Makefile.in (custom-deps, finder-data, autoloads)
21435 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21436 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21437 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
21438
21439 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21440
21441 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
21442 error-completion on the first 2 args of condition-case (bug#14446).
21443 Don't burp at EOB.
21444
21445 2013-05-25 Leo Liu <sdl.web@gmail.com>
21446
21447 * comint.el (comint-previous-matching-input): Do not flood the
21448 *Messages* buffer with trivial messages.
21449
21450 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21451
21452 * progmodes/flymake.el (flymake-nop): Don't return a string.
21453 (flymake-set-at): Fix typo.
21454
21455 * simple.el (read--expression): New function, extracted from
21456 eval-expression. Set completion-at-point-functions (bug#14465).
21457 (eval-expression, eval-minibuffer): Use it.
21458
21459 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
21460
21461 * progmodes/flymake.el (flymake-save-buffer-in-file)
21462 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
21463 (flymake-selected-frame, flymake-log, flymake-ins-after)
21464 (flymake-set-at, flymake-get-buildfile-from-cache)
21465 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
21466 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
21467 Refine the doc string.
21468 (flymake-get-file-name-mode-and-masks): Reformat.
21469 (flymake-get-real-file-name-function): Fix a minor bug.
21470
21471 2013-05-24 Juri Linkov <juri@jurta.org>
21472
21473 * progmodes/grep.el (grep-mode-font-lock-keywords):
21474 Support =linenumber= format used by git-grep for lines with
21475 function names. (Bug#13549)
21476
21477 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21478
21479 * progmodes/octave.el (octave-smie-rules): Return nil rather than
21480 0 after a semi-colon; it works better for smie-auto-fill.
21481 (octave--indent-new-comment-line): New function.
21482 (octave-indent-new-comment-line): Use it (indirectly).
21483 (octave-mode): Don't disable smie-auto-fill. Use add-function to
21484 modify comment-line-break-function.
21485
21486 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
21487 (smie-setup): Use add-function to set it.
21488
21489 2013-05-24 Sam Steingold <sds@gnu.org>
21490
21491 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
21492 argument (before the `interactive' argument).
21493
21494 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21495
21496 * image-mode.el (image-mode-winprops): Add winprops to
21497 image-mode-winprops-alist before running
21498 image-mode-new-window-functions.
21499 * doc-view.el (doc-view-new-window-function): Don't delay
21500 doc-view-goto-page via timers (bug#14435).
21501
21502 2013-05-24 Tassilo Horn <tsdh@gnu.org>
21503
21504 * doc-view.el: Integrate with desktop.el. (Bug#14435)
21505 (doc-view-desktop-save-buffer): New function.
21506 (doc-view-restore-desktop-buffer): New function.
21507 (desktop-buffer-mode-handlers):
21508 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
21509 handler.
21510 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
21511 `desktop-save-buffer' function.
21512
21513 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
21514
21515 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
21516 (tramp-gvfs-file-name-handler): Raise a user error when
21517 `tramp-gvfs-enabled' is nil.
21518 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
21519 Do not raise a user error when loading package. (Bug#14447)
21520
21521 * net/xesam.el: Move to obsolete/.
21522
21523 2013-05-24 Glenn Morris <rgm@gnu.org>
21524
21525 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
21526
21527 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
21528
21529 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
21530 (Info-find-node, Man-getpage-in-background): Declare.
21531
21532 * mail/unrmail.el (unrmail):
21533 Replace obsolete detect-coding-with-priority.
21534
21535 * net/socks.el (socks-split-string): Use this rather than split-string.
21536 (socks-nslookup-host): Update for above change.
21537 (dynamic-choice, s5-dynamic-choice-match)
21538 (s5-dynamic-choice-match-inline, s5-widget-value-create):
21539 Comment out unused code.
21540
21541 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
21542 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
21543 (gud-tooltip-echo-area): Make obsolete.
21544 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
21545
21546 * progmodes/js.el (js--optimize-arglist): Declare.
21547
21548 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
21549
21550 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
21551 (ediff-window-C): Declare.
21552
21553 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
21554 Tweak requires to silence compiler.
21555
21556 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
21557 (he-search-string, he-tried-table, he-expand-list)
21558 (he-init-string, he-string-member, he-substitute-string)
21559 (he-reset-string): Declare.
21560
21561 * obsolete/options.el (list-options): Use custom-variable-p,
21562 rather than obsolete alias.
21563
21564 2013-05-23 Sam Steingold <sds@gnu.org>
21565
21566 * simple.el (shell-command-on-region): Pass the `replace' argument
21567 down to `call-process-region' to comply with the doc as reported on
21568 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
21569
21570 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21571
21572 * emacs-lisp/smie.el (smie-indent-forward-token)
21573 (smie-indent-backward-token): Handle string tokens (bug#14381).
21574
21575 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21576
21577 * ielm.el (ielm-menu): New menu.
21578 (inferior-emacs-lisp-mode): Set comment-start.
21579
21580 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21581
21582 * textmodes/reftex.el (reftex-ref-style-toggle):
21583 Fix deactivate action.
21584
21585 * textmodes/reftex-vars.el (reftex-ref-style-alist):
21586 Add cleveref macros.
21587
21588 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
21589 Accept options for bibliography commands.
21590 * textmodes/reftex-vars.el (reftex-bibliography-commands):
21591 Add addbibresource. Basic Biblatex support.
21592
21593 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
21594
21595 * net/tramp-gvfs.el (top):
21596 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
21597 when loading package. (Bug#14447)
21598
21599 2013-05-23 Glenn Morris <rgm@gnu.org>
21600
21601 * progmodes/js.el: No need to load comint when compiling.
21602 (ring-insert, comint-send-string, comint-send-input)
21603 (comint-last-input-end, ido-chop): Declare.
21604
21605 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
21606 * vc/ediff-mult.el: Adjust requires.
21607 (ediff-directories-internal, ediff-directory-revisions-internal)
21608 (ediff-patch-file-internal): Declare.
21609 * vc/ediff-ptch.el: Adjust requires.
21610 (ediff-use-last-dir, ediff-buffers-internal): Declare.
21611 (ediff-find-file): Autoload.
21612 * vc/ediff-util.el: No need to load ediff when compiling.
21613 (ediff-regions-internal): Declare.
21614 * vc/ediff-wind.el: Adjust requires.
21615 (ediff-compute-toolbar-width): Define when compiling.
21616 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
21617 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
21618 (dired-get-filename, dired-get-marked-files)
21619 (ediff-last-dir-patch, ediff-patch-default-directory)
21620 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
21621 (ediff-patch-buffer-internal): Declare.
21622
21623 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
21624 (ispell-process, ispell-buffer-local-words, lm-summary)
21625 (lm-section-start, lm-section-end): Declare.
21626 (checkdoc-ispell-init): Simplify.
21627
21628 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
21629 (he-string-member, he-reset-string, he-substitute-string): Declare.
21630
21631 * eshell/em-ls.el: Adjust requires.
21632 (eshell-glob-regexp): Declare.
21633 * eshell/em-tramp.el: Adjust requires.
21634 (eshell-parse-command): Autoload.
21635 * eshell/em-xtra.el: Adjust requires.
21636 (eshell-parse-command): Autoload.
21637 * eshell/esh-ext.el: Adjust requires.
21638 (eshell-parse-command, eshell-close-handles): Autoload.
21639 * eshell/esh-io.el: Adjust requires.
21640 (eshell-output-filter): Autoload.
21641 * eshell/esh-util.el: No need to load tramp when compiling.
21642 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
21643 Declare.
21644 (eshell-parse-ange-ls): Require ange-ftp and tramp.
21645 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
21646 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
21647 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
21648 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
21649 * eshell/esh-opt.el, eshell/esh-proc.el:
21650 * eshell/esh-var.el: Adjust requires.
21651 * eshell/eshell.el: Do not require esh-util twice.
21652 (eshell-add-input-to-history): Declare.
21653 (eshell-command): Check history module is active before using it.
21654
21655 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
21656
21657 2013-05-22 Leo Liu <sdl.web@gmail.com>
21658
21659 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
21660
21661 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
21662
21663 * autorevert.el (auto-revert-notify-add-watch)
21664 (auto-revert-notify-handler): Add `attrib' for the inotify case,
21665 it indicates changes in file modification time.
21666
21667 2013-05-22 Glenn Morris <rgm@gnu.org>
21668
21669 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21670 Always delete the autoloaded function from the noruntime and
21671 unresolved functions lists.
21672
21673 * allout.el: No need to load epa, epg, overlay when compiling.
21674 (epg-context-set-passphrase-callback, epg-list-keys)
21675 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
21676 (epg-key-user-id-list): Declare.
21677
21678 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
21679 (viper-set-parsing-style-toggling-macro)
21680 (viper-set-emacs-state-searchstyle-macros):
21681 Use called-interactively-p on Emacs.
21682 (viper-looking-back): Make it an obsolete alias. Update callers.
21683 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
21684 Use looking-back rather than viper-looking-back.
21685 (viper-tmp-insert-at-eob, viper-enlarge-region)
21686 (viper-read-string-with-history, viper-register-to-point)
21687 (viper-append-to-register, viper-change-state-to-vi)
21688 (viper-backward-char-carefully, viper-forward-char-carefully)
21689 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
21690 (viper-change-state-to-emacs): Declare.
21691 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
21692 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
21693 * emulation/viper-mous.el: Do not load viper-cmd.
21694 (viper-backward-char-carefully, viper-forward-char-carefully)
21695 (viper-forward-word, viper-adjust-window): Declare.
21696
21697 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
21698
21699 * progmodes/idlw-help.el (idlwave-help-fontify):
21700 Use called-interactively-p.
21701
21702 * term/w32console.el (w32-get-console-codepage)
21703 (w32-get-console-output-codepage): Declare.
21704
21705 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
21706 Remove unnecessary declarations.
21707 (dframe-message): Doc fix.
21708
21709 * info.el (dframe-select-attached-frame, dframe-current-frame):
21710 Declare.
21711
21712 * speedbar.el (speedbar-message): Make it an obsolete alias.
21713 Update all callers.
21714 (speedbar-with-attached-buffer)
21715 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
21716 (speedbar-with-writable): Use backquote.
21717 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
21718 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
21719 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
21720 rather than speedbar- aliases.
21721 * mail/rmail.el: Load dframe rather than speedbar when compiling.
21722 (speedbar-make-specialized-keymap, speedbar-insert-button)
21723 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
21724 (speedbar-do-function-pointer): Declare.
21725 (rmail-speedbar-button, rmail-speedbar-find-file)
21726 (rmail-speedbar-move-message):
21727 Use dframe-with-attached-buffer rather than speedbar- alias.
21728 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
21729 (dframe-message, speedbar-make-specialized-keymap)
21730 (speedbar-add-expansion-list, speedbar-mode-functions-list)
21731 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
21732 (speedbar-insert-button, dframe-select-attached-frame)
21733 (dframe-maybee-jump-to-attached-frame)
21734 (speedbar-change-initial-expansion-list)
21735 (speedbar-previously-used-expansion-list-name): Declare.
21736 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
21737 Use dframe-message, dframe-with-attached-buffer rather than
21738 speedbar- aliases.
21739 (gud-sentinel): Silence compiler.
21740 * progmodes/vhdl-mode.el (speedbar-refresh)
21741 (speedbar-do-function-pointer, speedbar-add-supported-extension)
21742 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
21743 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
21744 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
21745 (speedbar-file-lists, speedbar-make-tag-line)
21746 (speedbar-line-directory, speedbar-goto-this-file)
21747 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
21748 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
21749 (speedbar-make-button, speedbar-reset-scanners)
21750 (speedbar-files-item-info, speedbar-line-text)
21751 (speedbar-find-file-in-frame, speedbar-set-timer)
21752 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
21753 (speedbar-with-writable): Do not (re)define it.
21754 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
21755 rather than speedbar- alias.
21756
21757 2013-05-21 Leo Liu <sdl.web@gmail.com>
21758
21759 * progmodes/octave.el (octave-mode-menu): Update and re-organize
21760 menu items.
21761 (octave-mode): Tweak fill-nobreak-predicate.
21762 (inferior-octave-startup): Check process to avoid infinite loop.
21763 (inferior-octave): Pop to buffer first to show abornmal process
21764 exit information.
21765
21766 2013-05-21 Glenn Morris <rgm@gnu.org>
21767
21768 * printing.el (pr-menu-bar): Define when compiling.
21769
21770 2013-05-21 Leo Liu <sdl.web@gmail.com>
21771
21772 * progmodes/octave.el (octave-auto-fill): Remove.
21773 (octave-indent-new-comment-line): Improve.
21774 (octave-mode): Use auto fill mode through
21775 comment-line-break-function and fill-nobreak-predicate.
21776 (octave-goto-function-definition): Support DEFUN_DLD.
21777 (octave-beginning-of-defun): Small tweak.
21778 (octave-help): Show parent directory.
21779
21780 2013-05-21 Glenn Morris <rgm@gnu.org>
21781
21782 * files.el (dired-unmark):
21783 * progmodes/gud.el (gdb-input): Update declarations.
21784
21785 * calculator.el (electric, ehelp): No need to load when compiling.
21786 (Electric-command-loop, electric-describe-mode): Declare.
21787
21788 * doc-view.el (doc-view-current-converter-processes): Move before use.
21789
21790 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
21791 Move MODE-set-explicitly definition before use.
21792
21793 * international/mule-diag.el (mule-diag):
21794 Don't use obsolete window-system-version.
21795
21796 * mail/feedmail.el (smtpmail): No need to load when compiling.
21797 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
21798
21799 * mail/mail-utils.el (rfc822): No need to load when compiling.
21800 (rfc822-addresses): Autoload it.
21801 (mail-strip-quoted-names): Trivial simplification.
21802
21803 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
21804 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
21805
21806 * net/snmp-mode.el (tempo): Don't duplicate requires.
21807
21808 * progmodes/prolog.el (info): No need to load when compiling.
21809 (comint): Require before shell requires it.
21810 (Info-goto-node): Autoload it.
21811 (Info-follow-nearest-node): Declare.
21812 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
21813
21814 * textmodes/artist.el (picture-mode-exit): Declare.
21815
21816 * textmodes/reftex-parse.el (reftex-parse-from-file):
21817 Trivial rewrite so the compiler can parse it better.
21818
21819 2013-05-20 Leo Liu <sdl.web@gmail.com>
21820
21821 * progmodes/octave.el (octave-help-mode-map)
21822 (octave-help-mode-finish-hook): New variables.
21823 (octave-help-mode, octave-help-mode-finish): New functions.
21824 (octave-help): Use octave-help-mode.
21825
21826 2013-05-20 Glenn Morris <rgm@gnu.org>
21827
21828 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
21829
21830 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
21831
21832 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
21833 start at point, so that expansion starting right after opening
21834 slash in a regexp is recognized.
21835 (ruby-syntax-before-regexp-re): New defvar, extracted from
21836 ruby-syntax-propertize-function. Since the value of this regexp
21837 is looked up at runtime now, we should be able to turn
21838 `ruby-syntax-methods-before-regexp' into a defcustom later.
21839 (ruby-syntax-propertize-function): Split regexp matching into two
21840 parts, for opening and closing slashes. That allows us to skip
21841 over string interpolations and support multiline regexps.
21842 Don't call `ruby-syntax-propertize-expansions', instead use another rule
21843 for them, which calls `ruby-syntax-propertize-expansion'.
21844 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
21845 call to `ruby-syntax-propertize-function'.
21846 (ruby-syntax-propertize-expansion): Extracted from
21847 `ruby-syntax-propertize-expansions'. Handles one expansion.
21848 (ruby-syntax-propertize-percent-literal): Leave point right after
21849 the percent symbol, so that the expression expansion rule can
21850 propertize the contents.
21851 (ruby-syntax-propertize-heredoc): Leave point at bol following the
21852 heredoc openers.
21853 (ruby-syntax-propertize-expansions): Remove.
21854
21855 2013-05-18 Juri Linkov <juri@jurta.org>
21856
21857 * man.el (Man-default-man-entry): Remove `-' from the end
21858 of the default value. (Bug#14400)
21859
21860 2013-05-18 Glenn Morris <rgm@gnu.org>
21861
21862 * comint.el (comint-password-prompt-regexp):
21863 Allow "password for XXX" where XXX contains colons (eg https://...).
21864
21865 2013-05-18 Leo Liu <sdl.web@gmail.com>
21866
21867 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
21868 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
21869 (octave-source-directories): Don't check process.
21870 (octave-source-directories, octave-find-definition): Doc fix.
21871
21872 2013-05-18 Glenn Morris <rgm@gnu.org>
21873
21874 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
21875 Remove backspace/delete bindings. (Bug#14392)
21876
21877 * cus-dep.el (custom-make-dependencies): Sort the output.
21878 (custom-versions-load-alist): Convert comment to doc.
21879
21880 2013-05-17 Leo Liu <sdl.web@gmail.com>
21881
21882 * newcomment.el (comment-search-backward): Stricter in finding
21883 comment start. (Bug#14303)
21884
21885 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
21886 (octave-comment-start-skip): Properly anchored.
21887
21888 2013-05-17 Leo Liu <sdl.web@gmail.com>
21889
21890 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
21891 Clean up when turned off. (Bug#14395)
21892 (smie--highlight-matching-block-overlay): No longer buffer-local.
21893 (smie-highlight-matching-block): Adjust.
21894
21895 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
21896
21897 Doc string fix for "nanoseconds" (Bug#14406).
21898 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
21899 Fix doc string typo that had "nanoseconds" instead of "microseconds".
21900
21901 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
21902
21903 * calc/calc-units.el (math-extract-units): Preserve powers
21904 of units.
21905
21906 2013-05-17 Leo Liu <sdl.web@gmail.com>
21907
21908 * subr.el (delete-consecutive-dups): New function.
21909 * ido.el (ido-set-matches-1): Use it.
21910 * progmodes/octave.el (inferior-octave-completion-table): Use it.
21911 * ido.el (ido-remove-consecutive-dups): Remove.
21912
21913 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21914
21915 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21916 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
21917 regexp-opt's `words'.
21918
21919 2013-05-16 Leo Liu <sdl.web@gmail.com>
21920
21921 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
21922 (smie--highlight-matching-block-overlay)
21923 (smie--highlight-matching-block-lastpos)
21924 (smie--highlight-matching-block-timer): New variables.
21925 (smie-highlight-matching-block): New function.
21926 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
21927 (smie-setup): Conditionally enable smie-blink-matching-open.
21928
21929 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
21930
21931 Sync with upstream verilog-mode r840.
21932 * progmodes/verilog-mode.el (verilog-mode-version)
21933 (verilog-mode-release-date): Update.
21934 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
21935 (verilog-sig-tieoff): Fix string error on
21936 AUTORESET with colon define, bug594. Reported by Andrew Hou.
21937 (verilog-read-decls): Fix parameters confusing
21938 AUTOINST interfaces, bug565. Reported by Leith Johnson.
21939
21940 2013-05-16 Eli Zaretskii <eliz@gnu.org>
21941
21942 * subr.el (reveal-filename): New function.
21943
21944 * loadup.el: Compute Emacs executable versions on MS-Windows,
21945 where executables have the .exe extension. Add a hard link
21946 emacs-XX.YY.ZZ.exe on MS-Windows.
21947
21948 * Makefile.in (XARGS_LIMIT): New variable.
21949 (custom-deps, finder-data, autoloads)
21950 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21951 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21952 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
21953 (compile-main): Limit xargs according to $(XARGS_LIMIT).
21954
21955 2013-05-16 Leo Liu <sdl.web@gmail.com>
21956
21957 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
21958 (octave-mode-menu, octave-mode-map): Remove its uses.
21959
21960 2013-05-16 Reto Zimmermann <reto@gnu.org>
21961
21962 Sync with upstream vhdl mode v3.34.2.
21963 * progmodes/vhdl-mode.el: Use `push' throughout.
21964 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
21965 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
21966 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
21967 (vhdl-actual-generic-name): New option to derive actual generic name.
21968 (vhdl-port-paste-signals): Replace formal by actual generics.
21969 (vhdl-beautify): New name for old group vhdl-align. Update users.
21970 (vhdl-beautify-options): New option.
21971 (vhdl-last-input-event): New compat alias. Use throughout.
21972 (vhdl-goto-line): Replace user level function `goto-line'.
21973 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
21974 vhdl-fix-statement-buffer.
21975 (vhdl-create-mode-menu): Add some entries.
21976 (vhdl-align-region-groups): Respect vhdl-beautify-options.
21977 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
21978 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
21979 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
21980 to force statements on one line.
21981 (vhdl-remove-trailing-spaces-region):
21982 New, split from vhdl-remove-trailing-spaces.
21983 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
21984 Respect vhdl-beautify-options.
21985 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
21986 (vhdl-update-sensitivity-list): Not add with index if exists without.
21987 Not include array index with signal. Ignore keywords in comments.
21988 (vhdl-get-visible-signals): Regexp tweaks.
21989 (vhdl-template-component-inst): Handle empty library.
21990 (vhdl-template-type): Add template for 'enum' type.
21991 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
21992 Use vhdl-replace-string.
21993 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
21994 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
21995 (vhdl-speedbar-initialize): Update for above name change.
21996 (vhdl-compose-wire-components): Fix in handling of constants.
21997 (vhdl-error-regexp-emacs-alist): New variable.
21998 (vhdl-error-regexp-add-emacs): New function;
21999 adds support for new compile.el (Emacs 22+)
22000 (vhdl-generate-makefile-1): Change target order for single lib. units.
22001 Allow use of absolute file names.
22002
22003 2013-05-16 Leo Liu <sdl.web@gmail.com>
22004
22005 * simple.el (prog-indent-sexp): Indent enclosing defun.
22006
22007 2013-05-15 Glenn Morris <rgm@gnu.org>
22008
22009 * cus-start.el (show-trailing-whitespace): Move to editing basics.
22010 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22011 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22012 (whitespace-highlight): Move to whitespace group.
22013
22014 * comint.el (comint-source):
22015 * pcmpl-linux.el (pcmpl-linux):
22016 * shell.el (shell-faces):
22017 * eshell/esh-opt.el (eshell-opt):
22018 * international/ccl.el (ccl): Remove empty custom groups.
22019
22020 * completion.el (dynamic-completion-mode):
22021 * jit-lock.el (jit-lock-debug-mode):
22022 * minibuffer.el (completion-in-region-mode):
22023 * type-break.el (type-break-mode-line-message-mode)
22024 (type-break-query-mode):
22025 * emulation/tpu-edt.el (tpu-edt-mode):
22026 * progmodes/subword.el (global-subword-mode, global-superword-mode):
22027 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22028 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22029
22030 * term/xterm.el (xterm): Change parent group to terminals.
22031
22032 * master.el (master): Remove empty custom group.
22033 (master-mode): Remove unused :group argument.
22034 * textmodes/refill.el (refill): Remove empty custom group.
22035 (refill-mode): Remove unused :group argument.
22036
22037 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22038
22039 * cus-dep.el: Provide a feature.
22040 (custom-make-dependencies): Ignore dotfiles (dir-locals).
22041 Don't mistakenly ignore files whose basenames match a basename
22042 from preloaded-file-list (eg cedet/ede/simple.el).
22043 Add a fallback method for getting :group.
22044
22045 2013-05-15 Juri Linkov <juri@jurta.org>
22046
22047 * isearch.el (isearch-char-by-name): Rename from
22048 `isearch-insert-char-by-name'. Doc fix.
22049 (isearch-forward): Mention `isearch-char-by-name' in
22050 the docstring. (Bug#13348)
22051
22052 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22053 `exit-minibuffer' instead of
22054 `isearch-nonincremental-exit-minibuffer'.
22055 (isearch-edit-string): Remove mention of
22056 `isearch-nonincremental-exit-minibuffer' from docstring.
22057 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22058 (isearch-forward-exit-minibuffer)
22059 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
22060
22061 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22062
22063 * loadup.el: Just use unversioned DOC.
22064
22065 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22066 literals as extending to EOB.
22067 (nxml-last-fontify-end): Remove unused variable.
22068 (nxml-after-change1): Use with-silent-modifications.
22069 (nxml-extend-after-change-region): Simplify.
22070 (nxml-extend-after-change-region1): Remove function.
22071 (nxml-after-change1): Don't adjust for dependent regions.
22072 (nxml-fontify-matcher): Simplify.
22073 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22074 (xmltok-add-dependent): Remove function.
22075 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22076 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22077 (xmltok-scan-prolog-after-processing-instruction-open): Treat
22078 unclosed <[[, <?, comment, and other literals as extending to EOB.
22079 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22080 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22081 Remove functions.
22082 (rng-do-some-validation-1): Don't mark dependent regions.
22083 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22084 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22085 (nxml-clear-dependent-regions): Remove functions.
22086 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22087 (nxml-ensure-scan-up-to-date):
22088 Don't clear&mark dependent regions.
22089
22090 2013-05-15 Leo Liu <sdl.web@gmail.com>
22091
22092 * progmodes/octave.el (octave-goto-function-definition):
22093 Improve and fix callers.
22094
22095 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22096
22097 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22098 the setter (bug#14387).
22099
22100 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22101 surrounding group (bug#14402).
22102
22103 2013-05-14 Juri Linkov <juri@jurta.org>
22104
22105 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22106 (Bug#14390)
22107
22108 2013-05-14 Glenn Morris <rgm@gnu.org>
22109
22110 * progmodes/f90.el (f90-imenu-generic-expression):
22111 Fix typo in 2013-05-08 change. (Bug#14402)
22112
22113 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22114
22115 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22116 Remove signals for which replies are never received.
22117
22118 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22119
22120 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22121 (gdb-handler-alist, gdb-handler-number): Remove variables.
22122 (gdb-handler-list): New variable.
22123 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22124 (gdb-pending-handler-p, gdb-handle-reply)
22125 (gdb-remove-all-pending-triggers): New functions.
22126 (gdb-discard-unordered-replies): New defcustom.
22127 (gdb-handler): New defstruct.
22128 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
22129 instead of gdb-pending-triggers. Update docstring.
22130 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
22131 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22132 (gdb-var-update-handler, def-gdb-auto-update-trigger)
22133 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22134 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22135 (gdb-frame-handler): Pending triggers are now automatically managed.
22136 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22137 Remove argument.
22138 (gdb-input): Automatically handles pending triggers. Update docstring.
22139 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22140 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22141 Update comments.
22142 (gdb-done-or-error): Now use gdb-handle-reply.
22143
22144 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22145
22146 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22147 gdb-debug-log.
22148
22149 2013-05-14 Glenn Morris <rgm@gnu.org>
22150
22151 * subr.el (user-emacs-directory-warning): New option.
22152 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
22153
22154 2013-05-14 Leo Liu <sdl.web@gmail.com>
22155
22156 * progmodes/octave.el (octave-font-lock-keywords): Fix error
22157 during redisplay.
22158 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22159 (octave-font-lock-texinfo-comment): Fix invalid search bound
22160 error: wrong side of point.
22161
22162 2013-05-14 Glenn Morris <rgm@gnu.org>
22163
22164 * progmodes/flymake.el (flymake-xml-program): New option.
22165 (flymake-xml-init): Use it.
22166
22167 * term/xterm.el: Provide a feature.
22168
22169 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
22170
22171 2013-05-13 Glenn Morris <rgm@gnu.org>
22172
22173 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22174 Add compat aliases as a hack workaround. (Bug#14384)
22175
22176 2013-05-13 Leo Liu <sdl.web@gmail.com>
22177
22178 * progmodes/octave.el (octave-indent-comment): Fix indentation for
22179 ###, and %!.
22180 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22181 C-M-q.
22182 (octave-comment-start-skip): Include %!.
22183 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22184
22185 2013-05-12 Leo Liu <sdl.web@gmail.com>
22186
22187 * progmodes/octave.el (inferior-octave-startup): Store the value
22188 of __octave_srcdir__ for octave-source-directories.
22189 (inferior-octave-check-process): New function refactored out of
22190 inferior-octave-send-list-and-digest.
22191 (octave-source-directories)
22192 (octave-find-definition-filename-function): New variables.
22193 (octave-source-directories)
22194 (octave-find-definition-default-filename): New functions.
22195 (octave-find-definition): Improve to find functions implemented in C++.
22196
22197 2013-05-12 Glenn Morris <rgm@gnu.org>
22198
22199 * calendar/diary-lib.el (diary-outlook-format-1):
22200 Don't include dayname in the output. (Bug#14349)
22201
22202 2013-05-11 Glenn Morris <rgm@gnu.org>
22203
22204 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22205
22206 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22207 Treat cc-provide like provide.
22208
22209 2013-05-11 Kevin Ryde <user42@zip.com.au>
22210
22211 * cus-dep.el (custom-make-dependencies):
22212 Use generated-autoload-load-name for the sake of files such
22213 such cedet/semantic/bovine/c.el, where the base file name
22214 is not in load-path. (Bug#5277)
22215
22216 2013-05-11 Glenn Morris <rgm@gnu.org>
22217
22218 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22219 Provide features.
22220
22221 2013-05-11 Leo Liu <sdl.web@gmail.com>
22222
22223 * progmodes/octave.el (octave-indent-comment): Improve.
22224 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22225 (octave-eldoc-function-signatures, octave-eldoc-function):
22226 New functions.
22227 (octave-mode, inferior-octave-mode): Add eldoc support.
22228
22229 2013-05-11 Richard Stallman <rms@gnu.org>
22230
22231 * epa.el (epa-decrypt-file): Take output file name as argument
22232 and read it using `interactive'.
22233
22234 2013-05-11 Leo Liu <sdl.web@gmail.com>
22235
22236 * progmodes/octave.el (octave-beginning-of-line)
22237 (octave-end-of-line): Check before using up-list because it jumps
22238 out of more syntactic contructs since moving to smie.
22239 (octave-indent-comment): New function.
22240 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
22241 (octave-begin-keywords, octave-end-keywords)
22242 (octave-reserved-words, octave-smie-bnf-table)
22243 (octave-smie-rules): Add new keywords from Octave 3.6.4.
22244
22245 2013-05-11 Glenn Morris <rgm@gnu.org>
22246
22247 * faces.el (internal-face-x-get-resource):
22248 * frame.el (ns-display-monitor-attributes-list):
22249 * calc/calc-aent.el (math-to-radians-2):
22250 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22251 Fix declarations.
22252
22253 * calc/calc-menu.el: Make it loadable in isolation.
22254
22255 * net/eudcb-bbdb.el: Make it loadable without bbdb.
22256 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22257 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22258 (eudc-bbdb-query-internal): Require 'bbdb.
22259
22260 * lpr.el (lpr-headers-switches):
22261 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22262
22263 * progmodes/sql.el (sql-login-params): Fix and improve :type.
22264
22265 * emulation/edt-mapper.el: In batch mode, error rather than hang.
22266
22267 * term.el (term-set-escape-char): Make it idempotent.
22268
22269 2013-05-10 Leo Liu <sdl.web@gmail.com>
22270
22271 * progmodes/octave.el (inferior-octave-completion-table):
22272 No longer a function and all uses changed. Use cache to speed up
22273 completion due to bug#11906.
22274 (octave-beginning-of-defun): Re-write to be more general.
22275
22276 2013-05-10 Glenn Morris <rgm@gnu.org>
22277
22278 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22279
22280 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
22281
22282 * comint.el (comint-redirect-send-command-to-process): Use :around
22283 rather than :override for comint-redirect-filter.
22284 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22285 Call it instead of comint-redirect-original-filter-function (which
22286 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
22287
22288 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
22289
22290 * frame.el (display-monitor-attributes-list): Add NS case.
22291 (ns-display-monitor-attributes-list): Declare.
22292
22293 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
22294
22295 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
22296
22297 2013-05-09 Glenn Morris <rgm@gnu.org>
22298
22299 * international/fontset.el (vertical-centering-font-regexp):
22300 Set standard-value.
22301
22302 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
22303
22304 * bookmark.el (bookmark-search-delay):
22305 * cus-start.el (vertical-centering-font-regexp):
22306 * ps-mule.el (ps-mule-font-info-database-default):
22307 * ps-print.el (ps-default-fg, ps-default-bg):
22308 * type-break.el (type-break-good-break-interval):
22309 * whitespace.el (whitespace-indentation-regexp)
22310 (whitespace-space-after-tab-regexp):
22311 * emacs-lisp/testcover.el (testcover-1value-functions)
22312 (testcover-noreturn-functions, testcover-progn-functions)
22313 (testcover-prog1-functions):
22314 * emulation/viper-init.el (viper-emacs-state-cursor-color):
22315 * eshell/em-glob.el (eshell-glob-translate-alist):
22316 * play/tetris.el (tetris-tty-colors):
22317 * progmodes/cpp.el (cpp-face-default-list):
22318 * progmodes/flymake.el (flymake-allowed-file-name-masks):
22319 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
22320 (idlwave-help-browser-generic-args):
22321 * progmodes/make-mode.el (makefile-special-targets-list):
22322 * progmodes/python.el (python-shell-virtualenv-path):
22323 * progmodes/verilog-mode.el (verilog-active-low-regexp)
22324 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
22325 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
22326 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
22327 * textmodes/reftex-vars.el (reftex-format-label-function):
22328 * textmodes/remember.el (remember-diary-file): Fix custom types.
22329
22330 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
22331 Add :version.
22332
22333 2013-05-09 Leo Liu <sdl.web@gmail.com>
22334
22335 * progmodes/octave.el (inferior-octave-completion-at-point):
22336 Restore file completion. (Bug#14300)
22337 (inferior-octave-startup): Fix incorrect highlighting for the
22338 first prompt.
22339
22340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22341
22342 * progmodes/ruby-mode.el: First cut at SMIE support.
22343 (ruby-use-smie): New var.
22344 (ruby-smie-grammar): New constant.
22345 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
22346 (ruby-smie--forward-token, ruby-smie--backward-token)
22347 (ruby-smie-rules): New functions.
22348 (ruby-mode-variables): Setup SMIE if applicable.
22349
22350 2013-05-08 Eli Zaretskii <eliz@gnu.org>
22351
22352 * simple.el (line-move-visual): Signal beginning/end of buffer
22353 only if vertical-motion moved less than it was requested. Avoids
22354 silly incorrect error messages when there are display strings with
22355 multiple newlines at EOL.
22356
22357 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22358
22359 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
22360 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
22361 (prolog-char-quote-workaround):
22362 * progmodes/cperl-mode.el (cperl-under-as-char):
22363 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
22364 Mark as obsolete.
22365 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
22366 their declaration.
22367 (vhdl-mode-syntax-table-init): Remove.
22368
22369 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
22370 last change.
22371
22372 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
22373 syntax for "_".
22374 (ld-script-font-lock-keywords):
22375 Change regexps to use things like \_< and \_>.
22376
22377 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
22378 Change all regexps to use things like \_< and \_>.
22379
22380 * progmodes/autoconf.el (autoconf-definition-regexp)
22381 (autoconf-font-lock-keywords, autoconf-current-defun-function):
22382 Handle a _ with symbol syntax.
22383 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
22384
22385 * progmodes/ada-mode.el (ada-mode-abbrev-table):
22386 Consolidate declaration.
22387 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
22388 the declaration.
22389 (ada-create-syntax-table): Remove.
22390 (ada-capitalize-word): Don't mess with the syntax of "_" since it
22391 already has the right syntax nowadays.
22392 (ada-goto-next-word): Don't change the syntax of "_".
22393
22394 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
22395 with-wrapper-hook.
22396
22397 2013-05-08 Sam Steingold <sds@gnu.org>
22398
22399 * thingatpt.el (thing-at-point): Accept optional second argument
22400 NO-PROPERTIES to strip the text properties from the return value.
22401 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
22402 to `thing-at-point' instead of stripping the properties ourselves.
22403 Also, when `thing-at-point' fails to find a url, prepend "http://"
22404 to the filename at point on the assumption that the user is
22405 pointing at something like gnu.org/gnu.
22406
22407 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
22408
22409 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22410 * faces.el (crm-separator):
22411 Silence byte-compiler.
22412
22413 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
22414 (tool-bar-map): Remove unneeded defvars.
22415
22416 2013-05-08 Leo Liu <sdl.web@gmail.com>
22417
22418 Re-work a fix for bug#10994 based on Le Wang's patch.
22419 * ido.el (ido-remove-consecutive-dups): New helper.
22420 (ido-completing-read): Use it.
22421 (ido-chop): Revert fix for bug#10994.
22422
22423 2013-05-08 Adam Spiers <emacs@adamspiers.org>
22424
22425 * cus-edit.el (custom-save-variables):
22426 Pretty-print long values. (Bug#14187)
22427
22428 2013-05-08 Glenn Morris <rgm@gnu.org>
22429
22430 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
22431 (m4-mode-syntax-table): Init in the defvar.
22432 (m4-mode-abbrev-table): Let define-derived-mode define it.
22433
22434 2013-05-08 Tom Tromey <tromey@redhat.com>
22435
22436 * progmodes/m4-mode.el (m4-mode-syntax-table):
22437 Do not treat "_" as word constituent. (Bug#14167)
22438
22439 2013-05-07 Glenn Morris <rgm@gnu.org>
22440
22441 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
22442 Remove explicit eshell-isearch-cancel-map.
22443
22444 * progmodes/f90.el (f90-smart-end-names): New option.
22445 (f90-smart-end): Doc fix.
22446 (f90-end-block-optional-name): New constant.
22447 (f90-block-match): Respect f90-smart-end-names.
22448
22449 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22450
22451 * progmodes/octave.el (octave-smie-forward-token): Be more careful
22452 about implicit semi-colons (bug#14218).
22453
22454 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22455
22456 * frame.el (display-monitor-attributes-list)
22457 (frame-monitor-attributes): New functions.
22458
22459 2013-05-06 Leo Liu <sdl.web@gmail.com>
22460
22461 * progmodes/octave.el (octave-syntax-propertize-function): Change
22462 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
22463 (octave-font-lock-keywords): Use octave-operator-regexp.
22464 (octave-completion-at-point): Rename from
22465 octave-completion-at-point-function.
22466 (inferior-octave-directory-tracker): Robustify.
22467 (octave-text-functions): Remove and fix its uses. No such things
22468 any more.
22469
22470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22471
22472 * emacs-lisp/trace.el (trace--display-buffer): New function.
22473 (trace-make-advice): Use it.
22474
22475 2013-05-06 Juri Linkov <juri@jurta.org>
22476
22477 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
22478 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
22479 Doc fix.
22480 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
22481 in the help string. (Bug#12985)
22482
22483 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
22484
22485 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
22486
22487 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22488
22489 * progmodes/perl-mode.el: Add support for here documents.
22490 (perl-syntax-propertize-function): Match here-doc markers.
22491 (perl-syntax-propertize-special-constructs): Find their end.
22492 (perl-imenu-generic-expression): Use [:alnum:].
22493
22494 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
22495 (advice--add-function): Refresh the advice if already present
22496 (bug#14317).
22497
22498 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
22499
22500 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
22501
22502 2013-05-06 Glenn Morris <rgm@gnu.org>
22503
22504 * w32-fns.el (w32-charset-info-alist): Declare.
22505
22506 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
22507 of its defcustom properties.
22508 (eshell-cmpl-initialize): No need to load pcomplete.
22509
22510 * generic-x.el: No need to require comint when compiling.
22511
22512 * net/eudc-export.el: Make it loadable without bbdb.
22513 (top-level): Use require rather than load-library.
22514 (eudc-create-bbdb-record, eudc-bbdbify-phone)
22515 (eudc-batch-export-records-to-bbdb)
22516 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
22517 Require bbdb.
22518
22519 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22520
22521 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
22522 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
22523 some tweaks, instead.
22524
22525 2013-05-05 Leo Liu <sdl.web@gmail.com>
22526
22527 * progmodes/octave.el (octave-font-lock-keywords)
22528 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
22529 (inferior-octave-send-list-and-digest): Improve error message.
22530 (octave-mode, inferior-octave-mode): Use setq-local.
22531 (octave-help): Set info-lookup-mode.
22532
22533 2013-05-05 Richard Stallman <rms@gnu.org>
22534
22535 * vc/compare-w.el (compare-windows-whitespace):
22536 Treat no-break space as whitespace.
22537
22538 * mail/rmailsum.el (rmail-summary-rmail-update):
22539 Detect empty summary and don't change selected message.
22540 (rmail-summary-goto-msg): Likewise.
22541
22542 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
22543 Doc fixes, rename args.
22544
22545 2013-05-05 Alan Mackenzie <acm@muc.de>
22546
22547 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
22548
22549 2013-05-05 Juri Linkov <juri@jurta.org>
22550
22551 * info.el (Info-read-subfile): Use (point-min) instead of (point)
22552 to not add the length of the summary segment to the return value.
22553 (Bug#14125)
22554
22555 2013-05-05 Leo Liu <sdl.web@gmail.com>
22556
22557 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
22558 (inferior-octave-output-filter): Remove.
22559 (octave-send-region, inferior-octave-startup): Fix callers.
22560 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
22561 (octave-binary-file-extensions): New user variable.
22562 (octave-find-definition): Confirm if opening binary files.
22563 (octave-help-file): Use octave-find-definition to get the binary
22564 confirmation.
22565 (octave-help): Adjust for octave-help-file change.
22566
22567 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22568
22569 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
22570 Merge the two entries that handle function definitions.
22571 (pascal--syntax-propertize): New const.
22572 (pascal-mode): Use it. Use setq-local.
22573
22574 2013-05-04 Glenn Morris <rgm@gnu.org>
22575
22576 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
22577 (diary-from-outlook): Respect diary-from-outlook-function.
22578
22579 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22580
22581 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
22582 Move the declaration from C.
22583 (read-minibuffer, eval-minibuffer): Move from C.
22584 (completion-setup-function): Avoid minibuffer-completion-contents.
22585
22586 2013-05-03 Leo Liu <sdl.web@gmail.com>
22587
22588 * progmodes/octave.el (octave-font-lock-keywords): Do not
22589 dehighlight 'end' in comments or strings.
22590 (octave-completing-read, octave-goto-function-definition):
22591 New helpers.
22592 (octave-help-buffer): New user variable.
22593 (octave-help-file, octave-help-function): New button types.
22594 (octave-help): New command and bind it to C-h ;.
22595 (octave-find-definition): New command and bind it to M-.
22596 (user-error): Alias to error if not defined.
22597
22598 2013-05-02 Leo Liu <sdl.web@gmail.com>
22599
22600 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
22601 for \. (bug#14332)
22602 (octave-font-lock-keywords): Include [ and {.
22603
22604 2013-05-02 Leo Liu <sdl.web@gmail.com>
22605
22606 * progmodes/octave.el (inferior-octave-startup-file): Change default.
22607 (inferior-octave): Remove calling comint-mode and return the buffer.
22608 (inferior-octave-startup): Cosmetic changes.
22609
22610 2013-05-02 Leo Liu <sdl.web@gmail.com>
22611
22612 * progmodes/octave.el (octave-syntax-propertize-function):
22613 Include the case when ' is at line beginning. (Bug#14336)
22614
22615 2013-05-02 Glenn Morris <rgm@gnu.org>
22616
22617 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
22618 * desktop.el (vc-dir-mode): Just autoload it here.
22619
22620 2013-05-02 Alan Mackenzie <acm@muc.de>
22621
22622 Eliminate variable c-standard-font-lock-fontify-region-function.
22623 * progmodes/cc-mode.el
22624 (c-standard-font-lock-fontify-region-function): Remove.
22625 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
22626
22627 2013-05-01 Leo Liu <sdl.web@gmail.com>
22628
22629 * progmodes/octave.el: Compatible with older emacs-24 releases.
22630 (inferior-octave-has-built-in-variables): Remove. Built-in
22631 variables were removed from Octave in 2007.
22632 (inferior-octave-startup): Fix uses.
22633 (comint-line-beginning-position): Remove compatibility code for
22634 emacs 21.
22635
22636 2013-05-01 Juri Linkov <juri@jurta.org>
22637
22638 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
22639
22640 2013-05-01 Juri Linkov <juri@jurta.org>
22641
22642 * comint.el (comint-previous-matching-input): Don't print message
22643 "History item: %d" when `isearch-mode' is active.
22644 (comint-history-isearch-message): Print message "History item: %d"
22645 when `comint-input-ring-index' is not empty and this function is
22646 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
22647
22648 2013-05-01 Leo Liu <sdl.web@gmail.com>
22649
22650 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
22651 definitions. Use completion-at-point to insert keywords.
22652 (octave-abbrev-start): Remove.
22653 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
22654
22655 2013-04-30 Leo Liu <sdl.web@gmail.com>
22656
22657 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
22658 change.
22659
22660 2013-04-30 Alan Mackenzie <acm@muc.de>
22661
22662 Handle arbitrarily long C++ member initialisation lists.
22663 * progmodes/cc-engine.el (c-back-over-member-initializers):
22664 new function.
22665 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
22666 (most) member init lists.
22667
22668 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22669
22670 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
22671 variable.
22672
22673 2013-04-30 Leo Liu <sdl.web@gmail.com>
22674
22675 * progmodes/octave.el (octave-variables): Remove. No builtin
22676 variables any more. All converted to functions.
22677 (octave-font-lock-keywords, octave-completion-at-point-function):
22678 Fix uses.
22679 (octave-font-lock-texinfo-comment): New user variable.
22680 (octave-texinfo-font-lock-keywords): New variable for texinfo
22681 comment block.
22682 (octave-function-comment-block): New face.
22683 (octave-font-lock-texinfo-comment): New function.
22684 (octave-mode): Font lock texinfo comment block.
22685
22686 2013-04-29 Leo Liu <sdl.web@gmail.com>
22687
22688 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
22689 indexing expression.
22690 (octave-continuation-string): Do not use \.
22691 (inferior-octave-complete-impossible): Remove.
22692 (inferior-octave-completion-table)
22693 (inferior-octave-completion-at-point): Remove its uses.
22694 (inferior-octave-startup): completion_matches was introduced to
22695 Octave in 1996 so safe to assume it.
22696 (octave-function-file-comment): Improve to follow how Octave does it.
22697 (octave-update-function-file-comment): Tweak.
22698
22699 2013-04-29 Leo Liu <sdl.web@gmail.com>
22700
22701 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
22702 (inferior-octave-startup): Remove inferior-octave-startup-hook.
22703 (octave-function-file-comment): Fix typo.
22704 (octave-sync-function-file-names): Use read-char-choice.
22705
22706 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
22707
22708 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
22709 to t for the less important warnings.
22710
22711 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
22712
22713 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
22714
22715 2013-04-27 Glenn Morris <rgm@gnu.org>
22716
22717 * vc/log-view.el (log-view-current-entry):
22718 Treat "---" separator lines as part of the following rev. (Bug#14169)
22719
22720 2013-04-27 Juri Linkov <juri@jurta.org>
22721
22722 * subr.el (read-number): Doc fix about using it by interactive
22723 code letter `n'. (Bug#14254)
22724
22725 2013-04-27 Juri Linkov <juri@jurta.org>
22726
22727 * desktop.el (desktop-auto-save-timeout): New option.
22728 (desktop-file-checksum): New variable.
22729 (desktop-save): Add optional arg `auto-save' and don't auto-save
22730 if nothing changed.
22731 (desktop-auto-save-timer): New variable.
22732 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
22733 (after-init-hook): Call `desktop-auto-save-set-timer'.
22734 Suggested by Reuben Thomas <rrt@sc3d.org> in
22735 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
22736
22737 2013-04-27 Leo Liu <sdl.web@gmail.com>
22738
22739 * progmodes/octave.el (octave-function-file-p)
22740 (octave-skip-comment-forward, octave-function-file-comment)
22741 (octave-update-function-file-comment): New functions.
22742 (octave-mode-map): Bind C-c ; to
22743 octave-update-function-file-comment.
22744 (octave-mode-menu): Add octave-update-function-file-comment.
22745 (octave-mode, inferior-octave-mode): Fix doc-string.
22746 (octave-insert-defun): Conform to Octave's coding convention.
22747 (Bug#14285)
22748
22749 * files.el (basic-save-buffer): Don't let errors in
22750 before-save-hook prevent saving buffer.
22751
22752 2013-04-20 Roland Winkler <winkler@gnu.org>
22753
22754 * faces.el (read-face-name): Use completing-read if arg multiple
22755 is nil.
22756
22757 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
22758
22759 * ls-lisp.el (ls-lisp-insert-directory): If no files are
22760 displayed, move point to after the totals line.
22761 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
22762 for the details.
22763
22764 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
22765
22766 * emacs-lisp/package.el (package-autoload-ensure-default-file):
22767 Add current dir to the load-path.
22768 (package-generate-autoloads): Don't rely on
22769 autoload-ensure-default-file.
22770
22771 2013-04-26 Reuben Thomas <rrt@sc3d.org>
22772
22773 * textmodes/remember.el (remember-store-in-files): Document that
22774 the file name format is passed to `format-time-string'.
22775
22776 2013-04-26 Leo Liu <sdl.web@gmail.com>
22777
22778 * progmodes/octave.el (octave-sync-function-file-names): New function.
22779 (octave-mode): Use it in before-save-hook.
22780
22781 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
22782
22783 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
22784 (bug#14274).
22785
22786 * progmodes/octave.el (octave-smie-forward-token): Properly skip
22787 \n and comment, even if it's not an implicit ; (bug#14218).
22788
22789 2013-04-26 Glenn Morris <rgm@gnu.org>
22790
22791 * subr.el (read-number): Once more use `read' rather than
22792 `string-to-number', to trap non-numeric input. (Bug#14254)
22793
22794 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
22795
22796 * emacs-lisp/syntax.el (syntax-propertize-multiline):
22797 Use `syntax-multiline' text property consistently instead of
22798 `font-lock-multiline'. (Bug#14237)
22799
22800 2013-04-26 Glenn Morris <rgm@gnu.org>
22801
22802 * emacs-lisp/shadow.el (list-load-path-shadows):
22803 No longer necessary to check for duplicate simple.el, since
22804 2012-07-07 change to init_lread to not include installation lisp
22805 directories in load-path when running uninstalled. (Bug#14270)
22806
22807 2013-04-26 Leo Liu <sdl.web@gmail.com>
22808
22809 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
22810 (octave-mode, inferior-octave-mode): Use setq-local.
22811 (octave-not-in-string-or-comment-p): Rename to
22812 octave-in-string-or-comment-p.
22813 (octave-in-comment-p, octave-in-string-p)
22814 (octave-in-string-or-comment-p): Replace defsubst with defun.
22815
22816 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
22817
22818 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
22819
22820 2013-04-25 Bastien Guerry <bzg@gnu.org>
22821
22822 * textmodes/remember.el (remember-data-directory)
22823 (remember-directory-file-name-format): Fix custom types.
22824
22825 2013-04-25 Leo Liu <sdl.web@gmail.com>
22826
22827 * progmodes/octave.el (octave-completion-at-point-function):
22828 Make use of inferior octave process.
22829 (octave-initialize-completions): Remove.
22830 (inferior-octave-completion-table): New function.
22831 (inferior-octave-completion-at-point): Use it.
22832 (octave-completion-alist): Remove.
22833
22834 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22835
22836 * progmodes/opascal.el: Use font-lock and syntax-propertize.
22837 (opascal-mode-syntax-table): New var.
22838 (opascal-literal-kind, opascal-is-literal-end)
22839 (opascal-literal-token-at): Rewrite.
22840 (opascal--literal-start-re, opascal-font-lock-keywords)
22841 (opascal--syntax-propertize): New constants.
22842 (opascal-font-lock-defaults): Adjust.
22843 (opascal-mode): Use them. Set comment-<foo> variables as well.
22844 (delphi-comment-face, opascal-comment-face, delphi-string-face)
22845 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
22846 (delphi-other-face, opascal-other-face): Remove face variables.
22847 (opascal-save-state): Remove macro.
22848 (opascal-fontifying-progress-step): Remove constant.
22849 (opascal--ignore-changes): Remove var.
22850 (opascal-set-token-property, opascal-parse-next-literal)
22851 (opascal-is-stable-literal, opascal-complete-literal)
22852 (opascal-is-literal-start, opascal-face-of)
22853 (opascal-parse-region, opascal-parse-region-until-stable)
22854 (opascal-fontify-region, opascal-after-change)
22855 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
22856 (opascal-debug-parse-region, opascal-debug-parse-window)
22857 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
22858 (opascal-debug-fontify-buffer): Remove.
22859 (opascal-debug-mode-map): Adjust accordingly.
22860
22861 2013-04-25 Leo Liu <sdl.web@gmail.com>
22862
22863 Merge octave-mod.el and octave-inf.el into octave.el with some
22864 cleanups.
22865 * progmodes/octave.el: New file renamed from octave-mod.el.
22866 * progmodes/octave-inf.el: Merged into octave.el.
22867 * progmodes/octave-mod.el: Renamed to octave.el.
22868
22869 2013-04-25 Tassilo Horn <tsdh@gnu.org>
22870
22871 * textmodes/reftex-vars.el
22872 (reftex-label-ignored-macros-and-environments): New defcustom.
22873
22874 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
22875
22876 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22877
22878 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
22879 (smie-indent-keyword): Improve the check to ensure that the next
22880 comment is really on the same line.
22881 (smie-indent-comment): Don't align with a subsequent closer (or eob).
22882
22883 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
22884 semi-colons if the line is not otherwise empty (bug#14218).
22885
22886 2013-04-25 Glenn Morris <rgm@gnu.org>
22887
22888 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
22889
22890 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
22891
22892 * progmodes/opascal.el (opascal-set-token-property): Rename from
22893 opascal-set-text-properties and only set `token' (bug#14134).
22894 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
22895 (opascal-literal-text-properties): Remove.
22896 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
22897 Adjust callers.
22898
22899 2013-04-24 Reuben Thomas <rrt@sc3d.org>
22900
22901 * textmodes/remember.el (remember-handler-functions): Add an
22902 option for a new handler `remember-store-in-files'.
22903 (remember-data-directory, remember-directory-file-name-format):
22904 New options.
22905 (remember-store-in-files): New function to store remember notes
22906 as separate files within a directory.
22907
22908 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
22909
22910 * progmodes/compile.el (compilation-next-error-function):
22911 Pass "formats" to compilation-find-file (bug#11777).
22912
22913 2013-04-24 Glenn Morris <rgm@gnu.org>
22914
22915 * vc/vc-bzr.el (vc-bzr-print-log):
22916 * vc/vc-hg.el (vc-hg-print-log):
22917 * vc/vc-svn.el (vc-svn-print-log):
22918 Fix START-REVISION with LIMIT != 1. (Bug#14168)
22919
22920 * vc/vc-bzr.el (vc-bzr-print-log):
22921 * vc/vc-cvs.el (vc-cvs-print-log):
22922 * vc/vc-git.el (vc-git-print-log):
22923 * vc/vc-hg.el (vc-hg-print-log):
22924 * vc/vc-mtn.el (vc-mtn-print-log):
22925 * vc/vc-rcs.el (vc-rcs-print-log):
22926 * vc/vc-sccs.el (vc-sccs-print-log):
22927 * vc/vc-svn.el (vc-svn-print-log):
22928 * vc/vc.el (vc-print-log-internal): Doc fixes.
22929
22930 2013-04-23 Glenn Morris <rgm@gnu.org>
22931
22932 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
22933 Remove venerable code attempting to avoid substitute-command-keys.
22934
22935 2013-04-23 Tassilo Horn <tsdh@gnu.org>
22936
22937 * textmodes/reftex-vars.el (reftex-label-regexps):
22938 Call `reftex-compile-variables' after changes to this variable.
22939
22940 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
22941
22942 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
22943 Use lexical-binding.
22944 (jit-lock-force-redisplay): Use markers, check buffer's continued
22945 existence and beware narrowed buffers.
22946 (jit-lock-fontify-now): Adjust call accordingly.
22947
22948 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
22949
22950 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
22951 to avoid misleading the user.
22952
22953 2013-04-22 Leo Liu <sdl.web@gmail.com>
22954
22955 * info-look.el: Prefer latex2e.info. (Bug#14240)
22956
22957 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
22958
22959 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
22960
22961 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
22962 * net/tramp.el (tramp-call-process): ... here.
22963 (tramp-set-completion-function, tramp-parse-putty):
22964 * net/tramp-adb.el (tramp-adb-execute-adb-command):
22965 * net/tramp-gvfs.el (tramp-gvfs-send-command):
22966 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
22967 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
22968 (tramp-call-local-coding-command): Use `tramp-call-process'
22969 instead of `tramp-compat-call-process'.
22970
22971 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
22972 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
22973 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
22974 (tramp-find-inline-compress): Improve traces.
22975 (tramp-maybe-send-script): Check for Perl binary.
22976 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
22977
22978 2013-04-22 Daiki Ueno <ueno@gnu.org>
22979
22980 * epg.el (epg-context-pinentry-mode): New function.
22981 (epg-context-set-pinentry-mode): New function.
22982 (epg--start): Pass --pinentry-mode option to gpg command.
22983
22984 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
22985
22986 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
22987 `comint-dynamic-complete' is obsolete since 24.1, replaced by
22988 `completion-at-point'. (Bug#13774)
22989
22990 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
22991 default key binding for `describe-distribution' has been moved to
22992 `C-h C-o'. (Bug#13970)
22993
22994 2013-04-21 Glenn Morris <rgm@gnu.org>
22995
22996 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
22997 Add doc strings.
22998 (vc-print-log): Clarify interactive prompt.
22999
23000 2013-04-20 Glenn Morris <rgm@gnu.org>
23001
23002 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23003 No longer include timestamp etc information.
23004
23005 2013-04-20 Roland Winkler <winkler@gnu.org>
23006
23007 * faces.el (read-face-name): Bug fix, return just one face if arg
23008 multiple is nil. (Bug#14209)
23009
23010 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23011
23012 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23013 (remove-function): Autoload.
23014
23015 * comint.el (comint-redirect-original-filter-function): Remove.
23016 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23017 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23018 (vc-cvs-annotate-command):
23019 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23020 * progmodes/prolog.el (prolog-consult-compile):
23021 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23022 Use add/remove-function instead.
23023 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23024 (gud-tooltip-process-output, gud-tooltip-tips):
23025 Use add/remove-function instead.
23026 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23027 (scheme-interaction-mode, exit-scheme-interaction-mode):
23028 Use add/remove-function instead.
23029
23030 * vc/vc-dispatcher.el: Use lexical-binding.
23031 (vc--process-sentinel): Rename from vc-process-sentinel.
23032 Change last arg to be the code to run. Don't use vc-previous-sentinel
23033 and vc-sentinel-commands any more.
23034 (vc-exec-after): Allow code to be a function. Use add/remove-function.
23035 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23036
23037 2013-04-19 Masatake YAMATO <yamato@redhat.com>
23038
23039 * progmodes/sh-script.el (sh-imenu-generic-expression):
23040 Handle function names with a single character. (Bug#14111)
23041
23042 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
23043
23044 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23045 for subroutines defined in an eval (bug#14182).
23046
23047 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23048
23049 * bookmark.el (bookmark-completing-read): Improve handling of empty
23050 string (bug#14176).
23051
23052 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23053
23054 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23055
23056 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
23057
23058 New faster Imenu implementation (bug#14058).
23059 * progmodes/python.el (python-imenu-prev-index-position)
23060 (python-imenu-format-item-label-function)
23061 (python-imenu-format-parent-item-label-function)
23062 (python-imenu-format-parent-item-jump-label-function):
23063 New vars.
23064 (python-imenu-format-item-label)
23065 (python-imenu-format-parent-item-label)
23066 (python-imenu-format-parent-item-jump-label)
23067 (python-imenu--put-parent, python-imenu--build-tree)
23068 (python-imenu-create-index, python-imenu-create-flat-index)
23069 (python-util-popn): New functions.
23070 (python-mode): Set imenu-create-index-function to
23071 python-imenu-create-index.
23072
23073 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23074
23075 * winner.el (winner-active-region): Use region-active-p, activate-mark
23076 and deactivate-mark (bug#14225).
23077
23078 * simple.el (deactivate-mark): Don't inline it.
23079
23080 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
23081
23082 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23083
23084 2013-04-18 Tassilo Horn <tsdh@gnu.org>
23085
23086 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23087 file extensions from the archive-mode entry in order to prefer
23088 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23089
23090 2013-04-18 Leo Liu <sdl.web@gmail.com>
23091
23092 * bindings.el (help-event-list): Add ?\?.
23093
23094 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23095
23096 * subr.el (with-wrapper-hook): Declare obsolete.
23097 * simple.el (filter-buffer-substring-function): New hook.
23098 (filter-buffer-substring): Use it.
23099 (filter-buffer-substring-functions): Mark obsolete.
23100 * minibuffer.el (completion-in-region-function): New hook.
23101 (completion-in-region): Use it.
23102 (completion-in-region-functions): Mark obsolete.
23103 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23104 * abbrev.el (abbrev-expand-function): New hook.
23105 (expand-abbrev): Use it.
23106 (abbrev-expand-functions): Mark obsolete.
23107 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23108 and :filter-return.
23109
23110 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23111
23112 * progmodes/python.el (python-nav--syntactically): Fix cornercases
23113 and do not care about match data.
23114
23115 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23116
23117 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23118 completion tables when completing error conditions and
23119 `declare' arguments.
23120 (lisp-complete-symbol, field-complete): Mark as obsolete.
23121 (check-parens): Unmatched parens are user errors.
23122 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23123
23124 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
23125
23126 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23127 command changed buffer (ie. `flyspell-pre-buffer' is not current
23128 buffer), which prevents making decisions based on invalid value of
23129 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
23130 cause an error when `flyspell-pre-point' was nil after switching
23131 buffers.
23132 (flyspell-post-command-hook): No longer needs to change buffers when
23133 checking pre-word. While at it remove unnecessary progn.
23134
23135 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
23136
23137 * textmodes/ispell.el (ispell-add-per-file-word-list):
23138 Fix `flyspell-correct-word-before-point' error when accepting
23139 words and `coment-padding' is an integer by using
23140 `comment-normalize-vars' (Bug #14214).
23141
23142 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23143
23144 New defun movement commands.
23145 * progmodes/python.el (python-nav--syntactically)
23146 (python-nav--forward-defun, python-nav-backward-defun)
23147 (python-nav-forward-defun): New functions.
23148
23149 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23150
23151 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23152 (python-syntax-context): Use named compiler-macro for backwards
23153 compatibility with Emacs 24.x.
23154
23155 2013-04-17 Leo Liu <sdl.web@gmail.com>
23156
23157 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23158 octave-hide-process-buffer.
23159
23160 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23161
23162 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23163 (bug#14216).
23164
23165 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
23166
23167 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23168 Fix adjustment of offset when receiving incomplete responses from GDB
23169 (bug#14129).
23170
23171 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23172
23173 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23174 python-mode-abbrev-table.
23175 (python-skeleton-define): Adjust accordingly.
23176 (python-mode-abbrev-table): New table that inherits from it so that
23177 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23178
23179 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23180 (abbrev-symbol): Use it.
23181 (abbrev--before-point): Use it since we already handle inheritance.
23182
23183 2013-04-16 Leo Liu <sdl.web@gmail.com>
23184
23185 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23186 binding to info-lookup-symbol.
23187
23188 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
23189
23190 * minibuffer.el (completion--twq-all):
23191 * term/ns-win.el (ns-initialize-window-system):
23192 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23193
23194 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23195
23196 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23197 global bindings.
23198
23199 * doc-view.el (doc-view-start-process): Handle url-handler directories.
23200
23201 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
23202
23203 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23204 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23205 to nil.
23206 (ruby-end-of-defun): Remove the unused arg, change the docstring
23207 to reflect that this function is only used as the value of
23208 `end-of-defun-function'.
23209 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23210 to reflect an earlier change that beginning/end-of-defun functions
23211 jump between methods in a class definition, as well as top-level
23212 functions.
23213
23214 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23215
23216 * minibuffer.el (minibuffer-complete): Don't just scroll
23217 a *Completions* that's been iconified.
23218 (minibuffer-force-complete): Make sure repetitions do cycle when going
23219 through completion-in-region -> minibuffer-complete.
23220
23221 2013-04-15 Alan Mackenzie <acm@muc.de>
23222
23223 Correct the placement of c-cpp-delimiters when there're #s not at
23224 col 0.
23225
23226 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23227 place a submatch around the #.
23228 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23229 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
23230 on the #, not BOL.
23231
23232 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23233
23234 * emacs-lisp/nadvice.el: Properly test names when adding advice.
23235 (advice--member-p): New arg `name'.
23236 (advice--add-function, advice-member-p): Use it (bug#14202).
23237
23238 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
23239
23240 Reformulate java imenu-generic-expression.
23241 The old expression contained ill formed regexps.
23242
23243 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23244 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23245 (cc-imenu-java-method-arg-regexp): New defconsts.
23246 (cc-imenu-java-build-type-args-regex): New defun.
23247 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23248 handling of spaces in the regexp.
23249
23250 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23251
23252 * textmodes/ispell.el (ispell-command-loop): Remove
23253 flyspell highlight of a word when ispell accepts it (bug #14178).
23254
23255 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
23256
23257 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23258 uses code from the previous `ange-ftp-run-real-handler'.
23259 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23260 only in case that function exist. This is needed for proper
23261 unloading of Tramp.
23262
23263 2013-04-15 Tassilo Horn <tsdh@gnu.org>
23264
23265 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23266
23267 * textmodes/reftex.el (reftex-compile-variables): Use it.
23268
23269 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23270
23271 * files.el (normal-mode): Only use default major-mode if no other mode
23272 was specified.
23273
23274 * emacs-lisp/trace.el (trace-values): New function.
23275
23276 * files.el: Allow : in local variables (bug#14089).
23277 (hack-local-variable-regexp): New var.
23278 (hack-local-variables-prop-line, hack-local-variables): Use it.
23279
23280 2013-04-13 Roland Winkler <winkler@gnu.org>
23281
23282 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
23283 data before it gets modified by bibtex-beginning-of-entry.
23284
23285 2013-04-13 Roland Winkler <winkler@gnu.org>
23286
23287 * textmodes/bibtex.el (bibtex-url): Doc fix.
23288
23289 2013-04-13 Roland Winkler <winkler@gnu.org>
23290
23291 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
23292 does not visit a BibTeX file, exclude it from the list of buffers
23293 returned by bibtex-initialize.
23294
23295 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
23296
23297 * window.el (split-window): Remove interactive form, since as a
23298 command this function is a special case of split-window-below.
23299 Correct doc string.
23300
23301 2013-04-12 Roland Winkler <winkler@gnu.org>
23302
23303 * faces.el (read-face-name): Do not override value of arg default.
23304 Allow single faces and strings as default values. Remove those
23305 elements from return value that are not faces.
23306 (describe-face): Simplify.
23307 (face-at-point): New optional args thing and multiple so that this
23308 function can provide the same functionality previously provided by
23309 read-face-name.
23310 (make-face-bold, make-face-unbold, make-face-italic)
23311 (make-face-unitalic, make-face-bold-italic, invert-face)
23312 (modify-face, read-face-and-attribute): Use face-at-point.
23313
23314 * cus-edit.el (customize-face, customize-face-other-window)
23315 * cus-theme.el (custom-theme-add-face)
23316 * face-remap.el (buffer-face-set)
23317 * facemenu.el (facemenu-set-face): Use face-at-point.
23318
23319 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
23320
23321 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
23322
23323 2013-04-10 Tassilo Horn <tsdh@gnu.org>
23324
23325 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
23326 off leading { and trailing } from field values.
23327
23328 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
23329
23330 * emacs-lisp/timer.el (timer--check): New function.
23331 (timer--time, timer-set-function, timer-event-handler): Use it.
23332 (timer-set-idle-time): Simplify.
23333 (timer--activate): CSE.
23334 (timer-event-handler): Give more info in error message.
23335 (internal-timer-start-idle): New function, moved from C.
23336
23337 * mpc.el (mpc-proc): Add `restart' argument.
23338 (mpc-proc-cmd): Use it.
23339 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
23340 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
23341 less often.
23342
23343 2013-04-10 Masatake YAMATO <yamato@redhat.com>
23344
23345 * progmodes/sh-script.el: Implement `sh-mode' own
23346 `add-log-current-defun-function' (bug#14112).
23347 (sh-current-defun-name): New function.
23348 (sh-mode): Use the function.
23349
23350 2013-04-09 Bastien Guerry <bzg@gnu.org>
23351
23352 * simple.el (choose-completion-string): Fix docstring (bug#14163).
23353
23354 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
23355
23356 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
23357
23358 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
23359 timer (bug#14156).
23360
23361 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
23362
23363 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
23364 declaration.
23365
23366 2013-04-07 Leo Liu <sdl.web@gmail.com>
23367
23368 * pcmpl-x.el: New file.
23369
23370 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
23371
23372 Do not set x-display-name until X connection is established.
23373 This is needed to prevent from weird situation described at
23374 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
23375 * frame.el (make-frame): Set x-display-name after call to
23376 window system initialization function, not before.
23377 * term/x-win.el (x-initialize-window-system): Add optional
23378 display argument and use it.
23379 * term/w32-win.el (w32-initialize-window-system):
23380 * term/ns-win.el (ns-initialize-window-system):
23381 * term/pc-win.el (msdos-initialize-window-system):
23382 Add compatible optional display argument.
23383
23384 2013-04-06 Eli Zaretskii <eliz@gnu.org>
23385
23386 * files.el (normal-backup-enable-predicate): On MS-Windows and
23387 MS-DOS compare truenames of temporary-file-directory and of the
23388 file, so that 8+3 aliases (usually found in $TEMP on Windows)
23389 don't fail comparison by compare-strings. Also, compare file
23390 names case-insensitively on MS-Windows and MS-DOS.
23391
23392 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23393
23394 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
23395 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
23396
23397 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
23398
23399 * whitespace.el (whitespace-color-on, whitespace-color-off):
23400 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
23401
23402 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
23403
23404 * ispell.el (ispell-set-spellchecker-params):
23405 Really set `ispell-args' for all equivs.
23406
23407 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23408
23409 * ido.el (ido-completions): Use extra elements of ido-decorations
23410 (bug#14143).
23411 (ido-decorations): Update docstring.
23412
23413 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
23414
23415 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
23416 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
23417 nil during initialization, in order not to miss changes since the
23418 file was opened. (Bug#14140)
23419
23420 2013-04-05 Leo Liu <sdl.web@gmail.com>
23421
23422 * kmacro.el (kmacro-call-macro): Fix bug#14135.
23423
23424 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
23425
23426 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
23427
23428 2013-04-04 Glenn Morris <rgm@gnu.org>
23429
23430 * electric.el (electric-pair-inhibit-predicate): Add :version.
23431
23432 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
23433
23434 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
23435 when a package is required several times (bug#14082).
23436
23437 2013-04-04 Roland Winkler <winkler@gnu.org>
23438
23439 * faces.el (read-face-name): Behave as promised by the docstring.
23440 Assume that arg default is a list of faces.
23441 (describe-face): Call read-face-name with list of default faces.
23442
23443 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23444
23445 * bookmark.el: Fix deletion of bookmarks (bug#13972).
23446 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
23447 (bookmark-bmenu-execute-deletions): Only skip first line if it's
23448 the header.
23449 (bookmark-exit-hook-internal): Save even if list is empty.
23450
23451 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
23452
23453 * emacs-lisp/package.el (package-pinned-packages): New var.
23454 (package--add-to-archive-contents): Obey it (bug#14118).
23455
23456 2013-04-03 Alan Mackenzie <acm@muc.de>
23457
23458 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
23459 Also adapt to the new values of element 7 of a parse state.
23460
23461 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
23462 parameter `not-in-delimiter'. Handle being inside comment opener.
23463 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
23464 character in case we're typing a '*' after a '/'.
23465 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
23466 instead by passing the parameter to c-state-pp-to-literal.
23467
23468 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
23469 for elt. 7 of a parse state.
23470
23471 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
23472
23473 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
23474 * international/latin1-disp.el, international/mule-util.el:
23475 * language/cyril-util.el, language/european.el, language/ind-util.el:
23476 * language/lao-util.el, language/thai.el, language/tibet-util.el:
23477 * language/tibetan.el, language/viet-util.el:
23478 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
23479
23480 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23481
23482 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
23483 (electric-pair-post-self-insert-function): Use it.
23484 (electric-pair-default-inhibit): New function, extracted from
23485 electric-pair-post-self-insert-function.
23486
23487 2013-03-31 Roland Winkler <winkler@gnu.org>
23488
23489 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
23490
23491 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23492
23493 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
23494
23495 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
23496
23497 Un-indent after "pass" and "return" statements (Bug#13888)
23498 * progmodes/python.el (python-indent-block-enders): New var.
23499 (python-indent-calculate-indentation): Use it.
23500
23501 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
23502
23503 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
23504 defun. Defining it as defalias could introduce too eager
23505 byte-compiler optimization. (Bug#14030)
23506
23507 2013-03-30 Chong Yidong <cyd@gnu.org>
23508
23509 * iswitchb.el (iswitchb-read-buffer): Fix typo.
23510
23511 2013-03-30 Leo Liu <sdl.web@gmail.com>
23512
23513 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
23514 (kmacro-execute-from-register): Pass the keyboard macro to
23515 kmacro-call-macro or repeating won't work correctly.
23516
23517 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
23518
23519 * progmodes/subword.el: Back to using `forward-symbol'.
23520
23521 * subr.el (forward-whitespace, forward-symbol)
23522 (forward-same-syntax): Move from thingatpt.el.
23523
23524 2013-03-29 Leo Liu <sdl.web@gmail.com>
23525
23526 * kmacro.el (kmacro-to-register): New command.
23527 (kmacro-execute-from-register): New function.
23528 (kmacro-keymap): Bind to 'x'. (Bug#14071)
23529
23530 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
23531
23532 * mpc.el: Use defvar-local and setq-local.
23533 (mpc--proc-connect): Connection failures are not bugs.
23534 (mpc-mode-map): `follow-link' only applies to the buffer's content.
23535 (mpc-volume-map): Bind to the up-events.
23536
23537 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
23538
23539 * progmodes/subword.el (superword-mode): Use `forward-sexp'
23540 instead of `forward-symbol'.
23541
23542 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
23543
23544 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
23545 (edebug--recursive-edit): Use it.
23546 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
23547 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
23548
23549 2013-03-28 Leo Liu <sdl.web@gmail.com>
23550
23551 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
23552
23553 2013-03-27 Eli Zaretskii <eliz@gnu.org>
23554
23555 * facemenu.el (list-colors-callback): New defvar.
23556 (list-colors-redisplay): New function.
23557 (list-colors-display): Install list-colors-redisplay as the
23558 revert-buffer-function. (Bug#14063)
23559
23560 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
23561
23562 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
23563 and suffixes don't overlap (bug#14061).
23564
23565 * case-table.el: Use lexical-binding.
23566 (case-table-get-table): New function.
23567 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
23568
23569 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
23570
23571 * progmodes/subword.el: Add `superword-mode' to do word motion
23572 over symbol_words (parallels and leverages `subword-mode' which
23573 does word motion inside MixedCaseWords).
23574
23575 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
23576
23577 * eshell/em-unix.el: Move su and sudo to...
23578 * eshell/em-tramp.el: ...Eshell tramp module.
23579
23580 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23581
23582 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
23583 Change return value to be a sexp. Delay `get-buffer' to after
23584 restoring the desktop (bug#13951).
23585
23586 2013-03-26 Leo Liu <sdl.web@gmail.com>
23587
23588 * register.el: Move semantic tag handling back to
23589 cedet/semantic/senator.el. (Bug#14052)
23590
23591 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23592
23593 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
23594 into the prompt either (bug#13963).
23595
23596 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
23597
23598 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
23599 part of "(error-foo)".
23600
23601 2013-03-24 Juri Linkov <juri@jurta.org>
23602
23603 * replace.el (list-matching-lines-prefix-face): New defcustom.
23604 (occur-1): Pass `list-matching-lines-prefix-face' to the function
23605 `occur-engine' if `face-differs-from-default-p' returns t.
23606 (occur-engine): Add `,' inside backquote construct to evaluate
23607 `prefix-face'. Propertize the prefix with the `prefix-face' face.
23608 Pass `prefix-face' to the functions `occur-context-lines' and
23609 `occur-engine-add-prefix'.
23610 (occur-engine-add-prefix, occur-context-lines): Add optional arg
23611 `prefix-face' and propertize the prefix with `prefix-face'.
23612 (Bug#14017)
23613
23614 2013-03-24 Leo Liu <sdl.web@gmail.com>
23615
23616 * nxml/rng-valid.el (rng-validate-while-idle)
23617 (rng-validate-quick-while-idle): Guard against deleted buffer.
23618 (Bug#13999)
23619
23620 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
23621 is the last entry in kill-buffer-hook.
23622
23623 * files.el (kill-buffer-hook): Doc fix.
23624
23625 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
23626
23627 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
23628 Make it safe-local.
23629
23630 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
23631
23632 2013-03-23 Leo Liu <sdl.web@gmail.com>
23633
23634 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
23635 Remove.
23636
23637 * nxml/rng-valid.el (rng-validate-mode)
23638 (rng-after-change-function, rng-do-some-validation):
23639 * nxml/rng-maint.el (rng-validate-buffer):
23640 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
23641 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
23642 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
23643 (nxml-extend-after-change-region): Use with-silent-modifications.
23644
23645 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
23646 timer-idle-list.
23647
23648 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
23649 (rng-next-error-1, rng-previous-error-1): Do not let-bind
23650 timer-idle-list. (Bug#13999)
23651
23652 2013-03-23 Juri Linkov <juri@jurta.org>
23653
23654 * info.el (info-index-match): New face.
23655 (Info-index, Info-apropos-matches): Add a nested subgroup to the
23656 main pattern and add text properties with the new face to matches
23657 in index entries relative to the beginning of the index entry.
23658 (Bug#14015)
23659
23660 2013-03-21 Eric Ludlam <zappo@gnu.org>
23661
23662 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
23663 Inhibit read only while inserting objects.
23664
23665 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
23666
23667 * progmodes/cfengine.el: Update docs to mention
23668 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
23669 symbol motion. Remove "_" from the word syntax.
23670
23671 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
23672
23673 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
23674 syntax for both `cfengine2-mode' and `cfengine3-mode'.
23675
23676 2013-03-20 Juri Linkov <juri@jurta.org>
23677
23678 * info.el (Info-next-reference-or-link)
23679 (Info-prev-reference-or-link): New functions.
23680 (Info-next-reference, Info-prev-reference): Use them.
23681 (Info-try-follow-nearest-node): Handle footnote navigation.
23682 (Info-fontify-node): Fontify footnotes. (Bug#13989)
23683
23684 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
23685
23686 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
23687 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
23688
23689 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
23690
23691 Suppress unnecessary non-ASCII chatter during build process.
23692 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23693 (batch-skkdic-convert): Suppress most of the chatter.
23694 It's not needed so much now that machines are faster,
23695 and its non-ASCII component was confusing; see Dmitry Gutov in
23696 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
23697
23698 2013-03-20 Leo Liu <sdl.web@gmail.com>
23699
23700 * ido.el (ido-chop): Fix bug#10994.
23701
23702 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23703
23704 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
23705 Remove vars.
23706 (whitespace-color-on, whitespace-color-off):
23707 Use `font-lock-fontify-buffer' (Bug#13817).
23708
23709 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
23710
23711 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
23712 remapping in mode-line.
23713 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
23714
23715 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23716
23717 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
23718 value for `whitespace-line' face (Bug#13875).
23719 (whitespace-font-lock-keywords): Change description.
23720 (whitespace-color-on): Don't save `font-lock-keywords' value, save
23721 the constructed keywords instead.
23722 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
23723
23724 2013-03-19 Leo Liu <sdl.web@gmail.com>
23725
23726 * progmodes/compile.el (compilation-display-error): New command.
23727 (compilation-mode-map, compilation-minor-mode-map): Bind it to
23728 C-o. (Bug#13992)
23729
23730 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23731
23732 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
23733
23734 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
23735
23736 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
23737
23738 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
23739
23740 * net/tramp-compat.el (tramp-compat-user-error): New defun.
23741
23742 * net/tramp-adb.el (tramp-adb-handle-shell-command):
23743 * net/tramp-gvfs.el (top):
23744 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
23745 (tramp-handle-shell-command): Use it.
23746 (tramp-dissect-file-name): Raise an error when hostname is a
23747 method name, and neither method nor user is specified.
23748
23749 * net/trampver.el: Update release number.
23750
23751 2013-03-18 Leo Liu <sdl.web@gmail.com>
23752
23753 Make sure eldoc can be turned off properly.
23754 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
23755 eldoc-mode.
23756 (eldoc-display-message-p): Revert last change.
23757 (eldoc-display-message-no-interference-p)
23758 (eldoc-print-current-symbol-info): Tweak.
23759
23760 2013-03-18 Tassilo Horn <tsdh@gnu.org>
23761
23762 * doc-view.el (doc-view-new-window-function): Check the new window
23763 overlay's display property instead the char property of the
23764 buffer's first char. Use `with-selected-window' instead of
23765 `save-window-excursion' with `select-window'.
23766 (doc-view-document->bitmap): Check the current doc-view overlay's
23767 display property instead the char property of the buffer's first char.
23768
23769 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23770
23771 Automate the build of ja-dic.el (Bug#13984).
23772 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
23773 from the input, rather than assume that it's been done for us by the
23774 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
23775 the current date into a ja-dic.el comment, as that complicates
23776 regression testing.
23777
23778 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23779
23780 * whitespace.el: Fix double evaluation.
23781 (whitespace-space, whitespace-hspace, whitespace-tab)
23782 (whitespace-newline, whitespace-trailing, whitespace-line)
23783 (whitespace-space-before-tab, whitespace-indentation)
23784 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
23785 obsolete defvars.
23786 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
23787 (whitespace-color-on): Use a single font-lock-add-keywords call.
23788 Fix double-evaluation of face variables.
23789
23790 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
23791
23792 * net/tramp-adb.el (tramp-adb-parse-device-names):
23793 Use `start-process' instead of `call-process'. Otherwise, the
23794 function might be blocked under MS Windows. (Bug#13299)
23795
23796 2013-03-17 Leo Liu <sdl.web@gmail.com>
23797
23798 Extend eldoc to display info in the mode-line. (Bug#13978)
23799 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
23800 (eldoc-mode-line-string): New variable.
23801 (eldoc-minibuffer-message): New function.
23802 (eldoc-message-function): New variable.
23803 (eldoc-message): Use it.
23804 (eldoc-display-message-p)
23805 (eldoc-display-message-no-interference-p):
23806 Support eldoc-post-insert-mode.
23807
23808 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
23809 (eval-expression): Run it.
23810
23811 2013-03-17 Roland Winkler <winkler@gnu.org>
23812
23813 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
23814 strings in the list of return values.
23815
23816 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23817
23818 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
23819 radix before checking for HMS forms.
23820
23821 2013-03-16 Leo Liu <sdl.web@gmail.com>
23822
23823 * progmodes/scheme.el: Add indentation and font-locking for λ.
23824 (Bug#13975)
23825
23826 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
23827
23828 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
23829 token before point (bug#13942).
23830
23831 2013-03-16 Leo Liu <sdl.web@gmail.com>
23832
23833 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
23834
23835 2013-03-16 Eli Zaretskii <eliz@gnu.org>
23836
23837 * startup.el (command-line-normalize-file-name): Fix handling of
23838 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
23839 <xfq.free@gmail.com> in
23840 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
23841
23842 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
23843
23844 Sync with Tramp 2.2.7.
23845
23846 * net/trampver.el: Update release number.
23847
23848 2013-03-14 Tassilo Horn <tsdh@gnu.org>
23849
23850 * doc-view.el: Fix bug#13887.
23851 (doc-view-insert-image): Don't modify overlay associated to
23852 non-live windows, and implement horizontal centering of image in
23853 case it's smaller than the window.
23854 (doc-view-new-window-function): Force redisplay of new windows on
23855 doc-view buffers.
23856
23857 2013-03-13 Karl Fogel <kfogel@red-bean.com>
23858
23859 * saveplace.el (save-place-alist-to-file): Don't sort
23860 `save-place-alist', just pretty-print it (bug#13882).
23861
23862 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
23863
23864 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
23865 Check whether `default-file-name-coding-system' is bound.
23866 It isn't in XEmacs.
23867
23868 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
23869
23870 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
23871 backquotes for `obsolete' (bug#13929).
23872
23873 * international/mule.el (find-auto-coding): Include file name in
23874 obsolescence warning (bug#13922).
23875
23876 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
23877
23878 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
23879 for CFEngine 3-specific indentation.
23880 (cfengine3-indent-line): Use it. Fix up category regex.
23881 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
23882
23883 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23884
23885 * type-break.el (type-break-file-name):
23886 * textmodes/remember.el (remember-data-file):
23887 * strokes.el (strokes-file):
23888 * shadowfile.el (shadow-initialize):
23889 * saveplace.el (save-place-file):
23890 * ps-bdf.el (bdf-cache-file):
23891 * progmodes/idlwave.el (idlwave-config-directory):
23892 * net/quickurl.el (quickurl-url-file):
23893 * international/kkc.el (kkc-init-file-name):
23894 * ido.el (ido-save-directory-list-file):
23895 * emulation/viper.el (viper-custom-file-name):
23896 * emulation/vip.el (vip-startup-file):
23897 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
23898 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
23899
23900 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
23901
23902 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
23903 * language/thai-word.el: Switch to UTF-8.
23904
23905 See ChangeLog.16 for earlier changes.
23906
23907 ;; Local Variables:
23908 ;; coding: utf-8
23909 ;; End:
23910
23911 Copyright (C) 2011-2015 Free Software Foundation, Inc.
23912
23913 This file is part of GNU Emacs.
23914
23915 GNU Emacs is free software: you can redistribute it and/or modify
23916 it under the terms of the GNU General Public License as published by
23917 the Free Software Foundation, either version 3 of the License, or
23918 (at your option) any later version.
23919
23920 GNU Emacs is distributed in the hope that it will be useful,
23921 but WITHOUT ANY WARRANTY; without even the implied warranty of
23922 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23923 GNU General Public License for more details.
23924
23925 You should have received a copy of the GNU General Public License
23926 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.