all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Intelligently opening large files in emacs
Date: Tue, 18 Mar 2014 18:55:54 +0200	[thread overview]
Message-ID: <83mwgna1k5.fsf@gnu.org> (raw)
In-Reply-To: <CAJkb0UMEPuj38G3NAjtfCyjmr25QtshqOstSn8hcGfUncuytQw@mail.gmail.com>

> From: Dushyant Juneja <juneja.dushyant@gmail.com>
> Date: Tue, 18 Mar 2014 15:21:16 +0530
> 
> My question hence is, is there a way to integrate find-file-literally in a
> way that emacs automatically opens large files using this function, and the
> smaller files using the usual find-file.

Why not just open every file with find-file-literally?

If that loses something, then how come you are prepared to lose that
for files larger than some arbitrary threshold, but not for smaller
files?

IOW, the size of the file usually says nothing about its contents or
the mode in which you'd like to visit that file.  So doing this based
on size alone sounds like not a good idea to me.



  parent reply	other threads:[~2014-03-18 16:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18  7:20 Intelligently opening large files in emacs Dushyant Juneja
2014-03-18  8:37 ` Jambunathan K
2014-03-18  9:51   ` Dushyant Juneja
2014-03-18 15:05     ` Jambunathan K
2014-03-18 16:55     ` Eli Zaretskii [this message]
2014-03-19  0:25       ` Stefan
     [not found]     ` <mailman.17438.1395161765.10748.help-gnu-emacs@gnu.org>
2014-03-18 18:25       ` Bug Dout
     [not found]   ` <mailman.17417.1395136301.10748.help-gnu-emacs@gnu.org>
2014-03-18 16:45     ` Felix Dietrich
2014-03-19  0:29 ` Stefan
2014-03-19  4:52   ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mwgna1k5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.