1. 20 Dec, 2010 2 commits
    • Chong Yidong's avatar
      Fix 2010-11-22 change to diff.el. · f48fdaad
      Chong Yidong authored
      * vc/diff.el (diff-better-file-name): Function deleted.
      abbreviating file names causes problems with shell-quote-argument.
      (diff-no-select): Just use expand-file-name.
    • Chong Yidong's avatar
      Implement tool-bar separators for non-GTK tool-bars. · 94975270
      Chong Yidong authored
      * lisp/tool-bar.el (tool-bar--image-expression): New function.
      (tool-bar-local-item, tool-bar--image-exp): Use it.
      (tool-bar-setup): Initialize tool-bar-separator-image-expression.
      Use :enable instead of :visible to avoid changing the tool-bar
      configuration unnecessarily.
      * src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
      (parse_tool_bar_item): Use it to obtain image separators for
      displays not using native tool-bar separators.
      * src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
      specially, since this is now done in parse_tool_bar_item.
      * lisp/info.el (info-tool-bar-map): Add separators.
  2. 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.
  3. 18 Dec, 2010 2 commits
  4. 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
  5. 16 Dec, 2010 13 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.
    • Ken Manheimer's avatar
      respect epa-file-encrypt-to, defaulting to it when encrypting, if set, and · 075746e2
      Ken Manheimer authored
      adjusting the value (as a file local variable and an active buffer setting)
      with the result of epa-select-keys.
      note the problem with caching of incorrect symmetric decryption keys.
      (allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
      policy change.
      (allout-encrypt-string): keymod-cue rather than keypair-mode, which is
      interpreted here.  Use the epa-passphrase-callback-function, in case the
      user is using GnuPG v1.  Support saving of the selected keypair recipients
      when invoked with a keymode-cue > 4.
    • Miles Bader's avatar
      url-cookie.el: Require 'cl when compiling · 3cbc281e
      Miles Bader authored
    • Daiki Ueno's avatar
      Extend epa-file-select-keys to allow users to inhibit key selection. · 33088bed
      Daiki Ueno authored
      * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
      key selection prompt; make 'silent as default (Bug#7487).
    • Chong Yidong's avatar
    • Leo Liu's avatar
    • Chong Yidong's avatar
    • Katsumi Yamaoka's avatar
      shr.el (shr-insert): Set shr-start after deleting trailing space; don't delete... · 48ba8195
      Katsumi Yamaoka authored
      shr.el (shr-insert): Set shr-start after deleting trailing space; don't delete it within indentation.
  6. 15 Dec, 2010 4 commits
    • Gnus developers's avatar
      gnus-agent.el: Indent. · 156e3f9c
      Gnus developers authored
      gnus.texi: Fix a couple nnir -> @code{nnir} things.
      nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the QRESYNC command by deleting a superfluous space which broke Cyrus servers.  This change will break other servers that are buggy the other way around.
      gnus.texi (The hyrex Engine): Say that this engine as obsolete.
    • Glenn Morris's avatar
      Remove code and comments related to lib-src/fns-*.el; long removed. · 68251e16
      Glenn Morris authored
      * Makefile.in (install-arch-dep, uninstall): Remove code relating to the
      long absent lib-src/fns-*.el.
      * lisp/loadup.el (symbol-file-load-history-loaded): Remove; unused.
      Remove related, old, commented-out code.
      * lisp/subr.el (symbol-file-load-history-loaded)
        (load-symbol-file-load-history): Remove old, commented-out code.
    • Jari Aalto's avatar
      New command rectangle-number-lines (Bug#4382). · 99f053cf
      Jari Aalto authored
      * rect.el (rectange--default-line-number-format)
      (rectangle-number-line-callback): New functions.
      (rectangle-number-lines): New command, bound to C-x r N.
    • Chong Yidong's avatar
      Delete long unused functions and variables in rect.el. · 5614fd56
      Chong Yidong authored
      lisp/rect.el (operate-on-rectangle-lines, string-rectangle-string):
      Delete unused variables.
      (move-to-column-force): Remove function obsolete since 21.2.
  7. 14 Dec, 2010 13 commits