From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: andrea.rossetti@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#14887: 24.2; enriched-mode, message "Text is read only" on buffer save Date: Wed, 17 Jul 2013 01:14:41 +0200 Message-ID: <84fvvedrmm.fsf@LAPTOP-ANDREA.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374017237 29616 80.91.229.3 (16 Jul 2013 23:27:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 23:27:17 +0000 (UTC) To: 14887@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 01:27:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UzEeI-0007ht-Po for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 01:27:15 +0200 Original-Received: from localhost ([::1]:54862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzEeI-0007Lk-Di for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jul 2013 19:27:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzEeB-0007LM-JE for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:27:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzEe7-00075L-3o for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:27:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzEe6-00075E-Vv for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UzEe6-0004dL-9R for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: andrea.rossetti@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jul 2013 23:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137401718917723 (code B ref -1); Tue, 16 Jul 2013 23:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2013 23:26:29 +0000 Original-Received: from localhost ([127.0.0.1]:59299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzEdX-0004bm-UH for submit@debbugs.gnu.org; Tue, 16 Jul 2013 19:26:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51146) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzESV-0003GG-JH for submit@debbugs.gnu.org; Tue, 16 Jul 2013 19:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzESM-00022s-QM for submit@debbugs.gnu.org; Tue, 16 Jul 2013 19:14:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzESM-00022n-Jp for submit@debbugs.gnu.org; Tue, 16 Jul 2013 19:14:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzESI-0004o5-VS for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:14:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzESG-00021G-1T for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:14:50 -0400 Original-Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzESF-000210-OP for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:14:47 -0400 Original-Received: by mail-ea0-f176.google.com with SMTP id z15so680823ead.35 for ; Tue, 16 Jul 2013 16:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=GTtD9DZX78LXFh/5CNAhMtH75j78hiYhEcVeYGzV3ZE=; b=kAlz3G/wZlgp6qaiA9SLkHbAVcl50yutN38lW5pQSsO8cz+aeu/MBwx0JdWEZ5xNsJ slSEVH6vnCXlB+Z66El8bqDSQe17xOpuWLf9WHM/lgny7gORV2AO3ZGFA6aiZR5hGaes mdQpIlq/BZ/U+YofVkW7ONsOZdXI8wfv8VfcKF14t7SE18JNCxyeLQY6YBjx5P35cw/L BtuciaxdztKXkWJ7Hn8nD7n9WvPd+BupnkEfNkme3teXiNdstQMIi28OVDQy3JEud5s9 JIprOmHhpdTEDxLfrgumR+UcIIWKS0BVpmnv5xi5YjT3i/r4CkH5Stsz7iKwpgk34ZYu Uvxg== X-Received: by 10.14.29.69 with SMTP id h45mr3613603eea.127.1374016486337; Tue, 16 Jul 2013 16:14:46 -0700 (PDT) Original-Received: from LAPTOP-ANDREA.laptop-andrea.trieste.it (net-93-144-104-249.cust.dsl.teletu.it. [93.144.104.249]) by mx.google.com with ESMTPSA id ci50sm6264595eeb.12.2013.07.16.16.14.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 16 Jul 2013 16:14:45 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Tue, 16 Jul 2013 19:26:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76408 Archived-At: ================= how to replicate ================= - start up Emacs - M-x enriched-mode - write some text like "hello dear friends!" in buffer - select the word "dear" with the mouse - make "dear" read-only using Edit/Text properties/ /Special prop./Read only - C-x C-s to save file as test1.txt (save operation will be successful) - write additional text " thanks!" after "friends!" - C-x C-s to save again; this time file saving will not succeed, and you will see the message "Text file is read only" ==================================================== May someone please confirm if he/she can replicate this somewhat weird behaviour. I think it may be some small error in enriched-mode, but I'm rather new to Emacs and may have missed something. My kindest regards, Andrea Rossetti http://github.com/thesoftwarebin In GNU Emacs 24.2.1 (i386-mingw-nt6.1.7600) of 2012-08-29 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7600 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ITA value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Text Minor modes in effect: enriched-mode: t show-paren-mode: t server-mode: t recentf-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t use-hard-newlines: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x e n r i c h e d - m o d e y r C-x C-s D e s k t o p / p r o v a . 1 . t x t e x t r a SPC t e x t C-x C-s M-x r e p o r t - e m Recent messages: Loading c:/Users/andrea/AppData/Roaming/.recentf...done For information about GNU Emacs and the GNU system, type C-h C-a. Make newlines between paragraphs hard? (y or n) y Enriched: encoding document... These text properties could not be saved: (fontified) Wrote c:/Users/andrea/Desktop/prova1.txt Saving file c:/Users/andrea/Desktop/prova1.txt... copy-to-buffer: Text is read-only Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums help-mode view enriched csv-mode-autoloads graphviz-dot-mode-autoloads muse-autoloads info paredit-autoloads slime-repl-autoloads slime-autoloads package tabulated-list edmacro kmacro paren server recentf tree-widget easymenu gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit cua-base cus-start cus-load time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)