From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Question about text property 'category Date: Thu, 14 Nov 2019 22:49:00 +0100 Message-ID: References: <5BABE0F0-59C8-46D0-BEC6-8A6B1F4E3DCC@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000023221a05975575e7" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="15801"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: Fu Yuan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 14 22:50:19 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iVN0K-0003yV-Fc for ged-emacs-devel@m.gmane.org; Thu, 14 Nov 2019 22:50:16 +0100 Original-Received: from localhost ([::1]:34058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVN0J-0003nz-9T for ged-emacs-devel@m.gmane.org; Thu, 14 Nov 2019 16:50:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52287) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVMzi-0003nV-OT for emacs-devel@gnu.org; Thu, 14 Nov 2019 16:49:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVMzh-0001vI-Ok for emacs-devel@gnu.org; Thu, 14 Nov 2019 16:49:38 -0500 Original-Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:38192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVMzh-0001uo-Kd for emacs-devel@gnu.org; Thu, 14 Nov 2019 16:49:37 -0500 Original-Received: by mail-qv1-xf35.google.com with SMTP id q19so3010537qvs.5 for ; Thu, 14 Nov 2019 13:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rV/qkREa1/EOfD8QQlz3aKNHmXy/oGuNMa1QH3cFdHQ=; b=AFb5fHG7BRY0eIjFXizlkW+7HT2ETosMSSuHndl7HzdTuOuduJ95N2mrry88CMQVuP IpaTWrF1r/yzdJ5xMqjBPhyhBKtjV4XDitlEtFOGAChg5nnUDJ6xXIdhES++ACXnSs18 tqOcX4+HiWh5DBKaswSx2vjcsX6UvIyER6+/dsNBlbxyNPBFMQ0k8Ii6hCJ0OMEYqCaQ pwj/mFJ+xcoQhrHjUHgKtXokzu8b4zCO1MYgOu52qz7iVDDPLQPX+khJ07IknBC7B+Ec xyyHUMI+l5UA/ztfVIEmttj2ZvQgZfaY3ZKSAQyRFZlU/gbuxousEwRRNiJSDzVmU3tu E52g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rV/qkREa1/EOfD8QQlz3aKNHmXy/oGuNMa1QH3cFdHQ=; b=PyRQRNCkb6dym1p3eVfPTDHsMg+hfamLHzUS2lQPf9ga6mfM/4KIEMaTAfaYWvXRks 9wEx94ASUJl6DV7NXTFTHzl8/EP6IN5dzR5PVUPYKbFV3ihJwHfLCtrpeAVUrgZJ3Hqg sZo2MetoUQUYPEeTR9iN4PvXM8ubNLmmIOunGnqQX/yHBk2F3oP09v0TBviya0TzSZpc g8ODrWQCJ5quuY5FNXytqpltiduM0lchj+Ng7JoiJL+lx0jBklbNUsJrrqPRIQOf6v8g YqnJGxloeP58+LTeV8XUgUUEhTKAEh1o8tmiWH+dqwZsouw0ibUEwdzwJGOIepAMBt2H flKQ== X-Gm-Message-State: APjAAAUofs+VoKJTK/fLUwrGbKWIdPN2j0JdLxWRy8+fv0+xCIO5s13D jCVX0jEEPazQEizn9uR27BjlFwUZd+GRAZsgBkw= X-Google-Smtp-Source: APXvYqzWiR+FBW5CN95UhAhbLtH9kvdbqgpMTSYDCCCIy3+g2XXtcF9dM+3wVB13FKol79huX5cNw8AFsiLY22XnEoU= X-Received: by 2002:ad4:482d:: with SMTP id h13mr10602923qvy.68.1573768176802; Thu, 14 Nov 2019 13:49:36 -0800 (PST) In-Reply-To: <5BABE0F0-59C8-46D0-BEC6-8A6B1F4E3DCC@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f35 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242207 Archived-At: --00000000000023221a05975575e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Nov 14, 2019 at 9:41 PM Fu Yuan wrote: > > I noticed that the 'category property is not copied along when I copy and paste a text button. Is this expected? Why is that? yank-excluded-properties is a variable defined in =E2=80=98simple.el=E2=80= =99. Its value is (category field follow-link fontified font-lock-face help-echo intangible invisible keymap local-map mouse-face read-only yank-handler) You can customize this variable. This variable was introduced, or its default value was changed, in version 24.3 of Emacs. Probably introduced at or before Emacs version 22.1. Documentation: Text properties to discard when yanking. The value should be a list of text properties to discard or t, which means to discard all text properties. See also =E2=80=98yank-handled-properties=E2=80=99. --00000000000023221a05975575e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Nov 14, 2019 at 9:41 PM Fu Yuan <casouri@gmail.com> wrote:
>
> I n= oticed that the 'category property is not copied along when I copy and = paste a text button. Is this expected? Why is that?

yank-excluded-pr= operties is a variable defined in =E2=80=98simple.el=E2=80=99.
Its value= is
(category field follow-link fontified font-lock-face help-echo intan= gible invisible keymap local-map mouse-face read-only yank-handler)

= =C2=A0 You can customize this variable.


This variable was introd= uced, or its default value was changed, in
version 24.3 of Emacs.
=C2= =A0 Probably introduced at or before Emacs version 22.1.

Documentati= on:
Text properties to discard when yanking.
The value should be a li= st of text properties to discard or t,
which means to discard all text p= roperties.

See also =E2=80=98yank-handled-properties=E2=80=99.
--00000000000023221a05975575e7--