1. 27 Dec, 2010 6 commits
    • Andreas Schwab's avatar
      Remove unused declarations · 2f7c71a1
      Andreas Schwab authored
      * src/buffer.c: Remove unused declarations.
      * src/buffer.h: Likewise.
      * src/charset.h: Likewise.
      * src/composite.h: Likewise.
      * src/dispextern.h: Likewise.
      * src/dispnew.c: Likewise.
      * src/font.h: Likewise.
      * src/fontset.c: Likewise.
      * src/fontset.h: Likewise.
      * src/intervals.h: Likewise.
      * src/keymap.h: Likewise.
      * src/lisp.h: Likewise.
      * src/syntax.c: Likewise.
      * src/syntax.h: Likewise.
      * src/termhooks.h: Likewise.
      * src/window.h: Likewise.
      * src/xsettings.h: Likewise.
      * src/xterm.c: Likewise.
      * src/xterm.h: Likewise.
      * src/chartab.c (sub_char_table_ref): Make static.
      * src/dispnew.c (line_hash_code, required_matrix_height)
      (required_matrix_width): Likewise.
      * src/eval.c (interactive_p, apply_lambda): Likewise.
      * src/fns.c (string_make_multibyte, copy_hash_table, hash_clear):
      * src/font.c (QCadstyle, QCregistry, font_make_spec)
      (font_parse_fcname, font_encode_char, font_at): Likewise.
      * src/frame.c (x_frame_get_arg): Likewise.
      * src/keymap.c (get_keyelt): Likewise.
      * src/lread.c (read_filtered_event): Likewise.
      * src/print.c (write_string_1): Likewise.
      * src/window.c (delete_window, window_height, window_width)
      (foreach_window): Likewise.
      * src/xrdb.c (x_get_customization_string, x_get_resource): Likewise.
      * src/xterm.c (x_scroll_bar_clear, xembed_set_info)
      (xembed_send_message): Likewise.
      * src/eval.c (run_hook_list_with_args): Delete.
      * src/font.c (font_unparse_gtkname, font_update_lface): Likewise.
      * src/terminal.c (get_terminal_param): Likewise.
      * src/xterm.c (x_alloc_lighter_color_for_widget): Likewise.
    • Andreas Schwab's avatar
      * scroll.c: Fix comment. · c4b607ed
      Andreas Schwab authored
    • Andreas Schwab's avatar
      Protoize · 59fc5cf9
      Andreas Schwab authored
      * dispnew.c (add_window_display_history)
      (add_frame_display_history, glyph_row_slice_p)
      (find_glyph_row_slice, flush_stdout)
      (check_matrix_pointer_lossage, matrix_row)
      (check_matrix_invariants, check_window_matrix_pointers)
      (check_matrix_pointers, window_to_frame_vpos)
      (window_to_frame_hpos): Prototize.
      * textprop.c (erase_properties): Likewise.
    • Michael Albinus's avatar
      * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based · fe99f704
      Michael Albinus authored
      methods, otherwise ~/.ssh/config would be ignored.
    • Daiki Ueno's avatar
      Make GPG-sign-by-sender code robuster. · fdee7cc1
      Daiki Ueno authored
      * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
      case when sender is not given.
    • Stefan Monnier's avatar
      * admin/bzrmerge.el: New file to help merge branches while skipping · 9ebea0e7
      Stefan Monnier authored
      some revisions (e.g. from emacs-23 to trunk).
  2. 26 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/rx.el: Make it a superset of sregex. · 723ee192
      Stefan Monnier authored
      (rx-constituents): Add `any => "."', mark `repeat' as taking any number
      of args, add `regex' alias.
      (rx-info): Add arg to distinguish head and standalone forms.
      (rx-check, rx-form): Pass the corresponding arg.
      (rx-**): Simplify.
      (rx-repeat): Make it work for any number of args.
      (rx-syntax): Make it accept syntax chars as is.
      * lisp/obsolete/sregex.el: Move from emacs-lisp/.
      * lisp/emacs-lisp/re-builder.el: Remove sregex support.
      * lisp/emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
  3. 25 Dec, 2010 1 commit
  4. 24 Dec, 2010 1 commit
  5. 23 Dec, 2010 2 commits
    • Julien Danjou's avatar
      gnus-gravatar.el (gnus-gravatar-transform-address): Set... · ade9369c
      Julien Danjou authored
      gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar.
    • Stefan Monnier's avatar
      Fix up last change. · 17870c01
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
      * src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
      (print_preprocess): Fix handling of uninterned symbols in last change.
  6. 22 Dec, 2010 3 commits
  7. 21 Dec, 2010 5 commits
  8. 20 Dec, 2010 7 commits
  9. 19 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Minor clean up to silence some gcc warnings. · ef1b0ba7
      Stefan Monnier authored
      * src/window.c (Fset_window_buffer):
      * src/xterm.c (x_set_frame_alpha): Restructure code to silence
      compiler warning.
      (handle_one_xevent): Remove unused var `p'.
      (do_ewmh_fullscreen): Remove unused var `lval'.
      (xembed_set_info): Remove unused var `atom'.
      * src/textprop.c (Fremove_list_of_text_properties): Add braces to silence
      compiler warning.
      * src/fontset.c (fontset_id_valid_p, dump_fontset):
      * src/ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
      * src/eval.c (Feval, Ffuncall): Avoid unneeded gotos.
      * src/dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
      label only when it's used.
      * src/image.c (x_create_bitmap_from_xpm_data):
      * src/dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
      its callers.
      * src/coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
      (DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
      (decode_coding_emacs_mule): Remove unused label `retry'.
      (detect_eol): Add parens to silence compiler warning.
      * src/alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
      it's used to silence the compiler.
      (make_number): Modernize k&r declaration.
      (mark_char_table): Add parens to silence compiler warning.
  10. 18 Dec, 2010 2 commits
  11. 17 Dec, 2010 5 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 70041e9a
      Gnus developers authored
      nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
      gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
       (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
      gravatar.el (gravatar-retrieve-synchronously): New function.
       (gravatar-get-data): Make more robust.
      gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
      nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
      nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
      gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
      gnus-group.el (gnus-group-delete-articles): New command.
    • Ken Brown's avatar
    • Ryan Twitchell's avatar
      Ask for confirmation in ido-file-internal (Bug#1238). · 395542c6
      Ryan Twitchell authored
      * ido.el (ido-file-internal): Ask for confirmation before
      overwriting an existing file (Bug#1238).
    • Chong Yidong's avatar
      Support for menu separators in the GTK tool-bar. · 4039c786
      Chong Yidong authored
      * src/gtkutil.c (XG_BIN_CHILD): New macro.
      (xg_get_menu_item_label, xg_update_menubar)
      (xg_update_menu_item, xg_tool_bar_menu_proxy)
      (xg_show_toolbar_item, update_frame_tool_bar): Use it.
      (separator_names, xg_separator_p): Move to keyboard.c.
      (create_menus, xg_update_submenu, update_frame_tool_bar): Use
      * src/keyboard.c (parse_tool_bar_item): Allow menu separators in
      tool-bar maps.
      (menu_separator_name_p): New function, from gtkutil.c.
      (separator_names): Move from gtkutil.c.
      * src/keyboard.h (menu_separator_name_p): Add prototype.
      * src/nsmenu.m (name_is_separator): Function deleted.
      (addItemWithWidgetValue): Use menu_separator_name_p.
      * src/w32menu.c (name_is_separator): Function deleted.
      (add_menu_item): Use menu_separator_name_p.
    • Daiki Ueno's avatar
      Mention epa-file-select-keys in epa.texi. · 8b358e90
      Daiki Ueno authored
  12. 16 Dec, 2010 6 commits
    • Ken Manheimer's avatar
      Synopsis: Migrate allout encryption provisions from pgg library, which is · 9efd720d
      Ken Manheimer authored
      obsolete, to epg library, which replaces pgg.
      Due to the underlying GnuPG V2 restrictions on external handling of
      passphrases (or epg's restrictions when working with GnuPG v2), we are
      dropping allout's symmetric encryption passphrase hinting and verification.
      This has the advantage that no emacs code has access to the passphrase,
      leaving all passphrase handling in GnuPG, which is much more secure.  This,
      together with the reduction in allout code complexity and logistical
      complications the user would have in arranging to use GnuPG v1, requires
      dropping these features.
      Keypair encryption gains features, with adoption of respect for epa-file's
      'epa-file-encrypt-to'.  This means that allout outlines can be associated
      with recipients, and encryptions by default will be targeted to those
      The default encryption mode (whether to epa-file-encrypt-to recipients, if
      any, or symmetric mode) is overridden by providing a universal argument
      greater than 1 to the outline entry encryption command,
      'allout-toggle-current-subtree-encryption'.  The user is then prompted to
      select keypair identities from their list of known GnuPG keypairs.  If they
      don't select any, then symmetric encryption is done.  Otherwise, the
      selected keypair identities are targeted.  If the universal argument is
      greater than 4 then the selected recipients (or none, if none were
      selected) are associated with the outline using a file local variable, as
      default recipients for subsequent encryptions.
      This is a big merge from a private branch.
      Code details:
      allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
      policy and other changes.
      Change fetch-pass to keymode-cue, for simpler universal argument
      (allout-toggle-subtree-encryption):  Adjust docstring to describe
      changed encryption provisions.
      Change fetch-pass to keymode-cue, for simpler universal argument
      Remove provisions for handling key type and identity - they'll all be
      within allout-encrypt-string or epg/epg or even contained all the way in
      (allout-encrypt-string): Include keymode-cue, for optionally prompting for
      keypair recipients (universal argument > 1) and, in addition, associating the
      specified recipients with the outline (universal argument > 4) using a file
      local variable setting for 'epa-file-encrypt-to'.
      Require epa, for recipients handling.
      Change how regexp filtering elements are named.
      Describe the problem with caching of incorrect symmetric-decryption keys.
      Use the epa-passphrase-callback-function, in case the user is using GnuPG
      Support saving of the selected keypair recipients when invoked with a
      keymode-cue > 4.
      Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
      Require 'epa.
      Establish epg-context with armoring and default epg-protocol.
      Remove all passphrase cache, verification, and hinting code.
      (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
      No longer used, delete.
      (allout-mode): Adjust docstring to describe changed encryption provisions.
      Describe the problem with caching of incorrect symmetric-decryption keys.
      (allout-obtain-passphrase, allout-epg-passphrase-callback-function,
      allout-make-passphrase-state, allout-passphrase-state-passphrase,
      allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids,
      allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
      Obsolete, remove.
    • Lars Magne Ingebrigtsen's avatar
      nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really... · 59a7e27d
      Lars Magne Ingebrigtsen authored
      nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.
    • Ken Manheimer's avatar
      (allout-mode), (allout-encrypt-string): Describe the problem with caching · 0281bf13
      Ken Manheimer authored
      of incorrect symmetric-decryption keys.
    • Ken Manheimer's avatar
      last pgg adjustment before migrating to epg. · da420726
      Ken Manheimer authored
      (allout-encrypted-key-info): replace pgg-gpg-symmetric-key-p with explicit
      examination of the parsed armoring structure.  pgg-gpg-symmetric-key-p
      seems to have drifted, not recognizing parsed symmetric keys as being
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 549c9aed
      Gnus developers authored
      nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line.
      nnimap.el (nnimap-quirk): New function.
       (nnimap-retrieve-group-data-early): Use it.
       (nnimap-quirks): New alist.
      gnus.texi (Foreign Groups): Added clarification of foreign groups.
      gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends.
      gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed.
       (gnus-group-yank-group): Ditto.
      gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
      nnir.el: Improve customizations.
      gnus.texi (Archived Messages): Removed outdated comment and text.
      nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function.
       (nnfolder-request-expire-articles): Save all the buffers after doing expiry.
      nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups.
      gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits.
      gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
      auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list.
       (auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'.
    • Jan Djärv's avatar
      Handle invisible cursor (bg same as cursor color) for Nextstep. · aa936e8e
      Jan Djärv authored
      * nsterm.m (ns_draw_window_cursor): If the cursor color is the
      same as the background, use the face forground as cursor.