all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: Insufficient functionality of yank-excluded-properties
Date: Sun, 21 Apr 2002 17:52:51 +0000 (UTC)	[thread overview]
Message-ID: <m16zLW7-000IioC@localhost> (raw)
In-Reply-To: <5x4ri5kl8v.fsf@kfs2.cua.dk> (storm@cua.dk)

   Try the following: 

   Do C-h f help RET and copy the contents of the *Help* buffer to
   another buffer.  The mouse highlight of the help buttons is still
   active, i.e. the mouse-face property hasn't been removed.

When Emacs started using text properties, I defined the following
`remove-window-text-properties' function and added it to my .emacs
file.  I have found it very useful -- so useful I put the command on a
function key.

I use it when doing the kind of copying you give as an example.

    ;;; Remove text properties

    ;; I like to remove text properties that facemenu added to region.
    ;; This provides a keybinding to remove all text properties
    ;; in the region visible in a window.

    (defun remove-window-text-properties ()
      "Remove text properties in the region visible in a window."
      (interactive)
      (facemenu-remove-all (window-start) (window-end)))

    (global-set-key [f4] 'remove-window-text-properties)

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

  reply	other threads:[~2002-04-21 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-21 17:35 Insufficient functionality of yank-excluded-properties Kim F. Storm
2002-04-21 17:52 ` Robert J. Chassell [this message]
2002-04-22  7:47 ` Richard Stallman
2002-04-22  8:22   ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m16zLW7-000IioC@localhost \
    --to=bob@rattlesnake.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.