From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amos Bird Newsgroups: gmane.emacs.help Subject: How can I remove effects of text properties in 'before-string Date: Sun, 22 Oct 2017 15:25:31 +0800 Message-ID: <87tvyrabkk.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1508675222 10338 195.159.176.226 (22 Oct 2017 12:27:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Oct 2017 12:27:02 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.3.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 22 14:26:58 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6FL5-0000r3-Ar for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Oct 2017 14:26:47 +0200 Original-Received: from localhost ([::1]:32812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6FLC-0002ON-JP for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Oct 2017 08:26:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6Adi-0001Hn-BG for help-gnu-emacs@gnu.org; Sun, 22 Oct 2017 03:25:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6Adf-0004et-6X for help-gnu-emacs@gnu.org; Sun, 22 Oct 2017 03:25:42 -0400 Original-Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:56210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e6Adf-0004eW-03 for help-gnu-emacs@gnu.org; Sun, 22 Oct 2017 03:25:39 -0400 Original-Received: by mail-pf0-x241.google.com with SMTP id 17so14910995pfn.12 for ; Sun, 22 Oct 2017 00:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=bjyztiDHcZzSeBGpF47qP0DqWCzCyqmn++EQkCn3oQM=; b=J0FYUjtoIdaaOatwRDuhYxb8DkNuFdMGkMOLnFVLFECoT8HlQbN8hC9VIu3bXgEH/5 +aRxlGCq2xkcOkNUPNSCOueJgRuyiXInlJcEortqawES2lMPEtS778pR97G4D35oMQhF ts4wTuYyge8VEtFhYAJUVI/WCH69JlVhONa9lC4el+eE0OqarayArIU4F3pm01ncWfzK 3ji9azOGsmF73vtd3+Bt1xXqFLFarXjbZxnrK95zkrH/8a9/2YcZYeTAtTknJp32gzvO bD/vnU6Q6D1h3QpPpJqEjwsoDGaAEDwYrys81XMb953ej7S7AUPWWjoKRq0ovwafn5KG 9OwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=bjyztiDHcZzSeBGpF47qP0DqWCzCyqmn++EQkCn3oQM=; b=mYQZlyPKQJ6VXTnNQQjtKWc9Fj4IcVRrOM1EYIXtTi43odH7Nx5op/M40utQ1NumdP NL7RTqVICf/9ducrVmWcwT3sqnlvneO/oaJiaSqVK8tJVJUxIlX78DzAcUhNtOsN4Sey tuHV/T0r4IY20JGjtk69NGvwUE3mfp7vpVOeFxbaQdImknvoIqu2bcGCiZX/n0wLMj+L aef1Nb3LmMunCb6XeTVulneuke/qaRUclnUYHo3WJyF4hCjXOuWpjRPuiPOAlnU+TXNj G/FLdz7CDX8TETB+rxlFpZsQHnQi4XLhIuqiRsEktYJ1laknYHFxSkaQpNfABjvKSa5B cQNQ== X-Gm-Message-State: AMCzsaVaZ/Rj9VHxS/gTNl/s/8XdS/clLeYyF33LH4jwAiZ9xhpnHC/+ WsTGCO2RvA+MJvTCy4gmy1SSyg== X-Google-Smtp-Source: ABhQp+SSfl8QZcgfu44sBiiC0p17iCdAki6hR3/01sn56HQGYmV4NSfH9tdC7Wu7n3B8J7CA4pQhoQ== X-Received: by 10.98.64.207 with SMTP id f76mr9492917pfd.279.1508657136506; Sun, 22 Oct 2017 00:25:36 -0700 (PDT) Original-Received: from localhost ([52.187.54.120]) by smtp.gmail.com with ESMTPSA id m1sm3271834pfk.54.2017.10.22.00.25.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Oct 2017 00:25:36 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::241 X-Mailman-Approved-At: Sun, 22 Oct 2017 08:26:21 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114597 Archived-At: Hi there, emacs -Q (set-window-margins (get-buffer-window) 20 0) (overlay-put (make-overlay (point) (point)) 'before-string (propertize "." 'display `((margin left-margin) ,"Hi there!"))) (hl-line-mode) The string "Hi there!" is also highlighted. How can I disable that? regards, -- Amos Bird amosbird@gmail.com