ChangeLog 380 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
2013-11-27  Glenn Morris  <rgm@gnu.org>

	* international/charprop.el, international/uni-bidi.el:
	* international/uni-category.el, international/uni-combining.el:
	* international/uni-comment.el, international/uni-decimal.el:
	* international/uni-decomposition.el, international/uni-digit.el:
	* international/uni-lowercase.el, international/uni-mirrored.el:
	* international/uni-name.el, international/uni-numeric.el:
	* international/uni-old-name.el, international/uni-titlecase.el:
	* international/uni-uppercase.el:
	Remove generated files from VCS repository.

13 14 15 16 17
2013-11-27  Eli Zaretskii  <eliz@gnu.org>

	* filenotify.el (file-notify-add-watch): Don't special-case
	w32notify when computing the directory to watch.

18 19
2013-11-27  Glenn Morris  <rgm@gnu.org>

20 21 22 23 24 25
	Make bootstrap without generated uni-*.el files possible again.
	* loadup.el: Update command-line-args checking for unidata-gen.
	Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
	* composite.el, international/characters.el:
	Handle unicode tables being undefined.

Glenn Morris's avatar
Glenn Morris committed
26
	Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
	* Makefile.in (setwins_for_subdirs): Skip leim/ directory.
	(compile-main): Depend on leim rule.
	(leim): New rule.
	* loadup.el: Move leim-list.el to leim/ subdirectory.
	* startup.el (normal-top-level): No more leim directory.
	* international/ja-dic-cnv.el (skkdic-convert):
	Disable version-control and autoloads in output files.
	* international/titdic-cnv.el (titdic-convert, miscdic-convert):
	Disable version-control and autoloads in output files.
	* leim/quail: Move here from ../leim.
	* leim/quail/hangul.el (hangul-input-method-activate):
	Add autoload cookie.
	(generated-autoload-load-name): Set file-local value.
	* leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
	(generated-autoload-load-name): Set file-local value.

Ted Zlatanov's avatar
Ted Zlatanov committed
43 44 45 46 47 48
2013-11-26  Kenjiro NAKAYAMA <knakayam@redhat.com>  (tiny change)

        * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
        (eww-add-bookmark): ask confirmation when add to bookmarks
        (eww-quit): ask confirmation before quitting eww

49 50 51 52 53
2013-11-26  Eli Zaretskii  <eliz@gnu.org>

	* vc/vc.el (vc-diff-internal): Use *-dos coding-system when
	reading output from Diff on MS-Windows and MS-DOS.

54 55 56 57
2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>

	* emacs-lisp/helpers.el (string-reverse): New function.

58 59 60 61 62 63 64 65
2013-11-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
	names on MS Windows, like "/[::1]:".

	* net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
	SWITCHES.

Glenn Morris's avatar
Glenn Morris committed
66 67
2013-11-26  Glenn Morris  <rgm@gnu.org>

68 69 70
	* progmodes/python.el (python-indent-guess-indent-offset):
	Avoid corner-case error.  (Bug#15975)

Glenn Morris's avatar
Glenn Morris committed
71 72 73 74
	Preload leim-list.el.  (Bug#4789)
	* loadup.el: Load leim-list.el when found.
	* startup.el (normal-top-level): Skip re-loading leim/leim-list.el.

75
2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
76 77 78

	* emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.

79 80
	* emacs-lisp/helpers.el (string-join): New function.

Glenn Morris's avatar
Glenn Morris committed
81
2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
82 83 84 85 86 87 88

	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Mark as obsolete and replace it with a symbol property.
	(byte-compile-form): Use new 'interactive-only property.
	* comint.el, files.el, replace.el, simple.el:
	Apply new 'interactive-only properly.

89 90 91 92 93 94
2013-11-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-at-bottom): Make sure that
	split-window-sensibly creates the new window on bottom
	(Bug#15961).

95 96 97 98 99 100 101
2013-11-23  David Kastrup  <dak@gnu.org>

	* vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
	on the conflict markers when available.
	(smerge--get-marker): New function.
	(smerge-end-re, smerge-base-re): Add subgroup.

102 103 104 105 106
2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* frame.el (handle-focus-in, handle-focus-out): Add missing
	interactive spec.

107 108 109 110 111
2013-11-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (tramp-cleanup-connection): Clean up
	`tramp-current-connection' only when KEEP-PASSWORD is non-nil.

112 113
2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

114 115 116 117 118 119 120 121 122 123
	* play/gomoku.el: Don't use intangible property.  Use lexical-binding.
	(gomoku--last-pos): New var.
	(gomoku--intangible-chars): New const.
	(gomoku--intangible): New function.
	(gomoku-mode): Use it.  Derive from special-mode.
	(gomoku-move-up): Adjust line count.
	(gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
	(gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
	Simplify accordingly.

124 125 126 127 128 129
	* frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
	Remove blink-cursor code.
	(blink-cursor-timer-function, blink-cursor-suspend):
	Don't special-case GUIs.
	(blink-cursor-mode): Use focus-in/out-hook.

130 131 132 133 134
2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>

	* vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
	work when annotation is invisible (Bug#13886).

135
2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
136 137 138 139

	* json.el (json-alist-p): Only return non-nil if the alist has
	simple keys (Bug#13518).

140
2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
141 142 143 144

	* progmodes/js.el (js--ctrl-statement-indentation): Fix indent
	when control-statement is the first statement in a buffer (Bug#15956).

145 146 147 148 149 150
2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>

	* imenu.el (imenu-generic-skip-comments-and-strings):
	New option (Bug#15560).
	(imenu--generic-function): Use it.

151 152 153 154 155
2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>

	* minibuffer.el (completion--in-region-1): Scroll the correct
	window. (Bug#13898)

156 157
2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>

158 159 160 161 162
	* emacs-lisp/helpers.el: Add some string helpers.
	(string-trim-left): Removes leading whitespace.
	(string-trim-right): Removes trailing whitespace.
	(string-trim): Removes leading and trailing whitespace.

163 164
	* subr.el (string-suffix-p): New function.

165 166 167 168 169 170
2013-11-23  Glenn Morris  <rgm@gnu.org>

	* progmodes/python.el (python-shell-send-file):
	Add option to delete file when done.  (Bug#15647)
	(python-shell-send-string, python-shell-send-region): Use it.

171 172
2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)

173 174 175
	* vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
	to set buffer-read-only to t, never to nil.  (Bug#15938)

176 177 178
	* textmodes/tex-mode.el (latex-noindent-environments):
	Add safe-local-variable property.  (Bug#15936)

179 180
2013-11-23  Glenn Morris  <rgm@gnu.org>

181 182 183 184
	* textmodes/enriched.el (enriched-mode): Doc fix.
	* emacs-lisp/authors.el (authors-renamed-files-alist):
	Add enriched.doc -> enriched.txt.

185 186
	* Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.

187 188 189 190 191
2013-11-22  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup): Spit out error
	message.

192 193 194 195
2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
	Improve docstring.
196 197
	Add :version.
	(ruby-encoding-magic-comment-style): Add :version.
198

199 200 201 202
2013-11-22  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-operator-regexp): Exclude newline.
	(Bug#15076)
203 204 205
	(octave-help-mode): Adapt to change to help-mode-finish to use
	derived-mode-p on 2013-09-17.
	(inferior-octave-prompt): Also match octave-gui.
206
	(octave-kill-process): Don't ask twice.  (Bug#10564)
207

208 209 210 211 212 213 214 215
2013-11-22  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-process-live-p): New helper.
	(inferior-octave-startup, inferior-octave-check-process)
	(inferior-octave-track-window-width-change)
	(octave-completion-at-point, octave-eldoc-function): Use it.
	(octave-kill-process): Provide confirmation.  (Bug#10564)

216 217
2013-11-21  Leo Liu  <sdl.web@gmail.com>

218 219
	* progmodes/octave.el (octave-mode, inferior-octave-mode):
	Fix obsolete variable comment-use-global-state.
220

221 222
2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

223 224
	* progmodes/octave.el (octave-mode-map, octave-mode-menu):
	Add `octave-source-file'.
225 226
	(octave-source-file): New function.  (Bug#15935)

227 228 229 230 231
2013-11-21  Kenjiro Nakayama <nakayamakenjiro@gmail.com>  (tiny change)

	* net/eww.el (eww-local-regex): New variable.
	(eww): Use it to detect localhost and similar.

Leo Liu's avatar
Leo Liu committed
232 233 234
2013-11-21  Leo Liu  <sdl.web@gmail.com>

	Add completion for command `ag'.
235 236 237
	* pcmpl-x.el (pcmpl-x-ag-options): New variable.
	(pcomplete/ag): New function.
	(pcmpl-x-ag-options): New function. Handle `[no]' in long options.
Leo Liu's avatar
Leo Liu committed
238

239 240 241 242 243 244
2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
	(bug#14646).
	(make-obsolete): Remove interactive spec.

245 246 247 248
2013-11-21  Glenn Morris  <rgm@gnu.org>

	* startup.el (command-line-1): Use path-separator with -L.

249 250 251 252 253
2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>

	* emacs-lisp/package.el (describe-package-1): Add package archive
	to shown fields.

Bozhidar Batsov's avatar
Bozhidar Batsov committed
254 255 256 257 258 259
2013-11-20  Bozhidar Batsov <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
	Change default to "# encoding: %s" to differentiate it from the
	default Ruby encoding comment template.

260 261 262 263
2013-11-20  era eriksson  <era+emacsbugs@iki.fi>

	* ses.el (ses-mode): Doc fix.  (Bug#14748)

264 265 266 267
2013-11-20  Leo Liu  <sdl.web@gmail.com>

	* window.el (display-buffer-alist): Doc fix.  (Bug#13594)

268 269 270 271 272
2013-11-19  Dan Nicolaescu  <dann@gnu.org>

	* vc/vc-git.el (vc-git-dir-extra-headers): Add headers
	when rebase or bisect are in progress.

Xue Fuqiao's avatar
Xue Fuqiao committed
273 274 275 276
2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>

	* filenotify.el (file-notify-add-watch): Doc fix.

277 278
2013-11-19  Leo Liu  <sdl.web@gmail.com>

279 280
	* obsolete/rcompile.el: Mark obsolete.

281
	* progmodes/compile.el (compilation-start)
282 283
	(compilation-goto-locus, compilation-find-file):
	Pass no-display-ok and handle nil value from display-buffer.
284 285 286 287 288
	(Bug#13594)

	* window.el (display-buffer-alist, display-buffer): Document the
	new parameter no-display-ok.

289 290
2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

291 292 293 294 295
	* electric.el (electric-indent-mode-map): Remove.
	(electric-indent-mode): Change the global-map instead (bug#15915).

	* textmodes/text-mode.el (paragraph-indent-minor-mode):
	Use add-function.
296

297 298
2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>

299 300 301
	* emacs-lisp/nadvice.el (remove-function): Align with
	add-function's behavior.

302 303 304 305 306 307 308 309 310 311
	* progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
	(gdb--string-regexp): New constant.
	(gdb-tooltip-print, gdb-var-evaluate-expression-handler)
	(gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
	(gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
	submatch 1.
	(gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
	Adjust use accordingly.
	(gdb-breakpoints-list-handler-custom): Pre-build the y/n string.

312 313 314 315 316
2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)

	* progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
	interpolation curlies (Bug#15914).

317 318 319 320 321
2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-context-sensitive-enter): New variable.
	(calc-enter): Use `calc-context-sensitive-enter'.

322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338
2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el: Version bump.
	(cfengine-cf-promises): New defcustom to locate cf-promises.
	(cfengine3-vartypes): Add new "data" type.
	(cfengine3--current-word): New function to get current name-like
	word or its bounds.
	(cfengine3--current-function): New function to look up a CFEngine
	function's definition.
	(cfengine3-format-function-docstring): New function.
	(cfengine3-make-syntax-cache): New function.
	(cfengine3-documentation-function): New function: ElDoc glue.
	(cfengine3-completion-function): New function: completion glue.
	(cfengine3-mode): Set `compile-command',
	`eldoc-documentation-function', and add to
	`completion-at-point-functions'.

339 340 341 342 343
2013-11-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cmds.el (tramp-cleanup-connection): Clean up
	`tramp-current-connection'.

344 345 346 347 348
2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
	nil/self/true/false with "end of symbol".

349 350 351 352
2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>

	* subr.el (version-regexp-alist): Fix a typo.

353 354 355 356 357 358 359
2013-11-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
	"en_US.utf8" and "LC_CTYPE" to "".
	(tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
	(tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".

360 361 362 363
2013-11-15  Leo Liu  <sdl.web@gmail.com>

	* loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)

364 365
2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

366 367
	* progmodes/gud.el (ctl-x-map):
	Remove C-x SPC binding.  (Bug#12342)
368 369
	(gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).

370 371
2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>

372 373 374
	* subr.el (version-regexp-alist):
	Recognize hg, svn and darcs versions as snapshot versions.

375 376 377 378 379 380 381
	* progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
	'always-utf8 value of `ruby-insert-encoding-magic-comment'.
	(ruby--encoding-comment-required-p): Extract from
	`ruby-mode-set-encoding'.
	(ruby-mode-set-encoding): Add the ability to always insert an
	utf-8 encoding comment.  Fix and simplify coding comment update
	logic.
382

383 384 385 386 387 388
2013-11-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (top): Run init code only when
	`tramp-gvfs-enabled' is not nil.
	(tramp-gvfs-enabled): Check also :system bus.

389 390 391 392 393 394 395 396 397 398
2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	Sync with upstream verilog-mode revision 78e66ba.
	* progmodes/verilog-mode.el (verilog-end-of-defun)
	(verilog-type-completion, verilog-get-list): Remove unused funcs.
	(verilog-get-end-of-defun): Remove unused argument.
	(verilog-comment-depth): Remove unused local `e'.
	(verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
	Don't pass arg to verilog-get-end-of-defun.

399 400 401 402 403 404
2013-11-14  Glenn Morris  <rgm@gnu.org>

	* obsolete/assoc.el (aget): Prefix dynamic variable.

	* allout-widgets.el (allout-widgets): No need to autoload defgroup.

405 406 407 408
2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* widget.el, hfy-cmap.el: Remove bogus package version number.

409 410
2013-11-13  Glenn Morris  <rgm@gnu.org>

411 412 413
	* replace.el (replace-eval-replacement):
	Try to give more helpful error message.  (Bug#15836)

414 415 416
	* arc-mode.el (archive-7z-extract, archive-7z-expunge)
	(archive-7z-update): Avoid custom type mismatches.

417 418
	* vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.

419 420
2013-11-13  Michael Albinus  <michael.albinus@gmx.de>

421
	* net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
422 423 424 425 426 427
	address can be empty.

	* net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
	Accept nil SWITCHES.
	(tramp-gvfs-handle-write-region): Implement APPEND.

428 429 430
2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
431 432
	binary "|" operator and closing block args delimiter.
	Remove FIXME comment referring to Ruby 1.8-only syntax.
433 434 435 436 437
	(ruby-smie--implicit-semi-p): Not after "|" operator.
	(ruby-smie--closing-pipe-p): New function.
	(ruby-smie--forward-token, ruby-smie--backward-token): Use it.
	(ruby-smie-rules): Indent after "|".

438 439 440 441 442
2013-11-12  Glenn Morris  <rgm@gnu.org>

	* ps-print.el (ps-face-attribute-list):
	Handle anonymous faces.  (Bug#15827)

443 444 445 446 447
2013-11-12  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-other-frame): Fix doc-string.
	(Bug#15868)

448 449 450 451
2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (force-mode-line-update): Delete, move to buffer.c.

452 453 454 455 456 457 458 459 460 461 462 463 464 465
2013-11-11  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
	(tramp-sh-handle-file-local-copy): Don't write a message when
	saving temporary files.

	* net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
	both directories are remote.
	(tramp-smb-handle-directory-files): Do not return double entries.
	Do not expand full file names.
	(tramp-smb-handle-insert-directory): Accept nil SWITCHES.
	(tramp-smb-handle-write-region): Implement APPEND.
	(tramp-smb-get-stat-capability): Fix a stupid bug.

466 467 468 469
2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.

470 471 472 473 474
2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)

	* emacs-lisp/cconv.el (cconv-convert): Print warning instead of
	throwing error over malformed let/let* (bug#15814).

475 476 477 478
2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* iswitchb.el (iswitchb-mode): Mark obsolete.

479 480 481 482 483 484
2013-11-11  Glenn Morris  <rgm@gnu.org>

	* international/uni-bidi.el, international/uni-category.el:
	* international/uni-name.el, international/uni-numeric.el:
	Regenerate for Unicode 6.3.0.

485 486 487 488 489 490
2013-11-10  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-methods):
	* net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
	2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).

491 492
2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>

493 494
	* progmodes/sh-script.el (sh-font-lock-keywords-var):
	Force highlighting text after Summary keyword in doc face for rpm.
495

496 497 498
2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>

	* textmodes/ispell.el (ispell-lookup-words): When `look' is not
499
	available and the word has no wildcards, append one to the grep pattern.
500 501 502 503
	http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
	(ispell-complete-word): Call `ispell-lookup-words' with the value
	independent of `ispell-look-p'.

504 505 506 507 508 509 510
2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
	Not after "||".
	(ruby-smie-rules): Indent non-hanging "begin" blocks as part of
	their parent.

511 512 513 514 515
2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
	(ruby-font-lock-keywords): Use backquote.

516 517 518 519 520
2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--forward-token)
	(ruby-smie--backward-token): Only consider full-string matches.

521 522 523 524
2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>

	* faces.el (describe-face): Add distant-foreground.

525 526
2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>

527 528 529 530 531 532 533
	* progmodes/ruby-mode.el: Improve encoding comment handling.
	(ruby-encoding-magic-comment-style): New option.
	(ruby-custom-encoding-magic-comment-template): New option.
	(ruby--insert-coding-comment, ruby--detect-encoding): New
	functions extracted from `ruby-mode-set-encoding'.
	(ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
	to control the style of the auto-inserted encoding comment.
534

535 536
2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>

537 538
	* progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
	Use `smie-backward-sexp' with token argument.
539

540 541 542 543 544
2013-11-08  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
	Remove instrumentation code.

545 546 547 548 549
2013-11-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/autoconf.el (autoconf-mode):
	Tweak comment-start-skip.  (Bug#15822)

550 551 552 553 554 555
2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
	at bobp (bug#15826).
	(sh-smie--sh-keyword-in-p): Recognize keywords at bobp.

556 557 558 559 560 561 562 563
2013-11-08  Darren Hoo  <darren.hoo@gmail.com>

	* man.el (Man-start-calling): New macro, extracted from
	Man-getpage-in-background.
	(Man-getpage-in-background): Use it.
	(Man-update-manpage): New command.
	(Man-mode-map): Bind it.

564 565 566 567 568 569 570
2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
	of "and", "or", "&&" and "||".
	(ruby-smie--args-separator-p): Prohibit keyword "do" as the first
	argument.  Prohibit opening curly brace because it could only be a
	block opener in that position.
571 572
	(ruby-smie--forward-token, ruby-smie--backward-token):
	Separate "|" from "&" or "*" going after it.  That can happen in block
573 574 575 576 577 578 579
	arguments.
	(ruby-smie--indent-to-stmt): New function, seeks the end of
	previous statement or beginning of buffer.
	(ruby-smie-rules): Use it.
	(ruby-smie-rules): Check if there's a ":" before a curly block
	opener candidate; if there is, it's a hash.

580 581 582 583 584
2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
	(cl--block-wrapper): Fix last accidental change.

585 586 587 588 589
2013-11-07  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
	Instrument, in order to hunt failure on hydra.

590 591 592 593 594
2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)

	* emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
	malformed bindings form (bug#15814).

595 596 597
2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
598 599
	"." compared to " @ ".  This incidentally fixes some indentation
	examples with "do".
600
	(ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
601 602 603 604 605 606
	(ruby-smie-grammar): New tokens: "and" and "or".
	(ruby-smie--args-separator-p): Fix the check for tokens at POS.
	Exclude "and" and "or".  Remove "do" in order to work around token
	priorities.
	(ruby-smie-rules): Add all infix tokens.  Handle the case of
	beginning-of-buffer.
607

608 609 610 611 612
2013-11-06  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (setwins_almost, setwins_for_subdirs):
	Avoid accidental matches.

613 614 615 616
2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* menu-bar.el (popup-menu): Use key-binding.

617 618 619 620 621 622
2013-11-06  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
	menus, support also the menus produced by minor modes.
	(Bug#15817)

623 624 625 626 627
2013-11-06  Leo Liu  <sdl.web@gmail.com>

	* thingatpt.el (thing-at-point-looking-at): Add optional arg
	DISTANCE to bound the search. All uses changed.  (Bug#15808)

628 629 630
2013-11-06  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
631 632
	(setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
	(custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
633

634 635
2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>

636 637 638 639 640
	* electric.el (electric-indent-just-newline): New command.
	(electric-indent-mode-map): New keymap.
	(electric-indent-mode, electric-pair-mode, electric-layout-mode):
	Re-add :group which weren't redundant.

641 642 643 644 645
	* electric.el (electric-indent-local-mode): New minor mode.
	(electric-indent-functions-without-reindent): New var.
	(electric-indent-post-self-insert-function): Use it.
	* emacs-lisp/gv.el (buffer-local-value): Add setter.

646 647
2013-11-05  Eli Zaretskii  <eliz@gnu.org>

648 649 650
	* international/quail.el (quail-help): Be more explicit about the
	meaning of the labels shown on the keys.  (Bug#15800)

651 652 653
	* startup.el (normal-top-level): Load the subdirs.el files before
	setting the locale environment.  (Bug#15805)

654 655
2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>

656 657 658
	* vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
	via arguments so as to get the right ones (bug#15418).

659 660
	* net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.

661 662 663 664 665 666 667 668 669 670
2013-11-05  Michael Albinus  <michael.albinus@gmx.de>

	Fix problems found while writing a test suite.

	* net/tramp-compat.el (tramp-compat-load): New defun.
	* net/tramp.el (tramp-handle-load): Use it.

	* net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
	"(numberp ok-if-already-exists)" correctly.

671 672 673 674 675
2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>

	* international/characters.el (glyphless-char-display-control):
	Add usage note.

676 677
2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>

678 679 680 681 682 683
	* progmodes/python.el (python-mode):
	* progmodes/scheme.el (scheme-mode):
	* progmodes/prolog.el (prolog-mode):
	* progmodes/ruby-mode.el (ruby-mode):
	* emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
	(emacs-lisp-mode): Remove incorrect and redundant text from docstring.
684

685 686
2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>

687 688 689 690
	* rect.el (rectangle--highlight-for-redisplay):
	* emacs-lisp/smie.el (smie--next-indent-change):
	Use buffer-chars-modified-tick.

691 692
	* emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.

693 694 695
	* electric.el (electric-indent-post-self-insert-function):
	Only delete trailing whitepsace if it is indeed trailing (bug#15767).

696 697 698 699
2013-11-04  Helmut Eller  <eller.helmut@gmail.com>

	* emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).

700 701 702 703 704
2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)

	* emacs-lisp/cconv.el (cconv-convert): Check form of let binding
	(bug#15786).

705 706
2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>

707 708
	* emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.

709 710 711 712 713 714 715 716 717 718 719 720 721 722
	* progmodes/python.el: Fix up last change.
	(python-shell--save-temp-file): New function.
	(python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
	`string' comes from the current buffer.
	(python-shell-send-string-no-output): Remove `msg' arg.
	(python--use-fake-loc): New var.
	(python-shell-buffer-substring): Obey it.  Try to compensate for the
	extra coding line added by python-shell--save-temp-file.
	(python-shell-send-region): Use python-shell--save-temp-file and
	python-shell-send-file directly.  Add `nomain' argument.
	(python-shell-send-buffer): Use python-shell-send-region.
	(python-electric-pair-string-delimiter): New function.
	(python-mode): Use it.

723 724 725 726 727 728 729 730 731 732 733 734 735
2013-11-04  Eli Zaretskii  <eliz@gnu.org>

	* startup.el (normal-top-level): Move setting eol-mnemonic-unix,
	eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
	environment and decoding all of the default-directory's to here
	from command-line.
	(command-line): Decode also argv[0].

	* loadup.el: Error out if default-directory is a multibyte string
	when we are dumping.

	* Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)

736 737 738
2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>

	* emacs-lisp/package.el (package-menu-mode)
739 740
	(package-menu--print-info, package-menu--archive-predicate):
	Add Archive column to package list.
741

742 743 744 745 746 747 748 749 750 751 752 753 754
2013-11-04  Michael Albinus  <michael.albinus@gmx.de>

	Fix problems found while writing a test suite.

	* net/tramp.el (tramp-file-name-regexp-unified): Simplify.
	(tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
	(tramp-handle-substitute-in-file-name): Let-bind `process-environment'
	to nil when running original file name handler.  Otherwise,
	there are problems with constructs like "$$FOO".

	* net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
	for `localname'.

755 756
2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>

757 758 759 760 761
	* progmodes/ruby-mode.el (ruby-mode): Clean up docstring.

	* subr.el (version<, version<=, version=):
	Update docstrings with information for snapshot versions.

762 763 764 765
	* helpers.el: New library for misc helper functions.
	(hash-table-keys): New function returning a list of hash keys.
	(hash-table-values): New function returning a list of hash values.

766 767 768 769 770
2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--forward-token)
	(ruby-smie--backward-token): Tokenize heredocs as semicolons.

771 772 773 774 775 776
2013-11-04  Michal Nazarewicz  <mina86@mina86.com>

	* textmodes/fill.el (fill-single-char-nobreak-p): New function
	checking whether point is after a 1-letter word.

2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
777 778 779 780 781

	* progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
	Don't infloop when expanding region over `multiline' syntax-type that
	begins a line (bug#15778).

782 783 784 785 786 787 788 789
2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* rect.el (rectangle-mark-mode): Rename from rectangle-mark.
	Make it into a proper minor mode.
	(rectangle--region): (implicitly) rename to rectangle-mark-mode.
	(rectangle-mark-mode-map): New keymap.
	(rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).

790 791 792 793
2013-11-04  Glenn Morris  <rgm@gnu.org>

	* startup.el (command-line-1): Allow `-L :...' to append to load-path.

794 795 796 797 798 799 800 801 802
2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
	(ruby-smie-rules): Use smie-rule-parent instead.

	* emacs-lisp/smie.el (smie-rule-parent): Always call
	smie-indent-virtual rather than only for hanging tokens.
	(smie--next-indent-change): New helper command.

803 804 805 806 807
2013-11-03  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (abs_srcdir): Remove.
	(emacs): Unset EMACSLOADPATH.

808 809
2013-11-02  Glenn Morris  <rgm@gnu.org>

810
	* Makefile.in (EMACS): Use a relative filename.
811
	(abs_top_builddir): Remove.
812 813
	(custom-deps, finder-data, autoloads): Use --chdir.

814 815
	* Makefile.in (abs_lisp): Remove, replace by abs_srcdir.

816 817 818 819 820 821
	Use relative filenames in TAGS files.
	* Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
	(lisptagsfiles4, TAGS): Use relative file names.
	(TAGS-LISP): Remove.
	(maintainer-clean): No more TAGS-LISP file.

822 823 824 825 826 827
	* Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
	(lisptagsfiles4): Use absolute filenames again.
	(TAGS, TAGS-LISP): Not everything needs to run in one line.
	Remove all *loaddefs files, not just the first.  Remove esh-groups.
	(maintainer-clean): Delete TAGS, TAGS-LISP.

828 829
2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>

830 831
	* emacs-lisp/package.el (package-version-join):
	Recognize snapshot versions.
832

833 834 835 836
2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>

	* subr.el (version-regexp-alist): Add support for snapshot versions.

837 838
2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>

839 840
	* progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
	New function, replacement for `smie-rule-parent' for when we want to
841 842 843
	skip over our direct parent if it's an assignment token..
	(ruby-smie-rules): Use it.

844 845 846 847 848 849 850 851 852 853 854 855 856
2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el Use `syntax-propertize-function'
	unconditionally.  Remove now unnecessary forward declarations.
	Remove XEmacs-specific setup.
	(ruby-here-doc-end-re, ruby-here-doc-beg-match)
	(ruby-font-lock-syntactic-keywords)
	(ruby-comment-beg-syntax, ruby-in-here-doc-p)
	(ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
	(ruby-here-doc-end-syntax): Remove.
	(ruby-mode): Don't check whether `syntax-propertize-rules' is
	defined as function.

857 858 859 860
2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.

861 862 863 864 865 866
2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
	table and abbrev table, `define-derived-mode' does that for us
	anyway.

867 868 869 870 871
2013-11-01  Glenn Morris  <rgm@gnu.org>

	* Makefile.in: Remove manual mh-e dependencies (writing .elc
	files is atomic for some time, so no parallel compilation issues).

Jan Djärv's avatar
Jan Djärv committed
872 873 874 875 876
2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>

	* faces.el (face-x-resources): Add :distant-foreground.
	(region): Use :distant-foreground for gtk and ns.

877 878
2013-11-01  Tassilo Horn  <tsdh@gnu.org>

879
	Allow multiple bibliographies when BibLaTeX is used rather than
880 881 882 883
	BibTeX.
	* textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
	(reftex-locate-bibliography-files): Us it.

884 885
2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>

886 887 888
	* image.el (image-type-header-regexps): Fix the 'pbm' part to
	allow comments in pbm files.

889 890 891
	* term/w32-win.el (dynamic-library-alist): Support newer versions
	of libjpeg starting with v7: look only for the DLL from the
	version against which Emacs was built.
892
	Support versions of libpng beyond 1.4.x.
893
	Support libtiff v4.x.
894

895 896 897 898 899 900 901
2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>

	* progmodes/ruby-mode.el (ruby-indent-tabs-mode)
	(ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
	Add property :safe.
	(ruby-deep-arglist): Add property :type.

902 903 904 905 906
2013-10-31  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (custom-deps, finder-data): No need to setq the target
	variables, we are in the right directory and the defaults work fine.

907 908
2013-10-30  Glenn Morris  <rgm@gnu.org>

909 910
	* Makefile.in (autoloads): Do not use abs_lisp.

911 912 913
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	`newline' does not respect `standard-output', so use `princ'.

914 915 916 917 918 919
2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>

	Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
	* buff-menu.el (Buffer-menu--unmark): New function.
	(Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.

Glenn Morris's avatar
Glenn Morris committed
920 921
2013-10-30  Glenn Morris  <rgm@gnu.org>

922 923
	* Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.

924 925
	* emacs-lisp/package.el (lm-homepage): Declare.

926 927 928
	* eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
	Fix doc typos.

929 930
	* vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.

Glenn Morris's avatar
Glenn Morris committed
931 932 933 934 935
	* Makefile.in (finder-data, autoloads, update-subdirs)
	(compile-main, compile-clean, compile-always, bootstrap-clean):
	Check return value of cd.
	(compile-calc): Remove.

936 937
2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>

938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958
	* simple.el (copy-region-as-kill): Fix call to region-extract-function.

	* emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
	(byte-compile-and-folded): New function.
	(=, <, >, <=, >=): Use it.

	* dos-w32.el (minibuffer-history-case-insensitive-variables)
	(path-separator, null-device, buffer-file-coding-system)
	(lpr-headers-switches): Check system-type before modifying them.
	(find-buffer-file-type-coding-system): Mark obsolete.
	(w32-find-file-not-found-set-buffer-file-coding-system): Rename from
	find-file-not-found-set-buffer-file-coding-system.
	(w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
	(w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
	(w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
	(w32-direct-print-region-helper, w32-direct-print-region-function)
	(w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
	* startup.el (normal-top-level-add-subdirs-to-load-path):
	* ps-print.el (ps-print-region-function):
	* lpr.el (print-region-function): Use new name.

959 960 961 962 963 964 965 966 967 968 969 970
	* subr.el (custom-declare-variable-early): Remove function.
	(custom-declare-variable-list): Remove var.
	(error, user-error): Remove `while' loop.
	(read-quoted-char-radix, read-quoted-char): Move to simple.el.
	(user-emacs-directory-warning, locate-user-emacs-file):
	Move to files.el.
	* simple.el (read-quoted-char-radix, read-quoted-char):
	* files.el (user-emacs-directory-warning, locate-user-emacs-file):
	Move from subr.el.
	* custom.el (custom-declare-variable-list): Don't process
	custom-declare-variable-list.

971 972 973 974 975 976 977 978
	* progmodes/python.el (python-shell-get-buffer): New function.
	(python-shell-get-process): Use it.
	(python-shell-send-string): Always use utf-8 and add a cookie to tell
	Python which encoding was used.  Don't split-string since we only care
	about the first line.  Return the temp-file, if applicable.
	(python-shell-send-region): Tell compile.el how to turn locations in
	the temp-file into locations in the source buffer.

979 980
2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

981 982 983
	* subr.el (undefined): Add missing behavior from the C code for
	unbound keys.

984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
	* rect.el: Use lexical-binding.  Add new rectangular region support.
	(rectangle-mark): New command.
	(rectangle--region): New var.
	(deactivate-mark-hook): Reset rectangle--region.
	(rectangle--extract-region, rectangle--insert-for-yank)
	(rectangle--highlight-for-redisplay)
	(rectangle--unhighlight-for-redisplay): New functions.
	(region-extract-function, redisplay-unhighlight-region-function)
	(redisplay-highlight-region-function): Use them to handle
	rectangular region.
	* simple.el (region-extract-function): New var.
	(delete-backward-char, delete-forward-char, deactivate-mark): Use it.
	(kill-new, kill-append): Remove obsolete `yank-handler' argument.
	(kill-region): Replace obsolete `yank-handler' arg with `region'.
	(copy-region-as-kill, kill-ring-save): Add `region' argument.
	(redisplay-unhighlight-region-function)
	(redisplay-highlight-region-function): New vars.
	(redisplay--update-region-highlight): New function.
	(pre-redisplay-function): Use it.
	(exchange-point-and-mark): Don't deactivate the mark before
	reactivate-it anyway.
	* comint.el (comint-kill-region): Remove yank-handler argument.
	* delsel.el (delete-backward-char, backward-delete-char-untabify)
	(delete-char): Remove property, since it's now part of their
	default behavior.
	(self-insert-iso): Remove property since this command doesn't exist.

1011 1012 1013
	* emacs-lisp/package.el (package--download-one-archive)
	(describe-package-1): Don't query the user about final newline.

1014 1015 1016 1017 1018 1019 1020
2013-10-29  Daniel Colascione  <dancol@dancol.org>

	* net/tramp.el (tramp-methods): Document new functionality.
	* net/tramp-sh.el (tramp-compute-multi-hops): Punt to
	tramp-hostname-checker if method provides one instead of scanning
	argument list for "%h" to decide hostname acceptability.

1021 1022 1023 1024 1025 1026
2013-10-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-copy-directory):
	* net/tramp-smb.el (tramp-smb-handle-copy-directory):
	Handle COPY-CONTENTS.  (Bug#15737)

1027 1028 1029
2013-10-28  Daiki Ueno  <ueno@gnu.org>

	* epa-file.el
1030 1031
	(epa-file-cache-passphrase-for-symmetric-encryption):
	Document that this option has no effect with GnuPG 2.0 (bug#15552).
1032

1033 1034
2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>

1035 1036
	* image.el (defimage):
	(image-load-path): Doc fixes.
1037

1038 1039 1040
2013-10-27  Alan Mackenzie  <acm@muc.de>

	Indent statements in macros following "##" correctly.
1041 1042
	* progmodes/cc-engine.el (c-crosses-statement-barrier-p):
	Modify the "#" arm of a cond form to handle "#" and "##" operators.
1043

1044
2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1045 1046 1047

	* linum.el (linum-update-window): Fix boundary test (bug#13446).

1048 1049 1050 1051 1052
2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
	after `=' is probably a new expression.

Rüdiger Sonderfeld's avatar
Rüdiger Sonderfeld committed
1053 1054 1055 1056 1057 1058
2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* man.el (man-imenu-title): New option.
	(Man-mode-map): Add menu.  (Bug#15722)
	(Man-mode): Add imenu to menu.

1059 1060 1061 1062 1063 1064 1065
2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
	specific in what the first arg can be: a non-keyword word,
	string/regexp/percent literal opener, opening paren, or unary
	operator followed directly by word.

1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108
2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
	(prolog-align-comments-flag, prolog-indent-mline-comments-flag)
	(prolog-object-end-to-0-flag, prolog-electric-newline-flag)
	(prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
	Remove vars, they do not apply any more.
	(prolog-mode-abbrev-table): Remove redundant declaration.
	(prolog-upper-case-string, prolog-lower-case-string): Remove.
	(prolog-use-smie): Remove.
	(prolog-smie-rules): Add indentation rule for the if-then-else layout
	supported by prolog-electric-if-then-else-flag.
	(prolog-mode-variables, prolog-menu): Use setq-local.
	(prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
	Remove binding to `Backspace' since this key doesn't exist anyway.
	Remove bindings for electric self-inserting keys.
	(prog-mode): Assume it's defined.
	(prolog-post-self-insert): New function.
	(prolog-mode): Use it.
	(prolog-indent-line, prolog-indent-level)
	(prolog-find-indent-of-matching-paren)
	(prolog-indentation-level-of-line, prolog-goto-comment-column)
	(prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
	(prolog-goto-next-paren, prolog-in-string-or-comment)
	(prolog-tokenize, prolog-inside-mline-comment)
	(prolog-find-start-of-mline-comment): Remove functions.
	(prolog-find-unmatched-paren, prolog-clause-end)
	(prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
	(prolog-electric--if-then-else): Rename from
	prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
	(prolog-tokenize-searchkey): Remove const.
	(prolog-clause-info): Use forward-sexp.
	(prolog-forward-list, prolog-backward-list, prolog-electric-delete)
	(prolog-electric-if-then-else): Remove commands.
	(prolog-electric--colon): Rename from prolog-electric-colon; adapt it
	for use in post-self-insert-hook.
	(prolog-electric--dash): Rename from prolog-electric-dash; adapt it
	for use in post-self-insert-hook.
	(prolog-electric--dot): Rename from prolog-electric-dot; adapt it
	for use in post-self-insert-hook.
	(prolog-electric--underscore): Rename from prolog-electric--underscore;
	adapt it for use in post-self-insert-hook.

1109 1110 1111 1112 1113
2013-10-25  Michael Albinus  <michael.albinus@gmx.de>

	* emacs-lisp/ert.el (ert-run-tests-interactively):
	Use `completing-read'.  (Bug#9756)

1114 1115 1116 1117 1118 1119 1120
2013-10-25  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): Call line-move-1 instead of
	line-move-visual when the current window hscroll is zero, but
	temporary-goal-column indicates we will need to hscroll as result
	of the movement.  (Bug#15712)

1121 1122 1123
2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1124 1125
	capitalization.  Use :visible instead of :active.
	Fix `ruby-indent-exp' reference.  Add menu items for the generic
1126 1127 1128
	commands that are used with SMIE.
	(ruby-do-end-to-brace): Insert space after `{'.

1129 1130
2013-10-25  John Anthony  <john@jo.hnanthony.com>

1131 1132 1133
	* progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)

	* progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
1134

1135 1136 1137 1138 1139
2013-10-25  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-print-log): Don't use a working revision unless
	one was explicitly specified.  (Bug#15322)

1140 1141 1142 1143 1144
2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (add-to-list): Preserve return value in compiler-macro
	(bug#15692).

1145 1146 1147 1148 1149
2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/octave.el (octave-lookfor): Handle empty lookfor
	result.  Ask user to retry using '-all' flag.  (Bug#15701)

1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el: New smie-config system.
	(smie-config): New defcustom.
	(smie-edebug, smie-config-show-indent, smie-config-set-indent)
	(smie-config-guess, smie-config-save): New commands.
	(smie-config--mode-local, smie-config--buffer-local)
	(smie-config--trace, smie-config--modefuns): New vars.
	(smie-config--advice, smie-config--mode-hook)
	(smie-config--setter, smie-config-local, smie-config--get-trace)
	(smie-config--guess-value, smie-config--guess): New functions.
	(smie-indent-forward-token, smie-indent-backward-token): Don't copy
	text properties.  Treat "string fence" syntax like string syntax.

	* progmodes/sh-script.el (sh-use-smie): Change default.
	(sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
	(sh-var-value): Simplify by CSE.
	(sh-show-indent, sh-set-indent, sh-learn-line-indent)
	(sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
	is used.
	(sh-guess-basic-offset): Use cl-incf.
	(sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).

1173 1174 1175 1176 1177
2013-10-24  Helmut Eller  <eller.helmut@gmail.com>

	* emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
	(bug#15699).

1178 1179 1180 1181 1182
2013-10-24  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (abs_top_srcdir): Remove.
	(update-subdirs): Use relative path to update-subdirs.

1183 1184 1185 1186
2013-10-24  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
	($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1187 1188
	($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
	Call unmsys--file-name before expand-file-name, not after it.
1189

1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200
2013-10-24  Michael Albinus  <michael.albinus@gmx.de>

	* emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
	(ert-test-skipped): New error.
	(ert-skip, ert-stats-skipped): New defuns.
	(ert--skip-unless): New macro.
	(ert-test-skipped): New struct.
	(ert--run-test-debugger, ert-test-result-type-p)
	(ert-test-result-expected-p, ert--stats, ert-stats-completed)
	(ert--stats-set-test-and-result, ert-char-for-test-result)
	(ert-string-for-test-result, ert-run-tests-batch)
1201
	(ert--results-update-ewoc-hf, ert-run-tests-interactively):
1202
	Handle skipped tests.  (Bug#9803)
1203

1204 1205
2013-10-24  Glenn Morris  <rgm@gnu.org>

1206 1207
	* Makefile.in (check-declare): Remove unnecessary path in -l argument.

1208 1209 1210
	* Makefile.in (abs_top_srcdir): New, set by configure.
	(update-subdirs): Correct build-aux location.

1211 1212
2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>

1213 1214 1215
	* vc/vc.el (vc-print-root-log): Always set `default-directory'
	value, whether we could auto-deduce `backend', or not.

1216 1217 1218 1219
	* progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
	with parameters" example.  Simplify the "is it block or is it
	hash" check, but also make it more thorough.

1220 1221 1222 1223
2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)

	* battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)

1224 1225
2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1226 1227 1228
	* progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
	{ if it is hanging.

1229 1230 1231
	* progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
	:before ";".

1232 1233 1234 1235 1236 1237
2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)

	* progmodes/compile.el (compilation-directory-matcher)
	(compilation-page-delimiter):
	Support GNU Make-4.0 directory quoting.  (Bug#15678)

1238 1239 1240 1241
2013-10-23  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-tidy): Handle read-only text.

1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
2013-10-23  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
	(emacs, compile, compile-always):
	Quote entities that might contain whitespace.
	(custom-deps, finder-data, autoloads): Use abs_lisp.
	($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
	($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
	($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.

1252 1253
2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>

1254 1255
	* progmodes/ruby-mode.el (ruby-smie--at-dot-call):
	Use `following-char'.
1256

1257
2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1258 1259 1260 1261 1262 1263

	* emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
	* progmodes/ruby-mode.el (ruby-smie-rules):
	Remove corresponding workaround.  Fix indentation rule of ";" so it
	also applies when ";" is the parent.

1264 1265 1266 1267 1268
2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>

	* frame.el (display-screens, display-pixel-height)
	(display-pixel-width, display-mm-width, display-backing-store)
	(display-save-under, display-planes, display-color-cells)
1269 1270
	(display-visual-class, display-monitor-attributes-list):
	Mention the optional ‘display’ argument in doc strings.
1271

1272 1273 1274 1275 1276
2013-10-22  Michael Gauland  <mikelygee@amuri.net>

	* progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
	viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)

1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
	TODO.  Add "." after " @ ".
	(ruby-smie--at-dot-call): New function.  Checks if point at method
	call with explicit target.
	(ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
	to the method name tokens when it precedes them.
	(ruby-smie--backward-id, ruby-smie--forward-id): Remove.
	(ruby-smie-rules): Add rule for indentation before and after "."
	token.

1289 1290
2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

1291 1292 1293
	* textmodes/remember.el (remember-diary-extract-entries):
	Avoid add-to-list.

1294 1295 1296
	* progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
	an instruction.

1297 1298
2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>

1299 1300 1301
	* progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
	(ruby-smie--implicit-semi-p): Add new operator chars.

1302 1303 1304 1305 1306
	* progmodes/ruby-mode.el (ruby-mode-map): Add binding for
	`smie-down-list'.
	(ruby-smie--args-separator-p): Check that there's no newline
	between method call and its arguments.

1307 1308 1309 1310
2013-10-20  Alan Mackenzie  <acm@muc.de>

	Allow comma separated lists after Java "implements".

1311 1312
	* progmodes/cc-engine.el (c-backward-over-enum-header):
	Parse commas.
1313 1314 1315
	* progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
	from a "disallowed" list in enum fontification.

1316 1317
2013-10-20  Johan Bockgård  <bojohan@gnu.org>

1318
	* startup.el (default-frame-background-mode): Remove unused defvar.
1319

1320 1321 1322
	* progmodes/verilog-mode.el (verilog-mode): Don't set
	comment-indent-function globally.

Jan Djärv's avatar
Jan Djärv committed
1323 1324
2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>

1325 1326 1327 1328 1329 1330
	* menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
	Move Info menu item creation to ns-win.el.

	* term/ns-win.el (ns-initialize-window-system): Rename Help to Info
	in menu bar.