Still if file name if long, line number doesn't shows up.


ok, how to remove File name appearing on mode line

if this solves, line number can appear.

Anyway file name appears at the top of menu.

take care,
thanks in advance,
Shashank

Paul Kinnucan wrote:

> At 10:25 AM 8/14/2001 -0400, Daniel Oblinger wrote:
>
> > > >(1) DOWNLOAD and UNZIP the JDE-combo-package
> > > >(2) Add the following statement to your ~/.emacs or ~/.xemacs/init.el to
> > > >load the package
> > > >    (load-file "/yourpath.../jde-setup.el")
> > > >(3) Run emacs and type "M-x install-jde"  This will compile the JDE
> > > >packages and load
> > >
> > > Why not simply
> > >
> > >    (load-file "/yourpath.../jde-setup.el")
> > >
> > > Then step 2 is unnecessary. This assumes that jde-setup.el contains
> > > the toplevel form:
> > >
> > > (jde-install)
> >
> >I don't understand how the suggestion would work.  I was imagning the
> >jde-setup.el
> >contained code to figure out where it was in the filesystem, and then add
> >the five elisp packages to the load path.  At the very least this would be
> >needed
> >to autoload when jde-mode was started right?
>
> ;; jde-setup.el
>
> (defun jde-install ()
>    "Figures out where site-lisp is and installs the JDE and its required
> packages in site-lisp, creating site-lisp if necessary or prompting the
> user for another location in which to install the JDE. Updates the user's
> .emacs file after first asking permission. Loads HelloWorld app, etc.,
> etc., etc."
>     ;; Insert implementation code here.
> )
>
> (jde-install)
>
> ;; end of jde-setup.el
>
> [snip]
>
> >______________
> >
> >
> > >  (if (not (locate-library "eieio"))  ...
> > >            ^^^^^^^^^^^^^^
> >
> >Paul, now this is the stuff I wish I knew more of!  I've done thousands of
> >lines
> >of elisp code, but always be "apropo"ing around for a command that looks
> >good.
> >I am certain I won't always know the "right" way to attack something.
> >
> >Is there an effective way to block the loading of pre-existing packages?
>
> No, and I don't think you should. If the user already has a version of
> eieio on their system, check its version. If the version is okay, simply
> continue to the next package. If the version is not okay, warn the user
> that their existing eieio installation is out-of-date and ask them if they
> want you to replace the existing installation with the new one shipped with
> the JDE. If so, erase the existing installation and replace it IN THE SAME
> PLACE with a new copy, thus maintaining the validity of their .emacs file.
>
> [snip]
>
> >_________________
> >
> >I can get the running version of emacs from (emacs-version).  what are the
> >minimum
> >version levels of emacs and xemacs that can run with the JDE?
>
> Emacs/XEmacs 20.
>
> >Is there a robust way to check OS version within emacs under all OSes, or
> >am I dreaming.
>
> Please look at the JDE code. There are dozens of examples of OS checking.
>
> - Paul

Reply via email to