1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00
Commit Graph

105892 Commits

Author SHA1 Message Date
Stefan Monnier
7287f2f345 * tmm.el (tmm-prompt): Use string-prefix-p.
(tmm-completion-delete-prompt): Don't affect current-buffer outside.
(tmm-add-prompt): Use minibuffer-completion-help.
(tmm-delete-map): Remove.
2012-06-07 12:35:00 -04:00
Stefan Monnier
ed8bd4d705 * subr.el (kbd): Make it its own function. 2012-06-07 12:20:28 -04:00
Chong Yidong
8b0823d609 Add NEWS item about Buffer Menu rewrite. 2012-06-07 22:39:28 +08:00
Chong Yidong
00cd0305d5 * allout-widgets.el: Fix code header 2012-06-07 22:30:54 +08:00
Stefan Merten
7b4cdbf41d * rst.el: Use `eval-when-compile' for requiring
`cl.el'.  Silence compiler warnings.  Fix versions.

(rst-position-if, rst-position, rst-some, rst-signum): New
functions.
(rst-shift-region, rst-adornment-level, rst-compute-tabs)
(rst-indent-line, rst-shift-region, rst-forward-line): Use new
functions.

(rst-package-emacs-version-alist): Correct Emacs version to
represent major merge with upstream.
(rst-transition, rst-adornment, rst-compile-toolsets): Fix
versions.
2012-06-07 11:20:41 +02:00
Paul Eggert
86f158bc15 * doprnt.c (doprnt): Truncate multibyte char correctly.
Without this change, doprnt (buf, 2, "%s", FORMAT_END, AP)
would mishandle a string argument "Xc" if X was a multibyte
character of length 2: it would truncate after X's first byte
rather than including all of X.
2012-06-06 22:11:51 -07:00
Glenn Morris
b7014632a6 Fix previous calendar-in-read-only-buffer change.
Otherwise all the mode-lines get clobbered.
2012-06-06 14:46:34 -04:00
Glenn Morris
2b48d7219e * lisp/mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
Only print environment variables if set.
2012-06-06 14:13:09 -04:00
Stefan Monnier
fa779ab0e2 * lisp/emacs-lisp/macroexp.el: Don't require CL since we don't use it.
(macroexp--cons): Rename from maybe-cons.
(macroexp--accumulate): Rename from macroexp-accumulate.
(macroexp--all-forms): Rename from macroexpand-all-forms.
(macroexp--all-clauses): Rename from macroexpand-all-clauses.
(macroexp--expand-all): Rename from macroexpand-all-1.
2012-06-06 14:08:00 -04:00
Sam Steingold
628299e039 * lisp/calendar/calendar.el (calendar-in-read-only-buffer):
Call `special-mode' to enable the standard read-only keybindings.
2012-06-06 11:19:39 -04:00
Michael Albinus
21ffb35a97 Add enable-remote-dir-locals. 2012-06-06 17:13:15 +02:00
Michael Albinus
85973ba08b * custom.texi (Directory Variables): Mention enable-remote-dir-locals. 2012-06-06 16:57:16 +02:00
Michael Albinus
0372ee9295 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
Ensure, that the temp directory is local.

* net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
`temporary-file-directory'.
2012-06-06 15:32:36 +02:00
Michael Albinus
eed0bb9190 * progmodes/python.el (python-send-region): Ensure, that the
temporary file is created also in the remote case.
2012-06-06 15:05:11 +02:00
Stefan Monnier
b7bb583819 * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
with "loading" messages.

Fixes: debbugs:11635
2012-06-06 08:51:48 -04:00
Michael Albinus
dfb308badd * files.el (enable-remote-dir-locals): New option.
(hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
2012-06-06 14:34:09 +02:00
Chong Yidong
c5cfcbe076 * buffer.c (word_wrap): Doc fix. 2012-06-06 14:39:24 +08:00
Glenn Morris
67163749cc Remove script stamping in lib-src/
rcs2log no longer needs it, and grep-changelog never really has
(nothing in Emacs runs that, I don't know why Emacs includes it, if you
are using an uninstalled out-of-tree build you can just as easily run
it from the source directory).

* lib-src/Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
(stamp-rcs2log, stamp-grep-changelog): Remove.
(all, clean): Remove references to stamps.

* .bzrignore: Do not ignore lib-src/stamp*.
2012-06-05 21:38:04 -04:00
Glenn Morris
f7dd4e98e4 Find rcs2log in the source-directory when running uninstalled
This is preparation for getting rid of lib-src's "stamp-*" files.

* lisp/vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
(vc-rcs-update-changelog): Use it.
2012-06-05 21:28:08 -04:00
Glenn Morris
276d5f5de5 Remove lib-src/vcdiff
* lib-src/vcdiff: Remove file.
* lib-src/Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
(stamp-vcdiff): Remove.

* INSTALL, make-dist: Remove vcdiff.

* lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
2012-06-05 21:06:54 -04:00
Glenn Morris
7a58f64d95 Replace the last use of the external vcdiff script
* lisp/vc/vc-sccs.el (vc-sccs-write-revision): New function.
(vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
(vc-sccs-diff): Replace use of the external vcdiff script.
2012-06-05 20:29:10 -04:00
Glenn Morris
903a72b37a * etc/TODO: Remove some obsolete/deleted packages. 2012-06-05 14:47:12 -04:00
Glenn Morris
b3c659a1b4 Remove some cruft from lib-src/makefile.w32-in
* lib-src/makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)):
($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)):
($(BLD)/timer.$(O)): Remove; unused.
2012-06-05 13:56:38 -04:00
Glenn Morris
daed40034f Make ledit.el obsolete.
Also, etc/LEDIT was removed some time ago.
2012-06-05 13:47:27 -04:00
Glenn Morris
42a92498a0 Add Obsolete-since: header. 2012-06-05 13:42:37 -04:00
Sam Steingold
48c455c701 * lisp/calendar/calendar.el (calendar-exit): reinstate the 2012-03-28 patch.
Fixes: debbugs:11140
2012-06-05 13:33:10 -04:00
Stefan Monnier
d32926ffaa * emacs-list/cust-print.el: Move to obsolete. 2012-06-05 12:50:28 -04:00
Stefan Monnier
53aacf21b4 * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
compiler-macro expansion.
2012-06-05 12:43:43 -04:00
Stefan Monnier
57a7d50707 Add native compiler-macro support.
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1):
Support compiler-macros directly.  Properly follow aliases and apply
the compiler macros more thoroughly.
* lisp/emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
macroexpand now properly follows aliases.
* lisp/emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
(cl-compiler-macroexpand): Use new prop.
* lisp/emacs-lisp/byte-opt.el (featurep): Optimize earlier.
* lisp/emacs-lisp/cl-lib.el (custom-print-functions): Add compatibility alias.
2012-06-05 11:41:12 -04:00
Martin Rudalics
51a5f9d816 Clean up and simplify buffer display routines.
* window.el (get-lru-window, get-mru-window, get-largest-window):
New argument NOT-SELECTED to avoid picking the selected window.
(window--display-buffer-1, window--display-buffer-2): Replace by
new function window--display-buffer
(display-buffer-same-window, display-buffer-reuse-window)
(display-buffer-pop-up-frame, display-buffer-pop-up-window): Use
window--display-buffer.
(display-buffer-use-some-window): Remove temporary dedication
hack by calling get-lru-window and get-largest-window with
NOT-SELECTED argument non-nil.  Call window--display-buffer.
2012-06-05 11:11:06 +02:00
Glenn Morris
08f9f7385c * vc-sccs.el (vc-sccs-workfile-unchanged-p): Replace external vcdiff script. 2012-06-04 21:05:51 -04:00
Paul Eggert
a043d3535a * PROBLEMS (68000 C compiler problems): Remove obsolete section.
Not only are the compilers long-dead, the obsolete advice
typically doesn't apply to current Emacs sources.
2012-06-04 10:17:48 -07:00
Stefan Monnier
e364a2b7e1 * lisp/emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change. 2012-06-04 10:08:33 -04:00
Stefan Monnier
093c025774 Update autogenerated bootstrap file. 2012-06-04 10:00:32 -04:00
Chong Yidong
47b36b94ca image.el (imagemagick-enabled-types): Remove CIN. 2012-06-04 21:02:23 +08:00
Chong Yidong
041df390e0 More tweaks to ImageMagick types.
* lisp/image.el (imagemagick-types-inhibit): Revert last change.  Add
INFO and M.
(imagemagick-enabled-types): Remove EPS and related formats.
2012-06-04 21:01:17 +08:00
Glenn Morris
9c29597b23 Auto-commit of generated files. 2012-06-04 06:17:27 -04:00
Paul Eggert
c05cf3902a * xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall. 2012-06-03 23:03:19 -07:00
Stefan Monnier
7c1898a7b9 * lisp/emacs-lisp/cl-lib.el: Rename from cl.el.
* lisp/emacs-lisp/cl.el: New compatibility file.
* emacs-lisp/cl-lib.el, lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el:
* lisp/emacs-lisp/cl-extra.el: Rename all top-level functions and variables
to obey the "cl-" prefix.
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2012-06-03 21:05:17 -04:00
Glenn Morris
418cd7265a Remove lib-src/rcs-checkin
This script isn't used by Emacs, and I can't imagine anyone else is
using it any more either...  From the commentary:
"This script is intended to be used to convert files with an
old-Emacs-style version history for use with VC (the Emacs 19
version-control interface), which likes to use RCS as its back end."

* lib-src/rcs-checkin: Remove file.
* lib-src/Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
Remove rcs-checkin.
(stamp-rcs-checkin): Remove.

* INSTALL, make-dist: Remove rcs-checkin.

* admin/quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove rcs-checkin.

* doc/man/rcs-checkin.1: Remove.
2012-06-03 16:49:12 -07:00
Glenn Morris
1e266c88b2 * lisp/emacs-lisp/authors.el (authors-aliases): Addition. 2012-06-03 16:31:45 -07:00
Glenn Morris
0c3461de86 tool-bar-style doc fixes
* lisp/cus-start.el (tool-bar-style, tool-bar-max-label-size): Fix :version.

* src/xdisp.c (tool-bar-style): Doc fix.
2012-06-03 16:28:17 -07:00
Ulrich Müller
c71232db6e Workaround dumping problem on PaX-enabled Linux kernels
* configure.in (PAXCTL): Check for paxctl.

* src/Makefile.in (PAXCTL): Define.
(temacs$(EXEEXT)): Disable memory randomization for the temacs
binary via PaX flags if the paxctl utility is available.
(emacs$(EXEEXT), bootstrap-emacs$(EXEEXT)):
Restore PaX flags to their default.

Fixes: debbugs:11398
2012-06-03 16:14:22 -07:00
Glenn Morris
7afbaca445 * etc/NEWS: Update for renamed variable.
* lisp/image.el (imagemagick-types-inhibit): Bump :version.
2012-06-03 16:07:48 -07:00
Stefan Merten
d8a52e1551 rst.el: Add comments.
(rst-transition, rst-adornment): New faces.
(rst-adornment-faces-alist): Make default safe to reevaluate.
Fixes
http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
Improve customization tags.
(rst-define-level-faces): Clarify meaning.
2012-06-03 19:20:24 +02:00
Chong Yidong
5205d6f6a8 Fix legibility of compilation mode-line messages.
* lisp/progmodes/compile.el (compilation-mode-line-fail)
(compilation-mode-line-run, compilation-mode-line-exit): New
faces.
(compilation-start, compilation-handle-exit): Use them.

* etc/themes/wheatgrass-theme.el:
* etc/themes/deeper-blue-theme.el:
* etc/themes/tango-dark-theme.el:
* etc/themes/tsdh-dark-theme.el: Add compilation-mode-line-fail,
compilation-mode-line-run, and compilation-mode-line-exit faces.

* etc/themes/manoj-dark-theme.el: Remove :family attributes.

Fixes: debbugs:11032
2012-06-03 22:37:13 +08:00
Jack Duthen
757ee65741 Improve ediff and which-func integration.
* lisp/progmodes/which-func.el (which-func-update-ediff-windows): New
function.  Use it in ediff-select-hook.

Fixes: debbugs:11478
2012-06-03 19:10:44 +08:00
Chong Yidong
cbe46e5fae Allow clicking mouse-3 on mode line to change coding system.
* lisp/bindings.el (mode-line-coding-system-map): Allow using mouse-3
to invoke set-buffer-file-coding-system.
(mode-line-mule-info-help-echo): Update help text.

Fixes: debbugs:289
2012-06-03 18:54:22 +08:00
Chong Yidong
383f7350f3 Make mode line help-echo visible for unibyte buffers.
* src/xdisp.c (decode_mode_spec_coding): Display a space for a unibyte
buffer.

* lisp/bindings.el (mode-line-mule-info-help-echo)
(mode-line-read-only-help-echo, mode-line-modified-help-echo):
New functions.
(mode-line-mule-info, mode-line-modified): Use them.
(mode-line-eol-desc, propertized-buffer-identification):
Consistency fixes for help text.

Fixes: debbugs:11226
2012-06-03 18:23:49 +08:00
Chong Yidong
1c476a0a7f * xdisp.c (note_mode_line_or_margin_highlight): Fix last change. 2012-06-03 17:59:00 +08:00