logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[bug #8973] planner-search-notes-internal searches title of following note: msg#00025

Subject: [bug #8973] planner-search-notes-internal searches title of following note
URL:
  <http://gna.org/bugs/?8973>

                 Summary: planner-search-notes-internal searches title of
following note
                 Project: Planner.el and related modules
            Submitted by: None
            Submitted on: Friday 04/20/2007 at 11:36 CEST
                Category: Source
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: JohnnyTinker@xxxxxxxxx
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The function tries to match the regexp on a region that begins after the
title of a given note and ends AFTER the title of the following note. If the
title of the following note matches the regexp, the preceding note will be
added to the search results even though it does not match the regexp.

To reproduce, create a day page `1000.01.01.muse' containing the following
text:

<------- 1000.01.01.muse ---------->
* Notes

.#1 First note
 
 nothing to match

.#2 Second note with a verylongwordtomatch

 nothing to match in the body
<------- 1000.01.01.muse ---------->

and do M-x planner-search-notes verylongwordtomatch
The search returns notes 1 and 2 while it should only return note 2.

Another consequence of this bug is that the title of note n+1 is considered
as being part of the body of note n. Therefore, when
planner-search-notes-with-body is invoked, the title of the following notes
is systematically printed after the body of the matching notes. This has
already be noted in bug #7622.

Suggestion: 
after having matched the title line of a note,
do a `save-excursion' and move the pointer to beginning of line before
searching backward for the regexp and adding the body to the list of results?




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?8973>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe