From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: How to view raw text in Emacs? Date: Thu, 05 Apr 2018 22:07:20 +0300 Message-ID: <87sh898obb.fsf@gmail.com> References: <874lkpv5wa.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522955152 24061 195.159.176.226 (5 Apr 2018 19:05:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2018 19:05:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 05 21:05:47 2018 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 1f4ACf-00069H-F5 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 21:05:45 +0200 Original-Received: from localhost ([::1]:48601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4AEk-0001Pw-R5 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 15:07:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4AEH-0001P9-B2 for help-gnu-emacs@gnu.org; Thu, 05 Apr 2018 15:07:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4AEE-0001Ea-7L for help-gnu-emacs@gnu.org; Thu, 05 Apr 2018 15:07:25 -0400 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:50600) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4AEE-0001Dk-0t for help-gnu-emacs@gnu.org; Thu, 05 Apr 2018 15:07:22 -0400 Original-Received: by mail-wm0-x233.google.com with SMTP id t67so8442861wmt.0 for ; Thu, 05 Apr 2018 12:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VvLz2a8nSAx18oIiNcIFqzFIzOeMHr+GXNefk3Z8E6Q=; b=QIZUvyT859ChzbVEng1sYhG8THwcDVjQfg45ihQeNFByz7htAt30Dvf68vRBFv2gY8 lBmn6bshSJy1/rkarjJgXHcO9Sb4pfw8aB3OmgK9YcuE3j2T9Ss7YwcqusQhZqp67cF+ sVl+1vDGdyJj6GbTrlRuSoBbBWJ8Ltx4YJeewqYwAiY02PtFL16XzBj8OdzbLQRss3mw SwUFx9UciHnmQrEiuN6k+aEXGYTd2degCod1Fuwa1ymhgeC4i0gtKIsXshZbvchkbviV xPyeAcq9IbFu8bbiWhJdT1a8vQNSjy0jGbalIVHbbqGrIM37GW7xAwtpMvRfwGsK9j4d ACWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VvLz2a8nSAx18oIiNcIFqzFIzOeMHr+GXNefk3Z8E6Q=; b=txb96qUQJ1umhxUIt7OaPV9RO3yuk926q9RvmWVLSAtHp/ALCAxFlDkkPYQJfvELLj bf8gr32ExL6M/dE8f4TB3J46GMz6hwkYmJH2hR0Me0dW0MMn59wZxXl/2MyjVDTKwyqs ADib0Px2yMqs2FuekAiwD/0dHsH5C+HNSTpCtpPADdborMjioTSBe80+LffI6N/dkc0Z ODoKuvWhlwm9gdgFcozFFF0fgTrZqmM6fvOvUosd+nQLm7RfgQqY9dZx1ZhslM+FJ2g0 Wqgr2YHfnfco3Swgh/1rADjXKRmWtvSEmxOXmxZ0xuMyjWUyN+rRejQ9wPsMRrNyvvH/ ITFQ== X-Gm-Message-State: ALQs6tBe++TASS/Zcm4rzFtAC6PzYCV197OvCIMqcMoO65M0a8Mw8Qhx J62dgFIeLwUIkuHUtHIg4/3qWg== X-Google-Smtp-Source: AIpwx49qDVVFehVFutEKXREbNpkEEMXVMx6oTaS7uL4dlpKFfIQ3LacG3Zjw96x6T0wDgEzNaj6W3w== X-Received: by 10.46.41.156 with SMTP id p28mr14742597ljp.32.1522955240233; Thu, 05 Apr 2018 12:07:20 -0700 (PDT) Original-Received: from leviafan ([217.107.194.7]) by smtp.gmail.com with ESMTPSA id f17sm1419831ljc.73.2018.04.05.12.07.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 12:07:19 -0700 (PDT) In-Reply-To: <874lkpv5wa.fsf@moondust.localdomain> (N. Jackson's message of "Thu, 05 Apr 2018 14:56:37 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::233 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:116357 Archived-At: N. Jackson (2018-04-05 14:56 -0400) wrote: > Sometimes when I'm using Emacs I want to see "what's really there" > rather than the view of the text that Emacs is showing me. So far, I > have not figured out how to do this. Usually after casting about in > Emacs for a solution, the frustration builds sufficiently that I switch > to Kate of Gedit to see what I want to see. I would like to learn how to > do this in Emacs. > > For example, I open etc/enriched.txt. I realise that there is more there > than I'm seeing and am curious to see what is actually in the file. I > try `M-x fundamental-mode RET' which changes nothing. (I don't know why > I think it should, but that always seems to be what I try first.) Then I > see in the mode line that I'm in "Enriched" mode, so I try `M-x > enriched-mode RET' to turn it off, which does seem to turn it off (it's > nice that it's intuitive that way), but the view in the buffer doesn't > change. I try `M-x set-buffer-coding-system RET raw-text RET', but that > doesn't help either. I try `M-x set-buffer-coding-system RET > no-conversion RET', but again there is no apparent change. > > Clearly I'm missing something here, but I'm not sure what it is. Any > pointers would be welcome. Perhaps "M-x find-file-literally" is what you are looking for. -- Alex