1. 16 Feb, 2011 3 commits
  2. 15 Feb, 2011 4 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 5415d076
      Gnus developers authored
      auth.texi (Help for users): Login collection is "Login" and not "login".
      gnus-sum.el (gnus-propagate-marks): Default to nil.
       (gnus-summary-exit): Kill the correct article buffer on exit from a `C-d' group.
      gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks.
      gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf before killing the buffers so that a non-full window conf gets handled correctly.
       (gnus-summary-exit): Ditto.
       (gnus-summary-read-group-1): Ditto.
      nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part async code again so that we can debug it properly.
      message.el (message-reply): Take an optional switch-buffer parameter so that Gnus window confs are respected better.
      auth-source.el (auth-source-secrets-search): Use `delete-dups', `append mapcar', and `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
       (auth-sources, auth-source-backend-parse, auth-source-secrets-search): Login collection is "Login" and not "login".
      gnus-art.el (article-update-date-lapsed): Don't bug out when updating multiple headers.
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      Merge from gnulib. · bb55f713
      Paul Eggert authored
    • Eli Zaretskii's avatar
      Fix the NS build due to introduction of B_. · 8017fd6b
      Eli Zaretskii authored
       nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
  3. 14 Feb, 2011 17 commits
    • Michael Welsh Duggan's avatar
      Fix use of dtoastr from gnulib. · 75b43359
      Michael Welsh Duggan authored
      * src/print.c (float_to_string): Ensure that a decimal point is
      printed if using dtoastr (Bug#8033).
    • Chong Yidong's avatar
      Convert test/bytecomp-testsuite.el to ERT format. · aa0935b9
      Chong Yidong authored
      * automated/bytecomp-tests.el: Move from bytecomp-testsuite.el;
      convert to ERT format.
    • Eli Zaretskii's avatar
      Fix the MS-DOS build due to introduction of B_. · ef72f149
      Eli Zaretskii authored
       msdos.c (IT_frame_up_to_date):
       s/msdos.h (MODE_LINE_BINARY_TEXT): Use B_ for the MS-DOS build.
    • Eli Zaretskii's avatar
      Fix the MS-Windows build due to introduction of B_. · fc3ca113
      Eli Zaretskii authored
       dired.c (directory_files_internal):
       fileio.c (Finsert_file_contents):
       insdel.c (prepare_to_modify_buffer):
       xdisp.c (pos_visible_p):
       s/ms-w32.h (MODE_LINE_BINARY_TEXT):
       w32fns.c (Fw32_shell_execute, Fx_show_tip, x_create_tip_frame):
       Use B_ for the MS-Windows build.
       From Tom Tromey:
       buffer.c (init_buffer_once, syms_of_buffer): Use B_ in DOS_NT case.
    • Jan Djärv's avatar
      Use *font for Xft font names for Lucid menus and dialogs. · 3928f2b6
      Jan Djärv authored
      * doc/emacs/xresources.texi (X Resources): Remove *faceName and replace it with
      *font for Lucid.
      * lwlib/lwlib-Xaw.c (make_dialog): Use *font even for Xft fonts.  Try
      XLoadQueryFont first and then Xft fonts.
      * lwlib/xlwmenu.c (xlwmenu_default_font): Remove, does not work for
      (xlwMenuResources): Remove XtNfaceName and XtNdefaultFace.
      Make XtNFont a String resource.
      (make_windows_if_needed): Call XFlush so later changes are seen by the
      X server.
      (remap_menubar): Use XtMoveWidget and then
      XtResizeWidget/XtResizeWindow after XtPopup.  Works better with
      (make_drawing_gcs): Check if mw->menu.font is set.
      (getDefaultXftFont): New function.
      (openXftFont): faceName is now fontName.  Try XLoadQueryFont first
      and then XftFontOpenName.
      (XlwMenuInitialize): Initialize mw->menu.font with XLoadQueryFont.
      (XlwMenuClassInitialize): Remove initialization of
      (fontname_changed): Renamed from facename_changed.
      (XlwMenuSetValues): Use facename_changed.
      * lwlib/xlwmenu.h: Remove Xt[CN]faceName and Xt[NC]defaultFace.
      * lwlib/xlwmenuP.h (_XlwMenu_part): Remove faceName.  Add fontName.
      * src/xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
      (apply_systemfont_to_menu): Set resources *menubar*font and
      *popup*font.  Remove defflt.
      (set_frame_menubar, create_and_show_popup_menu): Call
      apply_systemfont_to_menu before lw_create_widget.
      * src/xrdb.c (x_load_resources): For LUCID and XFT, don't put a
      resource that specifies helvetica for menus and dialogs.
    • Tom Tromey's avatar
      * keyboard.h: Remove obsolete comment. · 4bb81cc2
      Tom Tromey authored
    • Tom Tromey's avatar
      Hide implementation of `struct buffer' · 5d8ea120
      Tom Tromey authored
      	* composite.c (fill_gstring_header)
      	(composition_compute_stop_pos, composition_adjust_point)
      	(Ffind_composition_internal): Use B_.
      	* intervals.c (set_point_both, get_local_map): Use B_.
      	* callproc.c (Fcall_process, Fcall_process_region): Use B_.
      	* process.c (get_process, list_processes_1, Fstart_process)
      	(Fmake_serial_process, Fmake_network_process)
      	(read_process_output, send_process, exec_sentinel)
      	(status_notify, setup_process_coding_systems): Use B_.
      	* bytecode.c (Fbyte_code): Use B_.
      	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
      	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
      	(skip_syntaxes, scan_lists): Use B_.
      	* lread.c (readchar, unreadchar, openp, readevalloop)
      	(Feval_buffer, Feval_region): Use B_.
      	* print.c (printchar, strout, print_string, PRINTDECLARE)
      	(PRINTPREPARE, PRINTFINISH, temp_output_buffer_setup)
      	(print_object): Use B_.
      	* font.c (font_at): Use B_.
      	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5): Use
      	* callint.c (check_mark, Fcall_interactively): Use B_.
      	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
      	(save_excursion_restore, Fprevious_char, Fchar_before)
      	(general_insert_function, Finsert_char, Finsert_byte)
      	(make_buffer_string_both, Finsert_buffer_substring)
      	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
      	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
      	(Ftranslate_region_internal, save_restriction_restore)
      	(Fchar_equal): Use B_.
      	* data.c (swap_in_symval_forwarding, set_internal)
      	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
      	Use B_.
      	* undo.c (record_point, record_insert, record_delete)
      	(record_marker_adjustment, record_first_change)
      	(record_property_change, Fundo_boundary, truncate_undo_list)
      	(Fprimitive_undo): Use B_.
      	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
      	(string_match_1, fast_looking_at, newline_cache_on_off)
      	(search_command, search_buffer, simple_search, boyer_moore)
      	(Freplace_match): Use B_.
      	* indent.c (buffer_display_table, recompute_width_table)
      	(width_run_cache_on_off, current_column, scan_for_column)
      	(Findent_to, position_indentation, compute_motion, vmotion): Use
      	* casefiddle.c (casify_object, casify_region): Use B_.
      	* casetab.c (Fcurrent_case_table, set_case_table): Use B_.
      	* cmds.c (Fself_insert_command, internal_self_insert): Use B_.
      	* fileio.c (Fexpand_file_name, Ffile_directory_p)
      	(Ffile_regular_p, Ffile_selinux_context)
      	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
      	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
      	(Finsert_file_contents, choose_write_coding_system)
      	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
      	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
      	(Fdo_auto_save, Fset_buffer_auto_saved): Use B_.
      	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer): Use B_.
      	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
      	(set_marker_both, set_marker_restricted_both, unchain_marker): Use
      	* insdel.c (check_markers, insert_char, insert_1_both)
      	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
      	(adjust_after_replace, replace_range, del_range_2)
      	(modify_region, prepare_to_modify_buffer)
      	(Fcombine_after_change_execute): Use B_.
      	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
      	(unlock_buffer): Use B_.
      	* keymap.c (Flocal_key_binding, Fuse_local_map)
      	(Fcurrent_local_map, push_key_description)
      	(Fdescribe_buffer_bindings): Use B_.
      	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
      	(read_key_sequence): Use B_.
      	* fringe.c (get_logical_cursor_bitmap)
      	(get_logical_fringe_bitmap, update_window_fringes): Use B_.
      	* xfns.c (x_create_tip_frame, Fx_show_tip): Use B_.
      	* xfaces.c (compute_char_face): Use B_.
      	* character.c (chars_in_text, Fget_byte): Use B_.
      	* category.c (check_category_table, Fcategory_table)
      	(Fset_category_table, char_category_set): Use B_.
      	* coding.c (decode_coding, encode_coding)
      	(make_conversion_work_buffer, decode_coding_gap)
      	(decode_coding_object, encode_coding_object)
      	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
      	(Funencodable_char_position, Fcheck_coding_systems_region): Use
      	* charset.c (Ffind_charset_region): Use B_.
      	* window.c (window_display_table, unshow_buffer, window_loop)
      	(window_min_size_2, set_window_buffer, Fset_window_buffer)
      	(select_window, Fforce_window_update, temp_output_buffer_show)
      	(Fset_window_configuration, save_window_save): Use B_.
      	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
      	(message_dolog, update_echo_area, ensure_echo_area_buffers)
      	(with_echo_area_buffer, setup_echo_area_for_printing)
      	(set_message_1, update_menu_bar, update_tool_bar)
      	(text_outside_line_unchanged_p, redisplay_internal)
      	(try_scrolling, try_cursor_movement, redisplay_window)
      	(try_window_reusing_current_matrix, row_containing_pos)
      	(try_window_id, get_overlay_arrow_glyph_row, display_line)
      	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
      	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
      	(get_window_cursor_type, note_mouse_highlight): Use B_.
      	* frame.c (make_frame_visible_1): Use B_.
      	* dispnew.c (Fframe_or_buffer_changed_p): Use B_.
      	* dispextern.h (WINDOW_WANTS_HEADER_LINE_P)
      	* syntax.h (Vstandard_syntax_table): Update.
      	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Update.
      	* character.h (FETCH_CHAR_ADVANCE): Update.
      	* category.h (Vstandard_category_table): Update.
      	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Update for change to field
      	* buffer.c (swapfield_): New macro.
      	(Fbuffer_swap_text): Use swapfield_ where appropriate.
      	(Fbuffer_live_p, Fget_file_buffer, get_truename_buffer)
      	(Fget_buffer_create, clone_per_buffer_values)
      	(Fmake_indirect_buffer, reset_buffer)
      	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
      	(Fbuffer_local_value, buffer_lisp_local_variables)
      	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
      	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
      	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
      	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
      	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
      	(Fbuffer_swap_text, Fset_buffer_multibyte)
      	(swap_out_buffer_local_variables, record_overlay_string)
      	(overlay_strings, init_buffer_once, init_buffer, syms_of_buffer):
      	Use B_.
      	* buffer.h (struct buffer): Rename all Lisp_Object fields.
      	(BUFFER_INTERNAL_FIELD, B_): New macro.
    • Jan Djärv's avatar
    • Ted Zlatanov's avatar
      auth-source.el (auth-source-backend-parse-parameters): Don't rely on... · e45de620
      Ted Zlatanov authored
      auth-source.el (auth-source-backend-parse-parameters): Don't rely on `plist-get' to accept non-list parameters (XEmacs issue).  Fix docstring.
    • Lars Ingebrigtsen's avatar
      nnimap.el (nnimap-inhibit-logging): New variable. · d5e9a4e9
      Lars Ingebrigtsen authored
       (nnimap-log-command): Don't log login commands.
      auth-source.el (auth-source-netrc-search): The asserts seem to want to have more parameters.
      nnimap.el (nnimap-send-command): Mark the command time for each command, so that we don't get NOOPs stepping on our toes.
      gnus-art.el (article-date-ut): Get the date from the Date header on `t'.
    • Glenn Morris's avatar
    • Chong Yidong's avatar
      Add Log View toggle and log format customization for Git and Hg. · 33f6cf7b
      Chong Yidong authored
      * lisp/vc/vc-git.el (vc-git-root-log-format): New option for
      customizing log format.
      (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
      (vc-git-log-view-mode): Use it.
      (vc-git-expanded-log-entry): New function.
      (vc-git-log-view-mode): Use it.  Truncate lines in root log.
      * lisp/vc/vc-hg.el (vc-hg-root-log-template): New option for
      customizing log format.
      (vc-hg-print-log): Use it.
      (vc-hg-expanded-log-entry): New function.
      (vc-hg-log-view-mode): Use vc-hg-root-log-template and
      vc-hg-expanded-log-entry.  Truncate lines in root log.
      * lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
      * lisp/vc/log-view.el (log-view-mode-menu): Add
    • Katsumi Yamaoka's avatar
    • Glenn Morris's avatar
      dired-x.el misc cleanup. · 461b69ae
      Glenn Morris authored
      * lisp/dired-x.el: Simplify commentary.
      Don't require man when compiling.
      (dired-omit-extensions, dired-local-variables-file)
      (dired-x-hands-off-my-keys): Make them defcustoms.
      (Man-support-local-filenames, Man-getpage-in-background): Declare.
      (vm-visit-folder): Declare rather than defining.
      (dired-x-help-address, dired-x-variable-list): Remove.
      (dired-x-submit-report): Make it an obsolete alias.
    • Katsumi Yamaoka's avatar
      Fix last change. · 67186ae2
      Katsumi Yamaoka authored
    • Ted Zlatanov's avatar
      net/imap.el: Bring it back. · b2108a36
      Ted Zlatanov authored
    • Juanma Barranquero's avatar
  4. 13 Feb, 2011 16 commits
    • Gnus developers's avatar
      gnus-delay.el (gnus-delay-article) Fix number of seconds per day. Improve prompt. · 12295c5d
      Gnus developers authored
      gnus-art.el (gnus-article-mode-line-format): Remove the article washing status from the default format.  It isn't very informative.
    • Alan Mackenzie's avatar
      Proper fix for CC mode Bug#7722. · abfc152b
      Alan Mackenzie authored
      * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
      narrow-to-region call that cuts context off the end (Bug#7722).
      * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Refactor
      nested if-forms with a simple cond.
      (c-forward-<>-arglist): Revert 2011-01-31 change.
    • Chong Yidong's avatar
      Bind RET in Log View mode to a command that toggles a more detailed display. · d4eb88c7
      Chong Yidong authored
      * lisp/vc/log-view.el: New command log-view-toggle-entry-display for
      toggling log entries between concise and detailed forms.
      (log-view-toggle-entry-display): New command.
      (log-view-mode-map): Bind RET to it.
      (log-view-expanded-log-entry-function): New variable.
      (log-view-current-entry, log-view-inside-comment-p)
      (log-view-current-tag): New functions.
      (log-view-toggle-mark-entry): Use log-view-current-entry and
      log-view-end-of-defun instead of searching directly with
      (log-view-end-of-defun): Likewise.  Add optional ARG for
      compatibility with end-of-defun.
      (log-view-end-of-defun): Ignore comments and VC buttons.
      * lisp/vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
      (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
    • Andreas Schwab's avatar
    • Gnus developers's avatar
      net/imap.el: Remove file. All the functionality is in nnimap.el. · 114fe546
      Gnus developers authored
      nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix Gcc processing on imap.
    • Ted Zlatanov's avatar
      Remove imap-hash.el now that tramp-imap.el is gone. · 2609a08e
      Ted Zlatanov authored
      * net/imap-hash.el: Remove file.
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      * Makefile.in (TRAMP_SRC): Remove tramp-imap.el. · 7a6ebb1a
      Michael Albinus authored
      * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
      * net/tramp-imap.el: Remove file.
    • Michael Albinus's avatar
      * tramp.texi (History): Remove IMAP support. · 14029d4b
      Michael Albinus authored
      (External methods, Frequently Asked Questions): Remove `imap' and
      `imaps' methods.
      (Password handling): Remove IMAP entries for ~/.authinfo.gpg.
      * trampver.texi: Remove default value of `emacsimap'.
    • Jan D's avatar
      * callproc.c (Fcall_process): · 2f9a22e2
      Jan D authored
      * process.c (create_process): Replace Gtk with GConf in SIGPIPE
    • Chong Yidong's avatar
      Use simple buttons, instead of widget buttons, in vc-log. · 75d4dcc9
      Chong Yidong authored
      * lisp/vc/vc.el (vc-print-log-setup-buttons): Instead of using the
      widget library for buttons, just use button.el.
      * lisp/vc/log-view.el (log-view-mode-map): Don't inherit from
    • Glenn Morris's avatar
      Add @top to some misc/*.texi files. · 8a36c07f
      Glenn Morris authored
      * ada-mode.texi, dired-x.texi, ebrowse.texi, ediff.texi, eudc.texi:
      * idlwave.texi, reftex.texi, sc.texi, speedbar.texi: Add @top.
    • Glenn Morris's avatar
      lwlib trivia. · c9a6cefc
      Glenn Morris authored
      * lwlib/lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/,
      nor set in config.h).
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Fix date of merged ChangeLog entries. · 3c65e88d
      Glenn Morris authored
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · b8e0f0cd
      Gnus developers authored
      auth.texi (Overview, Help for users, Help for developers): Update docs.
       (Help for users): Talk about spaces.
      sieve-manage.el: Autoload `auth-source-search'.
       (sieve-sasl-auth): Use it.
      nnimap.el: Autoload `auth-source-forget+'.
       (nnimap-open-connection-1): Use it if the connection fails.
      auth-source.el: Require `password-cache'.
       (auth-source-hide-passwords, auth-source-cache): Remove and mark obsolete.
       (auth-source-magic): Marker for `password-cache' keys.
       (auth-source-do-cache): Update docstring.
       (auth-source-search): Use and check cache.
       (auth-source-forget-all-cached, auth-source-remember)
       (auth-source-recall, auth-source-forget, auth-source-forget+)
       (auth-source-specmatchp): Caching support functions.
       (auth-source-forget-user-or-password, auth-source-forget-all-cached): Remove and obsolete.
       (auth-source-user-or-password): Remove caching to further discourage using it.  Always hide passwords.
      password-cache.el (password-cache-remove): Accept secrets that are not strings.
      mail-source.el: Autoload `auth-source-search'.
       (mail-source-keyword-map): Note order matters.
       (mail-source-set-1): Get all the mail-source source values and defaults and search auth-source on those if needed.  This can all probably be simplified.
      nnimap.el: Autoload `auth-source-search'.
       (nnimap-credentials): Use it.
       (nnimap-open-connection-1): Ask for the virtual server and physical address in one shot.
      nntp.el: Autoload `auth-source-search'.
       (nntp-send-authinfo): Use it.  Note TODO.
      auth-source.el (auth-source-secrets-search, auth-source-user-or-password): Use `append' instead of `nconc'.
       (auth-source-user-or-password): Build return list better and protect against nil :secret.
      auth-source.el (top): Require 'eieio unconditionally.  Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
       (auth-source-secrets-search): Limit search when `max' is greater than number of results.
      auth-source.el (auth-source-secrets-search): Add examples.
      auth-source.el (auth-sources): Allow for simpler defaults for Secrets API with a string "secrets:collection-name" and with 'default.
       (auth-source-backend-parse): Parse "secrets:collection-name" and 'default.  Recurse on parses instead of repeating code.  Use the Secrets API is the source is not nil and 'ignore otherwise.  Emit a message when ignoring a source.
       (auth-source-search): List ignored search keys at the top level.
       (auth-source-netrc-create): Use `case' instead of `cond'.
       (auth-source-secrets-search): Created with TODOs.
       (auth-source-secrets-create): Created with TODOs.
       (auth-source-retrieve, auth-source-create, auth-source-delete)
       (auth-source-protocol-defaults, auth-source-user-or-password-imap)
       (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
       (auth-source-user-or-password-smtp): Removed.
       (auth-source-user-or-password): Deprecated and modified to be a wrapper around `auth-source-search'.  Not tested thoroughly.
      auth-source.el: Bring in assoc and eioeio libraries.
       (secrets-enabled): New variable to track the status of the Secrets API.
       (auth-source-backend): New EIOEIO class to represent a backend.
       (auth-source-creation-defaults): New variable to set prompt defaults during token creation (see the `auth-source-search' docstring for details).
       (auth-sources): Simplify to allow a simple string as a netrc backend spec.
       (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
       (auth-source-backend-parse-parameters): Fill in the backend parameters.
       (auth-source-search): Main auth-source API entry point.
       (auth-source-delete): Wrapper around `auth-source-search' for deletion.
       (auth-source-search-collection): Helper function for searching.
       (auth-source-netrc-parse, auth-source-netrc-normalize)
       (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.  Supports search, create, and delete.
       (auth-source-secrets-search, auth-source-secrets-create): Secrets API backend stubs.
      (auth-source-user-or-password): Call `auth-source-search' but it's not ready yet.