From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Any way to remove ^L or ^M from some buffer outputs? Date: Mon, 5 Oct 2020 10:06:02 -0700 (PDT) Message-ID: <631580e6-610a-4df1-b0a5-fe59fde6ac7b@default> References: <8f4b3911-489c-4b0f-9438-fc8c3339b5ae@default> <87mu11sujl.fsf@ebih.ebihd> <20201005090644.GE4453@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15691"; mail-complaints-to="usenet@ciao.gmane.io" To: Jean Louis , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 05 19:07:42 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPTxe-0003zO-Hi for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Oct 2020 19:07:42 +0200 Original-Received: from localhost ([::1]:55038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPTxc-0006fI-Vj for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Oct 2020 13:07:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPTw9-0005pg-NT for help-gnu-emacs@gnu.org; Mon, 05 Oct 2020 13:06:10 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:48462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPTw7-0003Ly-7j for help-gnu-emacs@gnu.org; Mon, 05 Oct 2020 13:06:09 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 095H5LeR177163; Mon, 5 Oct 2020 17:06:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=ZgdjKiN3kjk+BWMUmlw2aMhXP0i+JwJIYKOui9I/WBc=; b=CnbtrvyfYFPHhzx1NF6/wH85VEu8J5z/f11cbZZvGWikrSyUGAc2wk//0YqlSAZ6BJI9 DvMQOob/iN0BdlUtm5Owa8PMqQdzQGi4HfEp4y/rFXECuIDQvg4K8Sg3V8c/443r1KoQ tdwiHTHspyHIC51pEqtGb6gZuOYlrz5RwSczjMESbsfhEjEyPFIQbLeEs1WZtuC5Huil RS3J5kC1W0ElbHZLAth4bf13sNn/7AJ3Njr3BQ6Z8mTy3PRhnisAk4udbCmN4q0C1ZMU 1JWqX7lhom08tSz5wtzc1oAI2DPuV+ZImghtXquXl+1zVynVKnnIM0pwgZj3PqmqL4OC Pg== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 33xhxmpn1c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 05 Oct 2020 17:06:04 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 095H579C094525; Mon, 5 Oct 2020 17:06:04 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 33yyje4jr0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Oct 2020 17:06:03 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 095H63vC019480; Mon, 5 Oct 2020 17:06:03 GMT In-Reply-To: <20201005090644.GE4453@protected.rcdrun.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9765 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010050126 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9765 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxlogscore=999 adultscore=0 clxscore=1015 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010050126 Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com; helo=userp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/05 12:40:53 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.733, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124319 Archived-At: > > > Use `query-replace' (`M-%') or `M-x replace-string' > > > > But this assumes the buffer is editable ... besides > > there should be a command (onee) that toggles the > > visibility of that specific kind of representation, > > whatever it is called, for _all_ such chars... >=20 > It is in read-only buffers,=20 If you want to edit a read-only buffer, toggle it to writable with `C-x C-q'. If it's a file buffer and you don't have write permission for the file, then you likely won't be able to write the updated buffer back to the file. But that's a different problem from being able to edit the buffer. > I was just thinking there is option to > remove that as it looks as garbiage. Garbage/noise is in the eye of the beholder.