]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years agoDefault read-file-name-function to a non-nil value
Leo Liu [Mon, 21 Mar 2011 14:55:00 +0000 (22:55 +0800)]
Default read-file-name-function to a non-nil value

See discussion thread:
http://thread.gmane.org/gmane.emacs.devel/134000

13 years ago* eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args): Doc fixes.
Glenn Morris [Mon, 21 Mar 2011 06:42:23 +0000 (23:42 -0700)]
* eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args): Doc fixes.

13 years agoSeveral fixes to cus-theme.el.
Chong Yidong [Mon, 21 Mar 2011 04:30:55 +0000 (00:30 -0400)]
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.

13 years agoFix typo in a README.
Glenn Morris [Mon, 21 Mar 2011 00:28:18 +0000 (17:28 -0700)]
Fix typo in a README.

13 years agoFix date of merged entry.
Glenn Morris [Mon, 21 Mar 2011 00:20:24 +0000 (17:20 -0700)]
Fix date of merged entry.

13 years ago* autogen/update_autogen: Make bzr commit respect -q option.
Glenn Morris [Mon, 21 Mar 2011 00:08:01 +0000 (17:08 -0700)]
* autogen/update_autogen: Make bzr commit respect -q option.

13 years agoAuto-commit of generated files.
Glenn Morris [Mon, 21 Mar 2011 00:03:58 +0000 (20:03 -0400)]
Auto-commit of generated files.

13 years ago(Re)move autotools generated files from the repository.
Glenn Morris [Sun, 20 Mar 2011 23:58:23 +0000 (16:58 -0700)]
(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.

13 years ago* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
Jay Belanger [Sun, 20 Mar 2011 20:59:29 +0000 (15:59 -0500)]
* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
  units and musical notes.

13 years agosrc/minibuf.c: Fix previous change.
Juanma Barranquero [Sun, 20 Mar 2011 13:57:22 +0000 (14:57 +0100)]
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.

13 years agoNew variable completing-read-function to customize completing-read
Leo Liu [Sun, 20 Mar 2011 10:35:27 +0000 (18:35 +0800)]
New variable completing-read-function to customize completing-read

13 years ago* emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
Christian Ohler [Sun, 20 Mar 2011 10:17:10 +0000 (21:17 +1100)]
* 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.

13 years agoAdd error for dired-create-directory on existing file (Bug#8246).
Chong Yidong [Sat, 19 Mar 2011 22:07:41 +0000 (18:07 -0400)]
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.

13 years agoFix facemenu to populate buffer inside the with-help-window call.
Chong Yidong [Sat, 19 Mar 2011 21:37:21 +0000 (17:37 -0400)]
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.

13 years agoMerge changes from emacs-23 branch
Chong Yidong [Sat, 19 Mar 2011 18:49:31 +0000 (14:49 -0400)]
Merge changes from emacs-23 branch

13 years agoFix tar package handling, and clean up package-subdirectory-regexp usage.
Chong Yidong [Sat, 19 Mar 2011 18:27:55 +0000 (14:27 -0400)]
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.

13 years agoBackport fix for Bug#8219 from trunk.
Chong Yidong [Sat, 19 Mar 2011 16:42:53 +0000 (12:42 -0400)]
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.

13 years agoFix emerge.el on MS-Windows and MS-DOS.
Eli Zaretskii [Sat, 19 Mar 2011 09:30:56 +0000 (11:30 +0200)]
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.

13 years agoFix typos.
Juanma Barranquero [Sat, 19 Mar 2011 03:58:45 +0000 (04:58 +0100)]
Fix typos.

13 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Sat, 19 Mar 2011 03:22:14 +0000 (04:22 +0100)]
src/makefile.w32-in: Update dependencies.

13 years agognus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
Julien Danjou [Sat, 19 Mar 2011 00:48:04 +0000 (00:48 +0000)]
gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
 (gnus-buffer-live-p): Check that buffer is not nil.

13 years ago* vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
Stefan Monnier [Fri, 18 Mar 2011 19:52:05 +0000 (15:52 -0400)]
* 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
13 years agoMerge changes made in Gnus trunk.
Gnus developers [Fri, 18 Mar 2011 13:45:04 +0000 (13:45 +0000)]
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.

13 years agoRestore failure returns to unexaix.c, unexcoff.c, unexcw.c
Paul Eggert [Thu, 17 Mar 2011 20:18:59 +0000 (13:18 -0700)]
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c

13 years agoUpdate MS-Windows dependencies after 2011-03-17T18:41:30Z!eggert@cs.ucla.edu.
Eli Zaretskii [Thu, 17 Mar 2011 19:55:40 +0000 (21:55 +0200)]
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.

13 years agoChange unexec implementations to match prototype.
Paul Eggert [Thu, 17 Mar 2011 18:41:30 +0000 (11:41 -0700)]
Change unexec implementations to match prototype.

13 years agoMerge: Fix more problems found by GCC 4.5.2's static checks.
Paul Eggert [Thu, 17 Mar 2011 16:51:42 +0000 (09:51 -0700)]
Merge: Fix more problems found by GCC 4.5.2's static checks.

13 years agoMerge from mainline.
Paul Eggert [Thu, 17 Mar 2011 16:32:03 +0000 (09:32 -0700)]
Merge from mainline.

13 years agosrc/xfaces.c (Fx_load_color_file): Read color file from absolute filename.
Juanma Barranquero [Thu, 17 Mar 2011 15:44:02 +0000 (16:44 +0100)]
src/xfaces.c (Fx_load_color_file): Read color file from absolute filename.

Fixes: debbugs:8250
13 years agomm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are inline.
Julien Danjou [Thu, 17 Mar 2011 11:30:27 +0000 (11:30 +0000)]
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.

13 years ago* process.c (make_serial_process_unwind, send_process_trap):
Paul Eggert [Thu, 17 Mar 2011 05:18:33 +0000 (22:18 -0700)]
* process.c (make_serial_process_unwind, send_process_trap):

(sigchld_handler): Now static.

13 years ago* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
Paul Eggert [Thu, 17 Mar 2011 05:15:08 +0000 (22:15 -0700)]
* 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.

13 years ago* s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.
Paul Eggert [Thu, 17 Mar 2011 02:36:27 +0000 (19:36 -0700)]
* s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.

* process.c (allocate_pty): Don't declare stb unless it's needed.

13 years agolisp/custom.el: Trivial fixes.
Juanma Barranquero [Thu, 17 Mar 2011 02:30:27 +0000 (03:30 +0100)]
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*'.

13 years ago* lisp/calc-units.el (calcFunc-lupquant): Rename from
Jay Belanger [Thu, 17 Mar 2011 02:25:36 +0000 (21:25 -0500)]
* 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.

13 years ago* bytecode.c (CONSTANTLIM): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 02:18:00 +0000 (19:18 -0700)]
* bytecode.c (CONSTANTLIM): Remove; unused.

(METER_CODE, Bscan_buffer, Bread_char, Bset_mark):
Define only if needed.

13 years ago* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".
Paul Eggert [Thu, 17 Mar 2011 02:11:29 +0000 (19:11 -0700)]
* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".

13 years ago* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 02:09:36 +0000 (19:09 -0700)]
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.

13 years ago* unexelf.c: Use a different way to cause a compilation error if anyone uses
Paul Eggert [Thu, 17 Mar 2011 02:07:47 +0000 (19:07 -0700)]
* 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.

13 years ago* unexelf.c (unexec): Name an expression,
Paul Eggert [Thu, 17 Mar 2011 01:52:35 +0000 (18:52 -0700)]
* unexelf.c (unexec): Name an expression,

to avoid gcc -Wbad-function-cast warning.

13 years agoAdd Bug#.
Paul Eggert [Thu, 17 Mar 2011 01:49:15 +0000 (18:49 -0700)]
Add Bug#.

13 years ago* lisp/calc/README: Mention musical notes.
Jay Belanger [Thu, 17 Mar 2011 01:30:08 +0000 (20:30 -0500)]
* 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.

13 years ago* lisp/minibuffer.el (completion-all-sorted-completions):
Stefan Monnier [Thu, 17 Mar 2011 00:43:54 +0000 (20:43 -0400)]
* lisp/minibuffer.el (completion-all-sorted-completions):
Use :completion-cycle-penalty text property if present.

13 years ago* deps.mk (unexalpha.o): Remove; unused.
Paul Eggert [Thu, 17 Mar 2011 00:22:09 +0000 (17:22 -0700)]
* deps.mk (unexalpha.o): Remove; unused.

13 years ago* unexec.h: New file.
Paul Eggert [Thu, 17 Mar 2011 00:03:31 +0000 (17:03 -0700)]
* unexec.h: New file.

13 years agoNew file unexec.h, the (simple) interface for unexec.
Paul Eggert [Wed, 16 Mar 2011 23:59:54 +0000 (16:59 -0700)]
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.

13 years ago* syntax.c (back_comment, skip_chars): Mark vars as initialized.
Paul Eggert [Wed, 16 Mar 2011 21:47:59 +0000 (14:47 -0700)]
* syntax.c (back_comment, skip_chars): Mark vars as initialized.

13 years ago* syntax.c (Fforward_comment, scan_lists): Rename locals to avoid
Paul Eggert [Wed, 16 Mar 2011 21:43:38 +0000 (14:43 -0700)]
* syntax.c (Fforward_comment, scan_lists): Rename locals to avoid

shadowing.

13 years ago* lread.c (Fload, readevalloop, read1): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 21:40:51 +0000 (14:40 -0700)]
* lread.c (Fload, readevalloop, read1): Rename locals to avoid shadowing.

13 years ago* character.h (FETCH_STRING_CHAR_ADVANCE_NO_CHECK, BUF_INC_POS):
Paul Eggert [Wed, 16 Mar 2011 21:34:32 +0000 (14:34 -0700)]
* character.h (FETCH_STRING_CHAR_ADVANCE_NO_CHECK, BUF_INC_POS):

Rename locals to avoid shadowing.

13 years ago* lread.c (read1): Rewrite so as not to use empty "else".
Paul Eggert [Wed, 16 Mar 2011 21:29:13 +0000 (14:29 -0700)]
* lread.c (read1): Rewrite so as not to use empty "else".

13 years ago* print.c (Fredirect_debugging_output): Fix pointer signedess.
Paul Eggert [Wed, 16 Mar 2011 21:28:29 +0000 (14:28 -0700)]
* print.c (Fredirect_debugging_output): Fix pointer signedess.

13 years ago* lisp.h (debug_output_compilation_hack): Add decl here, to avoid
Paul Eggert [Wed, 16 Mar 2011 21:27:03 +0000 (14:27 -0700)]
* lisp.h (debug_output_compilation_hack): Add decl here, to avoid

warning when compiling print.c.

13 years ago* font.c (font_sort_entities): Mark var as initialized.
Paul Eggert [Wed, 16 Mar 2011 21:23:37 +0000 (14:23 -0700)]
* font.c (font_sort_entities): Mark var as initialized.

13 years ago* font.c (font_unparse_fcname): Abort in an "impossible" situation
Paul Eggert [Wed, 16 Mar 2011 21:14:06 +0000 (14:14 -0700)]
* font.c (font_unparse_fcname): Abort in an "impossible" situation

instead of using an uninitialized var.

13 years ago* allout.el (allout-yank-processing): Adjust for new rebulleting regime so
Ken Manheimer [Wed, 16 Mar 2011 19:03:06 +0000 (15:03 -0400)]
* allout.el (allout-yank-processing): Adjust for new rebulleting regime so
bullet being yanked is used without prompting the user for a choice.

13 years ago* src/print.c (PRINT_CIRCLE_CANDIDATE_P): New macro.
Stefan Monnier [Wed, 16 Mar 2011 17:34:26 +0000 (13:34 -0400)]
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): New macro.
(print_preprocess, print_object): New macro to fix last change.

13 years ago* strings.texi (String Conversion): Don't mention string-make-(uni|multi)byte.
Stefan Monnier [Wed, 16 Mar 2011 14:54:21 +0000 (10:54 -0400)]
* strings.texi (String Conversion): Don't mention string-make-(uni|multi)byte.
* nonascii.texi (Converting Representations): Fix up range.
* keymaps.texi (Key Binding Commands): Update code point, avoid
"unibyte character" and remove mention of unibyte bindings.

Fixes: debbugs:8262
13 years ago* src/print.c (print_preprocess): Don't forget font objects.
Stefan Monnier [Wed, 16 Mar 2011 14:23:26 +0000 (10:23 -0400)]
* src/print.c (print_preprocess): Don't forget font objects.

13 years ago* font.c: (font_style_to_value, font_prop_validate_style, font_unparse_fcname):
Paul Eggert [Wed, 16 Mar 2011 08:34:44 +0000 (01:34 -0700)]
* font.c: (font_style_to_value, font_prop_validate_style, font_unparse_fcname):

(font_update_drivers, Ffont_get_glyphs, font_add_log):
Rename or move locals to avoid shadowing.

13 years ago* character.h (FETCH_CHAR_ADVANCE): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 08:31:20 +0000 (01:31 -0700)]
* character.h (FETCH_CHAR_ADVANCE): Rename locals to avoid shadowing.

13 years ago* font.c (font_get_spec): Remove; unused.
Paul Eggert [Wed, 16 Mar 2011 08:22:49 +0000 (01:22 -0700)]
* font.c (font_get_spec): Remove; unused.

13 years ago* font.c (font_delete_unmatched): Now static.
Paul Eggert [Wed, 16 Mar 2011 08:22:13 +0000 (01:22 -0700)]
* font.c (font_delete_unmatched): Now static.

13 years ago* font.c (font_parse_fcname): Remove unused vars.
Paul Eggert [Wed, 16 Mar 2011 08:20:40 +0000 (01:20 -0700)]
* font.c (font_parse_fcname): Remove unused vars.

13 years ago* font.c (font_unparse_xlfd): Don't mix pointers to variables with
Paul Eggert [Wed, 16 Mar 2011 08:19:22 +0000 (01:19 -0700)]
* font.c (font_unparse_xlfd): Don't mix pointers to variables with

pointers to constants.

13 years ago* fns.c (Ffillarray): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:49:54 +0000 (00:49 -0700)]
* fns.c (Ffillarray): Rename locals to avoid shadowing.

13 years ago* fns.c (require_nesting_list, require_unwind): Now static.
Paul Eggert [Wed, 16 Mar 2011 07:48:36 +0000 (00:48 -0700)]
* fns.c (require_nesting_list, require_unwind): Now static.

13 years ago* floatfns.c (Ffrexp, Fldexp): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:47:02 +0000 (00:47 -0700)]
* floatfns.c (Ffrexp, Fldexp): Rename locals to avoid shadowing.

13 years ago* floatfns.c (domain_error2): Define only if needed.
Paul Eggert [Wed, 16 Mar 2011 07:45:34 +0000 (00:45 -0700)]
* floatfns.c (domain_error2): Define only if needed.

13 years ago* eval.c (Fdefvar): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:44:19 +0000 (00:44 -0700)]
* eval.c (Fdefvar): Rename locals to avoid shadowing.

13 years ago* alloc.c (mark_backtrace): Move decl from here ...
Paul Eggert [Wed, 16 Mar 2011 07:37:10 +0000 (00:37 -0700)]
* alloc.c (mark_backtrace): Move decl from here ...

* lisp.h: ... to here, so that it can be checked.

13 years ago* eval.c (lisp_indirect_variable): Name an expression,
Paul Eggert [Wed, 16 Mar 2011 07:34:28 +0000 (00:34 -0700)]
* eval.c (lisp_indirect_variable): Name an expression,

to avoid gcc -Wbad-function-cast warning.

13 years ago* eval.c (Fdefvar): Rewrite so as not to use empty "else".
Paul Eggert [Wed, 16 Mar 2011 07:30:17 +0000 (00:30 -0700)]
* eval.c (Fdefvar): Rewrite so as not to use empty "else".

13 years ago* eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static.
Paul Eggert [Wed, 16 Mar 2011 07:28:57 +0000 (00:28 -0700)]
* eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static.

13 years ago* callint.c: Use const pointer when appropriate.
Paul Eggert [Wed, 16 Mar 2011 07:26:16 +0000 (00:26 -0700)]
* callint.c: Use const pointer when appropriate.

13 years ago* callint.c (Fcall_interactively): Rename locals to avoid shadowing.
Paul Eggert [Wed, 16 Mar 2011 07:24:57 +0000 (00:24 -0700)]
* callint.c (Fcall_interactively): Rename locals to avoid shadowing.

13 years ago* callint.c (quotify_arg, quotify_args): Now static.
Paul Eggert [Wed, 16 Mar 2011 07:19:04 +0000 (00:19 -0700)]
* callint.c (quotify_arg, quotify_args): Now static.

13 years ago* editfns.c (Ftranslate_region_internal): Mark var as initialized.
Paul Eggert [Wed, 16 Mar 2011 07:17:22 +0000 (00:17 -0700)]
* editfns.c (Ftranslate_region_internal): Mark var as initialized.

13 years ago* editfns.c: (Fformat_time_string, Fencode_time, Finsert_char):
Paul Eggert [Wed, 16 Mar 2011 07:15:43 +0000 (00:15 -0700)]
* editfns.c: (Fformat_time_string, Fencode_time, Finsert_char):

(Ftranslate_region_internal, Fformat):
Rename or remove local vars to avoid shadowing.

13 years agoAdd warning for obsolete _emacs init file.
Juanma Barranquero [Wed, 16 Mar 2011 02:13:31 +0000 (03:13 +0100)]
Add warning for obsolete _emacs init file.

* lisp/startup.el (command-line): Warn the user that _emacs is deprecated.
* etc/NEWS: Document warning about _emacs.

13 years agolisp/progmodes/delphi.el: Fix typos.
Juanma Barranquero [Wed, 16 Mar 2011 01:28:20 +0000 (02:28 +0100)]
lisp/progmodes/delphi.el: Fix typos.

13 years agosrc/emacs.c (USAGE3): Doc fixes.
Juanma Barranquero [Wed, 16 Mar 2011 00:53:19 +0000 (01:53 +0100)]
src/emacs.c (USAGE3): Doc fixes.

13 years agoMove editfns decls to lisp.h to check interfaces.
Paul Eggert [Wed, 16 Mar 2011 00:44:50 +0000 (17:44 -0700)]
Move editfns decls to lisp.h to check interfaces.

13 years ago* editfns.c (init_editfns, Fuser_login_name, Fuser_uid):
Paul Eggert [Wed, 16 Mar 2011 00:24:51 +0000 (17:24 -0700)]
* editfns.c (init_editfns, Fuser_login_name, Fuser_uid):

(Fuser_real_uid, Fuser_full_name): Remove unnecessary casts,
some of which prompt warnings from gcc -Wbad-function-cast.

13 years agolisp/info.el: Fix bug#8258.
Ralph Schleicher [Wed, 16 Mar 2011 00:00:58 +0000 (01:00 +0100)]
lisp/info.el: Fix bug#8258.

* info (info-initialize): Replace all uses of `:' with path-separator for
  compatibility with non-Unix systems.  Cache quoting of path-separator.

13 years ago* doc.c (Fdocumentation, Fsnarf_documentation): Move locals to
Paul Eggert [Tue, 15 Mar 2011 23:30:07 +0000 (16:30 -0700)]
* doc.c (Fdocumentation, Fsnarf_documentation): Move locals to

avoid shadowing.

13 years ago* data.c (do_blv_forwarding, do_symval_forwarding): Remove; unused.
Paul Eggert [Tue, 15 Mar 2011 23:22:38 +0000 (16:22 -0700)]
* data.c (do_blv_forwarding, do_symval_forwarding): Remove; unused.

13 years ago* data.c (Fmake_variable_buffer_local, Fmake_local_variable): Mark
Paul Eggert [Tue, 15 Mar 2011 23:20:25 +0000 (16:20 -0700)]
* data.c (Fmake_variable_buffer_local, Fmake_local_variable): Mark

variables as initialized.

13 years ago* lisp.h (eassert): Check that the argument compiles, even if
Paul Eggert [Tue, 15 Mar 2011 23:14:54 +0000 (16:14 -0700)]
* lisp.h (eassert): Check that the argument compiles, even if

ENABLE_CHECKING is not defined.

13 years ago* data.c (store_symval_forwarding): Rename local to avoid shadowing.
Paul Eggert [Tue, 15 Mar 2011 23:07:15 +0000 (16:07 -0700)]
* data.c (store_symval_forwarding): Rename local to avoid shadowing.

13 years ago* data.c (default_value, arithcompare, arith_driver, arith_error): Now static.
Paul Eggert [Tue, 15 Mar 2011 23:06:01 +0000 (16:06 -0700)]
* data.c (default_value, arithcompare, arith_driver, arith_error): Now static.

13 years ago* data.c (Findirect_variable): Name an expression, to avoid
Paul Eggert [Tue, 15 Mar 2011 23:03:11 +0000 (16:03 -0700)]
* data.c (Findirect_variable): Name an expression, to avoid

gcc -Wbad-function-cast warning.

13 years agognus-sum.el (gnus-articles-to-read): Revert back to old behaviour if we're selecting...
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 22:57:48 +0000 (22:57 +0000)]
gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if we're selecting a group with unread articles.

13 years agoIndent.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 22:43:25 +0000 (22:43 +0000)]
Indent.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 15 Mar 2011 22:38:41 +0000 (22:38 +0000)]
Merge changes made in Gnus trunk.

message.texi (Insertion Variables): Document message-cite-style.
nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
gssapi.el: New file separated out from imap.el to provide a general Kerberos 5 connection facility for Emacs.
message.el (message-elide-ellipsis): Document the format spec ellipsis.
message.el (message-elide-region): Allow the ellipsis to say how many lines were removed.
gnus-win.el (gnus-configure-frame): Protect against trying to restore window configurations containing buffers that are now dead.
nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before parsing to avoid integer overflows.
 (nnimap-parse-flags): Simplify the last change.
 (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be too large for 32-bit Emacsen.
gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on XEmacs, which was one character too wide.
gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as default number of articles to display.
 (gnus-articles-to-read): Use pretty names for prompt.
gnus-int.el (gnus-open-server): Ditto.
gnus-start.el (gnus-activate-group): Give a backtrace if debug-on-quit is set and the user hits `C-g'.
 (gnus-read-active-file): Ditto.
gnus-group.el (gnus-group-read-ephemeral-group): Ditto.

13 years ago* alloc.c (Fmemory_limit): Cast sbrk's returned value to char *.
Paul Eggert [Tue, 15 Mar 2011 22:37:59 +0000 (15:37 -0700)]
* alloc.c (Fmemory_limit): Cast sbrk's returned value to char *.

13 years ago* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Define only if
Paul Eggert [Tue, 15 Mar 2011 22:31:22 +0000 (15:31 -0700)]
* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Define only if

! defined SYSTEM_MALLOC && ! defined SYNC_INPUT, as they are not
needed otherwise.
(CHECK_ALLOCATED): Define only if GC_CHECK_MARKED_OBJECTS.
(GC_STRING_CHARS): Remove; not used.

13 years ago* alloc.c (mark_stack): Move local variables into the #ifdef region where
Paul Eggert [Tue, 15 Mar 2011 22:09:50 +0000 (15:09 -0700)]
* alloc.c (mark_stack): Move local variables into the #ifdef region where

they're used.

13 years ago* alloc.c: (Fmake_vector, Fvector, Fmake_byte_code, Fgarbage_collect):
Paul Eggert [Tue, 15 Mar 2011 22:02:48 +0000 (15:02 -0700)]
* alloc.c: (Fmake_vector, Fvector, Fmake_byte_code, Fgarbage_collect):

Rename locals to avoid shadowing.

13 years ago* alloc.c (check_cons_list): Do not define unless GC_CHECK_CONS_LIST.
Paul Eggert [Tue, 15 Mar 2011 21:56:37 +0000 (14:56 -0700)]
* alloc.c (check_cons_list): Do not define unless GC_CHECK_CONS_LIST.

* lisp.h (check_cons_list): Declare if GC_CHECK_CONS_LIST; this
avoids undefined behavior in theory.