]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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 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* 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* 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* 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 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 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* allout.el (allout-make-topic-prefix) (allout-rebullet-heading): Invert
Ken Manheimer [Tue, 15 Mar 2011 21:01:37 +0000 (17:01 -0400)]
* allout.el (allout-make-topic-prefix) (allout-rebullet-heading): Invert
the roles of character and string values for INSTEAD, so a string is used
for the more common case of a defaulting prompt.

13 years ago* src/coding.c (detect_coding_iso_2022): Reorganize code to clarify
Andreas Schwab [Tue, 15 Mar 2011 18:38:57 +0000 (19:38 +0100)]
* src/coding.c (detect_coding_iso_2022): Reorganize code to clarify
structure.

13 years agoFix misuse of quote in `case'.
Stefan Monnier [Tue, 15 Mar 2011 17:39:56 +0000 (13:39 -0400)]
Fix misuse of quote in `case'.
* lisp/progmodes/ruby-mode.el (ruby-backward-sexp):
* lisp/progmodes/ebrowse.el (ebrowse-draw-file-member-info):
* lisp/play/gamegrid.el (gamegrid-make-face):
* lisp/play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
(bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
* lisp/notifications.el (notifications-notify):
* lisp/net/xesam.el (xesam-search-engines):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
* lisp/gnus/auth-source.el (auth-source-netrc-create):
* lisp/gnus/message.el (message-yank-original): Fix use of `case'.
* lisp/org/org-src.el (org-src-switch-to-buffer):
* lisp/org/org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
* lisp/org/org-mouse.el (org-mouse-agenda-type):
* lisp/org/org-freemind.el (org-freemind-node-to-org):
* lisp/org/ob-sql.el (org-babel-execute:sql):
* lisp/org/ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
* lisp/org/ob-ref.el (org-babel-ref-resolve): Fix use of case.

13 years ago* lisp/startup.el (command-line): Update package subdirectory regexp.
Chong Yidong [Tue, 15 Mar 2011 16:21:30 +0000 (12:21 -0400)]
* lisp/startup.el (command-line): Update package subdirectory regexp.

13 years agomessage.el (message-yank-original): Use cond instead of CL case.
Teodor Zlatanov [Tue, 15 Mar 2011 12:10:36 +0000 (12:10 +0000)]
message.el (message-yank-original): Use cond instead of CL case.

13 years ago* lisp/allout.el (allout-abbreviate-flattened-numbering)
Stefan Monnier [Tue, 15 Mar 2011 02:46:18 +0000 (22:46 -0400)]
* lisp/allout.el (allout-abbreviate-flattened-numbering)
(allout-mode-deactivate-hook): Fix up obsolescence "date".

13 years ago* lisp/gnus/auth-source.el (auth-source-netrc-create): Use usual format for the
Stefan Monnier [Tue, 15 Mar 2011 02:44:17 +0000 (22:44 -0400)]
* lisp/gnus/auth-source.el (auth-source-netrc-create): Use usual format for the
default in prompts.

13 years ago* lisp/subr.el (read-char-choice): Only show the cursor after the prompt,
Stefan Monnier [Tue, 15 Mar 2011 02:42:31 +0000 (22:42 -0400)]
* lisp/subr.el (read-char-choice): Only show the cursor after the prompt,
not after the answer.

13 years ago* lisp/help-fns.el (variable-at-point): Skip leading quotes, if any
Kevin Ryde [Tue, 15 Mar 2011 02:36:07 +0000 (22:36 -0400)]
* lisp/help-fns.el (variable-at-point): Skip leading quotes, if any
(bug#8253).

13 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
Stefan Monnier [Tue, 15 Mar 2011 01:12:54 +0000 (21:12 -0400)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
warning message.

13 years agosrc/ChangeLog: Fix typos.
Juanma Barranquero [Mon, 14 Mar 2011 17:22:53 +0000 (18:22 +0100)]
src/ChangeLog: Fix typos.

13 years agosrc/w32*.c: Clean up extern declarations.
Juanma Barranquero [Mon, 14 Mar 2011 17:07:53 +0000 (18:07 +0100)]
src/w32*.c: Clean up extern declarations.

* w32select.c: Don't #include "keyboard.h".
  (run_protected): Add extern declaration for  waiting_for_input.

* lisp.h (VWindow_system, Qfile_name_history):
* keyboard.h (lispy_function_keys) [WINDOWSNT]:
* w32term.h (w32_system_caret_hwnd, w32_system_caret_height)
  (w32_system_caret_x, w32_system_caret_y): Declare extern.

* w32.c (Qlocal, noninteractive1, inhibit_window_system):
* w32console.c (detect_input_pending, read_input_pending)
  (encode_terminal_code):
* w32fns.c (quit_char, lispy_function_keys, Qtooltip)
  (w32_system_caret_hwnd, w32_system_caret_height, w32_system_caret_x)
  (w32_system_caret_y, Qfile_name_history):
* w32font.c (w32font_driver, QCantialias, QCotf, QClang):
* w32inevt.c (reinvoke_input_signal, lispy_function_keys):
* w32menu.c (Qmenu_bar, QCtoggle, QCradio, Qoverriding_local_map)
  (Qoverriding_terminal_local_map, Qmenu_bar_update_hook):
* w32proc.c (Qlocal, report_file_error):
* w32term.c (Vwindow_system, updating_frame):
* w32uniscribe.c (initialized, uniscribe_font_driver):
  Remove unneeded extern declarations.

13 years ago* tramp.texi (Remote processes): New subsection "Running shell on
Michael Albinus [Mon, 14 Mar 2011 16:39:58 +0000 (17:39 +0100)]
* tramp.texi (Remote processes): New subsection "Running shell on
a remote host".

13 years ago* src/buffer.c (Fmake_indirect_buffer): Fix incorrect assertion.
Chong Yidong [Mon, 14 Mar 2011 16:18:25 +0000 (12:18 -0400)]
* src/buffer.c (Fmake_indirect_buffer): Fix incorrect assertion.

13 years ago* NEWS: `shell' prompts for the shell path name, when the default
Michael Albinus [Mon, 14 Mar 2011 14:13:40 +0000 (15:13 +0100)]
* NEWS: `shell' prompts for the shell path name, when the default
directory is a remote file name and neither environment variable
$ESHELL nor variable `explicit-shell-file-name' is set.

13 years ago* shell.el (shell): When called interactively, offer to change the
Michael Albinus [Mon, 14 Mar 2011 09:53:13 +0000 (10:53 +0100)]
* shell.el (shell): When called interactively, offer to change the
shell file name on remote hosts.

13 years agoFix BUF_* macros to handle indirect buffers properly (Bug#8219).
Chong Yidong [Sun, 13 Mar 2011 22:25:16 +0000 (18:25 -0400)]
Fix BUF_* macros to handle indirect buffers properly (Bug#8219).

* 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 agoAdd `auth-source-search' integration for LDAP searches.
Ted Zlatanov [Sun, 13 Mar 2011 22:17:17 +0000 (17:17 -0500)]
Add `auth-source-search' integration for LDAP searches.

* net/ldap.el (ldap-search-internal): Add `auth-source-search'
integration for LDAP parameters.  The host, base, user or binddn,
and secret tokens can be specified in a netrc file, for instance.
This is optional because an `auth-source' parameter must be
specified in the search attributes.

13 years agoauth-source.el (auth-source-netrc-create): Show the default in the prompt when prompt...
Teodor Zlatanov [Sun, 13 Mar 2011 20:50:07 +0000 (20:50 +0000)]
auth-source.el (auth-source-netrc-create): Show the default in the prompt when prompting for token creation.

13 years agoMS-Windows followup for 2011-03-13T06:43:00Z!eggert@cs.ucla.edu.
Eli Zaretskii [Sun, 13 Mar 2011 17:49:38 +0000 (19:49 +0200)]
MS-Windows followup for 2011-03-13T06:43:00Z!eggert@cs.ucla.edu.

 src/makefile.w32-in ($(BLD)/editfns.$(O)): Depend on
 $(EMACS_ROOT)/lib/intprops.h.

13 years agoUpdate for gnulib, adding Solaris 9+10 fixes.
Paul Eggert [Sun, 13 Mar 2011 17:39:04 +0000 (10:39 -0700)]
Update for gnulib, adding Solaris 9+10 fixes.

13 years agoMerge from mainline.
Paul Eggert [Sun, 13 Mar 2011 17:28:15 +0000 (10:28 -0700)]
Merge from mainline.

13 years ago* gtkutil.c (gdk_window_get_screen): Make it clear that this macro is needed
Paul Eggert [Sun, 13 Mar 2011 08:42:12 +0000 (00:42 -0800)]
* gtkutil.c (gdk_window_get_screen): Make it clear that this macro is needed

only if USE_GTK_TOOLTIP.

13 years ago* gtkutil.c: (get_utf8_string, xg_get_file_with_chooser):
Paul Eggert [Sun, 13 Mar 2011 08:39:13 +0000 (00:39 -0800)]
* gtkutil.c: (get_utf8_string, xg_get_file_with_chooser):

Rename locals to avoid shadowing.
(create_dialog): Move locals to avoid shadowing.

13 years ago* gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic
Paul Eggert [Sun, 13 Mar 2011 08:31:16 +0000 (00:31 -0800)]
* gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic

from gcc -Wbad-function-cast.
(xg_set_toolkit_scroll_bar_thumb): Use it.
(xg_tool_bar_callback, xg_tool_item_stale_p): Rewrite to avoid
diagnostic from gcc -Wbad-function-cast.

13 years ago* gtkutil.c (xg_free_frame_widgets): Make it clear that a local variable is
Paul Eggert [Sun, 13 Mar 2011 08:15:55 +0000 (00:15 -0800)]
* gtkutil.c (xg_free_frame_widgets): Make it clear that a local variable is

needed only if USE_GTK_TOOLTIP.

13 years ago* gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char *
Paul Eggert [Sun, 13 Mar 2011 08:14:30 +0000 (00:14 -0800)]
* gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char *

to unsigned char * to avoid compiler diagnostic.

13 years ago* xgselect.c (xg_select): Remove unused var.
Paul Eggert [Sun, 13 Mar 2011 08:05:40 +0000 (00:05 -0800)]
* xgselect.c (xg_select): Remove unused var.

13 years ago* image.c (my_png_error, my_error_exit): Mark with NO_RETURN.
Paul Eggert [Sun, 13 Mar 2011 08:04:44 +0000 (00:04 -0800)]
* image.c (my_png_error, my_error_exit): Mark with NO_RETURN.

13 years ago* image.c (four_corners_best): Mark locals as initialized.
Paul Eggert [Sun, 13 Mar 2011 07:50:17 +0000 (23:50 -0800)]
* image.c (four_corners_best): Mark locals as initialized.

(gif_load): Initialize transparent_p to zero (Bug#8238).
Mark another local as initialized.

13 years agoImprove quality of tests for time stamp overflow.
Paul Eggert [Sun, 13 Mar 2011 06:43:00 +0000 (22:43 -0800)]
Improve quality of tests for time stamp overflow.

13 years ago* editfns.c (lisp_time_argument): Check for time stamp overflow.
Paul Eggert [Sun, 13 Mar 2011 06:27:18 +0000 (22:27 -0800)]
* editfns.c (lisp_time_argument): Check for time stamp overflow.

13 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Sun, 13 Mar 2011 04:07:38 +0000 (04:07 +0000)]
Merge changes made in Gnus trunk.

auth.texi (Help for developers): Update docs to explain that the :save-function will only run the first time.
auth-source.el (auth-source-format-prompt): Always convert the value to a string to avoid evaluating non-string arguments.
 (auth-source-netrc-create): Offer default properly, not as initial content in `read-string'.
 (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash of line to determine if we've been run before.  If so, don't run again, but print a trivial message to indicate the cache was hit instead.

13 years agoadmin/admin.el: Add some code for deploying web manuals.
Chong Yidong [Sun, 13 Mar 2011 03:50:33 +0000 (22:50 -0500)]
admin/admin.el: Add some code for deploying web manuals.

13 years agolisp/help.el (describe-mode): Link to the mode's definition.
Juanma Barranquero [Sun, 13 Mar 2011 01:57:40 +0000 (02:57 +0100)]
lisp/help.el (describe-mode): Link to the mode's definition.

Fixes: debbugs:8185
13 years ago* editfns.c (hi_time): Do not overparenthesize.
Paul Eggert [Sat, 12 Mar 2011 22:52:25 +0000 (14:52 -0800)]
* editfns.c (hi_time): Do not overparenthesize.

13 years agoMerge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.edu
Glenn Morris [Sat, 12 Mar 2011 19:19:47 +0000 (11:19 -0800)]
Merge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.edu

13 years agoSome more html rules for doc/misc/Makefile.in.
Glenn Morris [Sat, 12 Mar 2011 18:40:08 +0000 (10:40 -0800)]
Some more html rules for doc/misc/Makefile.in.

* doc/misc/Makefile.in (emacs-faq.html): Fix some more cross-refs.
(emacs-faq.text): New target.
(clean): Add emacs-faq.

13 years agoFix typos.
Juanma Barranquero [Sat, 12 Mar 2011 15:38:34 +0000 (16:38 +0100)]
Fix typos.

13 years agolisp/vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
Juanma Barranquero [Sat, 12 Mar 2011 15:26:33 +0000 (16:26 +0100)]
lisp/vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).

13 years agoSync with Tramp 2.2.1.
Michael Albinus [Sat, 12 Mar 2011 15:22:10 +0000 (16:22 +0100)]
Sync with Tramp 2.2.1.

* trampver.texi: Update release number.

13 years agoSync with Tramp 2.2.1.
Michael Albinus [Sat, 12 Mar 2011 15:19:29 +0000 (16:19 +0100)]
Sync with Tramp 2.2.1.

* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.

* net/trampver.el: Update release number.

13 years ago* net/tramp.el (tramp-progress-reporter-update): Use
Michael Albinus [Sat, 12 Mar 2011 13:26:19 +0000 (14:26 +0100)]
* net/tramp.el (tramp-progress-reporter-update): Use
`tramp-compat-funcall'.
(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
(tramp-handle-insert-file-contents): Make `file-remote-p' call
compatible.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-compat-process-put'.

* net/tramp-compat.el (tramp-compat-process-get)
(tramp-compat-process-put): New defuns.

* net/trampver.el: Update release number.

Please do not merge with the trunk.

13 years agoRemove arch-tag.
Michael Albinus [Sat, 12 Mar 2011 13:17:54 +0000 (14:17 +0100)]
Remove arch-tag.

* trampver.texi: Update release number.

13 years agosrc/ChangeLog: Fix last entry for deps.mk.
Eli Zaretskii [Sat, 12 Mar 2011 12:05:05 +0000 (14:05 +0200)]
src/ChangeLog: Fix last entry for deps.mk.

13 years agoMake termcap.c implementations consistent with tparam.h prototypes.
Eli Zaretskii [Sat, 12 Mar 2011 12:03:24 +0000 (14:03 +0200)]
Make termcap.c implementations consistent with tparam.h prototypes.

 src/termcap.c [MSDOS]: Include "msdos.h.
 (find_capability, tgetnum, tgetflag, tgetstr, tputs, tgetent):
 Constify `char *' arguments and their references according to
 prototypes in tparam.h.
 src/deps.mk (termcap.o): Depend on tparam.h and msdos.h.

13 years agoFix compilation warnings on MS-DOS due to constifying of pointers in xmenu.c.
Eli Zaretskii [Sat, 12 Mar 2011 10:51:31 +0000 (12:51 +0200)]
Fix compilation warnings on MS-DOS due to constifying of pointers in xmenu.c.

 src/msdos.c (XMenuAddPane): 3rd argument is `const char *' now.
 Adapt all references accordingly.
 src/msdos.h (XMenuAddPane): 3rd argument is `const char *' now.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 12 Mar 2011 08:53:34 +0000 (08:53 +0000)]
Merge changes made in Gnus trunk.

gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't install `gnus-sync-read' to any hooks by default.  It's buggy.  The user will have to run `gnus-sync-read' manually and wait for Cloudy Gnus.
mm-uu.el (mm-uu-type-alist): Add support for diff starting with "=== modified file".

13 years agoImprove quality of tests for time stamp overflow. For example,
Paul Eggert [Sat, 12 Mar 2011 06:49:53 +0000 (22:49 -0800)]
Improve quality of tests for time stamp overflow.  For example,

without this patch (encode-time 0 0 0 1 1 1152921504606846976)
returns the obviously-bogus value (-948597 62170) on my RHEL 5.5
x86-64 host.  With it, it reports time overflow.
* deps.mk (editfns.o): Depend on ../lib/intprops.h.
* editfns.c: Include limits.h and intprops.h.
(TIME_T_MIN, TIME_T_MAX): New macros.
(time_overflow): Move earlier, to before first use.
(hi_time, lo_time): New functions, for an accurate test for
out-of-range times.
(Fcurrent_time, Fget_internal_run_time, make_time): Use them.
(Fget_internal_run_time): Don't assume time_t fits in int.
(make_time): Use list2 instead of Fcons twice.
(Fdecode_time): More accurate test for out-of-range times.
(check_tm_member): New function.
(Fencode_time): Use it, to test for out-of-range times.

13 years ago* lisp/progmodes/compile.el (compilation--previous-directory): Fix up
Stefan Monnier [Sat, 12 Mar 2011 04:29:22 +0000 (23:29 -0500)]
* lisp/progmodes/compile.el (compilation--previous-directory): Fix up
various nil/dead-marker mismatches.
(compilation-directory-properties, compilation-error-properties):
Don't call it at a position past the one we're about to change.

Fixes: debbugs:8014
13 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
Stefan Monnier [Sat, 12 Mar 2011 02:59:24 +0000 (21:59 -0500)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
Disable obsolescence warnings in the file that declares it.

13 years ago* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
Stefan Monnier [Sat, 12 Mar 2011 02:49:29 +0000 (21:49 -0500)]
* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
into declaration.  Remove redundant and harmful binding.

13 years agoadmin/notes/elpa: Make Bzr checkout directions more explicit.
Chong Yidong [Fri, 11 Mar 2011 22:53:47 +0000 (17:53 -0500)]
admin/notes/elpa: Make Bzr checkout directions more explicit.

13 years ago* editfns.c (time_overflow): New function, refactoring common code.
Paul Eggert [Fri, 11 Mar 2011 20:31:59 +0000 (12:31 -0800)]
* editfns.c (time_overflow): New function, refactoring common code.

(Fformat_time_string, Fdecode_time, Fencode_time):
(Fcurrent_time_string): Use it.

13 years agoMove 'make_time' to be next to its inverse 'lisp_time_argument'.
Paul Eggert [Fri, 11 Mar 2011 20:24:09 +0000 (12:24 -0800)]
Move 'make_time' to be next to its inverse 'lisp_time_argument'.

* dired.c (make_time): Move to ...
* editfns.c (make_time): ... here.
* systime.h: Note the move.

13 years ago* allout-widgets.el (allout-widgets-tally) Initialize allout-widgets-tally
Ken Manheimer [Fri, 11 Mar 2011 18:46:12 +0000 (13:46 -0500)]
* allout-widgets.el (allout-widgets-tally) Initialize allout-widgets-tally
as a hash table rather than nil to prevent mode-line redisplay warnings.
Also, clarify the module description and fix a comment typoo (sic).

13 years agoBump version to 23.3.50
Chong Yidong [Fri, 11 Mar 2011 17:17:33 +0000 (12:17 -0500)]
Bump version to 23.3.50

13 years ago* buffer.c (syms_of_buffer): Remove obsolete comment.
Tom Tromey [Fri, 11 Mar 2011 16:49:16 +0000 (09:49 -0700)]
* buffer.c (syms_of_buffer): Remove obsolete comment.

13 years agoBackport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 15:42:12 +0000 (16:42 +0100)]
Backport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.

* src/w32xfns.c (select_palette): Check success of RealizePalette against
  GDI_ERROR, not zero.

13 years agoBackport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 15:34:07 +0000 (16:34 +0100)]
Backport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.

*lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.

13 years agoBackport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 14:05:31 +0000 (15:05 +0100)]
Backport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.

* lisp/help-fns.el (describe-variable): Don't complete keywords.

13 years agoFix comparisons of file ownership on MS-Windows for the Administrator user.
Eli Zaretskii [Fri, 11 Mar 2011 12:19:08 +0000 (14:19 +0200)]
Fix comparisons of file ownership on MS-Windows for the Administrator user.

 lisp/files.el (file-ownership-preserved-p): Pass `integer' as an
 explicit 2nd argument to `file-attributes'.  If the file's owner
 is the Administrators group on Windows, and the current user is
 Administrator, consider that a match.
 lisp/server.el (server-ensure-safe-dir): Consider server directory
 safe on MS-Windows if its owner is the Administrators group while
 the current Emacs user is Administrator.  Use `=' to compare
 numerical UIDs, since they could be integers or floats.

13 years agoFix bug #8221 with description of how HOME is set on Windows.
Eli Zaretskii [Fri, 11 Mar 2011 11:17:24 +0000 (13:17 +0200)]
Fix bug #8221 with description of how HOME is set on Windows.

 doc/emacs/msdog.texi (Windows HOME): Fix the wording to clarify how
 Emacs sets HOME on Windows and where it looks for init files.

13 years agoFix MS-Windows build broken by 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.
Eli Zaretskii [Fri, 11 Mar 2011 09:41:56 +0000 (11:41 +0200)]
Fix MS-Windows build broken by 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.

 src/term.c (encode_terminal_code): Now external again, used by
 w32console.c and msdos.c.
 src/termhooks.h (encode_terminal_code): Declare prototype.
 src/msdos.c (encode_terminal_code): Don't declare prototype.
 src/makefile.w32-in ($(BLD)/term.$(O), ($(BLD)/tparam.$(O)): Depend
 on $(SRC)/tparam.h, see 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.

13 years agoFix previous change.
Glenn Morris [Fri, 11 Mar 2011 09:07:33 +0000 (01:07 -0800)]
Fix previous change.

13 years agoAdd Makefile rules for generating html version of Emacs FAQ.
Glenn Morris [Fri, 11 Mar 2011 09:02:58 +0000 (01:02 -0800)]
Add Makefile rules for generating html version of Emacs FAQ.

* doc/misc/Makefile.in (HTML_TARGETS): New.
(clean): Delete $HTML_TARGETS.
(emacs-faq.html): New, for use with the gnu.org Emacs webpage.

13 years ago* image.c: (clear_image_cache, xbm_read_bitmap_data, x_detect_edges):
Paul Eggert [Fri, 11 Mar 2011 08:20:11 +0000 (00:20 -0800)]
* image.c: (clear_image_cache, xbm_read_bitmap_data, x_detect_edges):

(jpeg_load, gif_load): Rename locals to avoid shadowing.

13 years ago* image.c (gif_load): Fix pointer signedness.
Paul Eggert [Fri, 11 Mar 2011 08:01:09 +0000 (00:01 -0800)]
* image.c (gif_load): Fix pointer signedness.

13 years ago* image.c (x_edge_detection): Remove unnecessary cast that
Paul Eggert [Fri, 11 Mar 2011 07:59:36 +0000 (23:59 -0800)]
* image.c (x_edge_detection): Remove unnecessary cast that

gcc -Wbad-function-cast diagnoses.

13 years ago* image.c (xpm_load): Redo to avoid "discards qualifiers" gcc warning.
Paul Eggert [Fri, 11 Mar 2011 07:54:50 +0000 (23:54 -0800)]
* image.c (xpm_load): Redo to avoid "discards qualifiers" gcc warning.

13 years ago* image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros.
Paul Eggert [Fri, 11 Mar 2011 07:50:08 +0000 (23:50 -0800)]
* image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros.

13 years ago* image.c (clear_image_cache): Now static.
Paul Eggert [Fri, 11 Mar 2011 07:42:54 +0000 (23:42 -0800)]
* image.c (clear_image_cache): Now static.

2011-03-11  Paul Eggert  <eggert@cs.ucla.edu>

13 years agoFix some minor problems found by GCC 4.5.2's static checks.
Paul Eggert [Fri, 11 Mar 2011 07:24:21 +0000 (23:24 -0800)]
Fix some minor problems found by GCC 4.5.2's static checks.

13 years agoMerge: Minor changes for problems found by GCC 4.5.2's static checks.
Paul Eggert [Fri, 11 Mar 2011 06:57:50 +0000 (22:57 -0800)]
Merge: Minor changes for problems found by GCC 4.5.2's static checks.

13 years agoAdd bug#s.
Paul Eggert [Fri, 11 Mar 2011 06:41:50 +0000 (22:41 -0800)]
Add bug#s.

13 years ago* fringe.c: Add comment.
Paul Eggert [Fri, 11 Mar 2011 06:23:26 +0000 (22:23 -0800)]
* fringe.c: Add comment.

13 years ago* fringe.c (update_window_fringes): Mark locals as initialized
Paul Eggert [Fri, 11 Mar 2011 06:06:36 +0000 (22:06 -0800)]
* fringe.c (update_window_fringes): Mark locals as initialized

13 years ago* src/fringe.c (update_window_fringes): Remove unused variables.
YAMAMOTO Mitsuharu [Fri, 11 Mar 2011 03:56:20 +0000 (12:56 +0900)]
* src/fringe.c (update_window_fringes): Remove unused variables.

13 years ago* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
YAMAMOTO Mitsuharu [Fri, 11 Mar 2011 01:43:49 +0000 (10:43 +0900)]
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)

13 years agolisp/help-fns.el (describe-variable): Don't complete keywords.
Juanma Barranquero [Fri, 11 Mar 2011 00:33:57 +0000 (01:33 +0100)]
lisp/help-fns.el (describe-variable): Don't complete keywords.

13 years ago* .gdbinit (pwinx, xbuffer): Fix access to buffer name.
Andreas Schwab [Fri, 11 Mar 2011 00:19:57 +0000 (01:19 +0100)]
* .gdbinit (pwinx, xbuffer): Fix access to buffer name.

13 years agoFix package.el handling of version numbers like 1.0pre6.
Chong Yidong [Thu, 10 Mar 2011 23:40:46 +0000 (18:40 -0500)]
Fix package.el handling of version numbers like 1.0pre6.

* lisp/emacs-lisp/package.el (package-version-join): Impose a standard
string representation for pre/alpha/beta version lists.
(package-unpack-single): Standardize the directory name by passing
it through package-version-join.

13 years agoFix package-strip-rcs-id to be more robust.
Chong Yidong [Thu, 10 Mar 2011 21:51:26 +0000 (16:51 -0500)]
Fix package-strip-rcs-id to be more robust.

See http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00396.html

* lisp/emacs-lisp/package.el (package-strip-rcs-id): Accept any version
string that does not signal an error in version-to-list.

13 years ago* fringe.c (update_window_fringes): Initialize top_row_ends_at_zv_p and
Paul Eggert [Thu, 10 Mar 2011 21:46:21 +0000 (13:46 -0800)]
* fringe.c (update_window_fringes): Initialize top_row_ends_at_zv_p and

bot_row_ends_at_zv_p, with a FIXME comment.

13 years agoauth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
Teodor Zlatanov [Thu, 10 Mar 2011 13:32:49 +0000 (13:32 +0000)]
auth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
 (auth-source-pick-first-password): New convenience function.

13 years ago* simple.el (delete-trailing-whitespace): Return nil for the
Michael Albinus [Thu, 10 Mar 2011 11:28:33 +0000 (12:28 +0100)]
* simple.el (delete-trailing-whitespace): Return nil for the
benefit of `write-file-functions'.