1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 08:51:45 -08:00
Commit graph

99366 commits

Author SHA1 Message Date
Leo Liu
af896da66a Fix history adding in ido-read-internal
Assume, for example, the head of matches is "RSS" and user input is
"rs". If the user hit RET, "RSS" is selected but "rs" is added to the
history. This commit fixes this inconsistency.
2011-03-22 01:48:36 +08:00
Stefan Monnier
78f64af0ae * subr.el (deferred-action-list, deferred-action-function): Mark obsolete. 2011-03-21 12:34:16 -04:00
Leo Liu
810f76988a Remove leftover (require 'wid-edit) 2011-03-21 23:26:05 +08:00
Leo Liu
b16ac1ecab Default read-file-name-function to a non-nil value
See discussion thread:
http://thread.gmane.org/gmane.emacs.devel/134000
2011-03-21 22:55:00 +08:00
Glenn Morris
4e05e67e4c * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args): Doc fixes. 2011-03-20 23:42:23 -07:00
Chong Yidong
4359915b86 Several fixes to cus-theme.el.
* lisp/cus-theme.el: Add missing provide statement.
(customize-create-theme): Extract theme value correctly.
(custom-theme-visit-theme): Autoload.
(customize-create-theme): Prompt before inserting default faces.
2011-03-21 00:30:55 -04:00
Glenn Morris
99ea4cd9ea Fix typo in a README. 2011-03-20 17:28:18 -07:00
Glenn Morris
84ea55580d Fix date of merged entry. 2011-03-20 17:20:24 -07:00
Glenn Morris
e22c7d937a * autogen/update_autogen: Make bzr commit respect -q option. 2011-03-20 17:08:01 -07:00
Glenn Morris
dccef36192 Auto-commit of generated files. 2011-03-20 20:03:58 -04:00
Glenn Morris
66b874939b (Re)move autotools generated files from the repository.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html

* autogen/: New directory, to be excluded from releases.
* autogen/copy_autogen, autogen/update_autogen: New scripts.
* autogen/README: New file.
* autogen/aclocal.m4, autogen/config.in, autogen/configure:
* autogen/Makefile.in: Add auto-updated generated files.

* autogen.sh: No longer a no-op, now it tests for autotools
and runs them as necessary.

* configure.in: Defaule maintainer-mode to on.

* aclocal.m4, configure, lib/Makefile.in: Remove files.

* src/config.in: Remove file.

* INSTALL.BZR, admin/make-tarball.txt: Update instructions.
2011-03-20 16:58:23 -07:00
Jay Belanger
1fe275ee28 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
units and musical notes.
2011-03-20 15:59:29 -05:00
Juanma Barranquero
45b6f6d5cb src/minibuf.c: Fix previous change.
* minibuf.c (Vcompleting_read_function): Don't declare, global variables
  are now in src/globals.h.
  (syms_of_minibuf): Remove spurious & from previous change.
2011-03-20 14:57:22 +01:00
Leo Liu
3ec03f7e46 New variable completing-read-function to customize completing-read 2011-03-20 18:35:27 +08:00
Christian Ohler
7d476bdec5 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
(ert-delete-all-tests): Use `called-interactively-p' rather than
`interactive-p'.
(ert--make-xrefs-region): Respect END.
2011-03-20 21:17:10 +11:00
Chong Yidong
ff854b0bde Add error for dired-create-directory on existing file (Bug#8246).
* lisp/dired-aux.el (dired-create-directory): Signal an error if the
directory already exists.
2011-03-19 18:07:41 -04:00
Chong Yidong
fe0fb33e83 Fix facemenu to populate buffer inside the with-help-window call.
See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01193.html

* facemenu.el (list-colors-display): Call list-faces-display from
inside with-help-window.
(list-colors-print): Use display property to align the final
column, instead of checking window-width.
2011-03-19 17:37:21 -04:00
Chong Yidong
b14e3e21ec Merge changes from emacs-23 branch 2011-03-19 14:49:31 -04:00
Chong Yidong
4525ce3eb5 Fix tar package handling, and clean up package-subdirectory-regexp usage.
* lisp/startup.el (package-subdirectory-regexp): Move from package.el.
Omit \\` and \\', and let callers add them.

* lisp/emacs-lisp/package.el (package-strip-version)
(package-load-all-descriptors): Add \\` and \\' to
package-subdirectory-regexp before using it.
(package-untar-buffer): New arg DIR; ensure that file untars only
into this expected directory.  Remove superfluous delete-region.
(package-unpack): Caller changed.
(package-tar-file-info): Use package-subdirectory-regexp.
2011-03-19 14:27:55 -04:00
Chong Yidong
20f5695598 Backport fix for Bug#8219 from trunk.
* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
(BUF_PT_BYTE): Rewrite to handle indirect buffers (Bug#8219).
These macros can no longer be used for assignment.

* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Assign
struct members directly, instead of using BUF_BEGV etc.
(record_buffer_markers, fetch_buffer_markers): New functions for
recording and fetching special buffer markers.
(set_buffer_internal_1, set_buffer_temp): Use them.

* lread.c (unreadchar): Use SET_BUF_PT_BOTH.

* insdel.c (adjust_point): Use SET_BUF_PT_BOTH.

* intervals.c (temp_set_point_both): Use SET_BUF_PT_BOTH.
(get_local_map): Use SET_BUF_BEGV_BOTH and SET_BUF_ZV_BOTH.

* xdisp.c (hscroll_window_tree):
(reconsider_clip_changes): Use PT instead of BUF_PT.
2011-03-19 12:42:53 -04:00
Eli Zaretskii
576bce3267 Fix emerge.el on MS-Windows and MS-DOS.
lisp/emerge.el (emerge-metachars): Separate value for ms-dos and
 windows-nt systems.
 (emerge-protect-metachars): Quote correctly for ms-dos and
 windows-nt systems.
2011-03-19 11:30:56 +02:00
Juanma Barranquero
0a19a6f875 Fix typos. 2011-03-19 04:58:45 +01:00
Juanma Barranquero
f2b726e626 src/makefile.w32-in: Update dependencies. 2011-03-19 04:22:14 +01:00
Julien Danjou
06e9c2d94e gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
(gnus-buffer-live-p): Check that buffer is not nil.
2011-03-19 00:48:04 +00:00
Stefan Monnier
a904a09a8b * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
diff-mode-shared-map.
(diff-mode-shared-map): Re-introduce some bindings that were problematic.

Fixes: debbugs:8284
2011-03-18 15:52:05 -04:00
Gnus developers
1518e4f02d Merge changes made in Gnus trunk.
message.texi (Various Commands): Document format specs in the ellipsis.
time-date.el (format-seconds): Use assoc instead of assoc-string to avoid warning on XEmacs.
gnus-art.el: Require mouse, which the build bot seems to say is needed.
gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on XEmacs, since it doesn't have url-retrieve-synchronously.
time-date.el (format-seconds): Use assoc instead of assoc-string, since assoc-string doesn't exist in XEmacs.
gnus-group.el (gnus-group-list-ticked): New function.
 (gnus-group-make-menu-bar): Provide a menu entry for it.
 (gnus-group-list-map): Provide a binding for it.
shr.el (shr-visit-file): New command.
nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable servers.
2011-03-18 13:45:04 +00:00
Paul Eggert
fffe2e1404 Restore failure returns to unexaix.c, unexcoff.c, unexcw.c 2011-03-17 13:18:59 -07:00
Eli Zaretskii
09f6ff021c Update MS-Windows dependencies after 2011-03-17T18:41:30Z!eggert@cs.ucla.edu.
src/makefile.w32-in ($(BLD)/unexw32.$(O)): Depend on $(SRC)/unexec.h.
2011-03-17 21:55:40 +02:00
Paul Eggert
381259ef0d Change unexec implementations to match prototype. 2011-03-17 11:41:30 -07:00
Paul Eggert
a3a6c54ec7 Merge: Fix more problems found by GCC 4.5.2's static checks. 2011-03-17 09:51:42 -07:00
Paul Eggert
b1d876f1a1 Merge from mainline. 2011-03-17 09:32:03 -07:00
Juanma Barranquero
45763476fc src/xfaces.c (Fx_load_color_file): Read color file from absolute filename.
Fixes: debbugs:8250
2011-03-17 16:44:02 +01:00
Julien Danjou
d6cd56f187 mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are inline.
gnus-art.el (article-hide-list-identifiers): Use gnus-group-get-list-identifiers.
* gnus-sum.el (gnus-group-get-list-identifiers): New function.
 (gnus-summary-remove-list-identifiers): Use gnus-group-get-list-identifiers to get regexp.
 (gnus-select-newsgroup, gnus-summary-insert-subject, gnus-summary-insert-articles): Call gnus-summary-remove-list-identifiers unconditionally.
2011-03-17 11:30:27 +00:00
Paul Eggert
b766f86726 * process.c (make_serial_process_unwind, send_process_trap):
(sigchld_handler): Now static.
2011-03-16 22:18:33 -07:00
Paul Eggert
be02381c5d * process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
That way, the code declares only the vars that it needs.
* s/aix4-2.h (PTY_ITERATION): Declare iteration vars.
* s/cygwin.h (PTY_ITERATION): Likewise.
* s/darwin.h (PTY_ITERATION): Likewise.
* s/gnu-linux.h (PTY_ITERATION): Likewise.
2011-03-16 22:15:08 -07:00
Paul Eggert
5704874403 * s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.
* process.c (allocate_pty): Don't declare stb unless it's needed.
2011-03-16 19:36:27 -07:00
Juanma Barranquero
171fc304ac lisp/custom.el: Trivial fixes.
* custom.el (custom-known-themes): Reflow docstring.
  (custom-theme-load-path): Fix typo in docstring.
  (load-theme): Fix typo in error message.
  (custom-available-themes, custom-variable-theme-value):
  Use `let', not `let*'.
2011-03-17 03:30:27 +01:00
Jay Belanger
580b66d801 * lisp/calc-units.el (calcFunc-lupquant): Rename from
`calcFunc-pquant' (fixing previous commit).
  (calcFunc-lufquant): Rename from `calcFunc-fquant'
  (fixing previous commit).

* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
  functions being autoloaded.
2011-03-16 21:25:36 -05:00
Paul Eggert
615f2d59a5 * bytecode.c (CONSTANTLIM): Remove; unused.
(METER_CODE, Bscan_buffer, Bread_char, Bset_mark):
Define only if needed.
2011-03-16 19:18:00 -07:00
Paul Eggert
7914961cd7 * bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else". 2011-03-16 19:11:29 -07:00
Paul Eggert
73366a004b * unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused. 2011-03-16 19:09:36 -07:00
Paul Eggert
9ae7151257 * unexelf.c: Use a different way to cause a compilation error if anyone uses
n rather than nn, a way that does not involve shadowing.
2011-03-16 19:07:47 -07:00
Paul Eggert
b3967b18cd * unexelf.c (unexec): Name an expression,
to avoid gcc -Wbad-function-cast warning.
2011-03-16 18:52:35 -07:00
Paul Eggert
43cfc33e3d Add Bug#. 2011-03-16 18:49:15 -07:00
Jay Belanger
d71990a1e4 * lisp/calc/README: Mention musical notes.
* lisp/calc-units.el (calc-lu-quant): Rename from 
  `calc-logunits-quantity'. 
  (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
  (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
  (calc-db): Rename from `calc-dblevel'.
  (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
  (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
  (calc-np): Rename from `calc-nplevel'.
  (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
  (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
  (calc-lu-plus): Rename from `calc-logunits-add'.
  (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
  (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
  (calc-lu-minus): Rename from `calc-logunits-sub'.
  (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
  (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
  (calc-lu-times): Rename from `calc-logunits-mul'.
  (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
  (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
  (calc-lu-divide): Rename from `calc-logunits-div'.
  (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
  (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.

* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
  functions being autoloaded.

* lisp/calc/calc.el   (calc-lu-power-reference): Rename from
  `calc-logunits-power-reference'. 
  (calc-lu-field-reference): Rename from
  `calc-logunits-field-reference'. 

* lisp/calc/calc-help (calc-l-prefix-help): Mention musical note functions.

* doc/misc/calc.texi (Logarithmic Units): Update the function names.
2011-03-16 20:30:08 -05:00
Stefan Monnier
40c2934bb8 * lisp/minibuffer.el (completion-all-sorted-completions):
Use :completion-cycle-penalty text property if present.
2011-03-16 20:43:54 -04:00
Paul Eggert
29a6015ab3 * deps.mk (unexalpha.o): Remove; unused. 2011-03-16 17:22:09 -07:00
Paul Eggert
7feda0d218 * unexec.h: New file. 2011-03-16 17:03:31 -07:00
Paul Eggert
ce701a3393 New file unexec.h, the (simple) interface for unexec.
* deps.mk (emacs.o, unexaix.o, unexcw.o, unexcoff.o, unexelf.o):
(unexhp9k800.o, unexmacosx.o, unexsol.o, unexw32.o):
Depend on unexec.h.
* emacs.c [!defined CANNOT_DUMP]: Include unexec.h.
* unexaix.c, unexcoff.c, unexcw.c, unexelf.c, unexhp9k800.c:
* unexmacosx.c, unexsol.c, unexw32.c: Include unexec.h.
2011-03-16 16:59:54 -07:00
Paul Eggert
4f63c6bb76 * syntax.c (back_comment, skip_chars): Mark vars as initialized. 2011-03-16 14:47:59 -07:00